[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Quartz & Log4J issue  XML
Forum Index -> Quartz
Author Message
db420

neo

Joined: 11/24/2009 07:09:17
Messages: 4
Offline

I've bunch of stand alone scheduled apps run thru quartz web app. Each app has a spearate log4j properties and folder for individual logging.

Many times when schedule process runs, the process does not log into the correct app log, instead, it logs into different app.

Is this a bug? or How can this be resolved?
jhouse

seraphim
[Avatar]
Joined: 11/06/2009 15:29:56
Messages: 1703
Offline

I highly doubt this is a bug relating to quartz, but is rather something to do with your setup of applications and log4j. Seems likely to be classpath problems in the apps you are executing via quartz.
db420

neo

Joined: 11/24/2009 07:09:17
Messages: 4
Offline

I have stored log4j.properties on a separate folder for each app and reread log4j using PropertyConfigurator.configure("d:\\myapp\\log4j.properties") in each time when app runs.

However, when multiple apps runs at the same time, it seems like it reads whatever in the resident memory and apps are stepping on eachother.

Are you suggesting that log4j properties should be stored inside the app?
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team