It looks to me that you are trying to use openjpa. You should switch
over to Hibernate (which ships with AS7).
--K
On 6/11/12 9:21 AM, tech evaluator wrote:
Hi,
UseCase: JUDDI deployment in JBOSS 7.1
I am able to resove the earlier exceptions related to ClassLoading,
Now I am getting the following exception while deploying JUDDI.war
version 3.1.3 on JBoss 7.1
My JBoss-deployment-structure.xml and persistence.xml is attached
I think I need to make some changes in persistence.xml.
The documentation provided in jUDDI userguide ( Chapter 12 Deploying
to JBoss 6.0.0.GA <http://6.0.0.GA> ) is not applicable at all for new
version of JBoss.
I need help on section 12.4. Configure Datasource for JBoss 7.1
Exception Logs:
17:34:15,064 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
<http://1.1.1.GA>
17:34:15,204 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
<http://1.0.2.GA>
17:34:15,235 INFO [org.jboss.as <http://org.jboss.as>] JBAS015899:
JBoss AS 7.1.1.Final "Brontes" starting
17:34:16,001 INFO [org.xnio] XNIO Version 3.0.3.GA <http://3.0.3.GA>
17:34:16,001 INFO [org.jboss.as.server] JBAS015888: Creating http
management service using socket-binding (management-http)
17:34:16,017 INFO [org.xnio.nio] XNIO NIO Implementation Version
3.0.3.GA <http://3.0.3.GA>
17:34:16,032 INFO [org.jboss.remoting] JBoss Remoting version
3.2.3.GA <http://3.2.3.GA>
17:34:16,048 INFO [org.jboss.as.logging] JBAS011502: Removing
bootstrap log handlers
17:34:16,064 INFO [org.jboss.as.osgi] JBAS011940: Activating OSGi
Subsystem
17:34:16,064 INFO [org.jboss.as.connector.subsystems.datasources]
JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version
1.3)
17:34:16,360 INFO [org.jboss.as.naming] (MSC service thread 1-1)
JBAS011802: Starting Naming Service
17:34:16,392 INFO [org.jboss.as.security] (MSC service thread 1-2)
JBAS013100: Current PicketBox version=4.0.7.Final
17:34:16,470 INFO [org.jboss.as.mail.extension] (MSC service thread
1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
17:34:16,579 INFO [org.apache.coyote.http11.Http11Protocol] (MSC
service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
17:34:16,751 INFO
[org.jboss.ws.common.management.AbstractServerConfig] (MSC service
thread 1-1) JBoss Web Services - Stack CXF Server 4.0.
2.GA <http://2.GA>
17:34:16,860 INFO [org.jboss.as.server.deployment.scanner] (MSC
service thread 1-4) JBAS015012: Started FileSystemDeploymentService
for dir
ectory C:\Softwares\JBoss\jboss-as-7.1.1.Final\standalone\deployments
17:34:16,860 INFO [org.jboss.as.remoting] (MSC service thread 1-4)
JBAS017100: Listening on /127.0.0.1:4447 <http://127.0.0.1:4447>
17:34:16,860 INFO [org.jboss.as.remoting] (MSC service thread 1-3)
JBAS017100: Listening on /127.0.0.1:9999 <http://127.0.0.1:9999>
17:34:16,876 INFO [org.jboss.as.server.deployment.scanner]
(DeploymentScanner-threads - 1) JBAS015014: Re-attempting failed
deployment judd
i.war
17:34:17,126 INFO [org.jboss.as.connector.subsystems.datasources]
(MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/dataso
urces/ExampleDS]
17:34:17,142 INFO [org.jboss.as.server.deployment] (MSC service
thread 1-1) JBAS015876: Starting deployment of "juddi.war"
17:34:18,235 INFO [org.jboss.as.jpa] (MSC service thread 1-2)
JBAS011401: Read persistence.xml for juddiDatabase
17:34:18,329 ERROR [org.jboss.msc.service.fail] (MSC service thread
1-3) MSC00001: Failed to start service jboss.deployment.unit."juddi.war"
.INSTALL: org.jboss.msc.service.StartException in service
jboss.deployment.unit."juddi.war".INSTALL: Failed to process phase
INSTALL of depl
oyment "juddi.war"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119)
[jboss-as-server-7.1.1.Final
.jar:7.1.1.Final]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2
.GA]
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA <http://1.0.2.GA>]
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[rt.jar:1.6.0_22]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[rt.jar:1.6.0_22]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_22]
Caused by: javax.persistence.PersistenceException: JBAS011466:
PersistenceProvider
'org.apache.openjpa.persistence.PersistenceProviderImpl'
not found
at
org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.lookupProvider(PersistenceUnitDeploymentProcessor.java:555)
at
org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deployPersistenceUnit(PersistenceUnitDeploymentProcessor.java:295)
at
org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.addPuService(PersistenceUnitDeploymentProcessor.java:258)
at
org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.handleWarDeployment(PersistenceUnitDeploymentProcessor.java:194)
at
org.jboss.as.jpa.processor.PersistenceUnitDeploymentProcessor.deploy(PersistenceUnitDeploymentProcessor.java:118)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113)
[jboss-as-server-7.1.1.Final
.jar:7.1.1.Final]
... 5 more
17:34:18,392 INFO [org.jboss.as.server] (DeploymentScanner-threads -
2) JBAS015870: Deploy of deployment "juddi.war" was rolled back with f
ailure message {"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"juddi.war\".INSTALL" =>
"org.jboss.msc.service.StartException in
service jboss.deployment.unit.\"juddi.war\".INSTALL: Failed to process
phase INSTALL of deployment \"juddi.war\""}}
17:34:19,095 INFO [org.jboss.as.server.deployment] (MSC service
thread 1-4) JBAS015877: Stopped deployment juddi.war in 703ms
17:34:19,110 INFO [org.jboss.as.controller]
(DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service
jboss.deployment.unit."juddi.war".INSTALL:
org.jboss.msc.service.StartException i
n service jboss.deployment.unit."juddi.war".INSTALL: Failed to process
phase INSTALL of deployment "juddi.war"
17:34:19,110 ERROR [org.jboss.as.server.deployment.scanner]
(DeploymentScanner-threads - 1) {"JBAS014653: Composite operation
failed and was
rolled back. Steps that failed:" => {"Operation step-2" =>
{"JBAS014671: Failed services" =>
{"jboss.deployment.unit.\"juddi.war\".INSTALL"
=> "org.jboss.msc.service.StartException in service
jboss.deployment.unit.\"juddi.war\".INSTALL: Failed to process phase
INSTALL of deploym
ent \"juddi.war\""}}}}