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

Regarding running java service

  • 1.  Regarding running java service

    Posted Wed October 05, 2005 07:14 AM

    Hi All,

    I’m a fresher to webMethods.
    I’m getting following exception when i am running the javaservice.
    the exception is

    com.wm.app.b2b.server.ServiceException: [ISS.0026.9102] Service ‘Log:getFilePath’ is not operational. To run this service, first recompile the Java source.

    I went through some important PDF DOX. But i am not getting the solution. Can please anyone help me.


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


  • 2.  RE: Regarding running java service

    Posted Wed October 05, 2005 07:44 AM

    Kavitha,
    This error means your java service is not compiled properly.First go to your java service, change something in it(you can just remove; and add again), then try to save it in Developer.If it gives no errors then it means it is compiled properly.In your case I think it is not compiled.First compile the service and then run it.

    HTH…

    Thanks,
    Puneet Verma


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


  • 3.  RE: Regarding running java service

    Posted Wed October 05, 2005 02:47 PM

    Blog I did a while back: Crash course on webmethods Integration Server
    quick guide, if you go down to the section on “What about a java service?” it’ll tell you about setting up the compiler if you can’t get it to compile.

    You may need to “touch” the source and save it again to get it to try to compile it again. Type a space in the java box for the service and backspace it will do the trick.

    regards,
    Nathan Lee


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


  • 4.  RE: Regarding running java service

    Posted Wed October 05, 2005 03:19 PM

    Kavitha,

    Above suggestions will do the trick…sometimes this happens if you migrate the package which has java services so during this process java classes may lose and see the error which you got…so just compile the java service try to edit the code with back space or add some space and save the JS.It should work with out any problems…

    HTH,
    RMG


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


  • 5.  RE: Regarding running java service

    Posted Sun November 27, 2005 09:11 PM

    Hey Nathan,

    I’m not able to open the link for Crash Course on webMethods … I get this error:

    Unexpected Exception
    Roller has encountered and logged an unexpected exception.

    /comments/nathan/Weblog/crash_course_on_webmethods_integration

    Can you please share how can we use this guide.

    Thanks,
    Leon


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


  • 6.  RE: Regarding running java service



  • 7.  RE: Regarding running java service

    Posted Mon November 28, 2005 03:33 PM


  • 8.  RE: Regarding running java service

    Posted Thu September 26, 2013 02:41 PM

    Nathan,

    I have tried this

    watt.server.compile=C:\jdk1.2.2\bin\javac -classpath {0} -d {1} {2}
    watt.server.compile.unicode=C:\jdk1.2.2\bin\javac -encoding Unicode -classpath {0} -d {1} {2}

    But still facing the same issue.

    Error:

    com.wm.driver.comm.b2b.WmCommException: [[[ISS.0026.9102] Service ‘Example:Test’ is not operational. To run this service, first recompile the Java Source.

    Example - Folder name
    Test - Java Service

    Please help me…

    Thanks,
    Reethu


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


  • 9.  RE: Regarding running java service

    Posted Thu September 26, 2013 03:28 PM

    Follow the below steps to recompile your java service

        Open the service in WmDeveloper
    Make some dummy changes in the code (you can then delete the changes if you want to).
    Save the service again. WmDeveloper will recompile the Java service.
    

    Try to run the service after recompile


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