Seeing java.lang.NoSuchMethodError: org.omg.CosTime.TIOHelper.addClientObjectWrapperClass(Lorg/omg/CORBA/ORB;Ljava/lang/Class;)V when using VisiBroker in application in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • We are seeing a NoSuchMethodError in our application that is using VisiBroker as shown below:
...
Caused by: org.omg.CORBA.INITIALIZE: java.lang.NoSuchMethodError: org.omg.CosTime.TIOHelper.addClientObjectWrapperClass(Lorg/omg/CORBA/ORB;Ljava/lang/Class;)V
    at com.inprise.vbroker.orb.ORB.cleanup(Unknown Source) [vbjorb.jar:]
    at com.inprise.vbroker.orb.ORB.set_parameters(Unknown Source) [vbjorb.jar:]
    at org.omg.CORBA.ORB.init(ORB.java:62) [jacorb-2.3.2-redhat-4.jar:2.3.2-redhat-4]
    at com.jboss.examples.util.CorbaUtil.connect(CorbaUtil.java:100) [classes:]
        ...
  • I tried to exclude jacorb-2.3.2-redhat-4.jar from classpath to resolve the issue.The jar still seems to be on classpath as we’re getting the same error.
jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
                <deployment>
                                <exclusions>
                                                <module name="org.jboss.as.jacorb" />
                                </exclusions>
                </deployment>
</jboss-deployment-structure>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.1
    • 6.1.0
    • 6.0.x

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