Hi everyone,
Iam new to webMethods. When i started creating a java service, iam getting the following confirmation dialog box while creating a java service
Couldn’t compile
com.wm.app.b2b.server.ServiceException:
[ISS.0026.9104] Missing class services
Even after confirming that, I started writing java service and press ‘SAVE’ button.
Then i got the similar confirmation dialog box like this
The source was saved, but was not compiled due to following error: com.wm.app.b2b.server.ServiceException: [ISS.0026.9104] Missing class services
Missing class services
By the way, I created package named ‘MyJsrvcsPractice’ in which i created a folder named ‘services’ in which i write the java service
Thank you vikas.
I have set the both “watt.server.compile” and “watt.server.compile.uniCode” also.
But now, it is compiled and when iam trying to run the program, it is saying that
Could not run ‘myJavaFirst’.
com.wm.app.b2b.server.ServiceException: [ISS.0026.9102]
Service ‘services:myJavaFirst’ is not operational. To run this
service, first recompile the Java Source
Hi even i am getting the same error though i set the path
watt.server.compile=C:\Program Files\Java\jdk1.6.0_21\bin\javac -classpath {0} -d {1} {2}
watt.server.compile.unicode=C:\Program Files\Java\jdk1.6.0_21\bin\javac -encoding Unicode -classpath {0} -d {1} {2}
I am new for writing a java service in webMethods this is my first attempt
Hi, I just got the same problem like aditya srinadh m , I got a message error like :com.wm.app.b2b.server.ServiceException: [ISS.0026.9104] Missing class XXX
And My solution is : Set path watt.server.compile=javac -classpath {0} -d {1} {2}
in Extended Settings and restrart the IS, And it works for me.
Here is my screen shot of your extended settings.
The version is Version 7.1.2.0.124
The class name is the my package’s name
I got the message in Error : java.lang.UnsupportedClassVersionError: Bad version number in .class file
Please share your about-page from IS as well the information, if there are additional (newer) JDKs are installed on your system, which are in the PATH- or JAVA_HOME-Environment variable of the system.
You can try to set “-target 1.5” to the compile-properties.
The UnsupportedClassVersion indicates that the javac is used from a newer JDK than the JRE used by IS for execution of the java services.
Restart might not be required. Provide your jkd bin path accordingly. And also share the screen shot of IS about page (showing java version)
Error - java.lang.UnsupportedClassVersionError:
Bad version number in .class file
Solution: This is always caused by the conflict of different Java JDK at compile time and runtime, make sure you are using same JDK version to compile and run it.
Software
Product webMethods Integration Server
Version 7.1.2.0
Updates TNS_7-1-2_General_Fix2
PRT_7.1.2_Fix13
TNS_7-1-2_DB_Fix5
IS_7.1.2_Core_Fix42
Build Number 112
SSL Strong (128-bit)
Server Environment
Java Version 1.5.0_15 (49.0)
Java VM Name Java HotSpot™ 64-Bit Server VM
Java Build Info 1.5.0_15-b04, mixed mode
Java Vendor Sun Microsystems Inc.
Java Home /logiciels/webMethods/wme_71/jvm/linux150/jre
Java Classpath /logiciels/webMethods/wme_71/jvm/linux150/jre/lib/i18n.jar
/webMethods/is_5573/IntegrationServer/lib/wm-isproxy.jar
/webMethods/is_5573/IntegrationServer/…/common/lib/wm-converters.jar
/webMethods/is_5573/IntegrationServer/config/Caching
Hello,
Can you check is jdk installed on C:\Program Files\ …? If not kindly configure below settings in Extended Settings section, give a restart, do changes in existing java service,try to save and let us know the status.