Sergei,
Its probably the sun driver, I have had the same problems with Access, of
all things, with a standalone program. I would suggest using another
jdbc-odbc bridge besides sun's. Use www.nogginware.com 's jdbc-odbc bridge,
its cheap, and it works. You can test it for free.
regards,
the elephantwalker
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sergei Batiuk
Sent: Friday, June 22, 2001 2:13 PM
To: Orion-Interest
Subject: Problem connecting to Ms Sql Server 2000
Hey people,
I am having trouble connecting to MS SQL 2000 from my entity bean. I have an
ODBC data source set up for the database, and connect to it using
sun.jdbc.odbc.JdbcOdbc driver. I get the following:
java.rmi.RemoteException: java.sql.SQLException: [Microsoft][ODBC SQL Server
Driver]Connection is busy with results for another hstmt
at
Manager_StatelessSessionBeanWrapper0.getNewsItemsCount(Manager_StatelessSess
ionBeanWrapper0.java:209)
at /n/news-all.jsp._jspService(/n/news-all.jsp.java:78) (JSP page line 27)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xj(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d3.sw(JAX)
at com.evermind.server.http.d3.include(JAX)
at com.evermind.server.http.EvermindPageContext.include(JAX)
at /n/index.jsp._jspService(/n/index.jsp.java:182)
at com.orionserver.http.OrionHttpJspPage.service(JAX)
at com.evermind.server.http.HttpApplication.xj(JAX)
at com.evermind.server.http.JSPServlet.service(JAX)
at com.evermind.server.http.d3.sw(JAX)
at com.evermind.server.http.d3.su(JAX)
at com.evermind.server.http.ef.s1(JAX)
at com.evermind.server.http.ef.do(JAX)
at com.evermind.util.f.run(JAX)
What is going on?
Best regards,
Sergei.