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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.