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.


#TechXchangePresenter
 View Only
  • 1.  IS not starting producing Java error

    Posted Mon June 20, 2005 05:38 PM

    Hi, our IS instance is not starting. If I start from the command prompt in the <server> folder using: bin\server.bat -log 10, I get the following error:-

    Exception in thread “main” java.lang.NoClassDefFoundError: javax/mail/internet/AddressException at com.wm.app.b2b.server.Main.main(Main.java:36).

    The BC is running on Win2000 with Sun JDK 1.2.2 and Sun JVM 1.3.1_13
    (47.0).

    Hope you can guys can help as always.

    Thanks,

    Steve.


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


  • 2.  RE: IS not starting producing Java error

    Posted Tue June 21, 2005 01:23 PM

    Steve,

    I think the mail.jar file may be missing from the classpath. Please check whether this file is in the %BCServer%/lib folder.

    Regards,

    Koen


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


  • 3.  RE: IS not starting producing Java error

    Posted Sun June 26, 2005 08:28 PM

    Hi there,

    I checked the mail.jar file in the lib folder and it exists and is the same size as that on an existing BC system.

    Regards,

    Steve.


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


  • 4.  RE: IS not starting producing Java error

    Posted Sun June 26, 2005 08:32 PM

    Hi there,

    We managed to start the BC system as follows:-

    1. The BC repository located in the <server>\WmRepository2 folder was renamed to enable a blank copy to be created .

    2. Server logging was increased by modifying the watt.sap.faclist=999 and watt.debug2.faclist=999 server config parameters to enable additional information to be provided in the server.log for resolution.

    3. The Sun JDK 1.2.2 was uninstalled.

    The system could then be started.

    Note, we then re-installed the Sun JDK 1.2.2 and the system was restarted without issue.

    If you can guys can assist with a root cause for this issue then I would really appreciate it.

    Regards,

    Steve.


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


  • 5.  RE: IS not starting producing Java error

    Posted Thu June 30, 2005 12:41 AM

    Steve,
    I’m guessing that the Sun JDK 1.2.2 had an implementation of the mail.jar that was conflicting with the mail.jar that webMethods provides. Since the mail API is similar to jms, jdbc etc in that it is not an implementation but a spec that needs an underlying provider which both webMethods and Sun provide, you may have run into a conflict. I’ve seen conflicts with the mail.jar. Check to see if the Sun JDK 1.2.2 has one. Uninstalling it may have changed the class load order so that webMethods mail.jar came first. Just guessing at this point but I have seen it before.

    markg
    http://darth.homelinux.net


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