Anonymous | Login | Signup for a new account | 12-17-2024 10:43 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004591 | [Resin] | crash | always | 06-03-11 08:15 | 07-07-11 14:27 | ||||
Reporter | paru | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.18 | ||||||
Summary | 0004591: Issue with a jpa web application which uses a non-jta-datasource | ||||||||
Description |
I cannot use Resin 4.0 with EclipseLink 2.1.3 when the application is configured using a non-jta-datasource. I only tried the to use the JspCompiler yet, but I think that this exception will also occur during a regular start. (BTW, why does the JSPCompiler need to instantiate the application? This was not the case when using resin 3.1) Am I doing something wrong? If not: Is there a workaround? |
||||||||
Additional Information |
[java] java.lang.ClassCastException: com.caucho.naming.ContextImpl cannot be cast to javax.sql.DataSource [java] at com.caucho.env.jpa.PersistenceUnitManager.loadDataSource(PersistenceUnitManager.java:644) [java] at com.caucho.env.jpa.PersistenceUnitManager.getNonJtaDataSource(PersistenceUnitManager.java:591) [java] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.updateLogins(EntityManagerSetupImpl.java:1201) [java] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.updateServerSession(EntityManagerSetupImpl.java:1449) [java] at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:372) [java] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:164) [java] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:221) [java] at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:216) .. (my initialization code).. [java] at com.caucho.server.webapp.WebApp.start(WebApp.java:3490) [java] at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:658) [java] at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77) [java] at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:521) [java] at com.caucho.env.deploy.DeployContainer.update(DeployContainer.java:242) [java] at com.caucho.env.deploy.DeployContainer.update(DeployContainer.java:224) [java] at com.caucho.env.deploy.DeployContainer.add(DeployContainer.java:88) [java] at com.caucho.server.webapp.WebAppContainer.addWebApp(WebAppContainer.java:404) [java] at com.caucho.resin.ResinEmbed.start(ResinEmbed.java:327) [java] at com.caucho.jsp.JspCompiler.createWebApp(JspCompiler.java:350) [java] at com.caucho.jsp.JspCompiler.configureFromArgs(JspCompiler.java:684) [java] at com.caucho.jsp.JspCompiler.main(JspCompiler.java:616) |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |