Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent application client problem (WAS 5.0)  RSS feed

 
Maximilian Trenks
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first of all my classpath look like this:
.;D:\Programme\SQLLIB\java\db2java.zip;D:\Programme\SQLLIB\java\runtime.zip;D:\Programme\SQLLIB\bin;d:\programme\sqllib\java\db2java.zip;D:\
Programme\WebSphere\AppServer\installedApps\maxwell\HelloWorld.ear.ear\HelloClient.jar;D:\Programme\WebSphere\AppServer\installedApps\maxwel
l\HelloWorld.ear.ear\Hello.jar;D:\Programme\WebSphere\AppServer\lib\j2ee.jar
The application client lies in the HelloClient.jar file. The manifest in this char file looks like:
Manifest-Version: 1.0
Main-Class: HelloWorldClient
Class-Path: Hello.jar
The Hello.jar is also included in the classpath.
As for my understanding since both jar files are found in the classpath it would be enough to call launchclient HelloWorldClient, since the HelloClient.jar file is included in the classpath.
However, the following error occurs(bit german in there):
D:\>launchclient HelloWorldClient
IBM WebSphere Application Server, Release 5.0
J2EE Application Client Tool
Copyright IBM Corp., 1997-2002
WSCL0012I: Die Befehlszeilenparameter werden verarbeitet.
WSCL0013I: Die Umgebung des J2EE-Anwendungs-Client wird initialisiert.
WSCL0210E: Die EAR-Datei HelloWorldClient wurde nicht gefunden.
WSCL0100E: Es wurde eine Ausnahmebedingung empfangen: com.ibm.etools.archive.exception.OpenFailureException
at com.ibm.ws.client.applicationclient.ApplicationClientMetaData.<init>(ApplicationClientMetaData.java:355)
at com.ibm.ws.client.applicationclient.ClientContainer.<init>(ClientContainer.java:150)
at com.ibm.websphere.client.applicationclient.launchClient.createContainerAndLaunchApp(launchClient.java:589)
at com.ibm.websphere.client.applicationclient.launchClient.main(launchClient.java:420)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
What is wrong here ?
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not how launchClient works. You must include the Application client code in an "application client" Jar file inside an EAR file and then use the EAR file as a paramter to the LaunchClient program.
Kyle
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!