<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Generator" content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="FR" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">SCP command is now running ok with Nick’s version. I am now able to copy from a JCR to a XML file on the file system.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Now , Question :</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If I want to export a gateIn ‘Site’ from one server to an Other what nodes should I Copy ? On the other way round where should I copy back to nodes to the target server ?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Can you explain exactly what is a Workspace ? I saw a command to export a workspace to the file system. Is this similar to the SCP command ?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thx,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Olivier</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Julien Viet <a href="mailto:[mailto:julien@julienviet.com]">[mailto:julien@julienviet.com]</a> <br>
<b>Envoyé :</b> vendredi 4 février 2011 23:28<br><b>À :</b> Nick Scavelli<br><b>Cc :</b> Olivier Picciotto; </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><a href="mailto:gatein-dev@lists.jboss.org"><span lang="EN-US">gatein-dev@lists.jboss.org</span></a></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><br>
<b>Objet :</b> Re: [gatein-dev] How to export nodes using CRaSH SCP protocol ?</span></p></div></div><p class="MsoNormal"><span lang="EN-US"> </span></p><div><p class="MsoNormal"><span lang="EN-US">hi,</span></p></div><div>
<p class="MsoNormal"><span lang="EN-US"> </span></p></div><div><p class="MsoNormal"><span lang="EN-US">I fixed the issues with the incorrect service provider in trunk.</span></p></div><div><p class="MsoNormal"><span lang="EN-US"> </span></p>
</div><div><p class="MsoNormal"><span lang="EN-US">Could you describe the problem with the "--" and how it happens ?</span></p></div><div><p class="MsoNormal"><span lang="EN-US"> </span></p></div><div><p class="MsoNormal">
<span lang="EN-US">For the record about parameter argument parsing, I have written my own command line parser in order to be able to provide contextual and accurate code completion (a feature requested by many users but that was totally not trivial to implement). I have not yet implemented the "--" but planning to do it soon.</span></p>
</div><div><p class="MsoNormal"><span lang="EN-US"> </span></p></div><div><p class="MsoNormal"><span lang="EN-US">I will try to make a new beta crash release next week once I get this done and the CRASH-23 fixed.</span></p>
</div><div><p class="MsoNormal"><span lang="EN-US"> </span></p></div><div><p class="MsoNormal"><span lang="EN-US">thanks for the feedback</span></p></div><div><p class="MsoNormal"><span lang="EN-US"> </span></p></div><div>
<div><p class="MsoNormal"><span lang="EN-US">On Feb 4, 2011, at 1:44 AM, Nick Scavelli wrote:</span></p></div><p class="MsoNormal"><span lang="EN-US"><br><br></span></p><div><p class="MsoNormal"><span lang="EN-US"><br>'gtn' should be used, however there's an issue with the service provider config file (probably due to refactoring). I have replied to your forum post @ </span><a href="http://community.jboss.org/thread/162145?tstart=0"><span lang="EN-US">http://community.jboss.org/thread/162145?tstart=0</span></a><span lang="EN-US">.<br>
<br>Julien I have created two JIRA's related to the scp command for CRaSH:<br></span><a href="https://jira.exoplatform.org/browse/CRASH-22"><span lang="EN-US">https://jira.exoplatform.org/browse/CRASH-22</span></a><span lang="EN-US"><br>
</span><a href="https://jira.exoplatform.org/browse/CRASH-23"><span lang="EN-US">https://jira.exoplatform.org/browse/CRASH-23</span></a><span lang="EN-US"><br><br>- Nick<br><br>On 02/03/2011 12:27 PM, Olivier Picciotto wrote: </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">No, ‘gtn‘ password doesn’t do the trick …</span><span lang="EN-US"></span></p><div><p class="MsoNormal">
<span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> </span><span lang="EN-US"></span></p></div><div><div style="border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-color:-moz-use-text-color -moz-use-text-color">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De :</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Julien Viet [mailto:<a href="mailto:julien@julienviet.com">julien@julienviet.com</a>] <br>
<b>Envoyé :</b> jeudi 3 février 2011 18:27<br><b>À :</b> Olivier Picciotto<br><b>Cc :</b> <a href="mailto:gatein-dev@lists.jboss.org">gatein-dev@lists.jboss.org</a><br><b>Objet :</b> Re: [gatein-dev] How to export nodes using CRaSH SCP protocol ?</span><span lang="EN-US"></span></p>
</div></div><div><p class="MsoNormal"><span lang="EN-US"> </span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Actually try the "gtn" password. Im travelling until end of this week, and I wont be much responsive<br>
<br>Le 3 févr. 2011 à 14:14, Olivier Picciotto <</span><a href="mailto:olivierp@convertigo.com"><span lang="EN-US">olivierp@convertigo.com</span></a><span lang="EN-US">> a écrit :</span></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div><div><p><span lang="EN-US">Reading the forum, the post, </span><a href="http://community.jboss.org/message/561004#561004" target="_blank"><span lang="EN-US">http://community.jboss.org/message/561004#561004</span></a><span lang="EN-US"> speaks about the CRaSH console for acessing the JCR through the command line interface. It doese work ok and We sucessfully managed to install int in GateIN, access it though telnet and ssh, list nodes etc ...</span></p>
<p style="min-height: 8pt"><span lang="EN-US">Now, the CRaSH documentation speaks about exporting nodes with the SCP protocol</span></p><p style="min-height: 8pt"><span lang="EN-US"> 'scp -P 2000 root@localhost:portal:portal-system:/production/app:gadgets . '</span></p>
<p style="min-height: 8pt"><span lang="EN-US"> We tried that with CRaSH 1.0.0-beta17</span></p><p style="min-height: 8pt"><span lang="EN-US">Documentation says that CRaSH password is 'crash' so this is what we entered as password when the SCP asks it. unfortunatly the SCP command returns immediatly with a :</span></p>
<p style="min-height: 8pt"><span lang="EN-US">'Connection to localhost closed by remote host.' message</span></p><p style="min-height: 8pt"><span lang="EN-US">And no data is copied </span></p><p style="min-height: 8pt">
<span lang="EN-US">Any Ideas ?</span></p><div><p class="MsoNormal"><span lang="EN-US"> </span></p></div></div></div></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span lang="EN-US">_______________________________________________<br>
gatein-dev mailing list<br></span><a href="mailto:gatein-dev@lists.jboss.org"><span lang="EN-US">gatein-dev@lists.jboss.org</span></a><span lang="EN-US"><br></span><a href="https://lists.jboss.org/mailman/listinfo/gatein-dev"><span lang="EN-US">https://lists.jboss.org/mailman/listinfo/gatein-dev</span></a><span lang="EN-US"></span></p>
</div></blockquote><pre><span lang="EN-US"> </span></pre><pre><span lang="EN-US">_______________________________________________</span></pre><pre><span lang="EN-US">gatein-dev mailing list</span></pre><pre><a href="mailto:gatein-dev@lists.jboss.org"><span lang="EN-US">gatein-dev@lists.jboss.org</span></a><span lang="EN-US"></span></pre>
<pre><a href="https://lists.jboss.org/mailman/listinfo/gatein-dev"><span lang="EN-US">https://lists.jboss.org/mailman/listinfo/gatein-dev</span></a><span lang="EN-US"></span></pre><p class="MsoNormal"><span lang="EN-US"> </span></p>
</div></div><p class="MsoNormal"><span lang="EN-US"> </span></p></div></body></html>