WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
WSCL0035I: Initialization of the J2EE Application Client Environment has complet
ed.
WSCL0014I: Invoking the Application Client class com.titan.paymentclient.TestPay
mentClient
WSCL0100E: Exception received: java.lang.reflect.InvocationTargetException: java
.lang.ClassCastException
at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObjec
t.java:284)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:136)
at com.titan.paymentclient.TestPaymentClient.getCustomerHome(TestPayment
Client.java:50)
at com.titan.paymentclient.TestPaymentClient.createSampleCustomer(TestPa
ymentClient.java:60)
at com.titan.paymentclient.TestPaymentClient.main(TestPaymentClient.java
:17)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.websphere.client.applicationclient.launchClient.createContain
erAndLaunchApp(launchClient.java:430)
at com.ibm.websphere.client.applicationclient.launchClient.main(launchCl
ient.java:288)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Kyle Brown:
Sorry Rick -- which exercise were you trying to run?
Kyle
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Kyle Brown:
What appears to be happening is that (perhaps) the CustomerHome class isn't in the ProcessPayment jar file. Can you open that EAR file in AAT and confirm that
(a) The ProcessPayment.jar file IS in the ear and
(b) that CustomerHome class file is inside that JAR file?
Kyle
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
IBM WebSphere Application Server, Release 4.0
J2EE Application Client Tool, Version 1.0
Copyright IBM Corp., 1997-2001
WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
WSCL0100E: Exception received: java.lang.ClassNotFoundException: null
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled Code
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at com.ibm.ws.client.applicationclient.ApplicationClientMetaData.getAp
icationMainClass(ApplicationClientMetaData.java:423)
at com.ibm.ws.client.applicationclient.ClientContainer.getMainClass(Cl
ntContainer.java:139)
at com.ibm.websphere.client.applicationclient.launchClient.createConta
erAndLaunchApp(launchClient.java:417)
at com.ibm.websphere.client.applicationclient.launchClient.main(launch
ient.java:288)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
Manifest-Version: 1.0
Created-By: 1.4.0 (Sun Microsystems Inc.)
Class-Path: com.titan.paymentclient.TestPaymentClient processpayment.j
ar
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Originally posted by Kyle Brown:
OK, pull the test client off of the classpath of the manifest. That's probably causing the new problem. Leave processpayment.jar on it, though.
Kyle
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
I don't get it. A whale wearing overalls? How does that even work? It's like a tiny ad wearing overalls.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|