webMethods

webMethods

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
Expand all | Collapse all

EJB adapter error: testConnFail

  • 1.  EJB adapter error: testConnFail

    Posted Tue June 17, 2003 02:18 AM

    Hello,

    Configuring EJB 1.2 adapter on webM6.0.1/win2k/Sun JDK 1.3.1_07. Have configured JBoss3.0.4/Tomcat4.1.12 and in IS Admin have created connection with following:
    Alias name: JBoss3
    Initial Context Factory: org.jnp.interfaces.NamingContextFactory
    Provider URL: jnp://localhost:1099
    JNDI Server Type: JBoss

    JBoss starts successfully but when testing EJB adapter connection in IS Admin, the following error pop-up:
    testConnFail: AliasTestImpl.test - found null or closed connection.

    Error log in c:\webM6\IntegrationServer\packages\WmEJB\log is:
    2003-06-17 15:25:41,734 [HTTP Handler 127.0.0.1] ERROR - [BASEJBA.1000.0014]MyConnection.open - ‘new InitialContext’ threw this: type(java.lang.ClassCastException), msg(iaik.asn1.structures.Name)
    2003-06-17 15:25:41,834 [HTTP Handler 127.0.0.1] ERROR - AliasTestImpl.test - found null or closed connection

    Any thoughts???
    Cheers, John


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 2.  RE: EJB adapter error: testConnFail

    Posted Thu June 19, 2003 01:16 AM

    Solution is to ensure JBoss and Integration Server are using same version of JVM. Ended up pointing IS (server.bat) to use Sun JDK 1.3.1_07, which I had installed separately, rather than the JVM shipped with webM. Ensure JBoss is also using this by pointing correctly in run.bat file (done by pointing correctly in System’s PATH variable (on Win2k).


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods