-
1. Re: Need Help - Multiple parallel Ear Files.
cfrostrun Dec 1, 2003 8:27 PM (in response to cfrostrun)One other thing.
i'm on jboss-3.2.1_tomcat-4.1.24, w/ jdk 1.4.2 if that matters at all. -
2. Re: ClassLoaders -- HELP
cfrostrun Dec 2, 2003 2:33 PM (in response to cfrostrun)Okay, I'm been combing the internet for this fix. i'm really getting frustrated. i found more info about the UnifiedClassLoader.
here is my sample jboss-app.xml. but this appears not to be working.
ear file 1:
<jboss-app> <loader-repository>scbg_test.net:loader=scbg_test.ear</loader-repository>
<loader-repository-config configParserClass='org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser'>
java2ParentDelegaton=false
</loader-repository-config>
</jboss-app>
ear file 2:
<jboss-app> <loader-repository>scbg_test2.net:loader=scbg_test2.ear</loader-repository>
<loader-repository-config configParserClass='org.jboss.mx.loading.LoaderRepositoryFactory.LoaderRepositoryConfigParser'>
java2ParentDelegaton=false
</loader-repository-config>
</jboss-app>
this is really messed up. test2 works, test1 throws the class cast exception on
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at com.FrostyLabs.scbg.service.locators.FacadeService.getEJBHome(FacadeService.java:29)
but here's a weird thing, test2 is pulling data from database 1, instead of database 2. so its grabbing the properties files from my test 1 ear file?
what the HECK is going on?
Can Somebody please help me. -
3. Re: ClassLoaders -- HELP
cfrostrun Dec 2, 2003 3:00 PM (in response to cfrostrun)
scrap this line -- it was an ant build error
------
but here's a weird thing, test2 is pulling data from database 1, instead of database 2. so its grabbing the properties files from my test 1 ear file?
------
still desperating trying to figure out the jboss-app.xml problem.