I want to implement simple socket client using ChannelPipelineFactory inside JBoss 7.0.2 AS.
So I added org.jboss.netty module in standalone.xml file but deploying my war file causes java.lang.NoClassDefFoundError: org/jboss/netty/channel/ChannelPipelineFactory exception!
How can I make Netty library available for my war file?
My another question is may I use JMS for TCP/IP socket communication inside JBoss Application Server ?
Well I found the solution, based on http://community.jboss.org/wiki/JBossWS-AS7FAQ I only needed to add Netty dependency to ‘MANIFEST.MF’ in ‘META-INF’ folder of my war file as:
dependencies: org.jboss.netty