This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
hello all, I need some assistance. i'm desperately trying to figure out how to get this to work. for explaination purposes let say i have an application. i have two clients that are wanting to use it. however they need different configuration files and deployment descriptors. i want to run them from the same jboss instance. i'm getting class cast exceptions, and i understand it's a classloading problem. can somebody give me a list of steps that will get this working. i basically want to have "mirror" ear files with the only differences is the configuration files inside the appropriate jar/war/ear files. i have tried a couple of different things. right now i have unique jboss.xml & ejb-jar.xml files for the jndi lookups and so they are deploying okay now. but when i try to get the remote reference that's when i'm getting the classcastexception. i have the jboss-app.xml, it is at the same level of the application.xml file. but it doesn't seem to be working. one ear file has <jboss-app> <loader-repository>scbg_app:loader=scbg_test.ear</loader-repository> </jboss-app> the other ear file has <jboss-app> <loader-repository>scbg_app2:loader=scbg_test2.ear</loader-repository> </jboss-app>
jboss version - jboss-3.2.1_tomcat-4.1.24 jdk - 1.4.2 can somebody please help.