You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mauro Daniel Ardolino <ma...@altersoft.com.ar> on 2002/12/16 15:37:56 UTC
Problem using an external xml page
Hi all!
I'm having a problem trying to use an external xml page. I mean
"external" to my project.
The page is:
http://www.puentenet.com/XML_export/monedas.xml
So I put this on the sitemap:
...
<map:generate src="http://www.puentenet.com/XML_export/monedas.xml" />
<map:serialize type="html" />
...
And I get this error message when browsing:
An error occurred
The org.apache.cocoon.www.sitemap_xmap notifies that
org.apache.cocoon.ProcessingException says: Exception during processing of
http://www.puentenet.com/XML_export/monedas.xml More precisely:
org.apache.cocoon.ProcessingException: Exception during processing of
http://www.puentenet.com/XML_export/monedas.xml: java.net.ConnectException:
Connection refused
extra info
full exception chain stacktrace show <javascript:> Original exception :
java.net.ConnectException: Connection refused at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at
java.net.Socket.connect(Socket.java:426) at
java.net.Socket.connect(Socket.java:376) at
sun.net.NetworkClient.doConnect(NetworkClient.java:139) at
....
and so on...
I'll appreciate any help. Thanks in advance.
-- Mauro
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Problem using an external xml page
Posted by Mauro Daniel Ardolino <ma...@altersoft.com.ar>.
Thanks for the answer. I think this can be the problem. I was thinking
about that. I will ask someone if there's a firewall working in our
net. If so and I find the way to tell this to cocoon, I'll tell you.
Any other help will be welcome. Thanks.
-- Mauro
On Mon, 16 Dec 2002, SAXESS - Hussayn Dabbous wrote:
> Following matcher would do it:
>
> <map:match pattern="*testme">
> <map:generate type="file"
> src="http://www.puentenet.com/XML_export/monedas.xml"/>
> <map:serialize type="xml"/>
> </map:match>
>
> But you may have a proxy problem.
> Are you sitting behind a firewall and can access
> the internet only via your http:proxy ?
> You will have to tell cocoon, how it shall access your
> proxy to connect to the net...
>
> If this is really your problem, then it will be mine
> too in a couple of days. I currently don't know,
> if cocoon can really be configured to call resources
> through a firewall ...
>
> Maybe someone else knows more about that ?
>
> regards, hussayn
>
> Mauro Daniel Ardolino wrote:
> > Hi all!
> > I'm having a problem trying to use an external xml page. I mean
> > "external" to my project.
> >
> > The page is:
> > http://www.puentenet.com/XML_export/monedas.xml
> >
> > So I put this on the sitemap:
> > ...
> > <map:generate src="http://www.puentenet.com/XML_export/monedas.xml" />
> > <map:serialize type="html" />
> > ...
> >
> > And I get this error message when browsing:
> >
> > An error occurred
> > The org.apache.cocoon.www.sitemap_xmap notifies that
> > org.apache.cocoon.ProcessingException says: Exception during processing of
> > http://www.puentenet.com/XML_export/monedas.xml More precisely:
> > org.apache.cocoon.ProcessingException: Exception during processing of
> > http://www.puentenet.com/XML_export/monedas.xml: java.net.ConnectException:
> > Connection refused
> > extra info
> > full exception chain stacktrace show <javascript:> Original exception :
> > java.net.ConnectException: Connection refused at
> > java.net.PlainSocketImpl.socketConnect(Native Method) at
> > java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at
> > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at
> > java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at
> > java.net.Socket.connect(Socket.java:426) at
> > java.net.Socket.connect(Socket.java:376) at
> > sun.net.NetworkClient.doConnect(NetworkClient.java:139) at
> > ....
> > and so on...
> >
> > I'll appreciate any help. Thanks in advance.
> >
> > -- Mauro
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>
>
> To unsubscribe, e-mail: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
>
--
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: mauro@altersoft.com.ar
website: http://www.altersoft.com.ar
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: Problem using an external xml page
Posted by SAXESS - Hussayn Dabbous <da...@saxess.com>.
Following matcher would do it:
<map:match pattern="*testme">
<map:generate type="file"
src="http://www.puentenet.com/XML_export/monedas.xml"/>
<map:serialize type="xml"/>
</map:match>
But you may have a proxy problem.
Are you sitting behind a firewall and can access
the internet only via your http:proxy ?
You will have to tell cocoon, how it shall access your
proxy to connect to the net...
If this is really your problem, then it will be mine
too in a couple of days. I currently don't know,
if cocoon can really be configured to call resources
through a firewall ...
Maybe someone else knows more about that ?
regards, hussayn
Mauro Daniel Ardolino wrote:
> Hi all!
> I'm having a problem trying to use an external xml page. I mean
> "external" to my project.
>
> The page is:
> http://www.puentenet.com/XML_export/monedas.xml
>
> So I put this on the sitemap:
> ...
> <map:generate src="http://www.puentenet.com/XML_export/monedas.xml" />
> <map:serialize type="html" />
> ...
>
> And I get this error message when browsing:
>
> An error occurred
> The org.apache.cocoon.www.sitemap_xmap notifies that
> org.apache.cocoon.ProcessingException says: Exception during processing of
> http://www.puentenet.com/XML_export/monedas.xml More precisely:
> org.apache.cocoon.ProcessingException: Exception during processing of
> http://www.puentenet.com/XML_export/monedas.xml: java.net.ConnectException:
> Connection refused
> extra info
> full exception chain stacktrace show <javascript:> Original exception :
> java.net.ConnectException: Connection refused at
> java.net.PlainSocketImpl.socketConnect(Native Method) at
> java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at
> java.net.Socket.connect(Socket.java:426) at
> java.net.Socket.connect(Socket.java:376) at
> sun.net.NetworkClient.doConnect(NetworkClient.java:139) at
> ....
> and so on...
>
> I'll appreciate any help. Thanks in advance.
>
> -- Mauro
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.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/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>