When trying to deploy WSO2 BPS in JBoss or WebLogic app servers, we got
ClassCastException when trying to create JPA EntityManagerFactory[1][2]. I
think this happens due to the fact that
javax.persistence.spi.PersistenceProvider class is there in two jars. One
jar is bundled with application server and other jar is bundled in BPS. We
need persistence-api jar in BPS distribution because persistence api comes
with the app server can't see persistence.xml files in BPS OSGi bundles.

Do anyone has any idea on how to fix this.

Thanks
Milinda

[1] https://wso2.org/jira/browse/CARBON-5434
[2] https://wso2.org/jira/browse/CARBON-5511


-- 
Milinda Pathirage
Product Manager, Business Process Server - WSO2 Inc
Blog: http://blog.mpathirage.com
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to