File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

JBoss - Multiple Ear Files - Deployment & Configuration

Chris Broussard
Greenhorn

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
<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.
Valentin Crettaz
Gold Digger
Sheriff

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


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss - Multiple Ear Files - Deployment & Configuration
 
Similar Threads
ClassCastException when having several .ear files
Problem placing SAR in EAR
Deploying a webservice with isolated namespace
Issue with JBoss logging for different jboss instances running on same machine
log 4j in JBOSS 4.0.0