Eugene Adams [http://community.jboss.org/people/hanhanter] created the discussion
"Native Netty based server / Embedded Tomcat" To view the discussion, visit: http://community.jboss.org/message/549674#549674 -------------------------------------------------------------- Hi, I have a custom server which relies heavily on threading(with Netty as IOLayer). Now this server has run as an independent server as a client of JBoss for a few years, but I am toying around with embedding this server inside JBoss, same as the native Tomcat service. What do I have to look out for and where do I start? I have deployed the service as a .sar, but it gives me exceptions like the following after I try to hit the JMX console : 2010-06-25 09:35:09,401 ERROR org.apache.coyote.http11.Http11AprProtocol org.apache.coyote.http11.Http11AprProtocol (http-jmx.my.server.domain%2F192.168.1.100-8080-1) Error reading request, ignoredjava.lang.ExceptionInInitializerError at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288) at org.apache.coyote.http11.InternalAprInputBuffer.(DirectByteBuffer.java:33) ... 7 more The error is on Bits.java:592 : static boolean unaligned() { if (unalignedKnown) return unaligned; PrivilegedAction pa = new sun.security.action.GetPropertyAction("os.arch"); String arch = (String)AccessController.doPrivileged(pa); unaligned = arch.equals("i386") || arch.equals("x86") || arch.equals("amd64"); <<<<<<<<<<<<<<<< unalignedKnown = true; return unaligned; } How do I configure my service in jboss as a native embedded application and ... why is it giving this error? Thanks! -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/549674#549674] Start a new discussion in JBoss Remoting at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
