[jboss-user] [IronJacamar] - Re: Throwable while attempting to get a new connection: nul

Vlad T do-not-reply at jboss.com
Thu Nov 18 10:03:13 EST 2010


Vlad T [http://community.jboss.org/people/b3lowster] created the discussion

"Re: Throwable while attempting to get a new  connection: nul"

To view the discussion, visit: http://community.jboss.org/message/571788#571788

--------------------------------------------------------------
Good day

I have a similar problem. This is text of exception:

> 2010-11-18 15:11:25,157 WARN  [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
> org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLRecoverableException: Io exception: Connection reset)
>                 at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
>                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
>                 at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)
>                 at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)
>                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
>                 at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
>                 at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
>                 at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
>                 at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
>                 at ua.kyivstar.kiosk.service.dbutils.DBFactory.getPoolConnection(DBFactory.java:97)
>                 at ua.kyivstar.kiosk.service.dbutils.DBFactory.getConnection(DBFactory.java:65)
>                 at ua.kyivstar.kiosk.service.dbutils.DBFacet.<init>(DBFacet.java:17)
>                 at ua.kyivstar.kiosk.service.handler.CreateRequestToConnectHIHandler.handleRequest(CreateRequestToConnectHIHandler.java:31)
>                 at ua.kyivstar.kiosk.service.LCServer.processRequest(LCServer.java:48)
>                 at ua.kyivstar.kiosk.InterfaceKiosk.doGet(InterfaceKiosk.java:68)
>                 at ua.kyivstar.kiosk.InterfaceKiosk.doPost(InterfaceKiosk.java:34)
>                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>                 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>                 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>                 at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
>                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>                 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
>                 at java.lang.Thread.run(Thread.java:619)
> Caused by: java.sql.SQLRecoverableException: Io exception: Connection reset
>                 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
>                 at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
>                 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
>                 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
>                 at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:521)
>                 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:418)
>                 at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
>                 at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
>                 at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
>                 at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
>                 at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
>                 ... 35 more
> Caused by: java.net.SocketException: Connection reset
>                 at java.net.SocketInputStream.read(SocketInputStream.java:168)
>                 at oracle.net.ns.Packet.receive(Packet.java:240)
>                 at oracle.net.ns.NSProtocol.connect(NSProtocol.java:259)
>                 at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:966)
>                 at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
>                 ... 40 more
*Is a problem at the database server/driver level?*
In folder lib I have a ojdbc6.jar
MANIFEST.MF:
Manifest-Version: 1.0
Implementation-Vendor: Oracle Corporation
Implementation-Title: ojdbc6.jar
Implementation-Version: Oracle JDBC Driver version - "11.1.0.7.0-Produ
 ction"
Implementation-Time: Thu Aug 28 17:39:02 2008
Specification-Vendor: Oracle Corporation
Sealed: true
Created-By: 1.6.0 (Sun Microsystems Inc.)
Specification-Title: Oracle JDBC driver classes for use with JDK6
Specification-Version: Oracle JDBC Driver version - "11.1.0.7.0-Produc
 tion"
Main-Class: oracle.jdbc.OracleDriver

Name: oracle/sql/converter_xcharset/
Sealed: false

Name: oracle/sql/
Sealed: false

Name: oracle/sql/converter/
Sealed: false

*Thanks*
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/571788#571788]

Start a new discussion in IronJacamar at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101118/f9a0fdf3/attachment-0001.html 


More information about the jboss-user mailing list