You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by stephen chi zhang <sc...@viator.com> on 2004/01/20 23:41:37 UTC

Is that possible to bypass the SwingComsumer and TCP mon to run wsrp on a pluto container

Like what another peer has mentioned in a message before, when I deploy 
the proxyportlet onto pluto sitting on tomcat, I cannot see the wsrptest 
portlet being displayed untill I run TCP  mon and SwingComsumer once. In 
fact, if you test wsrp4j on two different machines, the producer side 
doesnot need to run anything besides Tomcat, while the comsumer has to 
run tcp mon and swingcomsumer.
Is it possible to bypass tcp mon and the swing thing?
My end goal of this bypassing is to see the wsrp portlet displayed on a 
browser( action as the comsumer client ) without doing anthing more than 
just openning the browser and typing the uri onto the address bar.

--
www.viator.com

Re: Is that possible to bypass the SwingComsumer and TCP mon to run wsrp on a pluto container

Posted by Julie MacNaught <jm...@apache.org>.
You can bypass the TCPmonitor by having tomcat listen on 8081, or you 
can change the port the SwingConsumer uses  to 8080. To change the port 
for the SwingConsumer, edit the file that the SwingConsumer uses to 
persist information about the Producer and change all occurrences of 
8081 to 8080.  On my machine the path to the file is: 

C:\aWork\ws-wsrp4j\driver\SwingConsumer\persistence\producers\org.apache.wsrp4j.consumer.driver.ProducerImpl@WSRP4J.xml

You can bypass the SwingConsumer by using any other WSRP compliant 
consumer.  Or write one :-) .


stephen chi zhang wrote:

> Like what another peer has mentioned in a message before, when I 
> deploy the proxyportlet onto pluto sitting on tomcat, I cannot see the 
> wsrptest portlet being displayed untill I run TCP  mon and 
> SwingComsumer once. In fact, if you test wsrp4j on two different 
> machines, the producer side doesnot need to run anything besides 
> Tomcat, while the comsumer has to run tcp mon and swingcomsumer.
> Is it possible to bypass tcp mon and the swing thing?
> My end goal of this bypassing is to see the wsrp portlet displayed on 
> a browser( action as the comsumer client ) without doing anthing more 
> than just openning the browser and typing the uri onto the address bar.
>
> -- 
> www.viator.com
>