I am getting error message when calling the Data Source
Config file:
<local-tx-datasource>
<jndi-name>SQLServerDS</jndi-name>
<connection-url>dbc:jtds:sqlserver://192.168.3.202:1433</connection-url>
<driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
<user-name>qwe</user-name>
1278
</local-tx-datasource>
Client code :
InitialContext ctx = new InitialContext();
DataSource ds = (DataSource)ctx.lookup("java:/SQLServerDS");
And I am getting following error Message.
avax.naming.CommunicationException: Receive timed out [Root exception is
java.net.SocketTimeoutException: Receive timed out]
at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1465)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
Plz help me with the solution
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152495#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...