Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-03-2011, 08:25 PM   PM User | #1
robosllim
New to the CF scene

 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
robosllim is an unknown quantity at this point
ClassCastException -- Error on Linux, not on Windows

I have my website running on Tomcat. When I try to access one of my pages to do a status check, it checks on a particular JAR file. On Red Hat 5, but not on Windows, I get the following error:

java.lang.ClassCastException: LoggingPasshashInfo cannot be cast to PasshashInfo

I got this JAR from a third party and am using it just as I got it. According to Apache's status page, the RH setup is on Tomcat version 6.0.33 and JVM version 1.6.0_27-b07. Windows is on Tomcat 7.0.19 and JVM 1.6.0_26-b03. I actually just realized the version discrepancy, so I'll try getting them to match now and seeing if that fixes it.

Anyway, I'm a bit new at this and, aside from getting the setups to look as similar as possible, I'm not sure how to go about solving this. Any help would be fine, and if I've failed to share any important details, let me know.
robosllim is offline   Reply With Quote
Old 10-03-2011, 09:44 PM   PM User | #2
robosllim
New to the CF scene

 
Join Date: Aug 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
robosllim is an unknown quantity at this point
RH system is now on Tomcat version 7.0.22 with no change...
robosllim is offline   Reply With Quote
Reply

Bookmarks

Tags
apache, cast, linux, tomcat

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:12 PM.


Advertisement
Log in to turn off these ads.