You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Donald Woods <dw...@apache.org> on 2008/05/07 19:11:52 UTC

Dropped GShell remote-control support in trunk?

So wait, why did we drop the remote-control commands?  Wasn't that one 
of the major reasons for moving to GShell, so you could attach to a 
remove server instance and administer it????



-Donald


Jason Dillon (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/GERONIMO-3994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Jason Dillon closed GERONIMO-3994.
> ----------------------------------
> 
>        Resolution: Fixed
>     Fix Version/s:     (was: 2.1.2)
>                        (was: 2.1.x)
>                        (was: 2.1.1)
>                    2.2
> 
> The {{remote-control}} command has been dropped.
> 
>> 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, 2.1.x
>>         Environment: Windows
>>            Reporter: YunFeng Ma
>>            Assignee: Jason Dillon
>>             Fix For: 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: java.io.StringReader@5ea05ea0
>> 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\.
>