[jboss-user] [JBoss Seam] - Re: How to deploy seam with oracle as ( or oc4j)?

cedric.lamalle do-not-reply at jboss.com
Sun Feb 25 10:01:38 EST 2007


I bought Michael Yuan's Book from Rough Cuts and got useful informations.
Deploying seam with ejb is "easy" using oc4j ejb stack, but you'll have to define jndi mappings in orion-ejb-jar.xml, which is really annoying.
I had no success deploying a seam app using jboss ejb stack it's always stopping  when creating the entity manager factory :
11:16:39,625 INFO  [TableMetadata] table found: helloworld.person
11:16:39,625 INFO  [TableMetadata] columns: [name, id]
11:16:39,640 INFO  [TableMetadata] foreign keys: []
11:16:39,640 INFO  [TableMetadata] indexes: [primary]
11:16:39,640 INFO  [SchemaUpdate] schema update complete
11:16:39,640 DEBUG [SessionFactoryImpl] obtaining JTA TransactionManager
11:16:39,656 INFO  [NamingHelper] JNDI InitialContext properties:{}
07/02/25 11:16:39 oracle.oc4j.admin.internal.DeployerException: [helloworld:helloworld] - Exception lors de la crÚation de EntityManagerFactory utilisant la classe PersistenceProvider org.hibernate.ejb.HibernatePersistence pour l'unité de persistance helloworld.
07/02/25 11:16:39       at com.evermind.server.ejb.exception.DeploymentException.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
07/02/25 11:16:39       at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
07/02/25 11:16:39       at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
07/02/25 11:16:39       at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:86)
07/02/25 11:16:39       at com.evermind.server.http.HttpApplication.(HttpApplication.java:733)
07/02/25 11:16:39       at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
07/02/25 11:16:39       at com.evermind.server.Application.getHttpApplication(Application.java:545)
07/02/25 11:16:39       at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
07/02/25 11:16:39       at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909)
07/02/25 11:16:39       at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
07/02/25 11:16:39       at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
07/02/25 11:16:39       at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
07/02/25 11:16:39       at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
07/02/25 11:16:39       at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
07/02/25 11:16:39       at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
07/02/25 11:16:39       at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
07/02/25 11:16:39       at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
07/02/25 11:16:39       at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
07/02/25 11:16:39       at java.lang.Thread.run(Thread.java:595)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021979#4021979

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021979




More information about the jboss-user mailing list