You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Nell Gawor <ne...@hotmail.com> on 2005/11/29 19:15:23 UTC
Starting only deployer
Hi,
I thought I could start only the deployer by issuing the command:
java -jar server.jar org/apache/geronimo/RuntimeDeployer
Booting Geronimo Kernel (in Java 1.4.1)...
Starting Geronimo Application Server
[***] 100% 7s Startup complete
Listening on Ports:
1099 0.0.0.0 RMI Naming
4201 0.0.0.0 ActiveIO Connector EJB
Geronimo Application Server started
Server shutdown begun
Server shutdown completed
but then when I try to do deploy list-modules, it doesn't work. It
seems like it thinks the server is not running:
deploy.bat list-modules
Error: This command cannot be run unless connecting to a running
server. Specify --url if server is not running on the default port
on localhost.
Am I misunderstanding how this is supposed to work?
Thanks,
Nell
Re: Starting only deployer
Posted by Aaron Mulder <am...@alumni.princeton.edu>.
For my 2 cents, you really shouldn't ever attempt to start only a
fraction of the server that way. Odds are, it won't work as you
expect.
In this particular case I think the functionality previously
encapsulated in the RuntimeDeployer has been split out into several
configurations, and you also need the JMX infrastructure, etc. in
order to contact a server using the deployer. I don't think we've
established exactly which configurations need to be started in order
to do something like this, so you'd have to study a lot of code or
just identify the right configurations through trial and error. But
again, I wouldn't encourage it.
Aaron
On 11/29/05, Nell Gawor <ne...@hotmail.com> wrote:
> Hi,
>
> I thought I could start only the deployer by issuing the command:
>
> java -jar server.jar org/apache/geronimo/RuntimeDeployer
>
> Booting Geronimo Kernel (in Java 1.4.1)...
> Starting Geronimo Application Server
> [***] 100% 7s Startup complete
> Listening on Ports:
> 1099 0.0.0.0 RMI Naming
> 4201 0.0.0.0 ActiveIO Connector EJB
> Geronimo Application Server started
> Server shutdown begun
> Server shutdown completed
>
> but then when I try to do deploy list-modules, it doesn't work. It
> seems like it thinks the server is not running:
>
> deploy.bat list-modules
> Error: This command cannot be run unless connecting to a running
> server. Specify --url if server is not running on the default port
> on localhost.
>
> Am I misunderstanding how this is supposed to work?
>
> Thanks,
> Nell
>
>