Midtown Computer Systems Enterprise

Convenient web based access to our favorite computer related Usenet groups.
MCSE.MS is not affiliated with Microsoft corporation, Cisco corporation, Oracle, CompTIA or any other vendor.
Check our Computer Hardware forum | Cell Phones reviews

Go Back  MCSE > Microsoft software reviews > Microsoft SQL server reviews > SQL Server JBDC Driver


SQL Server JBDC Driver microsoft.public.sqlserver.jdbcdriver

 
 
Thread Tools Display Modes
  #1  
Old 05-30-04, 05:36 PM
anthony
Using JDBC Connection Pooling via Websphere JDBC Provider using a DataSournce Name

I am trying to conncect to a SQL Server 2000 DB via a Websphere JDBC
Provider. SQL Server 2000 and Websphere are on different machines. I
performed the following steps:

1. Installed the SQL Server 2000 Driver for JDBC on the server where
Websphere is located.
2. Installed the Stored Procedures for JTA on the machine where SQL
Server 2000 is installed.
3. Created a JDBC Provider using the SQL Server 2000 Driver for JDBC:
com.microsoft.jdbcx.sqlserver.SQLServerDataSource
4.Tried connecting to the DB via the DataSource Name.
5. Received the following error on the first try:

CONM7007I: Mapping the following SQLException, with ErrorCode 0 and
SQLState 08S01, to a StaleConnectionException: java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC]There is no process to read
data written to a pipe.
at com.microsoft.jdbc.base.BaseExceptions.createExcep tion(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.sub mitRequest(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest. openCursor(Unknown
Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatemen t.execute(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecut e(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery Internal(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery (Unknown Source)
at com.microsoft.jdbcx.base.BaseStatementWrapper.exec uteQuery(Unknown
Source)
at
com.ibm.ejs.cm.proxy.StatementProxy.executeQueryCo mmon(StatementProxy.java:306)
at
com.ibm.ejs.cm.proxy.StatementProxy.executeQuery(S tatementProxy.java:271)
at
mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:267)
at
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
at
org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
at org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
at
com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
at
com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
at
com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
at
com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
at
com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
at
com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
at
com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
at
com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
Code))
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)

6. Tried connecting again and recveived this error:

Servlet Error: Outstanding work on this connection which was not
comitted or rolledback by the user has been rolledback.:
com.ibm.ejs.cm.exception.WorkRolledbackException: Outstanding work on
this connection which was not comitted or rolledback by the user has
been rolledback.
at com.ibm.ejs.cm.pool.ConnectO.decRef(ConnectO.java: 366)
at
com.ibm.ejs.cm.pool.ConnectionPool.freeConnection( ConnectionPool.java:166)
at
com.ibm.ejs.cm.proxy.ConnectionProxy.close(Connect ionProxy.java:821)
at
mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:453)
at
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
at
org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
at org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
at
com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
at
com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
at
com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
at
com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
at
com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
at
com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
at
com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
at
com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
Code))
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)

Any thoughts to why I am getting the above two exceptions?

Thanks for your help
Anthony



--
anthony
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message240982.html

  #2  
Old 05-30-04, 05:36 PM
anthony
Re: Using JDBC Connection Pooling via Websphere JDBC Provider using a DataSournce Name

Please ignore this message. There was a WebShpere setting I didn't know
I had to set.

Thanks.


