voyent
[SOLVED] ICEfaces 1.8.0 dont start when is the ROOT application  XML
Forum Index -> General Help
Author Message
Marioko

Joined: 14/Nov/2006 00:00:00
Messages: 125
Offline


SOLUTION: i just need deploy the Push Server


hi, i was testing 1.8 to migrate my current app (1.7.2), my application has a dedicated server, and is running in the ROOT path. The framework start well but when i make the first request just typing in the browser http://myserver:8080/ nothing happens.

My icefaces.log said:

Code:
22-abr-2009 13:36 [INFO ] 
 ICEsoft Technologies, Inc.
 ICEfaces 1.8.0 
 Build number: 12
 Revision: 18727
  
 22-abr-2009 13:36 [INFO ] ViewRootStateManagerImpl constructed with Delegate: com.sun.faces.application.StateManagerImpl@197507c 
 22-abr-2009 13:36 [INFO ] ICEfaces JSP parser disabled. This is a Facelets-only configuration. 
 22-abr-2009 13:36 [INFO ] Adapting to Jetty ARP environment 
 22-abr-2009 13:36 [INFO ] Blocking Request Handler: "auto-detect" 
 22-abr-2009 13:36 [ERROR] java.lang.NullPointerException 
 22-abr-2009 13:36 [ERROR] java.lang.NullPointerException 


TESTED IN Jetty 6.1.15 and Tomcat 6.0.18

If a change the application to another path http://myserver:8080/myapp/ for example everything works perfect. Maybe the problem is because the auto-detect for Push Server.

My workaround now is make a ROOT/index.html that redirect to myweb/index.iface
deryk.sinotte


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


Just to clarify, did your configuration run from the root context with 1.7.2 and then stopped working once you upgraded to 1.8?

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
deryk.sinotte


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


So I just tried a simple test with Component Showcase in the 1.8 release. With Tomcat 6, I moved the existing webapps/ROOT directory and replaced it with an exploded version of component-showcase.war, renaming it to ROOT. When I restarted Tomcat, I could navigate to http://localhost:8080/ and the root context was now Component Showcase, which ran without any errors.

I did this both with and without the Push Server deployed and it worked in both cases. Perhaps you could provide some more details about how you are configuring/deploying your application as the ROOT context.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
Marioko

Joined: 14/Nov/2006 00:00:00
Messages: 125
Offline


just to clarify, did your configuration run from the root context with 1.7.2 and then stopped working once you upgraded to 1.8? 


yes, it was working nice in 1.7.2

i also test with a new application created by Netbeans and the same happens.
jack.van.ooststroom


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


Do you have the stacktraces of the NullPointerExceptions?

Thanks,

Jack van Ooststroom
Senior Developer
ICEsoft Technologies, Inc.
[Email]
Marioko

Joined: 14/Nov/2006 00:00:00
Messages: 125
Offline


that is the weird thing the log and console only said:

NullPointerException

i keep testing and the problem is when i try to open a *.iface page

http://localhost:8080/index.html works fine (is just a welcome html page)

but http://localhost:8080/index2.iface dont work.
Marioko

Joined: 14/Nov/2006 00:00:00
Messages: 125
Offline


ok i found something more, many RuntimeExceptions:

java.lang.RuntimeException: no message available

full log file attached.
 Filename jetty-service.log [Disk] Download
 Description
 Filesize 140 Kbytes
 Downloaded:  411 time(s)

jack.van.ooststroom


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


The exceptions in the attached log seem to happen during shutdown. Just to clarify your environment: your ICEfaces application is deployed as the ROOT, but do you have Push Server deployed as well? If you're not using Push Server, another workaround might be setting the com.icesoft.faces.blockingRequestHandler parameter to icefaces in your ICEfaces application's web.xml.

Regards,
Jack...

Jack van Ooststroom
Senior Developer
ICEsoft Technologies, Inc.
[Email]
Marioko

Joined: 14/Nov/2006 00:00:00
Messages: 125
Offline


ohhh sorry was my fault i am using the SessionRenderer API and i just need deploy the Push Server as well to solve my problem.. i was thinking that push server is optional (like AHS)

ok thanks (btw sorry my english)

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