You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Joseph <pj...@gmail.com> on 2011/04/12 13:04:13 UTC

upload on Tomcat/Cocoon won't work when the port is 80?

Hi there,

I have a Cocoon 2.11 and Tomcat 6 web application.  It works on the 
standard http port 8080.

One customer had me install it on port 80.

Everything works well except for the file upload feature.  This seems  
to only work if I have the port set to 8080 or even say 9090.

Anything special about port 80 that prevents a file upload using Tomcat?

Paul

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


Re: upload on Tomcat/Cocoon won't work when the port is 80?

Posted by Eiko Thomas <ei...@gmx.net>.
What kind of error do you got?
Do you got a absolute URL in the action attribute of your form element?

Kind regards,
Eiko


-------- Original-Nachricht --------
> Datum: Tue, 12 Apr 2011 07:04:13 -0400
> Von: Paul Joseph <pj...@gmail.com>
> An: users@cocoon.apache.org
> Betreff: upload on Tomcat/Cocoon won\'t work when the port is 80?

> Hi there,
> 
> I have a Cocoon 2.11 and Tomcat 6 web application.  It works on the 
> standard http port 8080.
> 
> One customer had me install it on port 80.
> 
> Everything works well except for the file upload feature.  This seems  
> to only work if I have the port set to 8080 or even say 9090.
> 
> Anything special about port 80 that prevents a file upload using Tomcat?
> 
> Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
NEU: FreePhone - kostenlos mobil telefonieren und surfen!			
Jetzt informieren: http://www.gmx.net/de/go/freephone

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


Re: upload on Tomcat/Cocoon won't work when the port is 80?

Posted by Paul Joseph <pj...@gmail.com>.
Sorry, works nicely on port 80.  Problem was my code--it wasn't calling 
the save correctly.
Thanks for your support.

Paul

On 4/12/2011 1:30 PM, Paul Joseph wrote:
> André,
>
> True, but this is an Intranet app. so I have been having users 
> directly access Tomcat.  Maybe I should rethink.
>
> rgds
> Paul
>
> On 4/12/2011 12:50 PM, André Davignon wrote:
>> Hi,
>>
>> From my point of view, you should have an Apache as a reverse proxy 
>> in front of  Tomcat to use all the possibilities that Apache provides 
>> : rewrite rules, proxy pass, different logs, virtual hosts, server 
>> names, conditional actions, use of several Tomcats behind, security...
>>
>> Regards,
>>
>> André
>>
>>> Hi Eiko,
>>>
>>> I will try to get the error info...don't have it yet.
>>>
>>> I do NOT have apache in front of tomcat, I am accessing tomcat 
>>> directly.
>>>
>>> Thank you for your response.
>>> Paul
>>>
>>> On 4/12/2011 8:19 AM, Eiko Thomas wrote:
>>>> Hi Paul,
>>>> I use the same configuration and got no problems with port 
>>>> switching. I know the information helps less :-D
>>>>
>>>> This kind of problems I normally solve with wireshark.
>>>> Try to record the net traffic.
>>>>
>>>> Do you use a apache in front of tomcat?
>>>>
>>>> Kind regards,
>>>> Eiko
>>>>
>>>> -------- Original-Nachricht --------
>>>>> Datum: Tue, 12 Apr 2011 07:04:13 -0400
>>>>> Von: Paul Joseph<pj...@gmail.com>
>>>>> An: users@cocoon.apache.org
>>>>> Betreff: upload on Tomcat/Cocoon won\'t work when the port is 80?
>>>>> Hi there,
>>>>>
>>>>> I have a Cocoon 2.11 and Tomcat 6 web application.  It works on the
>>>>> standard http port 8080.
>>>>>
>>>>> One customer had me install it on port 80.
>>>>>
>>>>> Everything works well except for the file upload feature.  This seems
>>>>> to only work if I have the port set to 8080 or even say 9090.
>>>>>
>>>>> Anything special about port 80 that prevents a file upload using 
>>>>> Tomcat?
>>>>>
>>>>> Paul
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> 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


Re: upload on Tomcat/Cocoon won't work when the port is 80?

Posted by Paul Joseph <pj...@gmail.com>.
André,

True, but this is an Intranet app. so I have been having users directly 
access Tomcat.  Maybe I should rethink.

rgds
Paul

On 4/12/2011 12:50 PM, André Davignon wrote:
> Hi,
>
> From my point of view, you should have an Apache as a reverse proxy in 
> front of  Tomcat to use all the possibilities that Apache provides : 
> rewrite rules, proxy pass, different logs, virtual hosts, server 
> names, conditional actions, use of several Tomcats behind, security...
>
> Regards,
>
> André
>
>> Hi Eiko,
>>
>> I will try to get the error info...don't have it yet.
>>
>> I do NOT have apache in front of tomcat, I am accessing tomcat directly.
>>
>> Thank you for your response.
>> Paul
>>
>> On 4/12/2011 8:19 AM, Eiko Thomas wrote:
>>> Hi Paul,
>>> I use the same configuration and got no problems with port 
>>> switching. I know the information helps less :-D
>>>
>>> This kind of problems I normally solve with wireshark.
>>> Try to record the net traffic.
>>>
>>> Do you use a apache in front of tomcat?
>>>
>>> Kind regards,
>>> Eiko
>>>
>>> -------- Original-Nachricht --------
>>>> Datum: Tue, 12 Apr 2011 07:04:13 -0400
>>>> Von: Paul Joseph<pj...@gmail.com>
>>>> An: users@cocoon.apache.org
>>>> Betreff: upload on Tomcat/Cocoon won\'t work when the port is 80?
>>>> Hi there,
>>>>
>>>> I have a Cocoon 2.11 and Tomcat 6 web application.  It works on the
>>>> standard http port 8080.
>>>>
>>>> One customer had me install it on port 80.
>>>>
>>>> Everything works well except for the file upload feature.  This seems
>>>> to only work if I have the port set to 8080 or even say 9090.
>>>>
>>>> Anything special about port 80 that prevents a file upload using 
>>>> Tomcat?
>>>>
>>>> Paul
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>>
>
>
> ---------------------------------------------------------------------
> 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


