org.apache.openejb.OpenEJBException: org.apache.xbean.recipe.ConstructionException: Error invoking factory method: public static javax.sql.CommonDataSource org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration) throws java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException: Error invoking factory method: public static javax.sql.CommonDataSource org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration) throws java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ha-jdbc by smithh032772
, 1 year ago
org.apache.xbean.recipe.ConstructionException: Error invoking factory method: public static javax.sql.CommonDataSource org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String
via nabble.com by Unknown author, 1 year ago
org.apache.xbean.recipe.ConstructionException: Error calling instance factory method: public org.apache.openejb.core.stateful.StatefulContainer org.apache.openejb.core.stateful.StatefulContainerFactory.create() throws java.lang.Exception: Error
via gmane.org by Unknown author, 1 year ago
org.apache.xbean.recipe.ConstructionException: Error invoking constructor: public org.apache.tomee.catalina.TomcatSecurityService(): Error invoking constructor: public org.apache.tomee.catalina.TomcatSecurityService()
via gmane.org by Unknown author, 1 year ago
org.apache.xbean.recipe.ConstructionException: Error invoking constructor: public org.apache.tomee.catalina.TomcatSecurityService(): Error invoking constructor: public org.apache.tomee.catalina.TomcatSecurityService()
via grokbase.com by Unknown author, 1 year ago
org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory
via apache.org by Unknown author, 2 years ago
org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory
org.apache.openejb.OpenEJBException: org.apache.xbean.recipe.ConstructionException: Error invoking factory method: public static javax.sql.CommonDataSource org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration) throws java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException: Error invoking factory method: public static javax.sql.CommonDataSource org.apache.openejb.resource.jdbc.DataSourceFactory.create(java.lang.String,boolean,java.lang.Class,java.lang.String,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration,org.apache.openejb.util.Duration) throws java.lang.IllegalAccessException,java.lang.InstantiationException,java.io.IOException
at java.util.Hashtable.put(Unknown Source)
at net.sf.hajdbc.management.DefaultMBeanRegistrar.createAttributes(DefaultMBeanRegistrar.java:134)
at net.sf.hajdbc.management.DefaultMBeanRegistrar.register(DefaultMBeanRegistrar.java:73)
at net.sf.hajdbc.sql.DatabaseClusterImpl.start(DatabaseClusterImpl.java:755)
at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:76)
at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:34)
at net.sf.hajdbc.sql.CommonDataSource.getProxy(CommonDataSource.java:86)
at net.sf.hajdbc.sql.DataSource.getConnection(DataSource.java:60)
at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDataSource(PooledConnection.java:224)
at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:180)
at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:486)
at org.apache.tomcat.jdbc.pool.ConnectionPool.(ConnectionPool.java:144)
at org.apache.tomee.jdbc.TomEEDataSourceCreator.pool(TomEEDataSourceCreator.java:65)
at org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator.poolManaged(PoolDataSourceCreator.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.apache.xbean.recipe.ReflectionUtil$StaticFactory.create(ReflectionUtil.java:998)
at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
at org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:2106)
at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:490)
at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:409)
at org.apache.openejb.OpenEJB$Instance.(OpenEJB.java:148)
at org.apache.openejb.OpenEJB.init(OpenEJB.java:296)
at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:246)
at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:134)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
at org.apache.catalina.startup.Catalina.load(Catalina.java:640)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)

Users with the same issue

2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 weeks ago
Once, 4 weeks ago
22 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.