You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by li...@johndubchak.com on 2008/05/20 20:48:32 UTC
config-substitutions.properties
Hi,
I am running both JBoss and Geronimo side-by-side on a laptop development
environment. I edited the above file and changed the NamingPort from 1099
to 1098, since JBoss uses the same, however when I try to shutdown
Geronimo using bin/geronimo.sh stop, I get the following error:
Locating server on port 1099...
Could not communicate with the server. The server may not be running or
the port number may be incorrect.
I then have to stop the server by issuing a kill -9 <PID_NUMBER>.
What do I need to do in order to change the value such that it works for
shutting down Geronimo as well as starting it up?
Thanks,
John
Re: config-substitutions.properties
Posted by Jason Warner <ja...@apache.org>.
That should be "bin/geronimo.sh stop --port 1098"
On Tue, May 20, 2008 at 3:12 PM, Jason Warner <ja...@apache.org> wrote:
> Hello John,
>
> I believe there's an option you can provide on the command line that lets
> you change the port. Try "bin/geroniom.sh stop --port 1098"
>
>
> On Tue, May 20, 2008 at 2:48 PM, <li...@johndubchak.com> wrote:
>
>> Hi,
>>
>> I am running both JBoss and Geronimo side-by-side on a laptop development
>> environment. I edited the above file and changed the NamingPort from 1099
>> to 1098, since JBoss uses the same, however when I try to shutdown
>> Geronimo using bin/geronimo.sh stop, I get the following error:
>>
>> Locating server on port 1099...
>> Could not communicate with the server. The server may not be running or
>> the port number may be incorrect.
>>
>> I then have to stop the server by issuing a kill -9 <PID_NUMBER>.
>>
>> What do I need to do in order to change the value such that it works for
>> shutting down Geronimo as well as starting it up?
>>
>> Thanks,
>> John
>>
>>
>
>
> --
> ~Jason Warner
--
~Jason Warner
Re: config-substitutions.properties
Posted by John <li...@johndubchak.com>.
> I believe there's an option you can provide on the command
> line that lets you change the port.
> Try "bin/geroniom.sh stop --port 1098"
That works, thanks! Sorry, I didn't do "bin/geronimo.sh --help" which
would have shown me the option.
Thanks again,
John
Re: config-substitutions.properties
Posted by Jason Warner <ja...@apache.org>.
Hello John,
I believe there's an option you can provide on the command line that lets
you change the port. Try "bin/geroniom.sh stop --port 1098"
On Tue, May 20, 2008 at 2:48 PM, <li...@johndubchak.com> wrote:
> Hi,
>
> I am running both JBoss and Geronimo side-by-side on a laptop development
> environment. I edited the above file and changed the NamingPort from 1099
> to 1098, since JBoss uses the same, however when I try to shutdown
> Geronimo using bin/geronimo.sh stop, I get the following error:
>
> Locating server on port 1099...
> Could not communicate with the server. The server may not be running or
> the port number may be incorrect.
>
> I then have to stop the server by issuing a kill -9 <PID_NUMBER>.
>
> What do I need to do in order to change the value such that it works for
> shutting down Geronimo as well as starting it up?
>
> Thanks,
> John
>
>
--
~Jason Warner
Re: config-substitutions.properties
Posted by Joe Bohn <jo...@earthlink.net>.
lists@johndubchak.com wrote:
> Hi,
>
> I am running both JBoss and Geronimo side-by-side on a laptop development
> environment. I edited the above file and changed the NamingPort from 1099
> to 1098, since JBoss uses the same, however when I try to shutdown
> Geronimo using bin/geronimo.sh stop, I get the following error:
>
> Locating server on port 1099...
> Could not communicate with the server. The server may not be running or
> the port number may be incorrect.
>
> I then have to stop the server by issuing a kill -9 <PID_NUMBER>.
>
> What do I need to do in order to change the value such that it works for
> shutting down Geronimo as well as starting it up?
try ./bin/shutdown.sh --port 1098
I'm not sure if there is a way to change the default port for the
shutdown command.
Joe