Error Occurred Creating Managedconnection For Org.apache.geronimo
connection to jdbc:derby:Agile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Closed Priority: Major Resolution: Duplicate Affects Version/s: 2.0-M6 Fix Version/s: 2.0.1, 2.1 Component/s: databases Security Level: public (Regular issues) Labels: None Environment: Geronimo v2.0-M6-rc3 Description Created a sample db on the embedded Derby database using the admin console. Created a connection pool to that database with the wizard, the "Test Connection" works fine during pool creation. When I try to access that pool from an application I get an error as if the database wouldn't exists. 13:28:24,218 ERROR [MCFConnectionInterceptor] Error occurred creating ManagedConnection for org.apache.geronimo.connector.outbound.ConnectionInfo@1e06930 javax.resource.spi.ResourceAllocationException: Unable to obtain physical connection to jdbc:derby:sample at org.tranql.connector.jdbc.JDBCDriverMCF.getPhysicalConnection(JDBCDriverMCF.java:98) at org.tranql.connector.jdbc.JDBCDriverMCF.createManagedConnection(JDBCDriverMCF.java:73) at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48) at org.apache.geronimo.connector.outbound.LocalXAResourceInsertionInterceptor.getConnection(LocalXAResourceInsertionInterceptor.java:41) at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:66) at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:78) at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:46) at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCach
connection user name and password should be honored when enabling derby authenticationAgile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Resolved Priority: Minor Resolution: Not A Problem Affects Version/s: 2.1.7, 2.2.1 Fix Version/s: 2.1.8 Component/s: databases Security Level: public (Regular issues) Labels: None Environment: https://issues.apache.org/jira/browse/GERONIMO-3240 ubuntu 10.04.1 LTS sun java 1.5.0_22 Description Consider this scenario: 1. User firstly disables derby authentication, then start the server and deploy an application which is using embedded derby database. The datasource deployment plan is https://issues.apache.org/jira/browse/GERONIMO-5689 like this:
Things LocationTech Long-Term Support PolarSys Science OpenMDM More https://www.eclipse.org/forums/index.php/t/275854/ Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums Mailing Lists Wiki IRC How to Contribute Working http://osdir.com/ml/java.geronimo.user/2008-08/msg00226.html Groups Automotive Internet of Things LocationTech Long-Term Support PolarSys Science OpenMDM Toggle navigation Home Projects Forums Eclipse Community Forums Forum error occurred Search: Search Help Register Login Home Home» Eclipse Projects» Eclipse Process Manager (Stardust)» SQLException "Invalid Oracle URL specified"(Problems configuring Oracle 11g as XA datasource in Tomcat 6) Show: Today's Messages :: Show Polls :: Message Navigator error occurred creating SQLException "Invalid Oracle URL specified" [message #778231] Wed, 11 January 2012 20:40 Jan Hendrik ScheufenMessages: 77Registered: October 2011 Member Hi, I'm setting up a local Stardust installation based on Tomcat 6 and Oracle 11g, but after configuring the Oracle XA datasource in the server.xml, I get the following exception when the application bootstraps. 13:48:43 INFO [main ] GlobalParameters - Loading properties via provider factory ag.carnot.workflow.runtime.spring.web.SpringAppContextPropertiesProviderFactory (priority 4). 13:48:43 INFO [main ] ContextPropertiesProvider - ag.carnot.workflow.runtime.spring.cachedApplicationContext = null 13:48:43 INFO [main ] EngineService - Bootstrapping engine 13:48:43 INFO [main ] DebugInterceptor - --> isolate 13:48:43 ERROR [main ] MCFConnectionInterceptor - Error occurred creating ManagedConnection for org.apache.geronimo.connector.outbound.ConnectionInfo@60eb9f0a javax.resource.spi.ResourceAdapterInternalException: Unable to obtain physical connection to oracle.jdbc.xa.client.OracleXADataSource@2a5b8e8c at ag.carnot.db.jca.XaDataSourceMCF.getPhysicalConnection(XaDataSourceMCF.java:67) at org.tranql.connector.jdbc.AbstractXADataSourceMCF.createManagedConnection(AbstractXADataSourceMCF.java:64) at
the embedded DB? Looks to be a Derby error... Any > additional information in the log? Stacktrace, etc.? > I may have made matters worse. I found a couple of files ending in *.lck in the ${GERONIMO_HOME}/var/derby/SystemDatabase directory and removed them thinking that might solve the problem. Now I'm seeing: Module 6/37 org.apache.geronimo.configs/axis2/2.0.2/car 11:14:54,806 ERROR [MCFConnectionInterceptor] Error occurred creating ManagedConnection for org.apache.geronimo.connector.outbound.ConnectionInfo@1069899 javax.resource.spi.ResourceAdapterInternalException: Unable to obtain physical connection to org.apache.derby.jdbc.EmbeddedXADataSource@cfaf6e at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnection(AbstractXADataSourceMCF.java:76) at org.tranql.connector.derby.EmbeddedXAMCF.createManagedConnection(EmbeddedXAMCF.java:53) at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(MCFConnectionInterceptor.java:48) at org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.getConnection(XAResourceInsertionInterceptor.java:41) at org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnection(SinglePoolConnectionInterceptor.java:67) at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:78) at org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(TransactionEnlistingInterceptor.java:46) at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(TransactionCachingInterceptor.java:96) at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39) at org.apache.geronimo.connector.outbound.AbstractConnectionManager.doRecovery(AbstractConnectionManager.java:65) at org.apache.geronimo.connector.outbound.AbstractConnectionManager$$FastClassByCGLIB$$80012030.invoke(