Jump to content
JasperReports Library 7.0 is now available ×

ClassCastException with fillManager


2004 IR Help

Recommended Posts

By: syg6 - syg6

ClassCastException with fillManager

2005-05-09 03:33

Hello. I am having troubles when I copy my WAR to Linux. In Windoze everything compiles and executes properly. I have a report with a bunch of sub-reports and all is ok.

 

But on Linux I get a ClassCastException error when I call fillManager. I don't have remote access to this server, other than for starting and stopping the Tomcat server. So I can't debug. I *could* debug in Windoze but then, everything works fine in Windoze so there is no point.

 

What could be the problem? Paths? The difference between '/' and '' ? Both machines (Windoze and Linux) have the same versions of Tomcat (5) Java (1.4.2) and PostgreSql (8.0).

 

Any ideas?

 

Thanks,

syg

 

 

 

 

By: Teodor Danciu - teodord

RE: ClassCastException with fillManager

2005-05-09 07:02

 

Hi,

 

What is the exact stack trace for you exception?

 

Thank you,

Teodor

 

 

 

 

 

By: JuanT - juant

RE: ClassCastException with fillManager

2005-05-09 08:55

We've had 'exactly' the same problem.

 

It's the awt lib issue. We solved it changing the configuration with a

System.setProperty("java.awt.headless", "true") on the class...

 

Hope it could help anyone with this problem...

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...