voyent
can not render a jsp page  XML
Forum Index -> Woodstock to ICEfaces Migration
Author Message
ostense

Joined: 23/Dec/2008 00:00:00
Messages: 8
Offline


I have converted all woodstock pages to ICfaces. The only missing was a report written as a simple jsp page . I got internal error in the glassfish v2,2 server. Just to see if this happend to all pure jsp pages I made a new jsp page with nothing in it. Just Hello World . And the same did happend, Here is the output from the glassfish server:

Code:
 StandardWrapperValve[Blocking Servlet]: PWC1406: Servlet.service() for servlet Blocking Servlet threw exception
 java.lang.NullPointerException
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.createView(ViewHandlerImpl.java:186)
         at com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:184)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:119)
         at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:69)
         at javax.faces.component.UICommand.broadcast(UICommand.java:383)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
         at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:94)
         at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:54)
         at com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:26)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
         at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
         at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
         at com.icesoft.faces.webapp.http.servlet.SessionVerifier.service(SessionVerifier.java:19)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
         at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:56)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:290)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
 


Anybody any clue about what is going on?
frank.ye

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


Using existing Woodstock --> Add Visual ICEfaces Framework will use the
just-icefaces.jar

The standard RI renderer is not included. ie the prefix h: components etc.

Once you convert all the pages sucessfually, please use a Visual ICEfaces Framework only configurations.

ie, creating a new Visual Web Project with Visual ICEfaces Framework. the difference is that the Woodstock related dependencies are reduced.


enjoys,
Frank


[Email]
bgk000

Joined: 30/Dec/2008 00:00:00
Messages: 2
Offline


Hi,

I have an existing JSF application to which I added the Visual Icefaces framework. (per tutorial). I created a simple Icefaces Visual Web JSF page (using right click on previous project > new >ICEfaces Visual Web JSF Page. Say Page1.jsp.

Then adjust the Run properties in the Project Properties to specify a relative URL of /faces/Page1.jsp.

Ran the application to launch the newly created ICEfaces web page. The application compiles fine, launches the browser and points to the web page Page1.jsp but remains blank.

When I change the project properties back to previously created page in visual web JSF, that JSF page runs fine.

Don't know what setting to be done to render content of the ICEfaces page?

Thanks for help.
BGK
frank.ye

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


If you already create a ICEfaces Visual Web page in existing Woodstock Project,

the newly create jsp page could be viewed as:
http://localhost//application/IcePage1.iface
[Email]
bgk000

Joined: 30/Dec/2008 00:00:00
Messages: 2
Offline


Thanks, Frank.ye.
I had to go to properties of the application and under run option give the relative URL with the eg. /page1.iface.

thanks for your help with the extension of .iface than .jsp.
 
Forum Index -> Woodstock to ICEfaces Migration
Go to:   
Powered by JForum 2.1.7ice © JForum Team