File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Getting ClassCastException for some unknown reason. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Getting ClassCastException for some unknown reason." Watch "Getting ClassCastException for some unknown reason." New topic
Author

Getting ClassCastException for some unknown reason.

rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
Hi team,

I have created an application using Hibernate and REST web services.
I have deployed the application on my local tomcat 6.0 using JRE version : 1.6.0_13 and everything is working fine.
But when I deployed the same project on the production which is running tomcat 6.0 and jre version is : 1.6.0_17, the SessionFactory building code fails and when I see the logs.. I see there a ClassCastException.
I know one thing for sure that this error is environment related.
Please assist me in this.

Regards,
Rakesh.


Rakesh Kadulkar
Myyron Murray Latorilla
Ranch Hand

Joined: Dec 10, 2009
Posts: 65

it will be helpful if you include the stacktrace


OCPJP6
rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
Nothing the problem is solved.

Just restarted the tomcat and it is done.

I wonder why this happened but i am happy that the problem is solved now.

Anyways thanks for the concern.

Please reply if you have an idea of what is the problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting ClassCastException for some unknown reason.