Error creating Java Service

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?

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

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

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:

I have done this

watt.server.compile = to the jvm bin location

but still facing the same issue.

Please help me…

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.

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

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

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

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