I checked out the latest JBoss Profiler 2 source from
http://anonsvn.jboss.org/repos/jbossprofiler/branches/JBossProfiler2 and then built the
Web Application:
ant web
I deployed the resulting jboss-profiler.war file to my jboss-as/server/default/deploy
directory.
When I accessed the Web app via
http://localhost:8080/jboss-profiler, it redirected to
http://localhost:8080/jboss-profiler/listsnapshot.faces and returned a 404.
I looked into the source xhtml files to try and find the problem and discovered that while
all the xhtml filenames were all lower case, references to them are all camel case. For
example, in www/template/head.xhtml, the following lines appear:
<ui:include src="/addClassPanel.xhtml"></ui:include>
| <ui:include src="/removeClassPanel.xhtml"></ui:include>
| , but the files they refer to are named addclasspanel.xhtml and removeclasspanel.xhtml
respectively.
I then renamed the relevant xhtml files using camel case and rebuilt the war file (using
"ant web" again) and the web application now works correctly.
Should the source files be renamed, or else the references be updated to match their
names? I can submit a JIRA for this if required and/or submit the changes required if I
can have commit rights to the SVN repository.
Cheers,
Rob Hills
Waikiki, Western Australia
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4191938#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...