4 Replies Latest reply on Aug 28, 2008 11:33 AM by Jason Knudsen

    java.lang.Exception: Socket bind failed: [98] Address alread

    Jason Knudsen Newbie

      Hey,

      I'm having a little trouble with getting the Apr Protocol working with my JBoss 4.2.3 server. I downloaded the JBoss native components, extracted and dumped them into my bin directory as designed by the JBoss Wiki (http://wiki.jboss.org/wiki/HowToAddAprToJBoss)

      The following exception occurs:

      2008-08-28 10:26:04,364 INFO [main:][Http11AprProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8380
      2008-08-28 10:26:04,381 ERROR [main:][Http11AprProtocol] Error starting endpoint
      java.lang.Exception: Socket bind failed: [98] Address already in use
      at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:611)
      at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:716)
      at org.apache.coyote.http11.Http11AprProtocol.start(Http11AprProtocol.java:137)
      at org.apache.catalina.connector.Connector.start(Connector.java:1146)
      at org.jboss.web.tomcat.service.JBossWeb.startConnectors(JBossWeb.java:584)
      at org.jboss.web.tomcat.service.JBossWeb.handleNotification(JBossWeb.java:621)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
      at $Proxy46.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:916)
      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:508)
      at java.lang.Thread.run(Thread.java:619)
      2008-08-28 10:26:04,381 WARN [main:][JBossWeb] Failed to startConnectors
      LifecycleException: service.getName(): "jboss.web"; Protocol handler start failed: java.lang.Exception: Socket bind failed: [98] Address already in use
      at org.apache.catalina.connector.Connector.start(Connector.java:1153)
      at org.jboss.web.tomcat.service.JBossWeb.startConnectors(JBossWeb.java:584)
      at org.jboss.web.tomcat.service.JBossWeb.handleNotification(JBossWeb.java:621)
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:153)
      at $Proxy46.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:916)
      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:508)
      at java.lang.Thread.run(Thread.java:619)
      2008-08-28 10:26:04,382 INFO [main:][Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 13s:864ms

      Any ideas?

      Thanks

      Jason