1 Reply Latest reply on Apr 19, 2004 1:31 AM by Thomas Hüsler

    TrapdService leads to BindException

    frenchfrywpepper Newbie

      I'm getting this Bind Exception on the TrapdService startup. I don't know why (if) I need to start Trapd or what exact address is in conflict. Any ideas? This JBoss installation actually worked fine until recently, and there's nothing that changed except I upgraded my EAR that I drop into the deploy dir.

      And of course if I'm in the wrong topic please let me know.


      2004-04-16 16:45:22,625 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/Programs/jboss-3.2.3/server/default/deploy/management/console-mgr.sar
      2004-04-16 16:45:22,625 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/Programs/jboss-3.2.3/server/default/deploy/snmp-adaptor.sar/
      2004-04-16 16:45:22,656 INFO [org.jboss.deployment.SARDeployer] nested deployment: file:/D:/Programs/jboss-3.2.3/server/default/deploy/snmp-adaptor.sar/castor.jar
      2004-04-16 16:45:23,046 ERROR [org.jboss.jmx.adaptor.snmp.trapd.TrapdService] Cannot instantiate trap session
      2004-04-16 16:45:23,046 ERROR [org.jboss.jmx.adaptor.snmp.trapd.TrapdService] Starting failed
      java.net.BindException: Address already in use: Cannot bind
      at java.net.PlainDatagramSocketImpl.bind(Native Method)
      at java.net.DatagramSocket.bind(DatagramSocket.java:368)
      at java.net.DatagramSocket.(DatagramSocket.java:210)
      at java.net.DatagramSocket.(DatagramSocket.java:261)
      at java.net.DatagramSocket.(DatagramSocket.java:234)
      at org.opennms.protocols.snmp.SnmpPortal.(SnmpPortal.java:155)
      at org.opennms.protocols.snmp.SnmpTrapSession.(SnmpTrapSession.java:314)
      at org.jboss.jmx.adaptor.snmp.trapd.TrapdService.startService(TrapdService.java:92)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)