mbpolan [https://community.jboss.org/people/mbpolan] created the discussion

"Including external/third-party JARs in app on JBoss 7.1.1"

To view the discussion, visit: https://community.jboss.org/message/824196#824196

--------------------------------------------------------------
Hi everyone,

I'm a bit of a newbie when it comes to JBoss, so please correct me if I 
misunderstood something. 

Anyway, I'm attempting to port an existing webapp from Tomcat 7 to a new JBoss 
7.1.1 instance, and I'm a bit confused about getting all of my JAR dependencies 
resolved. There exists a collection of JAR files that are externally supplied 
by a third-party, and let's say they are located under $JAVA_HOME/lib/other on 
the end-user's machine. My webapp needs these JARs to be available, and so far, 
it seems that making a module for them is the way to go. However, I don't want 
to copy these JAR files to the module directory, because depending on what 
version of the JARs the user has (and their Java version), there could be 
differences in the code contained in those files. In Tomcat, I would just make 
sure that the aforementioned path was added to the classpath before my webapp 
was deployed, and everything would be loaded correctly. Is this kind of 
approach possible to do in JBoss?


Thanks!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/824196#824196]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to