dev@jsftemplating.java.net

Re: JSFTemplating: Issues with compiling the demo application

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Tue, 05 Jun 2007 10:14:26 -0700


Irfan Ahmed wrote:
Ken Paulsen wrote:
Check the path length as Fred suggested.  If this fixes the problem, we need to document this for Windows users.
I will do this.
However as I stated, I got the code to compile but with warnings and no errors. Are the warnings crucial in annotations?
Which warning?  The warnings you had listed about no annotation processor for @Handler, etc.?  That would be crucial.  No annotation processor for @override?  That wouldn't matter.
The 2nd problem appears to be related to the wrong port number and/or jsftemplating.jar was not built correctly.  GlassFish's admin server runs on 4848 (by default), the applications that are deployed run on 8080.  Also if JSFTemplating isn't installed correctly, it will delegate won't handle the URLs that are sent... this will result in a 404 b/c the standard RI behavior will look for a .jsp file and not find it.
OK I am sorry for the post. I did try at http://localhost:8080/demo : The result was the same.
Can you elaborate what you mean by "JSFTemplating not installed correctly". Is there a way to find out if JSFTemplating is not working correctly. Is there a log level setting which I can use.
The key is that it built correctly.  The LayoutViewHandler.class needs to be there.  The faces-config.xml file needs to be in the jar.  And the *.map files need to be in the jar.  There are many other important files, but if you have these, it should do something.

Feel free to email me your jsftemplating.jar file and I can look at it if you want.  Or the output of your build process.  Also I'm online @ irc.freenode.net  #jsftemplating if want to chat there.

Ken

-irfan