Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tomcat 3.2.1 and Weblogic 6.0 SP1

6 views
Skip to first unread message

newsgroups.bea.com

unread,
Jun 19, 2001, 10:38:22 AM6/19/01
to
Hi,
We are trying to migrate from WL5.1 to WL6.0 . We are using Tomcat 3.2.1
as our servlet engine. We were using JDK 1.2.2 for our previous release and
now we are trying to deploy the application as is with the same version of
Tomcat and WL6.0.

We are running into problems like weblogic.rmi.extension.stub class not
found.
We were not able to find that class file in any of the jars shipped with
WL6.0

We are still using JDK1.2.2 with Tomcat

Any ideas/suggestions regarding this would be very helpful.


Thanks,
Gopi


Daniel Hoppe

unread,
Jun 19, 2001, 12:51:06 PM6/19/01
to
Hi,

the only officially supported JDK is 1.3.0. This might be a cause for
your problem (http://www.weblogic.com/platforms/index.htm). As client VM
1.2.2 is supported. If you need to run 1.2.2 on the TomCat side, maybe
you can just run 1.2.2 there and 1.3.0 on the server. If this is not the
problem could you post some more details (start scripts, stack trace,
does the exception occur in WebLogic or in TomCat, what's your OS, etc).

Daniel

> -----Ursprüngliche Nachricht-----
> Von: newsgroups.bea.com [mailto:go...@lifetimefitness.com]
> Bereitgestellt: Dienstag, 19. Juni 2001 16:38
> Bereitgestellt in: install
> Unterhaltung: Tomcat 3.2.1 and Weblogic 6.0 SP1
> Betreff: Tomcat 3.2.1 and Weblogic 6.0 SP1

Gopi

unread,
Jun 19, 2001, 2:49:12 PM6/19/01
to
Thanks for the response.

That is exactly what we are trying to do and what we are getting is an
exception
that says
weblogic.rmi.extensions.stub not found
We dont see it anywhere in the jar files on wl6.0 server.

We have not tried to compile our classes on the tomcat side with JDK 1.3.0
and we want
to avoid that since tomcat 3.2.1 needs jdk1.2.2

Let me know if you need more information than I have provided here.


Thanks,
Gopi

"Daniel Hoppe" <ho...@sitewaerts.de> wrote in message
news:923A7281CDB7D4118A50...@samoa.sitewaerts...

Daniel Hoppe

unread,
Jun 20, 2001, 3:37:14 AM6/20/01
to
Gopi,

show me your WL startup script, the Tomcat one and the complete
stacktrace, maybe that gives us a hint on what's going on.

Daniel

> -----Ursprüngliche Nachricht-----
> Von: Gopi [mailto:go...@lifetimefitness.com]
> Bereitgestellt: Dienstag, 19. Juni 2001 20:49


> Bereitgestellt in: install
> Unterhaltung: Tomcat 3.2.1 and Weblogic 6.0 SP1

> Betreff: Re: Tomcat 3.2.1 and Weblogic 6.0 SP1

Erik Stockton

unread,
Jun 20, 2001, 4:49:36 PM6/20/01
to
I am working with Gopi on this problem. We are running Tomcat 3.2.1, JDK
1.2.2 on Windows NT 3.51.
We have deployed our EJB's on WLS6.0 sp2. When trying to connect to WL6.0
from Tomcat we get the following exception:

javax.naming.CommunicationException. Root exception is
weblogic.socket.UnrecoverableConnectException: [Login failed: 'Incompatible
version:Incompatible versions - this server:6.0.0b2 client:5.1.0]
at weblogic.socket.Login.checkLoginSuccess(Login.java, Compiled Code)
at weblogic.socket.JVMSocketT3.connect(JVMSocketT3.java:85)
at weblogic.socket.JVMAbbrevSocket.connect(JVMAbbrevSocket.java:160)
at weblogic.socket.JVMSocketManager.create(JVMSocketManager.java:282)
at
weblogic.rjvm.ConnectionManager.findOrCreateSocket(ConnectionManager.java:91
8)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:339)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java,
Compiled Code)
at
weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:248)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:219)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:186)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java, Compiled Code)
at
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
textFactoryDelegate.java:148)
at
weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
ory.java:123)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:671)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242)
at javax.naming.InitialContext.init(InitialContext.java:218)
at javax.naming.InitialContext.<init>(InitialContext.java:194)
at
com.lifetimefitness.common.StaticServlet.cacheClubTypes(StaticServlet.java,
Compiled Code)
at com.lifetimefitness.common.StaticServlet.init(StaticServlet.java:108)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java, Compiled Code)
at org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.init(ContextManager.java, Compiled
Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

Thanks, Erik Stockton
esto...@lifetimefitness.com

"newsgroups.bea.com" <go...@lifetimefitness.com> wrote in message
news:3b2f...@newsgroups.bea.com...

Daniel Hoppe

unread,
Jun 21, 2001, 3:48:32 AM6/21/01
to
Hi Erik,

> javax.naming.CommunicationException. Root exception is
> weblogic.socket.UnrecoverableConnectException: [Login failed:
> 'Incompatible
> version:Incompatible versions - this server:6.0.0b2 client:5.1.0]

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

you should remove the old WebLogic 5.1 libs from your TomCat classpath.
Replace them by the new ones shipping
with WL6.0.

Cheers,

Daniel

Erik Stockton

unread,
Jun 21, 2001, 9:01:23 AM6/21/01
to
Thanks for the response. When I replace the old WL5.1 libs (i.e.
c:\weblogic\classes and c:\weblogic\lib\weblogicaux.jar) with WL6.0 libs
(i.e. c:\bea\wlserver6.0\lib\weblogic.jar) I get the exception listed below.
In WL5.1 the missing class "weblogic.rmi.extensions.Stub" is located in the
c:\weblogic\classes directory. There doesn't seem to be a corresponding
class for this in WL6.0. As always, any help is greatly appreciated.
Thanks, //Erik

Exception in thread "main" java.lang.NoClassDefFoundError:
weblogic/rmi/extensions/Stub
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java, Compiled
Code)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java, Compiled
C
at java.net.URLClassLoader.defineClass(URLClassLoader.java, Compiled
Code)
at java.net.URLClassLoader.access$1(URLClassLoader.java, Compiled
Code)
at java.net.URLClassLoader$1.run(URLClassLoader.java, Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java, Compiled
Code)
at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java,
Compiled Code)
at java.lang.ClassLoader.loadClass(ClassLoader.java, Compiled Code)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:199)
at
weblogic.j2ee.ApplicationManager.loadClass(ApplicationManager.java:107)
at
weblogic.rjvm.ClassTableEntry.getDescriptor(ClassTableEntry.java:37)
at
weblogic.rjvm.InboundMsgAbbrev.getDescriptor(InboundMsgAbbrev.java:132)
at
weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.
ja
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectIn
pu
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectIn
pu
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:47)
at
weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.java:136
)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:2
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
,
at
weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStu
b.
at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at javax.naming.InitialContext.lookup(InitialContext.java:349)
at
com.lifetimefitness.common.StaticServlet.cacheClubTypes(StaticServlet.java,
Co


at
com.lifetimefitness.common.StaticServlet.init(StaticServlet.java:108)
at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
In

at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java,
Compile


at org.apache.tomcat.core.ContextManager.init(ContextManager.java,
Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)

"Daniel Hoppe" <ho...@sitewaerts.de> wrote in message
news:923A7281CDB7D4118A50...@samoa.sitewaerts...

Daniel Hoppe

unread,
Jun 21, 2001, 9:44:59 AM6/21/01
to
Hi Eric,

in Wl6.0 the class seems to have moved
(weblogic/rmi/extensions/server/Stub). Are you sure that there are *no*
old classes in your classpath anymore? A mixture between WL6 and WL5.1
classes might produce such a behaviour where some old classes are
referenced. Can you post your classpath?

Daniel

> -----Ursprüngliche Nachricht-----
> Von: Erik Stockton [mailto:esto...@lifetimefitness.com]
> Bereitgestellt: Donnerstag, 21. Juni 2001 15:01


> Bereitgestellt in: install
> Unterhaltung: Tomcat 3.2.1 and Weblogic 6.0 SP1
> Betreff: Re: Tomcat 3.2.1 and Weblogic 6.0 SP1
>
>

0 new messages