Hello,

 

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.

 

Now , Question :

 

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 ?

 

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 ?

 

Thx,

Olivier

 

De : Julien Viet [mailto:julien@julienviet.com]
Envoyé : vendredi 4 février 2011 23:28
À : Nick Scavelli
Cc : Olivier Picciotto;
gatein-dev@lists.jboss.org
Objet : Re: [gatein-dev] How to export nodes using CRaSH SCP protocol ?

 

hi,

 

I fixed the issues with the incorrect service provider in trunk.

 

Could you describe the problem with the "--" and how it happens ?

 

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.

 

I will try to make a new beta crash release next week once I get this done and the CRASH-23 fixed.

 

thanks for the feedback

 

On Feb 4, 2011, at 1:44 AM, Nick Scavelli wrote:




'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 @
http://community.jboss.org/thread/162145?tstart=0.

Julien I have created two JIRA's related to the scp command for CRaSH:
https://jira.exoplatform.org/browse/CRASH-22
https://jira.exoplatform.org/browse/CRASH-23

- Nick

On 02/03/2011 12:27 PM, Olivier Picciotto wrote:

No, ‘gtn‘ password  doesn’t do the trick …

 

De : Julien Viet [mailto:julien@julienviet.com]
Envoyé : jeudi 3 février 2011 18:27
À : Olivier Picciotto
Cc : gatein-dev@lists.jboss.org
Objet : Re: [gatein-dev] How to export nodes using CRaSH SCP protocol ?

 

Actually try the "gtn" password. Im travelling until end of this week, and I wont be much responsive

Le 3 févr. 2011 à 14:14, Olivier Picciotto <
olivierp@convertigo.com> a écrit :

Reading the forum, the post, http://community.jboss.org/message/561004#561004 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 ...

Now, the CRaSH documentation speaks about exporting nodes with the SCP protocol

 'scp -P 2000 root@localhost:portal:portal-system:/production/app:gadgets . '

 We tried that with CRaSH  1.0.0-beta17

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 :

'Connection to localhost closed by remote host.' message

And no data is copied

Any Ideas ?

 

_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev

 
_______________________________________________
gatein-dev mailing list
gatein-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/gatein-dev