Isn't there an OSGi setting to say not to use particular packages from
the underlying runtime?

Unfortunately I can't remember the setting.

Paul

2009/11/16 Milinda Pathirage <[email protected]>:
> 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
>
>



-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
twitter.com/pzfreo
[email protected]

WSO2 - a breath of fresh oxygen for enterprise middleware
http://wso2.com

_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to