RE: problems with Html Generator

2001-10-19 Thread lucas

Thank's a lot for your interest !
You where right, as I read in the documentation the problem was related with
my proxy configuration, so I try your solution. Unfortunalety I think I do
something wrong:
My proxy host is http://pinedo on port 80, so, I create the environment
variable with value:

TOMCAT_OPTS :-Dhttp.proxyhost=http://pinedo -Dhttp.proxyport=80

But the problem persist ¿Is the sintax correct?
Thanks.




-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En nombre de
Sebastien Koechlin
Enviado el: jueves, 18 de octubre de 2001 17:54
Para: [EMAIL PROTECTED]
Asunto: Re: problems with Html Generator

Please, do not post in HTML !

 When I install Cocoon for the first time I didn't install the html
generator,
 but now I need it so I install it.

 I get the file Tidy.jar and i put it on the lib's directory, but when i
try
 to use it (even with the cocoon examples ), I get a `can't find file'
message

It's not a problem with HTMLGenerator, but with your server :

 java.net.UnknownHostException: www.yahoo.com

The JVM can't resolv www.yahoo.com

Are you using a proxy ?
Did you declare it to the JVM ?
if no, can you ping it ?

Tomcat can be configured to work with a proxy server by specifying the
following directives with the TOMCAT_OPTS system variable:
-Dhttp.proxyhost=proxy_address
-Dhttp.proxyport=proxy_port

--
Sébastien Koechlin - IVision - [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




problems with Html Generator

2001-10-18 Thread lucas








When I install Cocoon for the first time I didnt install the html
generator, but now I need it so I install it.

I get the file Tidy.jar and i put it on the libs directory, but when i
try to use it (even with the cocoon examples ), I get a cant find file message



And in the log file appear the following lines: 



CONTEXT PATH: /cocoon

SERVLET PATH: /yahoo

PATH INFO: null



REMOTE HOST: CHUMILLAS

REMOTE ADDRESS: 192.168.0.84

REMOTE USER: null

REQUEST SESSION ID: 9abpnvdf81

REQUEST PREFERRED LOCALE: es_ES

SERVER HOST: portet

SERVER PORT: 8080



METHOD: GET

CONTENT LENGTH: -1

PROTOCOL: HTTP/1.1

SCHEME: http

AUTH TYPE: null



REQUEST PARAMETERS:





SESSION ATTRIBUTES:



DEBUG (2001-10-18)
19:49.39:889 [cocoon ] (/cocoon/yahoo)
Thread-15/AbstractEnvironment: Changing Cocoon context(sitemap.xmap) to
prefix()

DEBUG (2001-10-18)
19:49.39:889 [cocoon ] (/cocoon/yahoo)
Thread-15/AbstractEnvironment:  from
context(file:/C:/ApacheGroup/Tomcat/webapps/cocoon/) and prefix()

DEBUG (2001-10-18)
19:49.39:889 [cocoon ] (/cocoon/yahoo)
Thread-15/AbstractEnvironment:  at
URI yahoo

DEBUG (2001-10-18)
19:49.39:889 [cocoon ] (/cocoon/yahoo) Thread-15/AbstractEnvironment:
New context is file:/C:/ApacheGroup/Tomcat/webapps/cocoon/

DEBUG (2001-10-18)
19:49.39:889 [cocoon ] (/cocoon/yahoo)
Thread-15/DefaultPool: Retrieving a org.apache.cocoon.components.pipeline.CachingEventPipeline
from the pool

DEBUG (2001-10-18)
19:49.39:889 [cocoon ] (/cocoon/yahoo)
Thread-15/DefaultPool: Retrieving a org.apache.cocoon.components.pipeline.CachingStreamPipeline
from the pool

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap:
Matched wildcardmatcher_wildcard_N5FB pattern:yahoo

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/sitemap_xmap: Component generator:html(param)

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap:
Source=http://www.yahoo.com

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/DefaultPool: Retrieving a org.apache.cocoon.generation.HTMLGenerator
from the pool

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/sitemap_xmap:
Component transformer:xslt(emptyParam)

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/sitemap_xmap: Source=stylesheets/news/news.xsl

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo) Thread-15/DefaultPool:
Retrieving a org.apache.cocoon.transformation.TraxTransformer from the pool

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/sitemap_xmap: Component serializer:html(emptyParam)

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/DefaultPool: Retrieving a
org.apache.cocoon.serialization.HTMLSerializer from the pool

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/AbstractEnvironment: Resolving 'http://www.yahoo.com'

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/URLFactoryImpl: Making URL from http://www.yahoo.com

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/AbstractEnvironment: Resolved to 'http://www.yahoo.com'

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/AbstractEnvironment: Resolving 'stylesheets/news/news.xsl'

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/URLFactoryImpl: Making URL from file:/C:\ApacheGroup\Tomcat\webapps\cocoon\stylesheets\news\news.xsl

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/AbstractEnvironment: Resolved to 'file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl'

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/TraxTransformer: Using stylesheet: 'file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl'
in org.apache.cocoon.transformation.TraxTransformer@7db937, last modified: 989441413000

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/MRUMemoryStore: Getting object from memory. Key:
file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl

DEBUG (2001-10-18)
19:49.39:899 [cocoon ] (/cocoon/yahoo)
Thread-15/TraxTransformer: Reusing Templates in
org.apache.cocoon.transformation.TraxTransformer@7db937 for
file:/C:/ApacheGroup/Tomcat/webapps/cocoon/stylesheets/news/news.xsl

WARN
(2001-10-18) 19:49.39:909
[cocoon ] (/cocoon/yahoo)
Thread-15/HTMLGenerator: HTMLGenerator.generate()

java.net.UnknownHostException: www.yahoo.com

 at
java.net.InetAddress.getAllByName0(InetAddress.java:571)

 at
java.net.InetAddress.getAllByName0(InetAddress.java:540)

 at
java.net.InetAddress.getByName(InetAddress.java:449)

 at
java.net.Socket.init(Socket.java:100)

 at
sun.net.NetworkClient.doConnect(NetworkClient.java:50)

 at
sun.net.www.http.HttpClient.openServer(HttpClient.java:331)

 at
sun.net.www.http.HttpClient.openServer(HttpClient.java:517)

 at
sun.net.www.http.HttpClient.init(HttpClient.java:267)

 at
sun.net.www.http.HttpClient.init(HttpClient.java:277)

 

Re: problems with Html Generator

2001-10-18 Thread Sebastien Koechlin

Please, do not post in HTML !

 When I install Cocoon for the first time I didn't install the html generator,
 but now I need it so I install it.

 I get the file Tidy.jar and i put it on the lib's directory, but when i try
 to use it (even with the cocoon examples ), I get a `can't find file' message

It's not a problem with HTMLGenerator, but with your server :

 java.net.UnknownHostException: www.yahoo.com

The JVM can't resolv www.yahoo.com

Are you using a proxy ? 
Did you declare it to the JVM ?
if no, can you ping it ?

Tomcat can be configured to work with a proxy server by specifying the
following directives with the TOMCAT_OPTS system variable:
-Dhttp.proxyhost=proxy_address
-Dhttp.proxyport=proxy_port

-- 
Sébastien Koechlin - IVision - [EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]