Forum Problems Installing LAMS: problem is starting jboss server


 
You may request notification for problem is starting jboss server.
Search: 

1: problem is starting jboss server
11/24/07 12:33 AM
[ Reply | Forward ]
I have installed jboss4.0.2 in windows,when I run the file:run.sh in D:\jboss-4.0.2\jboss-4.0.2\bin ,problem as follows:

ObjectName: jboss.web.deployment:war=jmx-console.war,id=146933247
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.naming.NameNotFoundException: comp not bound)

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:war=jmx-console.war,id=146933247
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss.web.deployment:war=ROOT.war,id=-765390981
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.naming.NameNotFoundException: comp not bound)

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
I Depend On:
jboss.system:service=ThreadPool

ObjectName: jboss:service=invoker,type=jrmp
State: FAILED
Reason: java.rmi.server.ExportException: Port already in use: 4444; nested exc
eption is:
java.net.BindException: Address already in use: JVM_Bind
I Depend On:
jboss:service=TransactionManager
Depends On Me:
jboss:service=proxyFactory,target=ClientUserTransactionFactory
jboss:service=proxyFactory,target=ClientUserTransaction
jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
jboss.jca:service=DataSourceBinding,name=DefaultDS

ObjectName: jboss.web.deployment:war=invoker.war,id=440014476
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste
d throwable: (javax.naming.NameNotFoundException: comp not bound)

ObjectName: jboss:service=invoker,type=pooled
State: FAILED
Reason: java.lang.Exception: Port 4445 is already in use
I Depend On:
jboss:service=TransactionManager

ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=-996203484

Looking for help
Thanks!

Posted by lihua Guo

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