Announcement

Collapse
No announcement yet.

OTM 5.5: Java Integration API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OTM 5.5: Java Integration API

    Hi,

    Does anyone have any experience with the OTM Java Integration API as published in the Data Management documentation for OTM?

    Would like to know how to setup the environment to support this.

    Any information would be helpful!

    Thanks!
    Ian

  • #2
    Re: OTM 5.5: Java Integration API

    Hi Ian,

    Did you find out any information about setting the environmanetal variable.
    We are struck up with an error

    Exception in thread "main" java.lang.NoClassDefFoundError: Example1 (wrong name: glog_deploy/integration/clientapi/Example1)

    Any suggestions would be of great help,

    Thanks,
    njoyotm

    Comment


    • #3
      Re: OTM 5.5: Java Integration API

      Hi ,

      After setting the environmental variable.The java file is getting executed, but we get the below error:


      Wrapping GLException with GLException:
      java.lang.NoClassDefFoundError: com/evermind/server/rmi/RMIContext

      java.lang.NoClassDefFoundError: com/evermind/server/rmi/RMIContext
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at glog.util.j2ee.remote.ASNamingDirectory.<clinit>(A SNamingDirectory.java:34)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:9
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:121)
      at glog.util.remote.SessionBeanHomeInvoker.<init>(Ses sionBeanHomeInvoker.java:26)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:165)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:220)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:244)
      at glog.integration.clientapi.ClientAPIImpl.<init>(Cl ientAPIImpl.java:570)
      at glog.integration.clientapi.ClientAPIImpl.connect(C lientAPIImpl.java:57
      at
      glog.integration.clientapi.ClientAPIConnection.con nect(ClientAPIConnection.java:
      6)
      at Example1.main(Example1.java:9)

      Exception in thread "main" java.lang.NoClassDefFoundError:
      com/evermind/server/rmi/RMIContext

      java.lang.NoClassDefFoundError: com/evermind/server/rmi/RMIContext
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:141)
      at glog.util.j2ee.remote.ASNamingDirectory.<clinit>(A SNamingDirectory.java:34)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:9
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:121)
      at glog.util.remote.SessionBeanHomeInvoker.<init>(Ses sionBeanHomeInvoker.java:26)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:165)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:220)
      at glog.util.remote.NamingDirectory.get(NamingDirecto ry.java:244)
      at glog.integration.clientapi.ClientAPIImpl.<init>(Cl ientAPIImpl.java:570)
      at glog.integration.clientapi.ClientAPIImpl.connect(C lientAPIImpl.java:57
      at
      glog.integration.clientapi.ClientAPIConnection.con nect(ClientAPIConnection.java:
      6)
      at Example1.main(Example1.java:9)

      Could you please help?

      Regards,
      njoyotm

      Comment


      • #4
        Re: OTM 5.5: Java Integration API

        Hi njoyotm,

        I did not manage to use the Java Integration API for OTM at all. So unfortunately, I am unable to help you with this error.

        However, this error seems to be a JNDI error if I am not mistaken. I believe that if you are using the Java Integration API, you need you application to be deployed on the same application server OTM is deployed on (WebLogic, Websphere or OAS).

        Sorry I am not able to help.
        Ian

        Comment

        Working...
        X