cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Allis <rayal...@comcast.net>
Subject Re: Cocoon aggregation samples: Connection Refused Error
Date Wed, 09 Mar 2005 20:09:29 GMT
I have this problem with Solaris SPARC behind a corporate firewall. 

This is from an old email:


> (#1 of 7)
>               Add New Message 
> In your code you could try the following before doing any network
> related stuff: 
> 
> System.getProperties().put( "proxySet", "true" );
> System.getProperties().put(
> "proxyHost", "myProxyMachineName" ); System.getProperties().put(
> "proxyPort", "85" ); 
> 
> You can also do this on the command line to java: java -DproxySet=true
> -DproxyHost=something.proxy.com -DproxyPort=85 Application 
> 
> I have used the command line version but not the code version above. 
> 
> Also, more info available at:
> http://www.javaworld.com/javaworld/javatips/jw-javatip42.html 
> 
> Daniel

I set the JAVA_OPTIONS environment variable in my .kshrc and cocoon.sh
picks it up in the java command line:


> export JAVA_HOME=/usr/java
> export JAVA_OPTIONS=" -DproxySet=true -DproxyHost=your.proxy.host.here
> -DproxyPort=1234"

(that is two lines, incase the mailer wraps them.)
Enjoy!
--

On Wed, 2005-03-09 at 03:40, Rolando Isidoro wrote:
> Hi, after writing the previous message, I performed a Windows Cocoon 
> installation:
> 
> Windows XP Pro
> Tomcat 5.0.28
> Cocoon 2.1.6 (build war and copied cocoon.war into tomcat webapps dir)
> 
> in a PC with direct internet connection. I headed to the same samples as 
> before and they all worked just fine, which leads me even further to 
> think that the problem is tomcat proxy conf related. I've searched the 
> tomcat documentation, mailing lists and googled for an answer to the 
> problem and got nothing so far. Has someone had the same problem and 
> knows how to solve it?
> 
> I forgot to write it in the previous message, my configuration is:
> 
> Mandrake Linux 10.1
> Tomcat 5.0.28
> Cocoon 2.1.6 (build war and copied cocoon.war into tomcat webapps dir)
> 
> Thanks in advance,
> Rolando
> 
> Rolando Isidoro wrote:
> 
> > Everything seems to be working fine, but after heading for the 
> > Aggregation samples section and clicking the "Data Sources" and 
> > "Aggregation Samples" links available I kept receiving an Connection 
> > Refused error. Sample links that only make use of local data seem to 
> > work correctly, which leads me to think that I'm suffering some sort 
> > of internet connectivity configuration issues. I'm using a proxy, 
> > which is configured in the system, do I need to make any further 
> > configuration under Tomcat or Cocoon in order to solve this error?
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message