0 Replies Latest reply on Nov 5, 2008 2:21 AM by jbossrook

    Issue with accessing application (jboss clustering+apache)

    jbossrook

      I am using a Linux box, trying to do clustering using jboss and tomcat
      I have two nodes on the same server. have edited the server.xml of both the nodes with the appropriate AJP port.

      I have edited the httpd.conf, workers.properties and uriworkers.properties of the webserver.

      webserver starts just fine. App server starts and is accessible when i try to access my application using the web server port.

      however jus before the log says the app server is started, it throws some errors (pasted below)

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss:service=invoker,type=jrmp
      State: FAILED
      Reason: java.rmi.server.ExportException: Port already in use: 4444; 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

      ObjectName: jboss:service=WebService
      State: FAILED
      Reason: java.lang.Exception: Port 8083 already in use.
      I Depend On:
      jboss.system:service=ThreadPool
      Depends On Me:
      jboss.ejb:service=EJBDeployer

      ObjectName: jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3
      State: FAILED
      Reason: java.net.BindException: Address already in use
      I Depend On:
      jboss.aop:service=AspectDeployer

      ObjectName: jboss.remoting:service=Connector,transport=socket
      State: FAILED
      Reason: java.net.BindException: Address already in use
      I Depend On:
      jboss.remoting:service=NetworkRegistry
      Depends On Me:
      jboss:service=invoker,type=unified

      ObjectName: jboss:service=Naming
      State: FAILED
      Reason: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
      java.net.BindException: Address already in use
      I Depend On:
      jboss.system:service=ThreadPool
      jboss:service=NamingBeanImpl
      Depends On Me:
      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
      jboss:service=Mail

      ObjectName: jboss:service=invoker,type=pooled
      State: FAILED
      Reason: java.lang.Exception: Port 4445 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:597)
      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:508)
      at java.lang.Thread.run(Thread.java:619)
      23:02:16,768 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-qax2020%2F10.10.212.212-8080
      23:02:16,829 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-qax2020%2F10.10.212.212-18209
      23:02:16,857 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 32s:662ms
      23:04:48,635 ERROR [AjpMessage] Invalid message recieved with signature 18245
      23:05:01,247 ERROR [AjpMessage] Invalid message recieved with signature 18245


      Now when i try to access the app, for ex: http://localhost:18109/petstore

      The application page should be coming up, instead i see the AjpMessage
      "ERROR [AjpMessage] Invalid message recieved with signature 18245"

      I have been trying to resolve this, for a long time now.

      Can anybody advice what can be done or what has to be done.

      Any help will be much appreciated.

      Many Thanks