Hi,

  I am using AppFuse Modular Struts 2 Archetype.  The war file I have
generated deploys fine on jetty and tomcat,  but when I try to deploy in
OC4J 10.1.3.4 I get a problem.

I have already attempted some of the older posts I have seen related to this
problem, including:
1)  Excluding toplink from my shared libraries
2)  Setting oracle to prefer local classes first

Here is the log that I get when I attempt to deploy.  Any help would be
appreciated.

2008-11-13 12:14:31.340 NOTIFICATION Initializing ClassLoader(s)
2008-11-13 12:14:31.356 NOTIFICATION Initializing EJB container
2008-11-13 12:14:31.356 NOTIFICATION Loading connector(s)
2008-11-13 12:14:31.481 NOTIFICATION Starting up resource adapters
2008-11-13 12:14:31.481 NOTIFICATION Initializing EJB sessions
2008-11-13 12:14:31.481 NOTIFICATION Committing ClassLoader(s)
2008-11-13 12:14:31.481 NOTIFICATION Initialize
eousa-rms-webapp-1.0-SNAPSHOT begins...
2008-11-13 12:14:31.496 NOTIFICATION Initialize
eousa-rms-webapp-1.0-SNAPSHOT ends...
2008-11-13 12:14:31.512 NOTIFICATION Started application : eousa
2008-11-13 12:14:31.528 NOTIFICATION Binding web application(s) to site
default-web-site begins...
2008-11-13 12:14:31.528 NOTIFICATION Binding eousa-rms-webapp-1.0-SNAPSHOT
web-module for application eousa to site default-w
eb-site under context root /eousa
08/11/13 12:14:32 oracle.oc4j.admin.internal.DeployerException:
[eousa:eousa-rms-webapp-1.0-SNAPSHOT] - Exception creating En
tityManagerFactory using PersistenceProvider class
org.hibernate.ejb.HibernatePersistence for persistence unit ApplicationEnt
ityManager.
08/11/13 12:14:32       at
com.evermind.server.ejb.exception.DeploymentException.exceptionCreatingEntityManagerFactory(Deploy
mentException.java:130)
08/11/13 12:14:32       at
com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory
(PersistenceUnitManagerImpl.java:197)
08/11/13 12:14:32       at
com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(Persisten
ceUnitManagerImpl.java:159)
08/11/13 12:14:32       at
com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerIm
pl.java:87)
08/11/13 12:14:32       at
com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:736)
08/11/13 12:14:32       at
com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
08/11/13 12:14:32       at
com.evermind.server.Application.getHttpApplication(Application.java:586)
08/11/13 12:14:32       at
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReferen
ce(HttpSite.java:1987)
08/11/13 12:14:32       at
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
08/11/13 12:14:32       at
com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
08/11/13 12:14:32       at
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:302)
08/11/13 12:14:32       at
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:121)
08/11/13 12:14:32       at
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
08/11/13 12:14:32       at
oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:550)
08/11/13 12:14:32       at
oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:205)
08/11/13 12:14:32       at
oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
08/11/13 12:14:32       at
oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52
)
08/11/13 12:14:32       at
oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
08/11/13 12:14:32       at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.j
ava:298)
08/11/13 12:14:32       at java.lang.Thread.run(Thread.java:595)
2008-11-13 12:14:32.387 NOTIFICATION Application Deployer for eousa FAILED.
2008-11-13 12:14:32.387 NOTIFICATION Application UnDeployer for eousa
STARTS.
-- 
View this message in context: 
http://www.nabble.com/OC4J-Problems-with-Hibernate-Persistence-tp20484813s2369p20484813.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to