This content has been marked as final.
Show 3 replies
-
1. Re: Error configuring application listener of class listeners.SessionLi
843841 Apr 21, 2006 9:38 AM (in response to 843841)Hi !,
I am alok. I had deploy a application.But when i am runnibg it it gaves these error.This application is running fine on other system.I don't know what is the problem.My configuration is below :
Tomcat 5.5.9 , jdk 1.5.06 , using struts,spring and hibernate.
IDE is MyEclipse.
i am getting this error.
I put all required jar in tomcat_home/common/lib and application lib directory.
5313 [main] INFO [localhost].[balancer] - org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
6109 [main] INFO [localhost].[jsp-examples] - ContextListener: contextInitialized()
6109 [main] INFO [localhost].[jsp-examples] - SessionListener: contextInitialized()
25797 [main] ERROR [localhost].[] - Error configuring application listener of class com.ifilm.persistent.community.jforum.IFilmForumSessionListener
java.lang.NoSuchFieldError: level
at org.apache.log4j.spi.RootLogger.setLevel(RootLogger.java:65)
at org.apache.log4j.spi.RootLogger.<init>(RootLogger.java:44)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:78)
at org.apache.log4j.Logger.getLogger(Logger.java:116)
at net.jforum.ForumSessionListener.<clinit>(ForumSessionListener.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
thanks in advanced -
2. Re: Error configuring application listener of class listeners.SessionLi
843841 Jan 16, 2007 9:22 PM (in response to 843841)Use following link to download zip file for tomcat. Dont use exe version.
http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.16/bin/apache-tomcat-5.5.16.zip
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=11&t=011595
Thanks
Nazeer, -
3. Re: Error configuring application listener of class listeners.SessionLi
843841 Oct 24, 2007 7:52 PM (in response to 843841)hello!
So, I was looking for a solution for that!
I have the same problem, then according to what you said
I have downloaded the zip format, unzipped it and I tried to restart my application
the bad news: I have no success
just telling the error
I have my own listener..the application compiles fine..I can do everything by
using my laptop..
but on the Windows XP workstation / Eclipse WTP / apache-tomcat-5.5.25
I have been getting this error on console...
my listener is setted like solog4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. 24/10/2007 16:47:45 org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart 24/10/2007 16:47:45 org.apache.catalina.core.StandardContext start SEVERE: Context [/managersheet] startup failed due to previous errors
Do you have any idea?<listener> <listener-class>org.managersheet.util.listener.ManagerSheetListener</listener-class> </listener>
thanks !