Muchas gracias Sergio, a mi me ha venido muy bien!!
-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]En
nombre de Sergio Garc�a
Enviado el: viernes 21 de julio de 2000 9:37
Para: JetSpeed
Asunto: RE: Problem with cache?
First of all, make a directory in G like this
md temp/JeetspeedDocumentCache
and put in the config file this :
cache.directory=/temp/JetspeedDocumentCache
Hope that helps you,
Sergi
----- Original Message -----
From: Laurent, Pascal <[EMAIL PROTECTED]>
To: 'JetSpeed' <[EMAIL PROTECTED]>
Sent: Friday, July 21, 2000 9:00 AM
Subject: RE: Problem with cache?
I have the same problem with the same config ...
and I use cache.directory =/G:/temp/jetspeedDocumentCache
my log is:
[Fri Jul 21 08:39:29 CEST 2000] -- NOTICE -- Classname:
org.apache.turbine.services.resources.TurbineResourceService
[Fri Jul 21 08:39:29 CEST 2000] -- NOTICE -- Retrieved service:
TurbineResourceService
[Fri Jul 21 08:39:29 CEST 2000] -- NOTICE -- JetspeedResources obtained
from System properties: null
[Fri Jul 21 08:39:29 CEST 2000] -- NOTICE -- JetspeedResources obtained
from Turbine: G:\program
files\jetspeed-1.1\src\config\JetspeedResources.properties
[Fri Jul 21 08:39:29 CEST 2000] -- NOTICE -- Jetspeed Home: BEGIN default
portlets
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: cache miss: Portlet
- org.apache.jetspeed.portal.portlets.CocoonPortlet -
http://laurentp2.dlti.mdp:8080/content/dynamic/index.xml
<http://laurentp2.dlti.mdp:8080/content/dynamic/index.xml>
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- CocoonPortlet: transforming
file:///G:/temp/JetspeedDocumentCache\http.laurentp2..dlti..mdp...8080.conte
nt.dynamic.index..xml
<file:///G:/temp/JetspeedDocumentCache\http.laurentp2..dlti..mdp...8080.cont
ent.dynamic.index..xml> with stylesheet
file:///G:/temp/JetspeedDocumentCache\http.laurentp2..dlti..mdp...8080.conte
nt.dynamic.index..xsl
<file:///G:/temp/JetspeedDocumentCache\http.laurentp2..dlti..mdp...8080.cont
ent.dynamic.index..xsl>
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PersistentDocument: fetching
remote url:
file:///G:/temp/JetspeedDocumentCache\http.laurentp2..dlti..mdp...8080.conte
nt.dynamic.index..xml
<file:///G:/temp/JetspeedDocumentCache\http.laurentp2..dlti..mdp...8080.cont
ent.dynamic.index..xml>
[Fri Jul 21 08:39:30 CEST 2000] -- ERROR -- CocoonPortlet: Could not use
the following URL: http://laurentp2.dlti.mdp:8080/content/dynamic/index.xml
<http://laurentp2.dlti.mdp:8080/content/dynamic/index.xml>
/G:/temp/JetspeedDocumentCache\file..G....temp.JetspeedDocumentCache\http..l
aurentp2....dlti....mdp......8080..content..dynamic..index....xml (Le chemin
sp�cifi� est introuvable)
Exception: java.io.FileNotFoundException:
/G:/temp/JetspeedDocumentCache\file..G....temp.JetspeedDocumentCache\http..l
aurentp2....dlti....mdp......8080..content..dynamic..index....xml (Le chemin
sp�cifi� est introuvable)
Stack Trace follows:
java.io.FileNotFoundException:
/G:/temp/JetspeedDocumentCache\file..G....temp.JetspeedDocumentCache\http..l
aurentp2....dlti....mdp......8080..content..dynamic..index....xml (Le chemin
sp�cifi� est introuvable)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at
org.apache.jetspeed.cache.PersistentDocument.getRemoteFile(PersistentDocumen
t.java, Compiled Code)
at
org.apache.jetspeed.cache.PersistentDocument.getEntry(PersistentDocument.jav
a:216)
at
org.apache.jetspeed.portal.cocoon.CocoonRenderer.transform(CocoonRenderer.ja
va, Compiled Code)
at
org.apache.jetspeed.portal.portlets.CocoonPortlet.init(CocoonPortlet.java:23
8)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.
java:587)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory
.java, Compiled Code)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory
.java:259)
at org.apache.jetspeed.turbine.screens.Home.build(Home.java:105)
at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:117)
at
org.apache.jetspeed.turbine.layouts.JetspeedLayout.build(JetspeedLayout.java
:107)
at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:111)
at org.apache.turbine.modules.pages.DefaultPage.build(DefaultPage.java:88)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:111)
at Turbine.doGet(Turbine.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:479)
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
classname = org.apache.jetspeed.portal.portlets.CocoonPortlet
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
url = /content/dynamic/index.xml
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: cache miss: Portlet
- org.apache.jetspeed.portal.portlets.ApplicationsPortlet - null
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: initializing the
ApplicationsPortlet: BEGIN
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: cache miss: Portlet
- org.apache.jetspeed.portal.portlets.PortletBrowserPortlet - null
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
classname = org.apache.jetspeed.portal.portlets.PortletBrowserPortlet
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
url = null
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: initializing the
ApplicationsPortlet: END
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
classname = org.apache.jetspeed.portal.portlets.ApplicationsPortlet
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
url = null
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: cache miss: Portlet
- org.apache.jetspeed.portal.portlets.RSSPortlet -
http://laurentp2.dlti.mdp:8080/content/xml/rss/Jetspeed.rss
<http://laurentp2.dlti.mdp:8080/content/xml/rss/Jetspeed.rss>
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- DEBUG... parsing RSSPortlet
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
classname = org.apache.jetspeed.portal.portlets.RSSPortlet
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
url = /content/xml/rss/Jetspeed.rss
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: cache miss: Portlet
- org.apache.jetspeed.portal.portlets.FileServerPortlet -
http://laurentp2.dlti.mdp:8080/content/static/search.html
<http://laurentp2.dlti.mdp:8080/content/static/search.html>
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
classname = org.apache.jetspeed.portal.portlets.FileServerPortlet
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PortletFactory.getPortlet():
url = /content/static/search.html
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- Jetspeed: cache miss: Portlet
- org.apache.jetspeed.portal.portlets.RSSPortlet -
http://www.xmlhack.com/rss.php <http://www.xmlhack.com/rss.php>
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- DEBUG... parsing RSSPortlet
[Fri Jul 21 08:39:30 CEST 2000] -- NOTICE -- PersistentDocument: fetching
remote url: http://www.xmlhack.com/rss.php <http://www.xmlhack.com/rss.php>
[Fri Jul 21 08:39:31 CEST 2000] -- ERROR -- Could not parse the following
URL: http://www.xmlhack.com/rss.php <http://www.xmlhack.com/rss.php>
Exception: java.io.FileNotFoundException: http://www.xmlhack.com/rss.php
<http://www.xmlhack.com/rss.php>
Stack Trace follows:
java.io.FileNotFoundException: http://www.xmlhack.com/rss.php
<http://www.xmlhack.com/rss.php>
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:528)
at java.net.URLConnection.getContent(URLConnection.java:559)
at java.net.URL.getContent(URL.java:832)
at
org.apache.jetspeed.cache.PersistentDocument.getRemoteFile(PersistentDocumen
t.java, Compiled Code)
at
org.apache.jetspeed.cache.PersistentDocument.getEntry(PersistentDocument.jav
a:216)
at org.apache.jetspeed.xml.RSSParser.getContent(RSSParser.java:79)
at org.apache.jetspeed.portal.portlets.RSSPortlet.init(RSSPortlet.java,
Compiled Code)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.
java:587)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory
.java, Compiled Code)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory
.java:259)
at org.apache.jetspeed.turbine.screens.Home.build(Home.java:105)
at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:117)
at
org.apache.jetspeed.turbine.layouts.JetspeedLayout.build(JetspeedLayout.java
:107)
at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:111)
at org.apache.turbine.modules.pages.DefaultPage.build(DefaultPage.java:88)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:111)
at Turbine.doGet(Turbine.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java,
Compiled Code)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:479)
-----Message d'origine-----
De: Diethelm Guallar, Gonzalo [mailto:[EMAIL PROTECTED]]
Date: vendredi 21 juillet 2000 00:31
�: '[EMAIL PROTECTED]'
Objet: Problem with cache?
I'm seeing the following lines in Jetspeed's log.
Please notice the double dots in the log lines;
is this normal? I'm running on NT4 & Tomcat 3.1.
Could the problem be with one of the following?
* NT drive letters
* Use of \ instead of /
* Prepending (or not) a / to the drive letter
I have tried several combinations, to no avail.
Thanks in advance,
[Thu Jul 20 17:59:57 GMT-04:00 2000] -- NOTICE -- Jetspeed Home: BEGIN
default portlets
[Thu Jul 20 17:59:58 GMT-04:00 2000] -- NOTICE -- Jetspeed: cache miss:
Portlet - org.apache.jetspeed.portal.portlets.CocoonPortlet -
http://banco109.sonda.cl:80/content/dynamic/index.xml
<http://banco109.sonda.cl:80/content/dynamic/index.xml>
[Thu Jul 20 17:59:58 GMT-04:00 2000] -- NOTICE -- CocoonPortlet:
transforming
file:///D:/tmp/JetspeedDocumentCache\http.banco109..sonda..cl...80.content.d
ynamic.index..xml
<file:///D:/tmp/JetspeedDocumentCache\http.banco109..sonda..cl...80.content.
dynamic.index..xml> with stylesheet
file:///D:/tmp/JetspeedDocumentCache\http.banco109..sonda..cl...80.content.d
ynamic.index..xsl
<file:///D:/tmp/JetspeedDocumentCache\http.banco109..sonda..cl...80.content.
dynamic.index..xsl>
[Thu Jul 20 17:59:58 GMT-04:00 2000] -- NOTICE -- PersistentDocument:
fetching remote url:
file:///D:/tmp/JetspeedDocumentCache\http.banco109..sonda..cl...80.content.d
ynamic.index..xml
<file:///D:/tmp/JetspeedDocumentCache\http.banco109..sonda..cl...80.content.
dynamic.index..xml>
[Thu Jul 20 17:59:58 GMT-04:00 2000] -- ERROR -- CocoonPortlet: Could not
use the following URL:
http://banco109.sonda.cl:80/content/dynamic/index.xml
<http://banco109.sonda.cl:80/content/dynamic/index.xml>
/D:/tmp/JetspeedDocumentCache\file..D....tmp.JetspeedDocumentCache\http..ban
co109....sonda....cl......80..content..dynamic..index....xml (The system
cannot find the path specified)
Exception: java.io.FileNotFoundException:
/D:/tmp/JetspeedDocumentCache\file..D....tmp.JetspeedDocumentCache\http..ban
co109....sonda....cl......80..content..dynamic..index....xml (The system
cannot find the path specified)
Stack Trace follows:
java.io.FileNotFoundException:
/D:/tmp/JetspeedDocumentCache\file..D....tmp.JetspeedDocumentCache\http..ban
co109....sonda....cl......80..content..dynamic..index....xml (The system
cannot find the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at
org.apache.jetspeed.cache.PersistentDocument.getRemoteFile(PersistentDocumen
t.java:360)
at
org.apache.jetspeed.cache.PersistentDocument.getEntry(PersistentDocument.jav
a:216)
at
org.apache.jetspeed.portal.cocoon.CocoonRenderer.transform(CocoonRenderer.ja
va:115)
at
org.apache.jetspeed.portal.portlets.CocoonPortlet.init(CocoonPortlet.java:23
8)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.
java:587)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory
.java:368)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(PortletFactory
.java:259)
at org.apache.jetspeed.turbine.screens.Home.build(Home.java:105)
at
org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:117)
at
org.apache.jetspeed.turbine.layouts.JetspeedLayout.build(JetspeedLayout.java
:107)
at
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:111)
at
org.apache.turbine.modules.pages.DefaultPage.build(DefaultPage.java:88)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:111)
at Turbine.doGet(Turbine.java:296)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
at
org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:366)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:411)
at java.lang.Thread.run(Thread.java:484)
--
Gonzalo A. Diethelm
[EMAIL PROTECTED]
If this mail is in HTML format, blame Exchange Server: Q222508
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]