• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ClassCastException

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I followed the workbook(Kyle Brown) to deploy the chapter 12 (First exercise) and got Cast exception
when I launch the client and can not fix it.
Here is the output of the screen
WSCL0012I: Processing command line arguments.
WSCL0013I: Initializing the J2EE Application Client Environment.
WSCL0035I: Initialization of the J2EE Application Client Environment has completed.
WSCL0014I: Invoking the Application Client class com.titan.paymentclient.TestPaymentClient
WSCL0100E: Exception received: java.lang.reflect.InvocationTargetException: java.lang.ClassCastExcep
tion
...
I checked the jndi tree, the six entries works fine, and check the admin console, the processpayment is running and has nothing wrong.
The client code I do believe is correct.
So what could be the error source.
reply
    Bookmark Topic Watch Topic
  • New Topic