File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts2.1.6 and log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2.1.6 and log4j " Watch "Struts2.1.6 and log4j " New topic

Struts2.1.6 and log4j

vishnu priya

Joined: Nov 06, 2009
Posts: 13
i am using struts 2.1.6 and i am getting the following error
When i searched for that some had said for a change in log 4j
but i am not using any log4j in my application

INFO: Deploying erb application archive Sample4.ear
NOV 9, 2009 11:54:01 AM com.opensymphony.xwork2.util.logging.jdk.JDKLogger info
INFO: Parsing configuration file [struts-default.xml]
NOV 9, 2009 11:54:01 AM org.apache.catalina.core.StandardContext Start
SERVERE: Error filterStart
NOV 9, 2009 11:54:01 AM org.apache.catalina.core.StandardContext Start
SERVERE: Context [/Sample4]startup failed due to previous errors

What is log4j ....and what can i do
Kartik Talasu
Ranch Hand

Joined: Aug 21, 2009
Posts: 99
Its strange seems to be its not related to log4j error.
If you are not using log4j properties, then its should be of some other error other than log4j.
Search in Struts 2 forum support may be you will get better help.
David Newton

Joined: Sep 29, 2008
Posts: 12617

You need to increase the log level to DEBUG in order to find out what's causing your application to fail on startup. Usual suspects include bad configuration files and missing dependencies.
I agree. Here's the link:
subject: Struts2.1.6 and log4j
It's not a secret anymore!