Re: upload on Tomcat/Cocoon won't work when the port is 80?

Posted by André Davignon <an...@free.fr>.
Hi,

 From my point of view, you should have an Apache as a reverse proxy in 
front of  Tomcat to use all the possibilities that Apache provides : 
rewrite rules, proxy pass, different logs, virtual hosts, server names, 
conditional actions, use of several Tomcats behind, security...

Regards,

André

> Hi Eiko,
>
> I will try to get the error info...don't have it yet.
>
> I do NOT have apache in front of tomcat, I am accessing tomcat directly.
>
> Thank you for your response.
> Paul
>
> On 4/12/2011 8:19 AM, Eiko Thomas wrote:
>> Hi Paul,
>> I use the same configuration and got no problems with port switching. 
>> I know the information helps less :-D
>>
>> This kind of problems I normally solve with wireshark.
>> Try to record the net traffic.
>>
>> Do you use a apache in front of tomcat?
>>
>> Kind regards,
>> Eiko
>>
>> -------- Original-Nachricht --------
>>> Datum: Tue, 12 Apr 2011 07:04:13 -0400
>>> Von: Paul Joseph<pj...@gmail.com>
>>> An: users@cocoon.apache.org
>>> Betreff: upload on Tomcat/Cocoon won\'t work when the port is 80?
>>> Hi there,
>>>
>>> I have a Cocoon 2.11 and Tomcat 6 web application.  It works on the
>>> standard http port 8080.
>>>
>>> One customer had me install it on port 80.
>>>
>>> Everything works well except for the file upload feature.  This seems
>>> to only work if I have the port set to 8080 or even say 9090.
>>>
>>> Anything special about port 80 that prevents a file upload using 
>>> Tomcat?
>>>
>>> Paul
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>


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


Re: upload on Tomcat/Cocoon won't work when the port is 80?

Posted by Paul Joseph <pj...@gmail.com>.
Hi Eiko,

I will try to get the error info...don't have it yet.

I do NOT have apache in front of tomcat, I am accessing tomcat directly.

Thank you for your response.
Paul

On 4/12/2011 8:19 AM, Eiko Thomas wrote:
> Hi Paul,
> I use the same configuration and got no problems with port switching. I know the information helps less :-D
>
> This kind of problems I normally solve with wireshark.
> Try to record the net traffic.
>
> Do you use a apache in front of tomcat?
>
> Kind regards,
> Eiko
>
> -------- Original-Nachricht --------
>> Datum: Tue, 12 Apr 2011 07:04:13 -0400
>> Von: Paul Joseph<pj...@gmail.com>
>> An: users@cocoon.apache.org
>> Betreff: upload on Tomcat/Cocoon won\'t work when the port is 80?
>> Hi there,
>>
>> I have a Cocoon 2.11 and Tomcat 6 web application.  It works on the
>> standard http port 8080.
>>
>> One customer had me install it on port 80.
>>
>> Everything works well except for the file upload feature.  This seems
>> to only work if I have the port set to 8080 or even say 9090.
>>
>> Anything special about port 80 that prevents a file upload using Tomcat?
>>
>> Paul
>>
>> ---------------------------------------------------------------------
>> 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


Re: upload on Tomcat/Cocoon won't work when the port is 80?

Posted by Eiko Thomas <ei...@gmx.net>.
Hi Paul,
I use the same configuration and got no problems with port switching. I know the information helps less :-D

This kind of problems I normally solve with wireshark.
Try to record the net traffic.

Do you use a apache in front of tomcat?

Kind regards,
Eiko

-------- Original-Nachricht --------
> Datum: Tue, 12 Apr 2011 07:04:13 -0400
> Von: Paul Joseph <pj...@gmail.com>
> An: users@cocoon.apache.org
> Betreff: upload on Tomcat/Cocoon won\'t work when the port is 80?

> Hi there,
> 
> I have a Cocoon 2.11 and Tomcat 6 web application.  It works on the 
> standard http port 8080.
> 
> One customer had me install it on port 80.
> 
> Everything works well except for the file upload feature.  This seems  
> to only work if I have the port set to 8080 or even say 9090.
> 
> Anything special about port 80 that prevents a file upload using Tomcat?
> 
> Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt mit 
gratis Handy-Flat! http://portal.gmx.net/de/go/dsl

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