[jboss-user] [EJB 3.0] - Re: java.lan.ClassCastException when casting to remote bean

jaikiran do-not-reply at jboss.com
Thu Nov 20 05:59:00 EST 2008


You have a problem in your configuration files. The classloader repository name should be unique. In your jboss-web.xml and jboss-app.xml you are configuring classloaders with the same name. I would recommend you change the jboss-web.xml to:

  | <?xml version="1.0" encoding="utf-8"?>
  | <jboss-web>
  |    <loader-repository> 
  |       com.test:archive=simplewebapp.war
  |    </loader-repository> 
  | </jboss-web> 

and restart the server.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190819#4190819

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190819



More information about the jboss-user mailing list