This content has been marked as final.
Show 2 replies
-
1. Re: Logging.
tsagovic Mar 2, 2004 8:30 PM (in response to tsagovic)Hi again,
I have tried to log web activities by adding the following to the /conf/log4j.xml<category name="org.jboss.web"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category>
ANd the following is logged whener I try to access my servlet2004-03-03 02:29:33,753 INFO [org.jboss.web.localhost.Engine] StandardContext[/Location]: Mapping contextPath='/Location' with requestURI='/Location/Get' and relativeURI='/Get' 2004-03-03 02:29:33,753 INFO [org.jboss.web.localhost.Engine] StandardContext[/Location]: Trying exact match 2004-03-03 02:29:33,753 INFO [org.jboss.web.localhost.Engine] StandardContext[/Location]: Mapped to servlet 'Hi' with servlet path '/Get' and path info 'null' and update=true 2004-03-03 02:29:33,753 TRACE [org.jboss.web.tomcat.security.SecurityAssociationValve] Hi, runAs: null null
But still after some time, the servlet simply does not work, although the same messages are logged as if everything is working and the servlet engine is getting the requests.
Is there another way to have more log data, and see why my servlet simply hangs??
BTW, since I added that code in my file I can no longer access any web app from other computers in the network, as if it changed some sec. stuff.
Any help will be appreciated!
Thanks! -
2. Re: Logging.
milowe Mar 3, 2004 3:36 AM (in response to tsagovic)Try addding some looging to your servlet as well and you will find out whats wrong.