Hi Kevin,
Okay...so that bug is fixed! But I encountered another problem, I don't know if
my set up is incorrect.
Here is the stack trace:
[Tue May 16 20:34:56 EDT 2000] -- NOTICE -- SingletonHolder: Now holding:
jetspeed.portletregistry - /content/psml/portletregistry.psml
[Tue May 16 20:34:56 EDT 2000] -- NOTICE -- Jetspeed: cache miss: Portlet -
org.apache.jetspeed.portal.portlets.JetspeedContent - provider-name - jetspeed -
null
[Tue May 16 20:34:56 EDT 2000] -- ERROR --
Exception: java.lang.IllegalArgumentException: You must specify a URL to obtain
an entry from the cache
Stack Trace follows:
java.lang.IllegalArgumentException: You must specify a URL to obtain an entry
from the cache
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.java:178)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.java:166)
at
org.apache.jetspeed.portal.portlets.JetspeedContent.parse(JetspeedContent.java:182)
at
org.apache.jetspeed.portal.portlets.JetspeedContent.init(JetspeedContent.java:146)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:818)
at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlet(PortletFactory.java:499)
Where do I specify the URL to obtain an entry from the cache?
Here is part of my config.
##########################################
# Remote Object Storage System #
##########################################
#Specify the directory that Jetspeed should
#cache XML documents to.
#For Win32 systems specify your directory as:
cache.directory=/d:/temp/JetspeedDocumentCache
#Default: /tmp/JetspeedDocumentCache
cache.directory=/d:/weblogic/myserver/tmp/JetspeedDocumentCache
#Specify whether Jetspeed should fetch items that aren't in the DiskCache in
#real time. If true Jetspeed will throw a ContentNotAvailableException when it
#encounters a URL that isn't available within the Cache. This can be used so
#that clients don't have to wait for URLs to download while using Jetspeed.
#After the URL is first encountered Jetspeed will create a thread to download
#this in the background
#Default: true
cache.require.cached=true
#########################################
# Temporary Storage #
#########################################
# Sometimes Jetspeed wants to write out a file that may be necessary for further
# debuging. It will log the location and then write to this directory.
# NOTE: The System property java.io.tmpdir is defined under JDK 1.2 but not
# JDK 1.1.x
#Default: /tmp
temp.directory=/d:/weblogic/myserver/tmp
##########################################
# Public Remote Object Storage System #
##########################################
#Specify where Jetspeed should cache remote documents but that should also be
public.
#An example of this would be an image that was loaded through a XML page from a
remote
#server but is stored in this cache so that it can be loaded quicker
#Jetspeed uses this to cache Images that it receives from XML documents. The
#content is parsed out and the images are placed in public.cache.directory so
#that users don't have to contact the server via another socket but can use
#the one they currently have to your HTTP server. This also works well if the
#original machine happens to be down when this request happens.
#The cache directory
#Default: /usr/home/httpd/wwwroot/jetspeed-cache
public.cache.directory=/d:/weblogic/myserver/public_html/jetspeed-cache
#the directory that you want your HTTPD to serve files from. This should be
#the public URL for the above document. Make sure your HTTP daemon has the
#correct permission to serve files from this directory.
#Default: /jetspeed-cache
public.cache.url=/jetspeed-cache
#########################################
# Content Feeds #
#########################################
#specify where Jetspeed should get it's content feeds.
#this is setup like the following:
#contentfeeds.feed.name=<name>
#contentfeeds.feed.<name>.description=My Feed Description
#contentfeeds.feed.<name>.url=http://server/url
#the XMLTree content feed
contentfeeds.feed.name=xmltree
#feed meta info
contentfeeds.feed.xmltree.description=XML Tree OCS Feed
contentfeeds.feed.xmltree.url=http://www.xmltree.com/export/ocs.cfm
#The stylesheet used to transform OCS into PortletMarkup
contentfeeds.stylesheet.url=/content/xsl/ocs.xsl
#Jetspeed has the option to continually fetch all of its channels and keep them
#in cache. The upside is that your clients will be able to see content
#right away. The downside is that this results in more bandwidth used. The
#default value is true. Setting it to false will cause slower page rendering
#due to Jetspeed having to go out and fetch your content.
#Default: true
contentfeeds.fetchall=true
Am i missing anything?
Thanks,
--hqn
"Kevin A. Burton" wrote:
> "Hien Q. Nguyen" wrote:
> >
> > Hi I installed Jetspeed...lastest version from CVS with Weblogic Server 5.1
> > and got the following exception:
> >
> > [Mon May 15 20:08:18 EDT 2000] -- ERROR --
> > Exception: java.io.FileNotFoundException:
> > D:\weblogic\myserver\public_htmlcontent\psml\default.psml (The system
>
> Oh... I get it now... sorry. Yes this is a bug. I just fixed it in CVS
> but since I don't have Weblogic or a servlet engine that doesn't return
> with a trailing / you should test it out and let me know if it is fixed.
>
> Kevin
>
> --
> Kevin A Burton ([EMAIL PROTECTED])
> http://relativity.yi.org
> Message to SUN: "Please Open Source Java!"
> The house of the unbelievers shall be razed and they shall be
> scorched to the earth. Their code will be open until the end of days.
>
> --
> --------------------------------------------------------------
> 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]