voyent
Push Server + Liferay configuration  XML
Forum Index -> Portals & Portlets
Author Message
tmoreira2020


Joined: 25/Sep/2009 00:00:00
Messages: 16
Offline



Hi there,

I'm struggling with configuration of Push Server and Liferay. My environment is composed by a Portal1 (127.0.0.1:8080) which runs also my Icefaces application and a PushServer1 (127.0.0.1:8081). I have read this documentation of Push Server but it is weak of samples about how properly configure the web.xml files.

The web.xml of the ifecafes application and push-server are configured as follow Code:
      <context-param>
                 <param-name>com.icesoft.faces.localAddress</param-name>
                 <param-value>127.0.0.1</param-value>
       </context-param>
       <context-param>
                 <param-name>com.icesoft.faces.localPort</param-name>
                 <param-value>8081</param-value>
       </context-param>
 


But it's not working! I'm getting this exception at the Push Server Code:
Nov 15, 2011 3:08:27 PM com.icesoft.net.messaging.MessagePipeline publish
 SEVERE: 
 com.icesoft.net.messaging.MessageServiceException: java.io.FileNotFoundException: http://127.0.0.1:8081/auctionMonitor/block/message
 	at com.icesoft.net.messaging.http.HttpAdapter.publish(HttpAdapter.java:345)
 	at com.icesoft.net.messaging.MessagePipeline.publish(MessagePipeline.java:151)
 	at com.icesoft.net.messaging.MessagePipeline.publish(MessagePipeline.java:158)
 	at com.icesoft.net.messaging.MessagePipeline.publish(MessagePipeline.java:158)
 	at com.icesoft.net.messaging.MessagePipeline.publish(MessagePipeline.java:158)
 


Can someone point me to the right direction? And if possible update the documentation?
tmoreira2020


Joined: 25/Sep/2009 00:00:00
Messages: 16
Offline



I forgot to mention that all urls generate in the html does not point to context /push-server. They all point to my icefaces application, ie /ecommerce-portlet.
deryk.sinotte


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


The configuration looks fine but there's something wrong with the request. It shouldn't be going to the context:

Code:
http://127.0.0.1:8081/auctionMonitor/block/message


It should be going to:

Code:
http://127.0.0.1:8081/push-server/block/message


The push-server.war should not be deployed as a portlet but rather as a normal web app.

Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc.
tmoreira2020


Joined: 25/Sep/2009 00:00:00
Messages: 16
Offline



Yep Deryk, this is why I'm asking. Is there anything else that I need to configure or check?
 
Forum Index -> Portals & Portlets
Go to:   
Powered by JForum 2.1.7ice © JForum Team