Now remote Lookup works, container returns dataSource bat when I return
connection
javax.sql.DataSource dataSource =
(javax.sql.DataSource)context.lookup("java:/MSSQLXADS");
con=dataSource.getConnection("sa","sa");
it throws Exception:
org.jboss.util.NestedSQLException: Could not create connection; - nested
throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]xa_open (0) returns -3); - nested throwable:
(org.jboss.resource.JBossResourceException: Could not create connection; -
nested throwable: (java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for
JDBC][SQLServer]xa_open (0) returns -3))
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:109)
enyone knows ,how to do ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949067#3949067
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949067
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user