Check the path length as Fred suggested. If this fixes the problem, we
need to document this for Windows users.
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.
Good luck!
Ken
Irfan Ahmed wrote:
OK I got the demo app as well as JSFTemplating code to build. I
deployed the same to glassfish appserver.
Now when I click http://localhost:4848/demo I get
a 404 (File not
found) error. Any ideas what is happening here.
I could see in the logs that the server is trying to resolve
<j2ee-modiles-location>/demo/abc.jsp. However this file is not
existing. There is an abc.jsf. I am not able to make the relation here.
Need to read some more... a lot more..
Rgds
Irfan
Irfan Ahmed wrote:
Another problem.
This time this is with the jar target in the demo application. The Jar
target fails because it does not create the WEB-INF/lib directory as
part of the jarring process. Hence it requires the lib directory under
WEB-INF to exist before the jar target is run. I added a task <mkdir
dir="WEB_INF/lib"/> before the jar task and the application
was built.
Note that I am seeing these on Windows XP with Ant 1.6.5.
Rgds
Irfan
--
<a class="moz-txt-link-abbreviated"
href=<a class="moz-txt-link-rfc2396E"
href=<a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a>><a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a></a>><a
class="moz-txt-link-abbreviated"
href=<a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a>><a class="moz-txt-link-abbreviated" href="mailto:irfan@sun.com">irfan@sun.com</a></a></a>
Irfan Ahmed
Sun Microsystems Inc., Bangalore, India.
--
<a class="moz-txt-link-abbreviated"
href=<a class="moz-txt-link-rfc2396E" href="mailto:irfan@sun.com">"mailto:irfan@sun.com"</a>><a class="moz-txt-link-abbreviated" href="mailto:irfan@sun.com">irfan@sun.com</a></a>
Irfan Ahmed
Sun Microsystems Inc., Bangalore, India.