0 Replies Latest reply on Apr 1, 2004 1:07 PM by ebowers

    Clustering many small applications under JBoss

    ebowers Newbie

      Hello,

      I am trying to setup a 2 nodes of JBoss in the hope of achieving in-memory http session replication. I am using JBoss-3.2.1_tomcat-4.1.24 + mod_jk + Apache. The 2 instances are running on the same machine but on 2 different AJP ports. I set sticky_session=0 (JK_FALSE) in workers.properties. When I try to start them, the second node throws this exception:


      17:00:00,207 WARN [ServiceController] Problem creating service jboss:service=CorbaORB
      org.omg.CORBA.INITIALIZE: ORB Listener: could not initialize, illegal address config.?! minor code: 1 completed: No
      at org.jacorb.orb.BasicAdapter$Listener.<init>(BasicAdapter.java:384)
      at org.jacorb.orb.BasicAdapter.<init>(BasicAdapter.java:160)
      at org.jacorb.orb.ORB.getRootPOA(ORB.java:759)
      at org.jacorb.orb.ORB.resolve_initial_references(ORB.java:1065)
      at org.jboss.iiop.CorbaORBService.createService(CorbaORBService.java:111)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
      at java.lang.reflect.Method.invoke(Native Method)


      I try to create a session anyways and I see this trace in the logs:

      16:49:20,053 WARN [InstantSnapshotManager] Failed to replicate sessionID:J1wA+0NVgF84qePs0MznZg**
      javax.ejb.EJBException: Exception in setHttpSession: java.lang.NullPointerException
      at org.jboss.ha.httpsession.server.ClusteredHTTPSessionService.setHttpSession(ClusteredHTTPSessionService.java:103)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy25.setHttpSession(Unknown Source)
      at org.jboss.web.catalina.session.ClusterManager.storeSession(ClusterManager.java:558)


      Can some one help?

      Thanks,
      Vijay Kandy