File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss - Multiple Ear Files - Deployment & Configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss - Multiple Ear Files - Deployment & Configuration" Watch "JBoss - Multiple Ear Files - Deployment & Configuration" New topic

JBoss - Multiple Ear Files - Deployment & Configuration

Chris Broussard

Joined: Dec 01, 2003
Posts: 1
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
the other ear file has

jboss version - jboss-3.2.1_tomcat-4.1.24
jdk - 1.4.2
can somebody please help.
Valentin Crettaz
Gold Digger

Joined: Aug 26, 2001
Posts: 7610
I'm moving this post to the JBoss forum. Please continue the discussion there. Thank you

[Blog] [Blogroll] [My Reviews] My Linked In
I agree. Here's the link:
subject: JBoss - Multiple Ear Files - Deployment & Configuration
It's not a secret anymore!