-
1. Re: JBoss 6/EJB 3.1 - Lookup from client app under Tomcat
armdev May 26, 2011 9:34 AM (in response to armdev)I added all client jars from JBoss and it is worked, but I do not know which jars is important:))?
-
2. Re: JBoss 6/EJB 3.1 - Lookup from client app under Tomcat
armdev May 26, 2011 10:00 AM (in response to armdev)Which jars are needed for client side lookup? Anybody tried?
-
3. Re: JBoss 6/EJB 3.1 - Lookup from client app under Tomcat
wolfgangknauf May 26, 2011 12:13 PM (in response to armdev)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
-
4. Re: JBoss 6/EJB 3.1 - Lookup from client app under Tomcat
armdev May 27, 2011 6:17 AM (in response to wolfgangknauf)Hi, Thank you for your answer, I tried, but unsuccess, I must add all jboss client jars to the client application, and it is too bad because appl grow 40 mb.
May be I will return again to the JBoss 4:(, with 4mb jbossall-client.jar:(