thank you for advice. i followed your suggestions but it didn't helped :( i created jboss-app.xml for both applications (and put them to bin/ejb/META-INF of projects). i also created jboss-web.xml files as is shown in http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration. i tried using Isolation and Isolation with Overriding and still i gets class cast exception when using the application deployed earlier :( i tried to create jboss.xml but i have problem. in ejb-jar.xml i have session bean UserManagement declared with ejb-ref as follows: <ejb-local-ref> <ejb-ref-name>UserLocal</ejb-ref-name> <ejb-ref-type>Entity</ejb-ref-type> .... and when i in jboss.xml define:
<ejb-name>UserManagement</ejb-name> <ejb-ref> <ejb-ref-name>UserLocal</ejb-ref-name> <jndi-name>jnp://localhost:1099/User</jndi-name> </ejb-ref> i gets from jboss the following error: org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean UserManagement: ejb-ref User found in jboss.xml but not in ejb-jar.xml what i am doing wrong? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891006#3891006 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891006 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user