File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB 3 Eclipse Jboss issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB 3 Eclipse Jboss issues" Watch "EJB 3 Eclipse Jboss issues" New topic
Author

EJB 3 Eclipse Jboss issues

Irshaad Mohamed
Greenhorn

Joined: Mar 07, 2011
Posts: 2
Hey there people. I'm trying to deploy an EJB3 session (tutorial is at https://sites.google.com/a/thedevinfo.com/thedevinfo/Home/jboss/jboss-application-server/ejb3-session-bean-tutorial-using-jboss-and-eclipse) but in the final step when I try to run my bean client i get the following errors :

javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1630)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1759)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:680)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at MyBeanClient.main(MyBeanClient.java:19)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:712)
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1600)
... 5 more

I'd really appreciate some help.

Thanks.
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

I would assume you missed some step or configuration..

Did you try the tutorial provided on the link mentioned by you?


Java Experience
Irshaad Mohamed
Greenhorn

Joined: Mar 07, 2011
Posts: 2
Sunny Bhandari wrote:I would assume you missed some step or configuration..

Did you try the tutorial provided on the link mentioned by you?


Yes I followed the steps from the tutorial and all were successful except for testing the client.
Sunny Bhandari
Ranch Hand

Joined: Dec 06, 2010
Posts: 448

How about the tutorial.zip present there?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB 3 Eclipse Jboss issues
 
Similar Threads
what are the INTIAL_CONTEXT parameters
making a rmi call with ipv6
JNDI Configuration Query
EJB3.0 Communication Exception
EJB JNDI NoInitialContext Exception