Skip to main content

Call a EJB deployed on GLassfish from TOmcat

1 reply [Last post]
mauro2011
Offline
Joined: 2011-06-08
Points: 0

Hi all.
I would write a web application for Tomcat that call a EJB deployed on GLassfish remote .
What jars i have to put into the lib inside the war of web application on TOmcat for call the EJB?
The structure of war will be:

war
web-inf
lib/gf-client.jar
module/????????.jars???????????
classes

or the module/????????.jar it is inside the directory lib inside the war????
mauro

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mauro2011
Offline
Joined: 2011-06-08
Points: 0

Any Response?

Hi ask help for connect a Ejb3 deployed on glassfsih 3.1.2.2 from TOmcat6

I get java.lang.ClassNotFoundException: com.sun.enterprise.naming.SerialInitContextFactory

But the glassfighnaming.,jar it is int oweb-inf/lib
I have put into web-inf/lib all jars from module library of glassfsih.