You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jorg Heymans <jh...@domek.be> on 2006/03/05 11:37:59 UTC

Re: [forms libraries] connection timeout??


Bruyn Bill wrote:

> 
> I get connection timeouts (stacktrace attached).  I don't get it...  Why
> should this be happening?  Cocoon 2.1.8, Java 1.5, Win XP.
> 

...

>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
>         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 
>         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) 


Looks like the parser is trying to retrieve a DTD definition declared in
your document. Did your declare the entity resolver with a catalog in
cocoon.xconf (IIRC this is the case by default) ?


Jorg


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


Re: [forms libraries] connection timeout??

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 5 mars 06 à 15:54, Bruyn Bill a écrit :

> That's what I thought, too - but there is no DTD definition.  Just  
> a namespace declaration:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <fd:library xmlns:fd="http://apache.org/cocoon/forms/1.0#definition">
> ...
> </fd:library>
>
> Could that be it?

No, namespace declarations don't cause HTTP requests.


>> ...I get connection timeouts (stacktrace attached).  I don't get  
>> it...  Why
>> should this be happening?  Cocoon 2.1.8, Java 1.5, Win XP.
>>
>
> ...
>
>>         at  
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream 
>> (HttpURLConnection.java:913)

Like Jorg said, there's probably a DTD declaration somewhere that  
causes this.

I'd try syping your network traffic (with ngrep, tcpdump, ethereal or  
something) to see what requests are being made.

-Bertrand


RE: Re: [forms libraries] connection timeout??

Posted by Bruyn Bill <Br...@mcao.maricopa.gov>.
That's what I thought, too - but there is no DTD definition.  Just a namespace declaration:
 
<?xml version="1.0" encoding="UTF-8"?>
<fd:library xmlns:fd="http://apache.org/cocoon/forms/1.0#definition">
...
</fd:library> 
 
Could that be it?
 

________________________________

From: news on behalf of Jorg Heymans
Sent: Sun 3/5/2006 3:37 AM
To: users@cocoon.apache.org
Subject: Re: [forms libraries] connection timeout??





Bruyn Bill wrote:

>
> I get connection timeouts (stacktrace attached).  I don't get it...  Why
> should this be happening?  Cocoon 2.1.8, Java 1.5, Win XP.
>

...

>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
>         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
>         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)


Looks like the parser is trying to retrieve a DTD definition declared in
your document. Did your declare the entity resolver with a catalog in
cocoon.xconf (IIRC this is the case by default) ?


Jorg


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