Hi Florian,
The log works fine when we develop in Eclipse with multiple webapp. But when we install on a server, it don't work any more.
If we remove orbeon, all the others webapp log correctly.
We use orbeon 3.5.
In Eclipse, if we choice to "publish module contexts to separate XML files", there is only log of orbeon like on the server.
Here is the problem : if there is separate context file, only orbeon can write log.
-----Message d'origine-----
De : Florian Schmitt [mailto:
flschm@...] De la part de Florian Schmitt
Envoyé : lundi 28 avril 2008 18:01
À :
ops-users@...
Objet : [ops-users] Re: Problem with log in orbeon with multiple webapp
Hi Julien,
> In our tomcat we have 2 applications : orbeon and an another web
> application.
> We have a problem with the log : the second application can not write log.
> We test with several application : orbeon "lock" the log and if we
> delete orbeon, the other application can write log.
I suppose you will have to make sure that the two apps don't use the same ressources for logging: Same logfiles, same ports for listeners / SocketAppenders and so on.
If it's sufficient for you that one of your apps writes its log only into a file, you could modify the log4j.xml so only the SingleFileAppender (or RollingFileAppender, what you prefer) is active, and that it writes to a file different from your other application.
More detailed error messages should be found in the Tomcat logs (catalina.out?) telling which logging component causes the problems. But if the two apps don't use the same resources, logging shoudl work.
HTH
florian
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
--
You receive this message as a subscriber of the
ops-users@... mailing list.
To unsubscribe: mailto:
ops-users-unsubscribe@...
For general help: mailto:
sympa@...?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws