IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  EJB Adapter CommunicationError

    Posted Thu July 25, 2002 04:15 PM

    I’m connecting EJB Adapter 4.2 to a WebLogic 5.1 server on AIX. Both, the WebLogic and the EJB Adapter are installed on the same physical machine, the webMethods Broker is running on a remote machine accessible from the network.

    I was finally able to configure the EJB Adapter and it finally started in the adapter_config tool (it’s green). Yippie…

    HOwever, I CANNOT create any Configured Operations for that Adapter - no matter which template I choose, I get a javax.naming.CommunicationException!

    What’s happening?! Is this process attempting to connect to the EJB container and find the list of beans?! What would cause the Communication exception, in Enterprise Integrator when the Adapter starts right in the Adapter Config tool!?

    Could this somehow be related to the UserID/Password combination I’m using? How exactly does this UserID/Password need to be defined in WebLogic?

    Please help - we’re in a crunch…


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: EJB Adapter CommunicationError

    Posted Fri August 16, 2002 08:18 PM

    what version of JDK are you using to run the adapter?


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: EJB Adapter CommunicationError

    Posted Sat January 10, 2004 08:29 AM

    Hai,

    Sub: Facing problem in coonecting to weblogic 5.1

    Alias settings :

    Intial context factory : weblogic.jndi.WLInitialContextFactory
    provider url : t3://localhost:7001
    JNDI : Default
    OS : windows-2000

    settted the classpath to weblogicaux.jar,sp11,sp11boot,classes.zip

    jvm : JDK 1.3.1[both weblogic and webmethod IS]

    With these settings when i ma triying to connect to weblogic it is giving the fallowing error

    it is unable to instaniate the wlintial context
    psl any boby can help me out

    Thnaks in advance
    psrikanth@virinchi.com
    yahoo -chat: haridasa_patil@yahoo.com

    Error :2003-06-08 13:23:09,906 [B2B HTTP Handler 127.0.0.1] ERROR - [BASEJBA.1000.0014]
    MyConnection.open - ‘new InitialContext’ threw this: type(javax.naming.NoInitial
    ContextException), msg(Cannot instantiate class: weblogic.jndi.WLInitialContextF
    actory )
    2003-06-08 13:23:09,906 [B2B HTTP Handler 127.0.0.1] ERROR - [BASEJBA.1000.0015]
    MyConnection.open - previous exception wrapped: msg(java.lang.ClassNotFoundExcep
    tion), rootCause(weblogic/jndi/WLInitialContextFactory )
    2003-06-08 13:23:09,906 [B2B HTTP Handler 127.0.0.1] INFO - [BASEJBA.5000.0003]M
    yConnection.open - exit, returning false
    2003-06-08 13:23:09,906 [B2B HTTP Handler 127.0.0.1] INFO - [BASEJBA.5000.0009]A
    liasTestImpl.test - getConnection returned this(com.wm.pkg.ejb.MyConnection@3af0
    84)
    2003-06-08 13:23:09,906 [B2B HTTP Handler 127.0.0.1] ERROR - AliasTestImpl.test

    • found null or closed connection
      2003-06-08 13:23:09,906 [B2B HTTP Handler 127.0.0.1] INFO - [BASEJBA.5000.0011]A
      liasTestImpl.test - returned from releaseConnection()

    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: EJB Adapter CommunicationError

    Posted Sun January 11, 2004 03:49 AM

    Where are you setting the classpath?
    In the environment before running server.bat?
    If so did you make any changes to server.bat?
    Inside server.bat?
    Where did you put the WebLogic client jar files?
    What version of IS and the EJB Adapter are you running (including SPs)?
    What directory contains the jar that contains the javax.naming classes?
    How are you testing the connection?
    Is it via the Web page of the IMDK package?
    If so, can you just try using the connection to see if it is just a problem with the test connection logic?


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: EJB Adapter CommunicationError

    Posted Mon January 12, 2004 04:50 AM

    Hai shanthi,

    I am settinng the classpath in server .bat
    i placed in prepandclasses weblogicsp13,weblogicsp13bootjar are placed in is\lib
    and weblogicaux.jar,classes.zip are placed in is\lib\jars
    I ma testing connection in admin login test coonection in alias settings

    pls help in establishing the connection between IS server and weblogic5.1

    regards
    psrikanth@virinchi.com


    #Integration-Server-and-ESB
    #webMethods