Redeploy of HornetQ Weblogic JMS Bridge Causes java.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stub

Solution Verified - Updated -

Issue

  • I've created a JMS bridge on the JBoss side to connect to a Weblogic 8.1.3 queue (JBoss is target, Weblogic is source) as testdemobridge-jboss-beans.xml
  • When I update the bridge configuration file, I get an error on redeploy stating: java.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stub
  • A restart of the JBoss server is needed to resolve the issue.
  • I have the weblogic.jar file made available to the JBoss server via the conf/jboss-service.xml file with an entry of:
<classpath codebase="${jboss.server.home.url}/weblogic" archives="weblogic.jar"/>
  • How can I make this bridge configuration redeployable?

Environment

JBoss Enterprise Application Platform 5.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content