dev@jsftemplating.java.net

Re: JSFTemplating: Re: getting back into jsft - question on testing code changes to glassfish

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 04 Jun 2007 10:33:06 -0700

Yes... however, in this case he's deploying a directory called "docroot" and I think that's the default context root.  Although if it is something else, then you will need to use the right value.

Mike,  a status code of "200" means success (i.e. it found a file).  Versus, 404, file not found, or 503 (I think that's the #) which means some sort of error.  There are many other status codes.  Anyway, 200 and 404 are probably the most common.

You should also look in the server.log to see if there are any error messages there.

Also, another way to launch your app is to goto the "web application" tree node in the admin console (localhost:4848) and click the link next to the application you want to run to "launch" it.  This way you don't have to type the url.

Good luck!

Ken

Frederick Brock wrote:
wouldn't it be the context root for the application? I think that's what ken meant.   /<<contextRoot>>/info.jsf where contextRoot == contextRoot you deployed the application with. Is this correct?
 
Fred


 
On 6/4/07, Jason Lee <jason@steeplesoft.com> wrote:
I haven't been reading this thread thoroughly, but why is "docroot" in your URL?


On 6/3/07, Michael Phoenix < michaelandrewphoenix@gmail.com > wrote:
Ken,

Well i'm sure that I set up docroot exactly as you told me. I formatted the URL as you sent me in your last message: http://localhost:8080/docroot/header.jsf
I have also set the access olgs as you suggested, but it didn't tell me much. Only the server log under access has any text in it and what it contains is:
" 127.0.0.1" "NULL-AUTH-USER" "03/Jun/2007:21:11:05 -0800" "GET /docroot/header.jsf HTTP/1.1" 200 0
Any ideas?

--
Jason Lee, SCJP
JSF RI Dev Team
http://blogs.steeplesoft.com



--
Frederick R. Brock
frederick.brock@gmail.com