voyent
Basic Netbeans Web App  XML
Forum Index -> Tools
Author Message
craighamilton

Joined: 03/Sep/2007 00:00:00
Messages: 8
Offline


Hi,
I've downloaded and installed icefaces 1.61. I then create a Web Application with default settings (tomcat 5.5.17 and j2EE 1.4) except for selecting the ICEfaces framework. Deploying the app gives the following tomcat log:

5/09/2007 11:46:09 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Persistent Faces Servlet threw exception
java.io.FileNotFoundException: /home/craig/build/WebApplication2/build/web (Is a directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.icesoft.faces.webapp.http.core.FileServer$1.respond(FileServer.java:35)
at com.icesoft.faces.webapp.http.common.standard.CompressingServer$CompressingRequest$1.respond(CompressingServer.java:44)
at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:143)
at com.icesoft.faces.webapp.http.common.standard.CompressingServer$CompressingRequest.respondWith(CompressingServer.java:41)
at com.icesoft.faces.webapp.http.core.FileServer.service(FileServer.java:28)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
at com.icesoft.faces.webapp.http.common.standard.CompressingServer.service(CompressingServer.java:25)
at com.icesoft.faces.webapp.http.core.ResourceServer.service(ResourceServer.java:30)
at com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)


I'm new to ajax/icefaces so any help is appreciated.
frank.ye

Joined: 26/Oct/2004 00:00:00
Messages: 709
Offline


Please post a simple project or test case for the exception.

thanks
[Email]
craighamilton

Joined: 03/Sep/2007 00:00:00
Messages: 8
Offline


Hi, here is the project as requested. I'm also using Kubuntu 7.04 if thats any help.

Thanks
 Filename WebApplication4.zip [Disk] Download
 Description
 Filesize 9128 Kbytes
 Downloaded:  140 time(s)

frank.ye

Joined: 26/Oct/2004 00:00:00
Messages: 709
Offline


If you run project within netbeans, you could define the start up page for Browser.

For example:

high light project --> Pop Panel Properties --> Run Categories --> change relative URL: to welcomeJSF.iface

[Email]
craighamilton

Joined: 03/Sep/2007 00:00:00
Messages: 8
Offline


Thanks that did the trick!
madmickymendez

Joined: 01/Mar/2007 00:00:00
Messages: 17
Offline


So, welcome file in web.xml is ignored...

<welcome-file-list>
<welcome-file>faces/Welcome.jsp</welcome-file>
</welcome-file-list>


With 1.6.0 it worked. Is this a bug?

 
Forum Index -> Tools
Go to:   
Powered by JForum 2.1.7ice © JForum Team