From: Dieter W. <di...@wi...> - 2003-02-27 20:55:15
|
Joao, (now what is really the way you like to be addressed?) >> This is supposed to be a feature, not an issue. When the logging is prepared >> jwma will use the configuration given by log4j.properties > > ?Hum? you mean it SHOULD redirect *ALL* the logging, and not only the > logging from jwma? What happens now is that all JBoss's logs gets > recorded ONLY into jwma.log file. This sounds rather bad. Looks like your setup does not properly "isolate" the web application with it's own loader. Obviously I am configuring classes loaded into the container (log4j in this case), instead of those supposed to be loaded for the webapp (from the lib dir). > I have a empty claspath. Jboss sets the classpath it need in a wrapper > script, if I'm not mistaken. > For what I understood, it seems JBoss should be loading the xercer.jar > file (thats the one with XMLSerializer) but it isn't. I'll try to mess > around with the classpath and continue this thread on JBoss-User mailing > list. Basically the container should load the webapp with a separate class loader, with everything that is in WEB-INF/lib and WEB-INF/classes (of the webapp). This isolation is necessary to prevent conflicts between installed web applications). Your setup obviously fails to do this (or is not configured properly). > But, just for my info, is there some place inside web.xml or other > descriptor where there is need to says "I am using these libs, that are > placed in ..." ? I see they are placed under /WEB-INF/lib, but I don't > know if this is something standartized or not.. The WEB-INF/lib and WEB-INF/classes are standardized by the specification. > Thank you for all the help. You are welcome. If you want evaluate jwma, I would suggest you to deploy it standalone in a supported container (see How-To's http://jwma.sourceforge.net/deployment). This _should_ work, and give you the chance to figure out, whether jwma is what you really want. Reagrds, Dieter |