JBoss Community

Re: JBoss 6/EJB 3.1 - Lookup from client app under Tomcat

created by Wolfgang Knauf in EJB3 - View the full discussion

Hi,

 

you will find a list of required JARs here: http://community.jboss.org/wiki/HowToUseAnApplicationClientInJBoss-5 (section "Step-2: Use the appclient-launcher to launch the application client container."). Unfortunately, the list is for AS 5 and might change with every version.

Actually it is "try&error" ;-)

 

I would advice you (if using Java 1.6) to use wildcards when specifying the classpath, e.g.:

 

        -classpath .;"%JBOSS_HOME%\client\*;%JBOSS_HOME%\lib\*;%JBOSS_HOME%\common\lib\jboss-ejb3-vfs-spi.jar;"

 

Hope this helps

 

Wolfgang

Reply to this message by going to Community

Start a new discussion in EJB3 at Community