[jboss-user] [Installation, Configuration & DEPLOYMENT] - setting classpath that refer to a jar in ear bundle

vri_97 do-not-reply at jboss.com
Fri Dec 28 01:06:52 EST 2007


Hi,
I'm trying to set a classpath in myapp-service.xml file in Jboss 4.2.1.

my-app.ear
  |
  +--lib
        |
        +--myappjar.jar


Does anyone know how to add a classpath to myappjar.jar (in myapp-service.xml)?

I have tried to use :

1. classpath codebase="." archives="my-app.ear#myapp.jar" />
2. classpath codebase="./deploy/my-jar.ear" archives="myappjar.jar" />
3. classpath codebase="./deploy/my-jar.ear/lib" archives="myappjar.jar/>"

But none is working.

Does anyone know how ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115850#4115850

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115850



More information about the jboss-user mailing list