anthony wrote:
> *I am trying to conncect to a SQL Server 2000 DB via a Websphere JDBC
> Provider. SQL Server 2000 and Websphere are on different machines.
> I performed the following steps:
>
> 1. Installed the SQL Server 2000 Driver for JDBC on the server where
> Websphere is located.
> 2. Installed the Stored Procedures for JTA on the machine where SQL
> Server 2000 is installed.
> 3. Created a JDBC Provider using the SQL Server 2000 Driver for JDBC:
> com.microsoft.jdbcx.sqlserver.SQLServerDataSource
> 4.Tried connecting to the DB via the DataSource Name.
> 5. Received the following error on the first try:
>
> CONM7007I: Mapping the following SQLException, with ErrorCode 0 and
> SQLState 08S01, to a StaleConnectionException: java.sql.SQLException:
> [Microsoft][SQLServer 2000 Driver for JDBC]There is no process to
> read data written to a pipe.
> at com.microsoft.jdbc.base.BaseExceptions.createExcep tion(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
> Source)
> at
> com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.sub mitRequest(Unknown
> Source)
> at
> com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest. openCursor(Unknown
> Source)
> at
> com.microsoft.jdbc.sqlserver.SQLServerImplStatemen t.execute(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseStatement.commonExecut e(Unknown
> Source)
> at
> com.microsoft.jdbc.base.BaseStatement.executeQuery Internal(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseStatement.executeQuery (Unknown
> Source)
> at
> com.microsoft.jdbcx.base.BaseStatementWrapper.exec uteQuery(Unknown
> Source)
> at
> com.ibm.ejs.cm.proxy.StatementProxy.executeQueryCo mmon(StatementProxy.java:306)
> at
> com.ibm.ejs.cm.proxy.StatementProxy.executeQuery(S tatementProxy.java:271)
> at
> mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:267)
> at
> org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
> at
> org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
> at
> com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
> at
> com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
> at
> com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
> at
> com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
> at
> com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
> at
> com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
> at
> com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
> at
> com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
> Code))
> at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
> Code))
> at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)
>
> 6. Tried connecting again and recveived this error:
>
> Servlet Error: Outstanding work on this connection which was not
> comitted or rolledback by the user has been rolledback.:
> com.ibm.ejs.cm.exception.WorkRolledbackException: Outstanding work on
> this connection which was not comitted or rolledback by the user has
> been rolledback.
> at com.ibm.ejs.cm.pool.ConnectO.decRef(ConnectO.java: 366)
> at
> com.ibm.ejs.cm.pool.ConnectionPool.freeConnection( ConnectionPool.java:166)
> at
> com.ibm.ejs.cm.proxy.ConnectionProxy.close(Connect ionProxy.java:821)
> at
> mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:453)
> at
> org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
> at
> org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
> at
> com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
> at
> com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
> at
> com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
> at
> com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
> at
> com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
> at
> com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
> at
> com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
> at
> com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
> Code))
> at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
> Code))
> at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)
>
> Any thoughts to why I am getting the above two exceptions?
>
> Thanks for your help
> Anthony *




--
anthony
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message240982.html

  #3  
Old 06-25-04, 01:02 PM
SqlJunkies User
Re: Using JDBC Connection Pooling via Websphere JDBC Provider using a DataSournce Name
Can you share that solution with me?

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
  #4  
Old 07-01-04, 10:22 AM
trapp trapp is offline
Junior Member
Join Date: Jul 2004
Re: Re: Using JDBC Connection Pooling via Websphere JDBC Provider using a DataSournce Name
Hey I have a similar problem trying to close a database connection in WebSphere and the solution to this problem would be a huge help!  If either of you have figured this out please let me know....thanks!


Quote:
Originally posted by SqlJunkies User
Can you share that solution with me?

---
Posted using Wimdows.net NntpNews Component -

Post Made from http://www.SqlJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.
  #5  
Old 05-11-05, 12:11 AM
WebFellow WebFellow is offline
Junior Member
Join Date: May 2005
Re: Re: Using JDBC Connection Pooling via Websphere JDBC Provider using a DataSournce Name
Hi,

can you share your solution with me, i'm getting the same problem.

Thanx.

Quote:
Originally posted by anthony
Please ignore this message. There was a WebShpere setting I didn't know
I had to set.

Thanks.


