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

Error creating Java Service

  • 1.  Error creating Java Service

    Posted Fri April 15, 2011 06:24 PM

    When I try to create a Java service in Developer 7.1.3 I get the error:

    “com.wm.driver.comm.b2b.WmCommException: [[[ISS.0026.9104] Missing class my.package.utils]”

    Does anyone know what I need to do?


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Error creating Java Service

    Posted Mon April 18, 2011 08:55 AM

    Hi,
    Have you point the watt.server.compile = to the jvm bin location?
    You can check the setting from IS admin page - setting - Extended.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Error creating Java Service

    Posted Mon April 18, 2011 10:55 AM

    I have done this and now I get the error: com.wm.driver.comm.b2b.WmCommException: [[[ISS.0014.9116] Unable to locate or start compiler]

    watt.server.compile=c:\webMethods7\jvm\w64_160\bin


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Error creating Java Service

    Posted Mon April 18, 2011 03:54 PM

    The issue here was that we had to use java 1.5 and the Java_Home environment variable was not properly set in the machine.

    :idea:


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Error creating Java Service

    Posted Thu September 26, 2013 02:14 PM

    I have done this

    watt.server.compile = to the jvm bin location

    but still facing the same issue.

    Please help me…


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Error creating Java Service

    Posted Fri October 04, 2013 05:31 AM

    Hi All,

    We are also getting the error as below when trying to save the java services in developer 712
    com.wm.driver.comm.b2b.WmCommException: [[[ISS.0014.9116] Unable to locate or start compiler]

    Even though the Extended settings are set as below in IS:
    watt.server.compile=javac -classpath {0} -d {1} {2}
    watt.server.compile.unicode=javac -encoding Unicode -classpath {0} -d {1} {2}

    This we are facing after upgrading the jvm in our linux machine

    Please help me to resolve this it is very urgent.


    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Error creating Java Service

    Posted Fri October 04, 2013 11:43 AM

    OK…In this setting
    watt.server.compile=javac -classpath {0} -d {1} {2}

    Did you gave the full class path for javac to locate? Can you check that for accuracy?

    HTH,
    RMG


    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: Error creating Java Service

    Posted Wed May 28, 2014 07:56 AM

    Hi Guys,

    Is this issue resolved to you? I’m also getting the same error while trying to ‘make’ with jcode utility (on a Java class that is created in eclipse IDE and imported into Integration server).

    Exception in thread “main” com.wm.util.LocalizedIOException: [ISS.0014.9116] Unable to locate or start compiler
    at com.wm.app.b2b.server.NodeUtil.doCompile(NodeUtil.java:984)
    at com.wm.app.b2b.server.NodeUtil.compile(NodeUtil.java:548)
    at com.wm.app.b2b.server.NodeUtil.compile(NodeUtil.java:441)
    at com.wm.app.b2b.server.NodeUtil.main(NodeUtil.java:161)

    Verified in our environment the jvm configuration is correct (and I am able to compile java classes with the javac in the path below, but not able to ‘make’ it with jcode utility:( )

    watt.server.compile=…/jvm/jdk6/bin/javac -classpath {0} -d {1} {2}

    regards,
    Raj


    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Error creating Java Service

    Posted Wed May 28, 2014 09:40 AM

    Make sure you give the absolute path in watt.server.compile setting

    Also share your wM version, OS details? I assume your JDK is 1.6


    #Integration-Server-and-ESB
    #webMethods


  • 10.  RE: Error creating Java Service

    Posted Wed May 28, 2014 01:16 PM

    Please check the following:

    JVM version used for running the IS
    JVM version used for compiling

    If the IS is running on 1.5 and you compile with 1.6 or newer, the watt.server.compile-parameters should like this:
    watt.server.compile=javac -target 1.5 -classpath {0} -d {1} {2}
    watt.server.compile.unicode=javac -encoding -target 1.5 Unicode -classpath {0} -d {1} {2}

    Otherwise you will get a “Bad class file version” error.

    For using jcode.sh:
    Which JVM is configured there?
    Usually it points to the jvm initially installed by Installer.
    But this one does not always contain a compiler.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods