0 Replies Latest reply on Sep 1, 2009 5:24 AM by snehalpatil

    Jboss server issues

    snehalpatil

      Hello friends ..

      I am ubuntu user. I have installed netbeans6.5 on my system.
      I wanted to add this server in this netbeans.BUt before that I am trying to start the
      server through terminal using run.sh file even though i am able to start but i am getting
      so many error realted to port.
      even i tried to change ports also in jboss-service file but still.

      following is the output on terminal after start..........


      status: Deployment FAILED reason: Trying to install an already registered mbean: jboss:service=Naming
      state: FAILED
      watch: file:/home/patil/jboss/server/default/deploy/naming-service.xml
      altDD: null
      lastDeployed: 1251796673031
      lastModified: 1251796673000
      mbeans:

      org.jboss.deployment.DeploymentInfo@4e85e1c { url=file:/home/patil/jboss/server/default/deploy/security-service.xml }
      deployer: org.jboss.deployment.SARDeployer@ec6b00
      status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.security:service=SecurityConfig
      state: FAILED
      watch: file:/home/patil/jboss/server/default/deploy/security-service.xml
      altDD: null
      lastDeployed: 1251796673089
      lastModified: 1251796673000
      mbeans:

      org.jboss.deployment.DeploymentInfo@209a6feb { url=file:/home/patil/jboss/server/default/deploy/usertx-service.xml }
      deployer: org.jboss.deployment.SARDeployer@ec6b00
      status: Deployment FAILED reason: Trying to install an already registered mbean: jboss:service=ClientUserTransaction
      state: FAILED
      watch: file:/home/patil/jboss/server/default/deploy/usertx-service.xml
      altDD: null
      lastDeployed: 1251796673114
      lastModified: 1251796673000
      mbeans:

      org.jboss.deployment.DeploymentInfo@45faa781 { url=file:/home/patil/jboss/server/default/deploy/jmx-console.war/ }
      deployer: MBeanProxyExt[jboss.web:service=WebServer]
      status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)
      state: FAILED
      watch: file:/home/patil/jboss/server/default/deploy/jmx-console.war/WEB-INF/web.xml
      altDD: null
      lastDeployed: 1251796674641
      lastModified: 1251792233000
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss:service=Naming
      State: FAILED
      Reason: java.rmi.server.ExportException: Port already in use: 11098; nested exception is:
      java.net.BindException: Address already in use
      I Depend On:
      jboss.system:service=ThreadPool
      Depends On Me:
      jboss.ws:service=WebServiceClientDeployer
      jboss.mq:service=DestinationManager
      jboss.mq:service=Invoker
      jboss.mq:service=InvocationLayer,type=UIL
      jboss.mq:service=InvocationLayer,type=UILXA
      jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
      jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
      jboss.jms:alias=QueueConnectionFactory
      jboss.jms:alias=TopicConnectionFactory
      jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
      jboss.jmx:alias=jmx/rmi/RMIAdaptor

      ObjectName: jboss:service=invoker,type=jrmp
      State: FAILED
      Reason: java.rmi.server.ExportException: Port already in use: 14444; nested exception is:
      java.net.BindException: Address already in use
      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:service=invoker,type=pooled
      State: FAILED
      Reason: java.lang.Exception: Port 14445 is already in use
      I Depend On:
      jboss:service=TransactionManager

      ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=DefaultDS

      ObjectName: jboss.ws:service=WebServiceClientDeployer
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=Invoker
      jboss.web:service=WebServer

      ObjectName: jboss.admin:service=PluginManager
      State: CONFIGURED
      I Depend On:
      jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
      Depends On Me:
      jboss.web.deployment:war=web-console.war,id=1698047077

      ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
      State: CONFIGURED
      I Depend On:
      jboss:service=TransactionManager
      jboss.jca:service=DataSourceBinding,name=DefaultDS

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

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

      ObjectName: jboss.web.deployment:war=jbossws-context.war,id=-385105609
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

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

      ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=-2104817882
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

      ObjectName: jboss.web.deployment:war=web-console.war,id=1698047077
      State: NOTYETINSTALLED
      I Depend On:
      jboss.admin:service=PluginManager

      ObjectName: jboss.mq:service=StateManager
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=DefaultDS
      Depends On Me:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq:service=DestinationManager
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=MessageCache
      jboss.mq:service=PersistenceManager
      jboss.mq:service=StateManager
      jboss.mq:service=ThreadPool
      jboss:service=Naming
      Depends On Me:
      jboss.mq.destination:service=Topic,name=testTopic
      jboss.mq.destination:service=Topic,name=securedTopic
      jboss.mq.destination:service=Topic,name=testDurableTopic
      jboss.mq.destination:service=Queue,name=testQueue
      jboss.mq.destination:service=Queue,name=A
      jboss.mq.destination:service=Queue,name=B
      jboss.mq.destination:service=Queue,name=C
      jboss.mq.destination:service=Queue,name=D
      jboss.mq.destination:service=Queue,name=ex
      jboss.mq:service=SecurityManager
      jboss.mq.destination:service=Queue,name=DLQ

      ObjectName: jboss.mq:service=PersistenceManager
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=DataSourceBinding,name=DefaultDS
      Depends On Me:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Topic,name=testTopic
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Queue,name=testQueue
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Queue,name=A
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=B
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=C
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=D
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=ex
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq:service=Invoker
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=TracingInterceptor
      jboss:service=Naming
      Depends On Me:
      jboss.mq:service=InvocationLayer,type=HTTP
      jboss.mq:service=InvocationLayer,type=JVM
      jboss.mq:service=InvocationLayer,type=UIL2

      ObjectName: jboss.mq:service=TracingInterceptor
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=SecurityManager
      Depends On Me:
      jboss.mq:service=Invoker

      ObjectName: jboss.mq:service=SecurityManager
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      Depends On Me:
      jboss.mq.destination:service=Topic,name=testTopic
      jboss.mq.destination:service=Topic,name=securedTopic
      jboss.mq.destination:service=Topic,name=testDurableTopic
      jboss.mq.destination:service=Queue,name=testQueue
      jboss.mq:service=TracingInterceptor
      jboss.mq.destination:service=Queue,name=DLQ

      ObjectName: jboss.mq.destination:service=Queue,name=DLQ
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq:service=InvocationLayer,type=JVM
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=Invoker

      ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=Invoker

      ObjectName: jboss.mq:service=InvocationLayer,type=UIL
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.mq:service=InvocationLayer,type=UILXA
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.jms:alias=QueueConnectionFactory
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.jms:alias=TopicConnectionFactory
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
      State: CONFIGURED
      I Depend On:
      jboss:service=invoker,type=jrmp
      jboss.jmx:type=adaptor,name=Invoker
      jboss:service=Naming
      Depends On Me:
      jboss.admin:service=PluginManager

      ObjectName: jboss.jmx:alias=jmx/rmi/RMIAdaptor
      State: CONFIGURED
      I Depend On:
      jboss:service=Naming

      ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS
      State: CONFIGURED
      I Depend On:
      jboss.jca:service=LocalTxCM,name=DefaultDS
      jboss:service=invoker,type=jrmp
      Depends On Me:
      jboss.ejb:service=EJBTimerService,persistencePolicy=database
      jboss:service=KeyGeneratorFactory,type=HiLo
      jboss.mq:service=StateManager
      jboss.mq:service=PersistenceManager

      ObjectName: jboss:service=Hypersonic,database=localDB
      State: FAILED
      Reason: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@3261b0fc[file =/home/patil/jboss/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]:
      Depends On Me:
      jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

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

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss:service=Naming
      State: FAILED
      Reason: java.rmi.server.ExportException: Port already in use: 11098; nested exception is:
      java.net.BindException: Address already in use
      I Depend On:
      jboss.system:service=ThreadPool
      Depends On Me:
      jboss.ws:service=WebServiceClientDeployer
      jboss.mq:service=DestinationManager
      jboss.mq:service=Invoker
      jboss.mq:service=InvocationLayer,type=UIL
      jboss.mq:service=InvocationLayer,type=UILXA
      jboss.mq:service=InvocationLayer,type=UIL2,alias=UIL2ConnectionFactory
      jboss.mq:service=InvocationLayer,type=UIL2XA,alias=UIL2XAConnectionFactory
      jboss.jms:alias=QueueConnectionFactory
      jboss.jms:alias=TopicConnectionFactory
      jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory
      jboss.jmx:alias=jmx/rmi/RMIAdaptor

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

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

      ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=-2104817882
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

      ObjectName: jboss.web.deployment:war=jbossws-context.war,id=-385105609
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound)

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

      ObjectName: jboss:service=invoker,type=jrmp
      State: FAILED
      Reason: java.rmi.server.ExportException: Port already in use: 14444; nested exception is:
      java.net.BindException: Address already in use
      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:service=Hypersonic,database=localDB
      State: FAILED
      Reason: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@3261b0fc[file =/home/patil/jboss/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]:
      Depends On Me:
      jboss.jca:service=ManagedConnectionFactory,name=DefaultDS

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

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


      at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1385)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:785)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Thread.java:595)
      14:47:54,910 ERROR [Http11BaseProtocol] Error starting endpoint
      java.net.BindException: Address already in use:7070
      at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312)
      at org.apache.coyote.http11.Http11BaseProtocol.start(Http11BaseProtocol.java:150)
      at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:75)
      at org.apache.catalina.connector.Connector.start(Connector.java:1089)
      at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:590)
      at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:627)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
      at $Proxy38.handleNotification(Unknown Source)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
      at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:908)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Thread.java:595)
      14:47:54,911 WARN [Tomcat5] Failed to startConnectors
      LifecycleException: service.getName(): "jboss.web"; Protocol handler start failed: java.net.BindException: Address already in use:7070
      at org.apache.catalina.connector.Connector.start(Connector.java:1096)
      at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:590)
      at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:627)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
      at $Proxy38.handleNotification(Unknown Source)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:127)
      at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:108)
      at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:908)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Thread.java:595)
      14:47:54,923 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 22s:911ms



      please help to solve this issue.

      Thank you