Websphere 7 EntityManagerFactory creation problem?

I suspect that you've included the JPA API jar in your EAR. When using "parent last" (also known as "load classes with application class loader first"), your application is loading a second copy of the javax.persistence.spi. PersistenceProvider class, which is incompatible with the copy included in WAS.

You need to either remove those classes from your EAR or change back to "parent first" delegation mode.

Thank you for the hint. Indeed I've included also the JPA API jar in my EAR. This didn't solve my problem yet (anyway I got another exception), but I must first review the jars needed for bernate and the correct scope.

– mihaela May 6 '10 at 7:47 Well, I can't help solve your problem unless you describe it :-). Perhaps upvote and update your problem description, or accept and start a new question? – bkail May 6 '10 at 14:05 I'm still trying some scenarious and only after that I can come back with a more clear description – mihaela May 6 '10 at 14:42.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions