comp.wm.app.b2b.server.ServiceException: [ISS.0026.9104] Missing class services

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

Plz help me solving this.

Thanks in Advance

Hi,
Please set the “watt.server.compile” property in extended filed. It will resolve your issue.

1 Like

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

Restart the server then open your java service make some change like give some white space and then save it again and then try to run.

1 Like

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.

1 Like

I am sorry, It dosen’t work. I try to restart the IS, but after il started, the package is loaded Partial, the class is still missing.

Hi,

Can you share the screen shot of your extended settings.

What is your webMethods version? What is the class name that is missing. What does your java service do?

Did you upgrade your webMethods version?

Send us the complete error message.

1 Like

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.

HTH,
Holger

Is your webMethods installed on Windows/Unix/Linux. As per your screen shot I don’t see the below key=value pair.

If windows try updating the settings as below:

watt.server.compile=C:\Program Files\Java\jdk1.5.0_09\bin\javac -classpath {0} -d {1} {2}
watt.server.compile.unicode=C:\Program Files\Java\jdk1.5.0_09\bin\javac -encoding Unicode -classpath {0} -d {1} {2}

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.

Here is the infomation about IS :

Copyright
webMethods Integration Server
Copyright © 1996 - 2008 Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers. All rights reserved.

Includes software developed by the Apache Software Foundation (http://www.apache.org/).

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

Server Classpath /webMethods/is_5573/IntegrationServer/updates/TNS_7-1-2_General_Fix2.jar
/webMethods/is_5573/IntegrationServer/updates/TNS_7-1-2-0.jar
/webMethods/is_5573/IntegrationServer/updates/PRT_7.1.2_Fix13.jar
/webMethods/is_5573/IntegrationServer/updates/TNS_7-1-2_DB_Fix5.jar
/webMethods/is_5573/IntegrationServer/updates/IS_7.1.2_Core_Fix42.jar
/webMethods/is_5573/IntegrationServer/updates/IS_7-1-2-0.jar
/webMethods/is_5573/IntegrationServer/lib/classes/
/webMethods/is_5573/IntegrationServer/lib/wm-isserver.jar
/webMethods/is_5573/common/lib/wm-isclient.jar
/webMethods/is_5573/common/lib/wm-wsclient.jar
/webMethods/is_5573/common/lib/wm-brokerclient.jar
/webMethods/is_5573/common/lib/wm-caf-client.jar
/webMethods/is_5573/common/lib/wm-jmsclient.jar
/webMethods/is_5573/common/lib/ext/jms.jar
/webMethods/is_5573/common/lib/ext/icu4j.jar
/webMethods/is_5573/common/lib/wm-scg-cluster.jar
/webMethods/is_5573/common/lib/wm-scg-core.jar
/webMethods/is_5573/common/lib/wm-scg-jdbcpool.jar
/webMethods/is_5573/common/lib/wm-scg-security.jar
/webMethods/is_5573/common/lib/wm-g11nutils.jar
/webMethods/is_5573/common/lib/glue.jar
/webMethods/is_5573/common/lib/wm-mapi.jar
/webMethods/is_5573/common/lib/wm-lwq.jar
/webMethods/is_5573/common/lib/wm-fabric-agent.jar
/webMethods/is_5573/common/lib/ext/activation.jar
/webMethods/is_5573/common/lib/ext/wsdl4j.jar
/webMethods/is_5573/common/lib/ext/coherence.jar
/webMethods/is_5573/common/lib/ext/coherence-login.jar
/webMethods/is_5573/common/lib/ext/derby.jar
/webMethods/is_5573/common/lib/ext/enttoolkit.jar
/webMethods/is_5573/common/lib/ext/jaxen-core.jar
/webMethods/is_5573/common/lib/ext/jboss-common.jar
/webMethods/is_5573/common/lib/ext/jnpserver.jar
/webMethods/is_5573/common/lib/ext/log4j.jar
/webMethods/is_5573/common/lib/ext/mail.jar
/webMethods/is_5573/common/lib/ext/saxpath.jar
/webMethods/is_5573/common/lib/ext/xmlsec.jar
/webMethods/is_5573/common/lib/ext/commons-beanutils.jar
/webMethods/is_5573/common/lib/ext/commons-collections.jar
/webMethods/is_5573/common/lib/ext/commons-digester.jar
/webMethods/is_5573/common/lib/ext/commons-logging.jar
/webMethods/is_5573/common/agent/wss4j-1.5.1.jar
/webMethods/is_5573/common/lib/ext/commons-logging.jar
/webMethods/is_5573/common/lib/ext/sl53_cj36.jar
/webMethods/is_5573/common/lib/ext/tangosol.jar
/webMethods/is_5573/common/lib/ext/xalan.jar
/webMethods/is_5573/common/lib/ext/opensaml.jar
/webMethods/is_5573/common/lib/ext/saaj-API.jar
/webMethods/is_5573/common/lib/wm-directory.jar
/webMethods/is_5573/common/lib/wm-directory-components.jar
/webMethods/is_5573/common/lib/wm-mws-library.jar
/webMethods/is_5573/common/lib/wm-caf-server.jar
/webMethods/is_5573/common/lib/wm-caf-schemas.jar
/webMethods/is_5573/common/lib/wm-caf-common.jar
/webMethods/is_5573/common/lib/wm-caf-jsf.jar
/webMethods/is_5573/common/lib/wm-caf-jsf-impl.jar
/webMethods/is_5573/common/lib/wm-calendar-components.jar
/webMethods/is_5573/common/lib/ext/axis.jar
/webMethods/is_5573/common/lib/ext/javax.servlet.jar
/webMethods/is_5573/common/lib/ext/ldap.jar
/webMethods/is_5573/common/lib/ext/ldapbp.jar
/webMethods/is_5573/common/lib/ext/ldapfilt.jar
/webMethods/is_5573/common/lib/ext/ldapjdk.jar
/webMethods/is_5573/common/lib/ext/portlet-API.jar
/webMethods/is_5573/common/lib/ext/jaxb-API.jar
/webMethods/is_5573/common/lib/ext/jaxb-impl.jar
/webMethods/is_5573/common/lib/ext/jaxb-libs.jar
/webMethods/is_5573/common/lib/ext/jaxrpc-API.jar
/webMethods/is_5573/common/lib/ext/relaxngDataType.jar
/webMethods/is_5573/common/lib/ext/xsdlib.jar
/webMethods/is_5573/common/lib/ext/jaxen-dom.jar
/webMethods/is_5573/common/lib/ext/commons-discovery.jar
/webMethods/is_5573/common/lib/wm-calendar.jar
/webMethods/is_5573/common/lib/ext/ical4j.jar
/webMethods/is_5573/common/lib/ext/commons-lang.jar
/webMethods/is_5573/common/lib/ext/xercesImpl.jar
/webMethods/is_5573/common/conf/
/webMethods/is_5573/IntegrationServer/lib/jars/ant-contrib-1.0b3.jar
/webMethods/is_5573/IntegrationServer/lib/jars/weblogic.jar
/webMethods/is_5573/IntegrationServer/lib/jars/jakarta-regexp-1.3.jar
/webMethods/is_5573/IntegrationServer/lib/jars/jakarta-oro-2.0.5.jar
/webMethods/is_5573/IntegrationServer/lib/jars/ojdbc5.jar
/webMethods/is_5573/IntegrationServer/lib/jars/ant-launcher.jar
/webMethods/is_5573/IntegrationServer/lib/jars/wmjmsnaming.jar
/webMethods/is_5573/IntegrationServer/lib/jars/ant.jar
/webMethods/is_5573/IntegrationServer/lib/jars/cciefrk410_v3.jar
/webMethods/is_5573/IntegrationServer/lib/jars/nfjava.zip
/webMethods/is_5573/IntegrationServer/packages/WmFlatFile/code/jars/static/ffcore.jar
/webMethods/is_5573/IntegrationServer/packages/WmTN/code/jars/static/tncore.jar
/webMethods/is_5573/IntegrationServer/packages/WmMonitor/code/jars/static/mIcons.zip
/webMethods/is_5573/IntegrationServer/packages/WmSAP/code/jars/static/wmsap.jar
/webMethods/is_5573/IntegrationServer/packages/WmEJBAdapter/code/jars/static/WmEJBConfigUtil.jar
/webMethods/is_5573/IntegrationServer/packages/WmART/code/jars/static/wmartbundle.jar
/webMethods/is_5573/IntegrationServer/packages/WmXSLT/code/jars/static/wmxslt.jar
/webMethods/is_5573/IntegrationServer/packages/WmWin32/code/classes/
/webMethods/is_5573/IntegrationServer/packages/WmPKI/code/classes/
/webMethods/is_5573/IntegrationServer/packages/WmJDBCAdapter/code/jars/static/javaxsql.zip
/webMethods/is_5573/IntegrationServer/packages/WmPRT/code/jars/static/wmprt.jar

Current User webm71
Working Dir /webMethods/is_5573/IntegrationServer
Packages/Updates View
Java Data Model 64-bit

1 Like

Hi,

I see you have Java Version 1.5.0_15 (49.0). Now lets try to dig in deeper into the issue.

Lets try creating a simple java service (eg., string concat) to check if compilation is OK. Reply back the thread with your results.

Can’t creat any java service, always Missing class

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.

watt.server.compile=C:\webMethods712\common\lib\javac -classpath {0} -d {1} {2}
watt.server.compile.unicode=C:\webMethods712\common\lib\javac -encoding Unicode -classpath {0} -d {1} {2}

Kindly search javac.exe file in your system and give its path like how i have given above.

Thanks,

@ MR as173d

We have already updated information in this thread. webMethods is installed on Linux not windows.

Can you suggest something w.r.t to error :slight_smile:

@ Tt
Did you create a new java service under the existing pkg/folder? Try creating a new package say “JavaSvc” and then try the java service.

I tried to creat a java service named “test2” in a new package , here is the error message :

Couldn’t compile

com.wm.app.b2b.server.ServiceException: [ISS.0026.9104] Missing class test2

So, it can’t creat java service in neither existe package, nor new package

Please check the permissions on the file system if you are allowed to write to /code/source and /code/classes.

Additionally check the nohup.out (where System.out is sent to) of the IS, if there are detailed messages why it cannot compile the java-service.

Regards,
Holger

I think this might be the issue:

On you linux machine go to /logiciels/webMethods/wme_71/jvm/linux150/ and see whether you able to locate bin/javac

If yes then apply the below extended setting on IS and restart

watt.server.compile= -classpath {0} -d {1} {2}

Eg: watt.server.compile=/logiciels/webMethods/wme_71/jvm/linux150/bin/javac -classpath {0} -d {1} {2}

1 Like

Any good luck on this issue :slight_smile: