3 Replies Latest reply on May 22, 2014 4:30 AM by Hamza Bartanwala

    APR native connector not starting JBoss EAP 6.2

    Antlia Antlia Newbie

      Hi to all,

       

      I'm using VAADIN 7.2 and JBoss EAP 6.2.

       

      In this version of the Vaadin framework, it has been adopted a version of Atmosphere (2.1.2) which requires APR Native connector on JBoss.

       

      • I've downloaded the libraries for my SO version (binaries 2.0.9-linux2 x64)
      • Added the following entry to my domain.conf file: JAVA_OPTS="$JAVA_OPTS -Djava.library.path=/home/myname/jboss-utils/native"
      • Changed web subsystem in my domain.xml:
      <subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" instance-id="${jboss.node.name}" native="true">
      

       

      But even following these step, JBoss continues to say:

       

      09:59:45,753 INFO  [org.apache.coyote.http11] (MSC service thread 1-8) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/192.168.2.198:80

      09:59:45,825 INFO  [org.apache.coyote.ajp] (MSC service thread 1-1) JBWEB003046: Starting Coyote AJP/1.3 on ajp-/192.168.2.198:8009

      09:59:45,846 INFO  [org.apache.coyote.http11] (MSC service thread 1-8) JBWEB003000: Coyote HTTP/1.1 starting on: http-/192.168.2.198:80

       

      and not:

      15:13:11,110 INFO [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-8) Starting Coyote HTTP/1.1 on http-/192.168.2.198:80

      as expected

       

      and the connector is not started in native mode, because Atmosphere throws this exception:

       

      java.lang.IllegalStateException: JBoss failed to detect this is a Comet application because the APR Connector is not enabled.