• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting ClassCastException for some unknown reason.

 
rakesh kadulkar
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Myyron Murray Latorilla
Ranch Hand
Posts: 65
Eclipse IDE Java Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it will be helpful if you include the stacktrace
 
rakesh kadulkar
Ranch Hand
Posts: 115
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic