I have a created a mysql-ds.xml in the deploy directory with JNDi name as MySqlDS.I try to look up the datasource from an application client. But i get the following exception.However i am able to lookup a session bean deployed in the same server.
javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1058) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1127) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471) at javax.naming.InitialContext.lookup(Unknown Source) at com.test.TesterClient.main(TesterClient.java:33) Caused by: java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive0(Native Method) at java.net.PlainDatagramSocketImpl.receive(Unknown Source) at java.net.DatagramSocket.receive(Unknown Source) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1038) ... 5 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914550#3914550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914550 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user