If you enabled debug level logging, I would assume you should see some kind of log statements coming from MyFaces. Do you see any? If not, you probably don't have your logging setup correctly.

Jon

----- Original Message ----- From: "CupertinoIndian" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <myfaces-user@incubator.apache.org>
Sent: Friday, April 08, 2005 11:26 AM
Subject: Re: Navigation not working in MyFaces (works with Sun's RI)




I am using websphere. I turned on the logging and checked ALL the log files repeatedly. Unfortunately there are no errors. This is why it is getting so hard to debug.



Rob Decker wrote:

Well, I agree with that assessment. It is rather tedious. Do you use a
logger in your application? I use log4j and set the properties file for my
app packages to DEBUG. You can do the same with the myfaces packages. You
also use commons-logging, which is what myfaces uses. I'm not sure how to
configure those properties. But in log4j you can specify:


log4j.logger.org.apache.myfaces=DEBUG

In tomcat there are a few log files. I get one for my app (the one I setup
with log4j) and there's a jvm.stdout (or stdout/stderr on windows) and a
localhost_log.DATE.txt that tomcat creates. I usually have to look in all
three to figure out where the error got dumped.



----- Original Message ----- From: "CupertinoIndian" <[EMAIL PROTECTED]>
To: <myfaces-user@incubator.apache.org>
Sent: Wednesday, April 06, 2005 5:41 PM
Subject: Re: Navigation not working in MyFaces (works with Sun's RI)




Rob Decker <rob <at> objectsource.org> writes:


You should look in the log files of your servlet container for errors.

Since

it goes somewhere (a blank page) something must of happened. The log

files

probably have an error in them.



Thanks for your response Rob. I looked into the server logs. It does not

spit

out any errors. The application simply works in SunRI. But with Myfaces it

works

for first 2 pages. The second page submits the page to itself and it comes

up as

blank. I even read the HTML generated and stepped through the application,

I am

still not sure what is going on. How does everybody debug JSF

applications? I

can see debug as a big pain point in JSF.








Reply via email to