Verbindung ist nicht verbunden mit einen verwalteten Verbindungs -, "Spring-Anwendung im Jboss-Server"
Unter Ausnahme kommt in bestimmten server-Problem ist nicht konsistent.
org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is java.sql.SQLException:
Connection is not associated with a managed connection.org.jboss.resource.adapter.jdbc.jdk6.WrappedConnectionJDK6@49828f4c
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:296)
at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:320)
at org.springframework.jdbc.support.SQLErrorCodesFactory.getErrorCodes(SQLErrorCodesFactory.java:213)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.setDataSource(SQLErrorCodeSQLExceptionTranslator.java:141)
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.<init>(SQLErrorCodeSQLExceptionTranslator.java:104)
at org.springframework.jdbc.support.JdbcAccessor.getExceptionTranslator(JdbcAccessor.java:99)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:969)
at org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:1003)
at org.springframework.jdbc.object.StoredProcedure.execute(StoredProcedure.java:144)
at com.watsons.tfo.sp.dao.SPSaveTransactionDetail.execute(SupplierPromotionDaoImpl.java:3354)
at com.watsons.tfo.sp.dao.SupplierPromotionDaoImpl.savePromoTransaction(SupplierPromotionDaoImpl.java:422)
at com.watsons.tfo.sp.service.SupplierPromotionServiceImpl.savePromoTransaction(SupplierPromotionServiceImpl.java:158)
at sun.reflect.GeneratedMethodAccessor1010.invoke(Unknown Source)
--
org.springframework.dao.RecoverableDataAccessException: CallableStatementCallback; SQL [{call PKG_TFO_SUPPLIER_PROMOTION.PR_INS_SAVE_TRANSACTION_DET(?, ?)}]; No more data to read from socket; nested exception is java.sql.SQLRecoverableException: No more data to read from socket
at com.watsons.tfo.sp.service.SupplierPromotionServiceImpl.savePromoTransaction(SupplierPromotionServiceImpl.java:160)
at sun.reflect.GeneratedMethodAccessor1010.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy206.savePromoTransaction(Unknown Source)
at com.watsons.tfo.sp.controller.SupplierPromoTransactionController.saveSupplierPromoTransaction(SupplierPromoTransactionController.java:1077)
at com.watsons.tfo.sp.controller.SupplierPromoTransactionController$$FastClassByCGLIB$$8994f9f9.invoke(<generated>)
Zuerst dachte ich das ist wegen der veralteten Anschluss, So habe ich Hinzugefügt, veraltete Verbindungs-checker in der oracle-ds.xml. Aber wieder das Problem kam
Mir bitte helfen diese zu lösen.
InformationsquelleAutor Mallikarjuna Reddy | 2012-10-03
Du musst angemeldet sein, um einen Kommentar abzugeben.
Deaktivieren der CachedConnection Manager
Oben-tag erwähnt server.xml. diese
cachedconnectionvalve should be turned off in production server
.Gibt es zwei Haupt-Konfigurations-Parameter, die einen direkten Einfluss auf die Leistung und Skalierbarkeit: - Cache connection manager und HTTP-session-Replikation.
Den CachedConnectionManager konfiguriert ist, um in der servlet-container im debug-Modus. Es ist auch konfiguriert, die in der Produktion Konfiguration, aber mit dem debug-Modus aus.
Kommentierte ich die CachedConnectionValve am Ende der server.xml Datei.
Kommentierte auch die CachedConnectionManager in META-INF/jboss-service.xml.
Dem "Anschluss ist nicht verbunden mit eine verwaltete Verbindung" ist Weg und die Anwendung läuft.
Update:
Fand noch eine weitere log für den gleichen Fehler in der oracle-log-Dateien...
Oracle, version: Oracle Database 11.2.0.2
ich.e
XMLSEQUENC/EEXTRACT FAILS WITH ORA-7445[__INTEL_NEW_MEMCPY()+5395]
Dies ist der Fehler mit der XML Verarbeitung in oracle-DB-version, Dann
Nach den Anweisungen von oracle-Leuten, Aktualisiert der patch (11666959) für oracle .
Gleichen erwähnt wird in oracle Website.
InformationsquelleAutor Mallikarjuna Reddy