0 Replies Latest reply on Jul 31, 2003 8:06 PM by Leo Tai

    Problem when switching from SUN JDK 1.4.1 to IBM JDK 1.4.1 i

    Leo Tai Newbie

      Hello all,

      I am using JBoss 2.4.x and Tomcat 3.2.x on Linux. I can run smoothly using SUN JDK 1.4.1. However, when I switching to IBM JDK 1.4.1. My application cannot be run. NoClassDefFoundError throw when lookup EJB. But I didn't change anything on my server setting. I have tested on JBoss 2.4.3-Tomcat 3.2.3 and JBoss 2.4.11-Tomcat 3.2.4, both of them have the same problem.

      This is the exception log on runing tomcat-test.ear:
      java.lang.NoClassDefFoundError: $Proxy19
      at sun.reflect.GeneratedSerializationConstructorAccessor61.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:300)
      at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:831)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1654)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:347)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:146)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
      at javax.naming.InitialContext.lookup(InitialContext.java:360)
      at org.jboss.test.tomcat.servlet.HelloEJB.testBean(HelloEJB.java:69)
      at org.jboss.test.tomcat.servlet.HelloEJB.doGet(HelloEJB.java:40)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
      at org.apache.tomcat.core.Handler.service(Handler.java:287)
      at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
      at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
      at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
      at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
      at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
      at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
      at java.lang.Thread.run(Thread.java:568)

      Please help!

      Leo