anthony wrote:
> *I am trying to conncect to a SQL Server 2000 DB via a Websphere JDBC
> Provider. SQL Server 2000 and Websphere are on different machines.
> I performed the following steps:
>
> 1. Installed the SQL Server 2000 Driver for JDBC on the server where
> Websphere is located.
> 2. Installed the Stored Procedures for JTA on the machine where SQL
> Server 2000 is installed.
> 3. Created a JDBC Provider using the SQL Server 2000 Driver for JDBC:
> com.microsoft.jdbcx.sqlserver.SQLServerDataSource
> 4.Tried connecting to the DB via the DataSource Name.
> 5. Received the following error on the first try:
>
> CONM7007I: Mapping the following SQLException, with ErrorCode 0 and
> SQLState 08S01, to a StaleConnectionException: java.sql.SQLException:
> [Microsoft][SQLServer 2000 Driver for JDBC]There is no process to
> read data written to a pipe.
> at com.microsoft.jdbc.base.BaseExceptions.createExcep tion(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
> Source)
> at
> com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.sub mitRequest(Unknown
> Source)
> at
> com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest. openCursor(Unknown
> Source)
> at
> com.microsoft.jdbc.sqlserver.SQLServerImplStatemen t.execute(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseStatement.commonExecut e(Unknown
> Source)
> at
> com.microsoft.jdbc.base.BaseStatement.executeQuery Internal(Unknown
> Source)
> at com.microsoft.jdbc.base.BaseStatement.executeQuery (Unknown
> Source)
> at
> com.microsoft.jdbcx.base.BaseStatementWrapper.exec uteQuery(Unknown
> Source)
> at
> com.ibm.ejs.cm.proxy.StatementProxy.executeQueryCo mmon(StatementProxy.java:306)
> at
> com.ibm.ejs.cm.proxy.StatementProxy.executeQuery(S tatementProxy.java:271)
> at
> mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:267)
> at
> org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
> at
> org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
> at
> com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
> at
> com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
> at
> com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
> at
> com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
> at
> com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
> at
> com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
> at
> com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
> at
> com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
> Code))
> at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
> Code))
> at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)
>
> 6. Tried connecting again and recveived this error:
>
> Servlet Error: Outstanding work on this connection which was not
> comitted or rolledback by the user has been rolledback.:
> com.ibm.ejs.cm.exception.WorkRolledbackException: Outstanding work on
> this connection which was not comitted or rolledback by the user has
> been rolledback.
> at com.ibm.ejs.cm.pool.ConnectO.decRef(ConnectO.java: 366)
> at
> com.ibm.ejs.cm.pool.ConnectionPool.freeConnection( ConnectionPool.java:166)
> at
> com.ibm.ejs.cm.proxy.ConnectionProxy.close(Connect ionProxy.java:821)
> at
> mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:453)
> at
> org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
> at
> org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
> at
> org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
> at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
> at
> com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
> at
> com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
> at
> com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
> at
> com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
> at
> com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
> at
> com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
> at
> com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
> at
> com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
> at
> com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
> at
> com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
> at
> com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
> at
> com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
> at
> com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
> at
> com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
> Code))
> at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
> Code))
> at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)
>
> Any thoughts to why I am getting the above two exceptions?
>
> Thanks for your help
> Anthony *




--
anthony
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message240982.html
  #6  
Old 06-10-05, 06:18 PM
Rafael@Pru
Re: Using JDBC Connection Pooling via Websphere JDBC Provider using a DataSournce Name

Anthony - What was the WebSphere setting that you changed? We're having
a similar problem - Thanks - Rafael

trapp wrote:
> *Hey I have a similar problem trying to close a database connection
> in
> WebSphere and the solution to this problem would be a huge help! If
> either of you have figured this out please let me know....thanks!
>
>
> SqlJunkies User wrote:
>
>
>
> --
> trapp
> ------------------------------------------------------------------------
> Posted via http://www.mcse.ms
> ------------------------------------------------------------------------
> View this thread: http://www.mcse.ms/message722858.html *




--
Rafael@Pru
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message240982.html

  #7  
Old 07-28-05, 09:41 AM
Deepak_Robi Deepak_Robi is offline
Junior Member
Join Date: Jul 2005
Re: Using JDBC Connection Pooling via Websphere JDBC Provider using a DataSournce Name
HI Can you please tell me what is the solution for this. I am also getting the same Error

