Hi,
I am trying to implement a basic hello world code using
jboss 7.0.2 and
ejb. I have implemented the same code in Jboss 4.2 and it worked perfectly fine.But now here in jboss 7,the directory structure completely being changed..i am confused. I have written a basic code for printing hello world...but i am getting an error saying that : "java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory "...i tried googling it..and found that jnpclient.jar and jnpserver.jar file should be included in the classpath from the jboss directory....but however i didnt find those jars in the jboss 7.0.2 folder. I dont know what is to be done...I tried one thing...I downloaded the two jar files from the net and copied them to my classpath..but now I am getting a new error :
javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1099 and
discovery failed with error: javax.naming.CommunicationException: IP_ADD_MEMBERSHIP failed (out of hardware filters?) [Root exception is java.net.SocketException: IP_ADD_MEMBERSHIP failed (out of hardware filters?)] [Root exception is javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
I am newbie to this but i want to implement things in jboss 7. Any help appreciated...
Thankyou in Advance,
Vectors.