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: