Forum Problems Installing LAMS: Re: problem is starting jboss server


 
Search: 

2: Re: problem is starting jboss server
In response to 1 11/25/07 02:13 AM
[ Reply | Forward ]
Some other server is already using the ports that JBOSS wants to use. You need to check two things:

(1) Is JBoss already running? Could you have run.sh when you first installed JBoss, and then run run.sh again a second time. This would cause this error.

(2) Do you have another application server, like Websphere or Weblogic running on this computer? If so, it may be using the same ports as JBoss wants.

Have you installed LAMS using the LAMS Installer? If so, you should start LAMS using the "Start LAMS" option in the Windows Start Menu or set it up to use the Wrapper. If you have LAMS installed, you should not need to start JBoss by running run.sh as "Start LAMS" will start JBoss for you.

These pages on the wiki may help:

Changing server ports for LAMS

Configuring Multiple Instances of LAMS on one machine

Sorry I can't write a longer explanation - no time tonight!

Fiona

Posted by Fiona Malikoff

3: Re: Re: problem is starting jboss server
In response to 2 11/25/07 11:47 PM
[ Reply | Forward ]
I didn't see the details carefully when I runned the run.sh the first time. So I runned it again,and found this error.It probably caused the error.
Thanks a lot!

Posted by lihua Guo

4: Re: Re: Re: problem is starting jboss server
By: a nge
In response to 3 10/20/08 03:49 AM
[ Reply | Forward ]
when i start jboss,i encounter this problen=m...

ObjectName: jboss:service=Naming
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exc
eption is:
java.net.BindException: Address already in use: JVM_Bind

how will i solve this problems!

i will run run.sh,right?
i am a java beginner so i don't know how i will run this file


pls reply me!!!

Posted by a nge

5: Re: Re: Re: Re: problem is starting jboss server
In response to 4 10/20/08 04:34 AM
[ Reply | Forward ]
> Reason: java.rmi.server.ExportException: Port already in
> use: 1098; nested exception is:
> java.net.BindException: Address already in use: JVM_Bind

It seems that either you are running JBoss already or another web application is already in used.

If you are using linux, see if another instance is running (ps -ef|grep java). If it is JBoss, stop it by running /path-to-jboss/bin/shutdown.sh -S

Once you are sure that Jboss or tomcat is running, then restart JBoss and you start up properly.

Thanks,

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to Problems Installing LAMS