[ 
https://issues.apache.org/jira/browse/GERONIMO-3994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bohn updated GERONIMO-3994:
-------------------------------

    Affects Version/s:     (was: 2.1.x)
        Fix Version/s:     (was: 2.1.x)

> GShell command remote-control/server-control can not control the remote server
> ------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3994
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3994
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: commands
>    Affects Versions: 2.1.1, 2.1.2
>         Environment: Windows
>            Reporter: YunFeng Ma
>            Assignee: Jason Dillon
>             Fix For: 2.1.2, 2.2
>
>
> First run remote/rsh to login the remote rsh-server, then run the following 
> gsh commands:
> {noformat}
> remote-control/server-control start defaultServer
> {noformat}
> No any response.
> Here is the gshell log in the remote server.
> {noformat}
> 19:36:47,234 DEBUG (SocketAcceptorIoProcessor-0.0) 
> [org.apache.mina.filter.executor.ExecutorFilter] Launching thread for 
> /127.0.0.1:3699
> 19:36:47,234 INFO  (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.remote.server.RshServer$Handler] 
> [/127.0.0.1:3699] RECEIVED: ExecuteMessage{ flavor=STRING, path=<null>, 
> args=[ remote-control/server-control start defaultServer ], id=7, cid=<null>, 
> sequence=7, timestamp=1209436607234 }
> 19:36:47,234 INFO  (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.DefaultCommandExecutor] Executing (String): 
> remote-control/server-control start defaultServer
> 19:36:47,234 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.parser.CommandLineParser] Parsing from reader: 
> [EMAIL PROTECTED]
> 19:36:47,234 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.DefaultCommandLineBuilder] CommandLine 
> (org.apache.geronimo.gshell.parser.ASTCommandLine)
> 19:36:47,234 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.DefaultCommandLineBuilder]  Expression 
> (org.apache.geronimo.gshell.parser.ASTExpression)
> 19:36:47,234 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.DefaultCommandLineBuilder]   PlainString( 
> remote-control/server-control ) 
> (org.apache.geronimo.gshell.parser.ASTPlainString)
> 19:36:47,234 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.DefaultCommandLineBuilder]   PlainString( start ) 
> (org.apache.geronimo.gshell.parser.ASTPlainString)
> 19:36:47,234 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.DefaultCommandLineBuilder]   PlainString( 
> defaultServer ) (org.apache.geronimo.gshell.parser.ASTPlainString)
> 19:36:47,234 INFO  (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.DefaultCommandExecutor] Executing 
> (remote-control/server-control): [start, defaultServer]
> 19:36:47,234 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.plugin.PlexusCommandWrapper] Child container 
> realm: gshell:e47ff117-c940-4e2e-87a8-5b9257bc16e9
> 19:36:47,343 DEBUG (TcpTransportServer-0-0) 
> [org.codehaus.plexus.PlexusContainer] Found 0 components to load on start
> 19:36:47,343 INFO  (TcpTransportServer-0-0) 
> [org.apache.geronimo.commands.RemoteServerControlCommand.geronimo-commands:remote-server-control]
>  Executing w/args: [start, defaultServer]
> 19:36:47,390 DEBUG (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.remote.server.handler.ExecuteHandler] Fault: 
> java.lang.IllegalStateException: File D:\geronimo 
> server-1\bin\etc\server-configuration.xml does not exist
> 19:36:47,390 INFO  (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.remote.server.RshServer$Handler] 
> [/127.0.0.1:3699] WRITE: Fault{ result=java.lang.IllegalStateException: File 
> D:\geronimo server-1\bin\etc\server-configuration.xml does not exist, id=10, 
> cid=7, sequence=10, timestamp=1209436607390 }
> 19:36:47,390 DEBUG (TcpTransportServer-0-0) 
> [org.apache.mina.filter.executor.ExecutorFilter] Exiting since queue is empty 
> for /127.0.0.1:3699
> 19:36:47,390 DEBUG (SocketAcceptorIoProcessor-0.0) 
> [org.apache.mina.filter.executor.ExecutorFilter] Launching thread for 
> /127.0.0.1:3699
> 19:36:47,453 INFO  (TcpTransportServer-0-0) 
> [org.apache.geronimo.gshell.remote.server.RshServer$Handler] 
> [/127.0.0.1:3699] SENT: Fault{ result=java.lang.IllegalStateException: File 
> D:\geronimo server-1\bin\etc\server-configuration.xml does not exist, id=10, 
> cid=7, sequence=10, timestamp=1209436607390 }
> 19:36:47,453 DEBUG (TcpTransportServer-0-0) 
> [org.apache.mina.filter.executor.ExecutorFilter] Exiting since queue is empty 
> for /127.0.0.1:3699
> {noformat}
> Obvious the gshell is trying to find the configuration file in D:\geronimo 
> server-1\bin\etc\, it should be D:\geronimo server-1\etc\.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to