WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Problem With Ant Script

    Posted Tue January 03, 2012 01:06 AM
    Hi Frds,

    Before in our environment we used to deploy application using ANT Script for WAS 6.0 and Commerce servers integrated in it with version 6.0.

    All deployments are successfull in this environment.

    But recently we upgraded WAS 6.0 to 6.1.From that time we are having problems with deployments.

    we are getting false messages like Build Successfull though its actually not.

    By analysing logs we found java.lang.classcast exception.

    Can someone help me regarding this issue.

    Thanks 


  • 2.  Problem With Ant Script

    Posted Tue January 03, 2012 01:56 PM
    Ravi, can you please post an excerpt from the log with these ClassCast messages? It makes it easier for anyone trying to help you.

    My quick wild guess  here would be that, somewhere within your code or build procedure, you are referencing libraries from version 6.0, while versiopn 6.1 use new versions of these libraries. But that is just a guess.


  • 3.  Problem With Ant Script

    Posted Wed January 04, 2012 03:25 PM
    Can you please post the full description of the error. IT might be that the code is been compiled in older version of java