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

running java service

  • 1.  running java service

    Posted Fri November 23, 2007 01:50 PM

    Hi,
    When I am tring to run Java service first time I am getting the error like
    couldnot compile
    com.wm.app.b2b.server.ServiceException:[ISS.0014.9166] Unable to locate or start compiler.

    Can any help me on this…


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: running java service

    Posted Fri November 23, 2007 05:19 PM

    Welcome to wMUsers. Please search the forums for “unable to locate or start compiler.” I’m sure you’ll find the information you seek. (This topic has been covered once or twice, if I recall correctly.)


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: running java service

    Posted Fri November 23, 2007 05:40 PM

    Hi,

    You can refer the following existing thread. It will be very useful
    [URL=“wmusers.com”]wmusers.com

    Thanks!
    Arul


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: running java service

    Posted Mon November 26, 2007 05:10 AM

    Hi Nagesh,

    You need to set the JAVA_DIR located in server.bat located in

    :\IntegrationServer\bin\Server.bat

    SET JAVA_DIR=:\jvm\win142\jre.

    before setting stop the IS Server save the changes and restart the IS Server

    Reamon,

    Could you please confirm is that correct, if we do the above settings?

    Thanks in Advance
    Gouse.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 5.  RE: running java service

    Posted Mon November 26, 2007 03:53 PM

    I can confirm two things:

    1. The information is in the documentation.
    2. The information has been posted on these forums many, many times.

    My answer pointed to the documentation to help make readers of this thread more self-sufficient–they become self-sufficient by looking up answers to such basic questions in the docs and the forums. I hope everyone will encourage posters to review the documentation when the answer to their question is clearly covered there.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 6.  RE: running java service

    Posted Tue November 27, 2007 04:07 AM


  • 7.  RE: running java service

    Posted Tue November 27, 2007 11:26 AM

    Thanks to every body…

    Developer. The easiest way to solve this as follows:

    • In Administrator, go to Settings > Extended
    • Choose Show and Hide Keys
    • Locate the entry watt.server.compile, check the box next to it and hit the Save changes button at the bottom of the page
    • Now click Edit Extended Settings
    • Locate the watt.server.compile line and add the full path to your Java compiler (javac executable) in front of the javac command, for example, if you have webMethods installed in D:\wm65 and you want to use the compiler shipped with IS:
      watt.server.compile=D:\wm65\jvm\win142\bin\javac -classpath {0} -d {1} {2}
    • Hit the Save Changes button
    • You can now try saving your Java service again (you may need to add a space or something so that Developer knows it has changed). There is no need to restart IS after this change.

    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 8.  RE: running java service

    Posted Tue November 27, 2007 04:44 PM

    I’m so glad these instructions, which are in the wM Installation Guide, have been posted here yet again! Yippee!


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: running java service

    Posted Tue January 08, 2008 02:19 PM

    We do have:

    1. SET JAVA_DIR=:\jvm\win142\jre.
    2. watt.server.compile=D:\wm65\jvm\win142\bin\javac -classpath {0} -d {1} {2}

    But still we are having this problem!


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 10.  RE: running java service

    Posted Wed January 09, 2008 04:30 PM

    Hi NageshWM,

    I am able to resolve my IS java svcs compilation problem with your instructions to change the extended properties with the javac path.

    Thanks.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB