You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Graeme Rocher <gr...@yahoo.co.uk> on 2002/05/03 12:40:09 UTC

Cocoon SOAP HTTP hang bug on port 80

Hi all,

I'm having a strange problem with cocoon, my
configuration is Cocoon2.02, jdk1.4.0, Tomcat 4.03 and
Apache/1.3.23. Basically I've got an aggregate with
the one part being a local resource and the other
being a soap call to a separate servlet and the
request param action like so:

   <map:act type="ParamRequest">
    <map:aggregate element="pages">
          <map:parameter name="parameters"
value="true"/>
          <map:part
src="cocoon:/dynamic/bc_trivia_questions" />
          <map:part
src="http://localhost/bettingcorp/soap{requestQuery}"/>
    </map:aggregate>
     </map:act>

And what happens is it gets as far as resolving the
url to http://localhost/bettingcorp/soap?myparams=blah
and then it hangs, there are no log errors, no nothing
it just hangs. Here is where it gets up to in the log:

DEBUG   (2002-05-03) 10:31.51:696  
[access](/bettingcorp/getbc_trivia_questions.wml)
Thread-3/AbstractEnvironment: Resolved to
'http://grocher/bettingcorp/soap?command=DefaultPredict5Details&BoxID=93743'

If however I change the aggregate part to be on port
8080 like
src="http://localhost:8080/bettingcorp/soap{requestQuery}"
then it works fine. And if I copy the
http://localhost/bettingcorp/soap?myparams=blah url
into my browser and execute it it works fine and
returns the XML i expect.

If i use port 8080 however, it means that my SOAP call
creates a new session, and I am unable to store any
session data that i may want that comes back from the
SOAP call.

Any help would be appreciated...

-------------------------------
Graeme Rocher
Software Developer
Channelbay
graeme.rocher@channelbay.tv
www.channelbay.tv
------------------------------- 


=====
---------------------------------Graeme RocherSoftware Developergraemerocher@yahoo.co.ukwww.futuremedia.co.ukwww.easycando.com ---------------------------------

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Cocoon SOAP HTTP hang bug on port 80

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Graeme Rocher [mailto:graemerocher@yahoo.co.uk]
> 
> Hi all,
> 
> I'm having a strange problem with cocoon, my
> configuration is Cocoon2.02, jdk1.4.0, Tomcat 4.03 and
> Apache/1.3.23. Basically I've got an aggregate with
> the one part being a local resource and the other
> being a soap call to a separate servlet and the
> request param action like so:
> 
>    <map:act type="ParamRequest">
>     <map:aggregate element="pages">
>           <map:parameter name="parameters"
> value="true"/>
>           <map:part
> src="cocoon:/dynamic/bc_trivia_questions" />
>           <map:part
> src="http://localhost/bettingcorp/soap{requestQuery}"/>
>     </map:aggregate>
>      </map:act>
> 
> And what happens is it gets as far as resolving the
> url to http://localhost/bettingcorp/soap?myparams=blah
> and then it hangs, there are no log errors, no nothing
> it just hangs. Here is where it gets up to in the log:
> 
> DEBUG   (2002-05-03) 10:31.51:696
> [access](/bettingcorp/getbc_trivia_questions.wml)
> Thread-3/AbstractEnvironment: Resolved to
>
'http://grocher/bettingcorp/soap?command=DefaultPredict5Details&BoxID=93
743'
 

http://grocher/bettingcorp/soap?command=DefaultPredict5Details&BoxID=937
43

Does this one works from the browser on the same host where Cocoon
installed?


> If however I change the aggregate part to be on port
> 8080 like
> src="http://localhost:8080/bettingcorp/soap{requestQuery}"
> then it works fine. And if I copy the
> http://localhost/bettingcorp/soap?myparams=blah url
> into my browser and execute it it works fine and
> returns the XML i expect.
> 
> If i use port 8080 however, it means that my SOAP call
> creates a new session, and I am unable to store any

Why do you think that call on port 80 would not create new session?


> session data that i may want that comes back from the
> SOAP call.
> 
> Any help would be appreciated...
> 
> -------------------------------
> Graeme Rocher
> Software Developer
> Channelbay
> graeme.rocher@channelbay.tv
> www.channelbay.tv
> -------------------------------


Vadim

--
Resistance is futile.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


RE: Cocoon SOAP HTTP hang bug on port 80

Posted by Gerhard Froehlich <g-...@gmx.de>.
Hi,
see bug:
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6740>

in the Cocoon 2.03 and in the HEAD this bug should
be fixed.

Greets
Gerhard
 
---------------------------------------------------------
I don't suffer from insanity. I enjoy every minute of it.
---------------------------------------------------------

>-----Original Message-----
>From: Graeme Rocher [mailto:graemerocher@yahoo.co.uk]
>Sent: Friday, May 03, 2002 12:40 PM
>To: cocoon-users@xml.apache.org
>Subject: Cocoon SOAP HTTP hang bug on port 80
>
>
>Hi all,
>
>I'm having a strange problem with cocoon, my
>configuration is Cocoon2.02, jdk1.4.0, Tomcat 4.03 and
>Apache/1.3.23. Basically I've got an aggregate with
>the one part being a local resource and the other
>being a soap call to a separate servlet and the
>request param action like so:
>
>   <map:act type="ParamRequest">
>    <map:aggregate element="pages">
>          <map:parameter name="parameters"
>value="true"/>
>          <map:part
>src="cocoon:/dynamic/bc_trivia_questions" />
>          <map:part
>src="http://localhost/bettingcorp/soap{requestQuery}"/>
>    </map:aggregate>
>     </map:act>
>
>And what happens is it gets as far as resolving the
>url to http://localhost/bettingcorp/soap?myparams=blah
>and then it hangs, there are no log errors, no nothing
>it just hangs. Here is where it gets up to in the log:
>
>DEBUG   (2002-05-03) 10:31.51:696  
>[access](/bettingcorp/getbc_trivia_questions.wml)
>Thread-3/AbstractEnvironment: Resolved to
>'http://grocher/bettingcorp/soap?command=DefaultPredict5Details&BoxID=93743'
>
>If however I change the aggregate part to be on port
>8080 like
>src="http://localhost:8080/bettingcorp/soap{requestQuery}"
>then it works fine. And if I copy the
>http://localhost/bettingcorp/soap?myparams=blah url
>into my browser and execute it it works fine and
>returns the XML i expect.
>
>If i use port 8080 however, it means that my SOAP call
>creates a new session, and I am unable to store any
>session data that i may want that comes back from the
>SOAP call.
>
>Any help would be appreciated...
>
>-------------------------------
>Graeme Rocher
>Software Developer
>Channelbay
>graeme.rocher@channelbay.tv
>www.channelbay.tv
>------------------------------- 
>
>
>=====
>---------------------------------Graeme RocherSoftware 
>Developergraemerocher@yahoo.co.ukwww.futuremedia.co.ukwww.easycando.com 
>---------------------------------
>
>__________________________________________________
>Do You Yahoo!?
>Everything you'll ever need on one web page
>>from News and Sport to Email and Music Charts
>http://uk.my.yahoo.com
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <co...@xml.apache.org>
>For additional commands, e-mail: <co...@xml.apache.org>
>
>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>