Quote:
Originally posted by anthony
I am trying to conncect to a SQL Server 2000 DB via a Websphere JDBC
Provider. SQL Server 2000 and Websphere are on different machines. I
performed the following steps:

1. Installed the SQL Server 2000 Driver for JDBC on the server where
Websphere is located.
2. Installed the Stored Procedures for JTA on the machine where SQL
Server 2000 is installed.
3. Created a JDBC Provider using the SQL Server 2000 Driver for JDBC:
com.microsoft.jdbcx.sqlserver.SQLServerDataSource
4.Tried connecting to the DB via the DataSource Name.
5. Received the following error on the first try:

CONM7007I: Mapping the following SQLException, with ErrorCode 0 and
SQLState 08S01, to a StaleConnectionException: java.sql.SQLException:
[Microsoft][SQLServer 2000 Driver for JDBC]There is no process to read
data written to a pipe.
at com.microsoft.jdbc.base.BaseExceptions.createExcep tion(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
Source)
at com.microsoft.jdbc.base.BaseExceptions.getExceptio n(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.sub mitRequest(Unknown
Source)
at
com.microsoft.jdbc.sqlserver.tds.TDSCursorRequest. openCursor(Unknown
Source)
at com.microsoft.jdbc.sqlserver.SQLServerImplStatemen t.execute(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.commonExecut e(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery Internal(Unknown
Source)
at com.microsoft.jdbc.base.BaseStatement.executeQuery (Unknown Source)
at com.microsoft.jdbcx.base.BaseStatementWrapper.exec uteQuery(Unknown
Source)
at
com.ibm.ejs.cm.proxy.StatementProxy.executeQueryCo mmon(StatementProxy.java:306)
at
com.ibm.ejs.cm.proxy.StatementProxy.executeQuery(S tatementProxy.java:271)
at
mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:267)
at
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
at
org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
at org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
at
com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
at
com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
at
com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
at
com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
at
com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
at
com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
at
com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
at
com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
Code))
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)

6. Tried connecting again and recveived this error:

Servlet Error: Outstanding work on this connection which was not
comitted or rolledback by the user has been rolledback.:
com.ibm.ejs.cm.exception.WorkRolledbackException: Outstanding work on
this connection which was not comitted or rolledback by the user has
been rolledback.
at com.ibm.ejs.cm.pool.ConnectO.decRef(ConnectO.java: 366)
at
com.ibm.ejs.cm.pool.ConnectionPool.freeConnection( ConnectionPool.java:166)
at
com.ibm.ejs.cm.proxy.ConnectionProxy.close(Connect ionProxy.java:821)
at
mckhboc.utils._sqlcommand_jsp_2._jspService(_sqlco mmand_jsp_2.java:453)
at
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWra pper.service(JspServlet.java:323)
at
org.apache.jasper.runtime.JspServlet.serviceJspFil e(JspServlet.java:503)
at org.apache.jasper.runtime.JspServlet.service(JspSe rvlet.java:636)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
at
com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
at
com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
at
com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
at
com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
at
com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
at
com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
at
com.ibm.servlet.engine.invocation.CacheableInvocat ionContext.invoke(CacheableInvocationContext.java: 106)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:154)
at
com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:315)
at
com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
at
com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java(Compiled
Code))
at com.ibm.ws.http.HttpConnection.run(HttpConnection. java(Compiled
Code))
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 38)

Any thoughts to why I am getting the above two exceptions?

Thanks for your help
Anthony



--
anthony
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message240982.html
 


Popular forums
A+ (A Plus) Windows 2000 Active directory Exchange 2000 information store
Network+ Windows XP Security Exchange 2000 server administration
MCSE .NET Web services SQL Server
Cisco certification ASP .NET SQL 2000 Programming
Windows 2000 Registry .NET XML Viruses


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:14 AM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright MCSE braindumps 2003-2006