Troubleshooting
Problem
When you use the launchClient tool to invoke an application client to call a business process application that is running on WebSphere Process Server, you cannot get the business object from the business process instances. For example, when you use the following command: WPS_HOME\bin\launchClient yourEnterpriseArchive.ear -CCclasspath=WPS_HOME\ProcessChoreographer\client\bpe137650.jar;WPS_HOME\ProcessChoreographer\client\task137650.jar the application client has the following code: BusinessFlowManager bfm = ......; PIID piid = ......; ClientObjectWrapper input = bfm.getInputMessage(piid); DataObject inputMessage = (DataObject)input.getObject(); //failed code
Symptom
You might see the CWLAG0300E error on the console:
0000000f W UOW=null source=ArtifactLoader class=com.ibm.ws.al.locator.CLLocator method=index org=null prod=null component=null thread=[Thread-1]
This classloader contains bad files , please check file: /tmp/WSTMPCC27159.tmp/YourApp.jar (A file or directory in the path name does not exist.)
0000000f E UOW=null source=ArtifactLoader class=com.ibm.ws.al.locator.RemoteWebsphereLocator method=seekAppInCell (String) org=null prod=null component=null thread=[Thread-1]
CWLAG0300E: Artifactloader was not able to find the application YourApp in the same cell. The error is java.security.PrivilegedActionException: com.ibm.websphere.management.exception.InvalidAdminClientTypeException
Cause
The application client requires artifacts that include interface and business object definition files. However, the launchClient Java™ virtual machine cannot load the files.
Resolving The Problem
Export all artifacts (interface and business object definition files) that are required by the application client from the business process application to a Java™ archive (JAR) file, and add the JAR file to the launchClient class path. For example:
WPS_HOME\bin\launchClient yourEnterpriseArchive.ear -CCclasspath=WPS_HOME\ProcessChoreographer\client\bpe137650.jar;WPS_HOME\ProcessChoreographer\client\task137650.jar;Library.jar
Product Synonym
WebSphere Process Server;WPS
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21397978