Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002041 [Resin] minor always 10-04-07 08:00 11-06-07 09:01
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.3
Summary 0002041: JPA with other providers
Description (rep by Sergey Plehov)
Additional Information
Attached Files

- Relationships

- Notes
(0002363)
ferg
10-18-07 09:52

We are researching BPEL engine's behavior.
Although, Resin + ApacheODE does not work.

Could you give us some advice, please?


 OS - Windows XP Professional Ver.2002 SP2
 Software
  apache-ode-war-1.1
  resin_pro_3.1.3
  SUN jdk1.5.0_06


apache-ode-war-1.1 is deployed RESIN_HOME/webapps/.
Then, following error occurs.


     [17:05:39.937] javax.servlet.ServletException: Error instantiating
DAO Connection Factory class org.apache.ode.dao.jpa.
BPELDAOConnectionFactoryImpl.
     [17:05:39.937] at org.apache.ode.axis2.ODEServer.initDAO(ODEServer.
java:418)
     [17:05:39.937] at org.apache.ode.axis2.ODEServer.init(ODEServer.java
:147)
     [17:05:39.937] at org.apache.ode.axis2.hooks.ODEAxisServlet.init(
ODEAxisServlet.java:47)
     [17:05:39.937] at com.caucho.server.dispatch.ServletConfigImpl.
createServletImpl(ServletConfigImpl.java:646)
     [17:05:39.937] at com.caucho.server.dispatch.ServletConfigImpl.
createServlet(ServletConfigImpl.java:587)
     [17:05:39.937] at com.caucho.server.dispatch.ServletManager.init(
ServletManager.java:154)
     [17:05:39.937] at com.caucho.server.webapp.Application.start(
Application.java:1654)
     [17:05:39.937] at com.caucho.server.deploy.DeployController.
startImpl(DeployController.java:621)
     [17:05:39.937] at com.caucho.server.deploy.StartAutoRedeployAutoStra
tegy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
     [17:05:39.937] at com.caucho.server.deploy.DeployController.
startOnInit(DeployController.java:509)
     [17:05:39.937] at com.caucho.server.deploy.DeployContainer.start(
DeployContainer.java:153)
     [17:05:39.937] at com.caucho.server.webapp.ApplicationContainer.
start(ApplicationContainer.java:670)
     [17:05:39.937] at com.caucho.server.host.Host.start(Host.java:420)

     [17:05:39.937] at com.caucho.server.deploy.DeployController.
startImpl(DeployController.java:621)
     [17:05:39.937] at com.caucho.server.deploy.StartAutoRedeployAutoStra
tegy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
     [17:05:39.937] at com.caucho.server.deploy.DeployController.
startOnInit(DeployController.java:509)
     [17:05:39.937] at com.caucho.server.deploy.DeployContainer.start(
DeployContainer.java:153)
     [17:05:39.937] at com.caucho.server.host.HostContainer.start(
HostContainer.java:504)
     [17:05:39.937] at com.caucho.server.resin.ServletServer.start(
ServletServer.java:971)
     [17:05:39.937] at com.caucho.server.deploy.DeployController.
startImpl(DeployController.java:621)
     [17:05:39.937] at com.caucho.server.deploy.AbstractDeployControllerS
trategy.start(AbstractDeployControllerStrategy.java:56)
     [17:05:39.937] at com.caucho.server.deploy.DeployController.start(
DeployController.java:517)
     [17:05:39.937] at com.caucho.server.resin.ResinServer.start(
ResinServer.java:551)
     [17:05:39.937] at com.caucho.server.resin.Resin.init(Resin.java)

     [17:05:39.937] at com.caucho.server.resin.Resin.main(Resin.java:625)

     [17:05:39.937] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
     [17:05:39.937] at sun.reflect.NativeMethodAccessorImpl.invoke(
Unknown Source)
     [17:05:39.937] at sun.reflect.DelegatingMethodAccessorImpl.invoke(
Unknown Source)
     [17:05:39.937] at java.lang.reflect.Method.invoke(Unknown Source)

     [17:05:39.937] at jp.co.intra_mart.bin.server.core.
WebApplicationServer.run(WebApplicationServer.java:267)
     [17:05:39.937] at java.lang.Thread.run(Unknown Source)
     [17:05:39.937] Caused by: java.lang.UnsupportedOperationException
     [17:05:39.937] at javax.persistence.Persistence.
createEntityManagerFactory(Persistence.java:85)
     [17:05:39.937] at org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImp
l.init(BPELDAOConnectionFactoryImpl.java:108)
     [17:05:39.937] at org.apache.ode.il.dbutil.Database.createDaoCF(
Database.java:267)
     [17:05:39.937] at org.apache.ode.axis2.ODEServer.initDAO(ODEServer.
java:414)
     [17:05:39.937] ... 30 more


Executed Process:
1. "HelloWorld2" folder which is on apache-ode-war-1.1.zip's examples
    is copied to RESIN_HOME\webapps\ode\WEB-INF\processes.

2. Execute ApacheODE's sample program by following command.
    sendsoap http://localhost:8080/ode/processes/helloWorld [^] examples/
HelloWorld2/testRequest.soap


We have known that Persistence class is contained in following jar files.
 Resin - RESIN_HOME/lib/jpa-15.jar
 ODE - RESIN_HOME/webapps/ode/WEB-INF/lib/persistence-api-1.0.jar


Persistence class throws UnsupportedOperationException.
Is it resin_pro_3.1.3's Persistence class?

Do you know what is a solution that Resin + ApacheODE works?
 
(0002452)
ferg
11-06-07 09:01

jpa/212-
 

- Issue History
Date Modified Username Field Change
10-04-07 08:00 ferg New Issue
10-04-07 08:04 plehov Issue Monitored: plehov
10-04-07 12:56 stbu Issue Monitored: stbu
10-18-07 09:52 ferg Note Added: 0002363
11-06-07 09:01 ferg Note Added: 0002452
11-06-07 09:01 ferg Assigned To  => ferg
11-06-07 09:01 ferg Status new => closed
11-06-07 09:01 ferg Resolution open => fixed
11-06-07 09:01 ferg Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker