2012/8/24 swapnil vaidya <swapnilsvai...@gmail.com>:
> Hi All,
> I am using tomcat 7.0.29. I am initializing it using Bootstrap.main() with
> argument as "start".

1. Have you set up classpath correctly?
It should include both bootstrap.jar and tomcat-juli.jar.
2. Have you set the system properties "catalina.home" and "catalina.base"?

> We have configured log4j to be used for tomcat logging.
> For this i did follwoing:
> 1)downloaded tomcat-juli.jar from extras and kept in tomcat/bin.
> 2)downlaoded log4j and tomcat-juli-adapter.jar and placed in tomcat/lib.
> 3)placed log4j.properties inside tomcat/conf
>

3. Your log4j.properties is in a wrong place. See the docs.

Log4J does not know about the conf directory. The file should be in "lib".

> But I cant see any log in catalina.log.

OK

> even I am not able to access any page of my webapp.

What happens?

Do you redirect stdout/stderr somewhere? (The catalina.sh script
redirects it to catalina.out file by default). Some messages might be
there.

Do you have access log (AccessLogValve) configured?

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to