i have  war (in this JSP TagHandler class  trying to look up EJB business 
method that is in ear deployed in node2 instance) deployed in jboss/node1 
instance..

ear deployed in jboss/node2 instance..


in the  WAR i have added only home and remote interfaces in WEB/classes at 
client side .(Do i need other custom classes which are using by EJB in WAR);

how do i enable dynamic class loading at client side;i am using jboss-4.0.2;if 
i enable dynamic class loading  do i still need to drop home and remote 
interfaces and custom classes at client side.


in run.bat at client side.. what steps shouild i take to enable dynamic class 
loading to look up classses at server side.


set JBOSS_CLASSPATH=C:/jboss-4.0.2/client/jbossall-client.jar 
-Djava.security.manager=java.rmi.RMISecurityManager 
-Djava.security.policy=c:/jboss-4.0.2/server/node1/conf/server.policy 






                     Hashtable contextProperty          = new 
java.util.Hashtable();
                    contextProperty.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
                    contextProperty.put(Context.PROVIDER_URL, 
"jnp://localhost:1099");


                    
                  
                    InitialContext          context         = new 
InitialContext(contextProperty);
                    DocumentSessionHome home         = 
(DocumentSessionHome)context.lookup("DocumentSessionBean");
                        DocumentSession doc =(DocumentSession)home.create();


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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to