[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ
nandhusriram
do-not-reply at jboss.com
Wed Feb 6 11:46:26 EST 2008
Jay
Thanks for your reply.
I was just looking into the dw forums and I found the same link. I even changed the server class loader from multiple to single and made parent last, still no luck.
BTW I am just running the sample booking jpa example that came with jboss seam 2.0.1. One more note I am running this on a windows , that should n't matter anyway. Here are few snippets from my systemout.log
[2/6/08 10:22:11:812 CST] 0000000a JPAComponentI I CWWJP0026I: The Java
Persistence API (JPA) component is initializing.
[2/6/08 10:22:11:843 CST] 0000000a JPAComponentI I CWWJP0006I: The
com.ibm.websphere.persistence.PersistenceProviderImpl class is loaded as
the default Java Persistence API (JPA) provider.
[2/6/08 10:22:11:843 CST] 0000000a JPAComponentI I CWWJP0027I: The Java
Persistence API (JPA) component has initialized.
[2/6/08 10:28:31:640 CST] 0000000a JPAComponentI I CWWJP0028I: The Java
Persistence API (JPA) component is starting.
[2/6/08 10:28:31:671 CST] 0000000a JPAComponentI I CWWJP0017I: The Java
Persistence API (JPA) component has started.
[2/6/08 10:28:38:125 CST] 00000016 Initializatio I
org.jboss.seam.init.Initialization addComponentDescriptor two components
with same name, higher precedence wins:
org.jboss.seam.persistence.persistenceProvider
org.jboss.seam.Component Component: bookingDatabase, scope:
APPLICATION, type: JAVA_BEAN, class:
org.jboss.seam.persistence.EntityManagerFactory
[2/6/08 10:28:39:234 CST] 00000016 Component I
org.jboss.seam.Component Component:
org.jboss.seam.persistence.persistenceProvider, scope: STATELESS, type:
JAVA_BEAN, class: org.jboss.seam.persistence.HibernatePersistenceProvider
[2/6/08 10:28:39:703 CST] 00000016 WebApp E Exception caught
while initializing context
java.lang.ClassCastException:
org.apache.openjpa.persistence.PersistenceProviderImpl incompatible with
javax.persistence.spi.PersistenceProvider
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127084#4127084
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127084
More information about the jboss-user
mailing list