Jump to content
We've recently updated our Privacy Statement, available here ×

JC Logger problems with Tomcat 4.0


Recommended Posts

By: Felipe Goikoetxea - kfelipe

JC Logger problems with Tomcat 4.0

2003-09-12 05:47

Hi folks,

 

I have an issue with a JR. It works fine outside Tomcat but it behaves differently when it is under it.

 

The problem comes with the definition of log static object:

 

private static Log log = LogFactory.getLog(JRBaseFiller.class);

 

Uncer Tomcat, it is unable to find the class or something like this. If I modified the line setting log to null it passes and it keeps working. This lines is repeated in quite a lot of classes inside the package and therefore I wouldn´t like to change it to upload future versions without problems.

 

I believe it is a problem with the class loaders, but not clue how/where fix it.

 

This happens in 0.5 and 0.4.6 and more severetely in the new one because the lines appears in more classes.

 

Any help would be really appreciated.

 

thanks,

 

Felipe G.

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...