This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
 
Similar Threads
Installing JRE 5.0 on Ubuntu 10 in i686 architecture
jar deploy
404 error for a deployed EAR.
Tomcat 5.5 JRE?
java.lang.RuntimeException: FacesContext not found