Jboss clustering - again error
chintan230 Mar 23, 2004 10:36 AMDear Sacha,
Thanks for your reply! I really appreciate it.
My class path is client side is :
( i'm using jboss-3.0.5_tomcat-4.0.6 )
%JBOSS_HOME%\server\default\lib\jnpserver.jar;
%JBOSS_HOME%\server\default\lib\jboss.jar;
%JBOSS_HOME%\lib\jboss-common.jar;
%JBOSS_HOME%\lib\log4j-boot.jar;
%JBOSS_HOME%\lib\jboss-system.jar
where JBOSS_HOME is c:\jboss-3.0.5_tomcat-4.0.6
- I am still facing the same error as previous.
log4j:WARN No appenders could be found for logger (org.jnp.interfaces.NamingContext).
log4j:WARN Please initialize the log4j system properly.
error is javax.naming.CommunicationException: Failed to retrieve stub from server 10.1.0.49:1100 [Root exception is java.io.StreamCorruptedException
unexpected block data]
java.lang.NullPointerException
at ClusterClient.main(ClusterClient.java:77)
I have configured the server as shown in your book (jboss clustering) and starting it with run -c all.
- while running server, I am facing two more errors, but I think that doesn't make any problem as my client is not web based .. errors are:
first:
11:21:43,759 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.0.5_tomcat-4.0.6/server/all/deploy/jbossweb-ejb.jar
11:21:43,829 ERROR [EJBDeployer] Verfiy failed
java.lang.NoClassDefFoundError: org/mortbay/j2ee/session/interfaces/CMPStateHome
at java.lang.Class.getConstructor0(Native Method)
at java.lang.Class.getConstructor(Class.java:922)
second:
11:21:43,839 INFO [EjbModule] Creating
11:21:43,849 INFO [EjbModule] Deploying CMPState
11:21:43,869 WARN [ServiceController] Problem creating service jboss.j2ee:jndiName=jetty/CMPState,service=EJB
java.lang.ClassNotFoundException: org.mortbay.j2ee.session.interfaces.CMPStateHome
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
Thanks in advance,
Chintan