-
1. Re: JBoss and log4j logging : Little more?
vijendra Dec 20, 2006 4:04 AM (in response to vijendra)I have found the cause why this is going wrong.
I am facing problem with classloader while deploying many JSPWIki sites in my server. as many sites have same classes so i used classloader which was used earlier.
My whole application is working but log4j got disabled. Now even in server.log i am unable to find any logs from where i can find out what is going wrong.What sholud i do to solve this issue. (Without classloader i.e. without using classloader in JSPWIKI.ear file my whole apliaction is working fine) but as many wiki having sam eclass structure i ned class loader to solve it. Now logs are not at all getting formed.I enabled log4j which is working in absence of classloader. what is wrong please suggest me something by which i can solve my problem
Thanks
Vijendra -
2. Re: JBoss and log4j logging : Little more?
vijendra Dec 20, 2006 8:11 AM (in response to vijendra)
this is the error i root cause i am getting now.
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/ErrorHandler class
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:658)
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
org.apache.log4j.LogManager.(LogManager.java:113)
org.apache.log4j.Logger.getLogger(Logger.java:94)
com.ca.ts.LoginServlet.(LoginServlet.java:25) -
3. Re: JBoss and log4j logging : Little more?
ebrown Dec 20, 2006 8:57 AM (in response to vijendra)This is not a "Wiki Issue". I'm moving this to the proper forum: "Installation, Configuration & Deployment"