2 Replies Latest reply on Sep 26, 2004 5:47 PM by nonsense321

    Jboss clustering - again error

    chintan230 Newbie

      Dear 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 )


      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 [Root exception is java.io.StreamCorruptedException
      unexpected block data]
      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:


      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)


      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,