2 Replies Latest reply on Jul 20, 2007 12:06 PM by Peter Johnson

    Error on installing two instances of JBOSS on the same machi

    Vishnu vardhan Newbie

      Below is the error

      s.DefaultSocketFactory
      06:22:23,862 WARN [NamingService] Context.PROVIDER_URL in server jndi.properties, url=172.16.2.176:3091
      06:22:28,993 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher
      
      06:22:29,875 ERROR [TrapdService] Cannot instantiate trap session
      06:22:29,881 WARN [ServiceController] Problem starting service jboss.jmx:name=SnmpAgent,service=trapd,type=logger
      java.net.BindException: Address already in use
       at java.net.PlainDatagramSocketImpl.bind0(Native Method)
       at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
       at java.net.DatagramSocket.bind(DatagramSocket.java:368)
       at java.net.DatagramSocket.<init>(DatagramSocket.java:210)
       at java.net.DatagramSocket.<init>(DatagramSocket.java:261)
       at org.opennms.protocols.snmp.SnmpPortal.<init>(SnmpPortal.java:295)
       at org.opennms.protocols.snmp.SnmpPortal.<init>(SnmpPortal.java:257)
       at org.opennms.protocols.snmp.SnmpTrapSession.<init>(SnmpTrapSession.java:336)
       at org.jboss.jmx.adaptor.snmp.trapd.TrapdService.startService(TrapdService.java:131)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
       at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
       at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
       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.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:417)
       at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
       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.server.Invocation.invoke(Invocation.java:86)
       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 $Proxy4.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      


      Please help