Regarding running java service

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.

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

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

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

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

Hmm…
try: http://www.jroller.com/page/nathan?entry=crash_course_on_webmethods_integration
instead.

Regards,
Nathan

Got it thanks appreciated !

-L

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

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