I'm working with jboss 3.2.5 for windows (with the 'all' config) and, if 
possibile, I would prefer to use no external software (like an external 
database).

I'm a newbie to jboss (in particolar, with clustering)

I've tried with:

-HAJNDI
I modified the InitialContext() method in the servlet, changing the port (1100 
instead of 1099). I deployed the entire application (ejbs+servlet) on node1, 
and only the servlet on node2.
But, using the servlet on node2, when it tries to connect to the session bean, 
it stops with this error:

exception 
javax.servlet.ServletException: Servlet execution threw an exception

root cause 
java.lang.NoClassDefFoundError: No ClassLoaders found for: 
myejbapplication.ejb.SessionBeanHome
        
myejbapplication.web.ApplicationServlet.doPost(ApplicationServlet.java:79)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Why didn't it find the ejbs on node1 using HA-JNDI? :(


-HTTP Clustering
Following the instructions found here: 
http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html#clustering-http,
 I tried to install Apache with the mod-jk.so module, but I'm not sure about 
its configuration... Do I have to put Apache on both nodes, or only on one? 
Also, I can't configurate Jboss because, when I insert the line true in the 
server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml file, Jboss 
says it doesn't know the attribute UseJK...



I think it's all very difficult for me... :(
Which is the easiest method to mantain a session state between the two nodes 
for my application?
Can you please explain me how to use and configure it in plain words?

Thanks a lot.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to