• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

urgent application client problem (WAS 5.0)

 
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 ?
 
author
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
 
That's a very big dog. I think I want to go home now and hug this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!