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 Oracle Community by 666705, 1 year ago
kodo.persistence.jdbc.JPAConnectionFactory
via Oracle Community by 666705, 1 year ago
kodo.persistence.jdbc.JPAConnectionFactory
java.lang.ClassCastException: kodo.persistence.jdbc.JPAConnectionFactory	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.createConnectionFactory(JDBCConfigurationImpl.java:791)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:703)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:803)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource2(JDBCConfigurationImpl.java:810)	at org.apache.openjpa.jdbc.sql.OracleDictionary.ensureDriverVendor(OracleDictionary.java:231)	at kodo.jdbc.sql.OracleAdvancedSQL.setDriverVendorDefaults(OracleAdvancedSQL.java:50)	at kodo.jdbc.sql.OracleAdvancedSQL.getBatchLimit(OracleAdvancedSQL.java:28)	at kodo.jdbc.kernel.AutoOrderUpdateManager.setConfiguration(AutoOrderUpdateManager.java:56)	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:328)	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:285)	at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:99)	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:70)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getUpdateManagerInstance(JDBCConfigurationImpl.java:589)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:264)	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1405)	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:534)	at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:484)	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.getInstance(JDBCBrokerFactory.java:86)	at kodo.persistence.jdbc.JPAConnectionFactory.getFactory(JPAConnectionFactory.java:55)	at kodo.persistence.jdbc.JPAConnectionFactory.createEntityManager(JPAConnectionFactory.java:144)	at ACME.model.project.ProjectFactory.getMiscProjects(ProjectFactory.java:77)	at ACME.ui.beans.ManagerBean.reload(ManagerBean.java:104)	at ACME.ui.beans.ManagerBean.getProjectModel(ManagerBean.java:80)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)	at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)	at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)	at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)	at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)	at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)	at javax.faces.component.UIData.getValue(UIData.java:527)	at javax.faces.component.UIData.getDataModel(UIData.java:848)	at javax.faces.component.UIData.setRowIndex(UIData.java:379)	at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:65)	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:675)	at javax.faces.component.UIData.encodeBegin(UIData.java:681)	at com.xavax.jsf.renderer.AbstractRenderer.encodeRecursive(Unknown Source)	at com.xavax.jsf.renderer.AbstractRenderer.encodeChildren(Unknown Source)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at com.xavax.jsf.renderer.AbstractRenderer.encodeRecursive(Unknown Source)	at com.xavax.jsf.renderer.AbstractRenderer.encodeChildren(Unknown Source)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at com.xavax.jsf.renderer.AbstractRenderer.encodeRecursive(Unknown Source)	at com.xavax.jsf.renderer.AbstractRenderer.encodeChildren(Unknown Source)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at com.xavax.jsf.renderer.AbstractRenderer.encodeRecursive(Unknown Source)	at com.xavax.jsf.renderer.AbstractRenderer.encodeChildren(Unknown Source)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at com.xavax.jsf.renderer.AbstractRenderer.encodeRecursive(Unknown Source)	at com.xavax.jsf.renderer.AbstractRenderer.encodeChildren(Unknown Source)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at com.xavax.jsf.renderer.AbstractRenderer.encodeRecursive(Unknown Source)	at com.xavax.jsf.renderer.AbstractRenderer.encodeChildren(Unknown Source)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at com.xavax.jsf.renderer.AbstractRenderer.encodeRecursive(Unknown Source)	at com.xavax.jsf.renderer.AbstractRenderer.encodeChildren(Unknown Source)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:600)	at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:537)	at jsp_servlet.__browseprojects._jsp__tag2(__browseprojects.java:254)	at jsp_servlet.__browseprojects._jsp__tag1(__browseprojects.java:216)	at jsp_servlet.__browseprojects._jsp__tag0(__browseprojects.java:178)	at jsp_servlet.__browseprojects._jspService(__browseprojects.java:141)	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)	at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)	at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)	at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)