wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Weblogic 9.2, JMS and standalone producers and consumers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 9.2, JMS and standalone producers and consumers" Watch "Weblogic 9.2, JMS and standalone producers and consumers" New topic
Author

Weblogic 9.2, JMS and standalone producers and consumers

Aoife Kavanagh
Greenhorn

Joined: Feb 28, 2005
Posts: 16
Hi,

I'm just wondering if anybody has come across. I have an application that works fine with Weblogic 8.1.2 but doesn't even start up when run against 9.2. Basically I have created all my JMS resources on Weblogic (queues, distributed queues, QCF etc). I then have a standalone Java application that starts up and uses the JMS resources offered by Weblogic to receive/send messages. This is fine with 8.1.2 but with 9.2 my application, when attempting to retreive the InitialContext gets the exception:
java.lang.VerifyError: class weblogic.utils.classloaders.GenericClassLoader overrides final method ☺.☺
at java.lang.ClassLoader.defineClass0(Native Method)
...

My JMS module is in a clustered environment containing a single admin server and a single managed server. My standalone application is built and runs with JDK 1.4.2_06 while my Weblogic cluster uses Sun JDK 1.5_04.

Just wondering if anybody has come across this or has an idea as to what might be going on. Thanks. {full stack trace below}
Aoife

java.lang.VerifyError: class weblogic.utils.classloaders.GenericClassLoader overrides final method ☺
.☺
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at weblogic.jndi.WLInitialContextFactoryDelegate.<clinit>(WLInitialContextFactoryDelegate.java:204)
at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
at weblogic.jndi.Environment.getContext(Environment.java:307)
at weblogic.jndi.Environment.getContext(Environment.java:277)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.fineos.ta.services.mom.soap.transport.WeblogicTransport.initInitialContext(WeblogicTransport.java:200)
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Have you looked at the 9.2 Upgrade Guide?
Ram Mmurthy
Greenhorn

Joined: Jul 12, 2004
Posts: 27
Hi

I ran into the same issue, and had to update the CLASSPATH to include the wlclient.jar file instead of the weblogic.jar file

http://forums.bea.com/bea/message.jspa?messageID=600047106&tstart=0

The problem was resolved after making the above change.
 
GeeCON Prague 2014
 
subject: Weblogic 9.2, JMS and standalone producers and consumers