[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException upon jndi lookup after upgrade from 3

2007-03-06 Thread jaikiran
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions especially the jmx-console method mentioned over there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025447#4025447 Reply to the post :

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException upon jndi lookup after upgrade from 3

2007-03-06 Thread hgsdc
Hi jaikiran Thanks for the link. Exactly that link did not catch my attention as I was searching the wiki :-( But as I am diving into this issue I guess I know what to do to resolve. Repackage the ear. I have already done so and it is bringing me further. With respect of this beeing the JNDI

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException upon jndi lookup after upgrade from 3

2007-03-06 Thread jaikiran
If the class is meant to be used by both the war and the ejb-jar, the way i package it is - i create a separate jar (common-util.jar maybe) and make it available to both the war and ejb modules by specifying the common-util.jar as java module in the application.xml file of the ear. You can find

[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException upon jndi lookup after upgrade from 3

2007-03-06 Thread hgsdc
Hi jaikiran Yup, exactly what I would suspect to happen. Thanks for link. It was exactly what I was trying to do. No more classloading problems whatsoever. Simple put: GREAT. Thanx Best wishes and regards Henrik View the original post :