Archive | call ejb remote from tomcat at glassfish RSS feed for this section

Spiegazione-problema-classloder-serialcontext-per-call-ejbremote

4 Jan

Vedere questa spiegazione assolutamente.

http://stackoverflow.com/questions/7804357/serialinitcontextfactory-not-found-in-glassfish-naming

Call-ejb3-on-glassfish-from-tomcat7.attenzione-aggiugere-jar-per-securezza

4 Jan

http://javahowto.blogspot.it/2011/06/tomcat-to-glassfish-remote-ejb.html
Spiega bene. Notare la nota finale su programlogin quando non si usa bisogna aggiungere il file  appclient.security.jar inside CATALINA_HOME/lib

Altri files da aggiungere

For a simple Tomcat-GlassFish test that includes a servlet (in Tomcat) invoking remote EJB 3 stateless bean (in GlassFish 3), the following 32 jars are the minimum set of jars to be included in Tomcat lib:

javax.ejb.jar
ejb-container.jar
deployment-common.jar
dol.jar
glassfish-corba-csiv2-idl.jar
glassfish-corba-codegen.jar
ssl-impl.jar
security.jar
ejb.security.jar
management-api.jar
gmbal-api-only.jar
gmbal.jar
glassfish-corba-asm.jar
glassfish-corba-newtimer.jar
glassfish-corba-orbgeneric.jar
bean-validator.jar
config-types.jar
kernel.jar
config.jar
config-api.jar
glassfish-corba-omgapi.jar
glassfish-corba-orb.jar
orb-connector.jar
orb-enabler.jar
orb-iiop.jar
glassfish-api.jar
auto-depends.jar
hk2-core.jar
internal-api.jar
common-util.jar
glassfish-corba-internal-api.jar
glassfish-naming.jar