I have been trying to run Jetspeed on either Tomcat or Jrun (on NT) since Monday, but 
i got various different errors.
I have checked the faq site but to no avail. Please help. 
I think Jetspeed is really hard to configure for beginners. 

below are the snapshots of the errors and the properties settings.

can help me to scan through and enlighten me a little.

thank you so much.
 
 
A. Tomcat error

[Tue Jul 18 18:19:42 GMT+08:00 2000] -- NOTICE  -- JetspeedResources obtained from 
Turbine: D:/jetspeed/src/config/JetspeedResources.properties
[Tue Jul 18 18:19:42 GMT+08:00 2000] -- NOTICE  -- Jetspeed Home: BEGIN default 
portlets
[Tue Jul 18 18:19:42 GMT+08:00 2000] -- NOTICE  -- PersistentDocument: fetching remote 
url: http://192.168.1.109:8080/content/xml/defaultPortlets.xml
[Tue Jul 18 18:19:42 GMT+08:00 2000] --  ERROR  -- 
 Exception:  java.lang.NullPointerException
 Stack Trace follows:
 java.lang.NullPointerException
 at java.net.URLConnection.stripOffParameters(URLConnection.java:1016)
 at java.net.URLConnection.getContentHandler(URLConnection.java:984)
 at java.net.URLConnection.getContent(URLConnection.java:559)
 at java.net.URL.getContent(URL.java:812)
 at 
org.apache.jetspeed.cache.PersistentDocument.getRemoteFile(PersistentDocument.java:357)
 at org.apache.jetspeed.cache.PersistentDocument.getEntry(PersistentDocument.java:216)
..........................

 
 
 
################################################################################
#                           Jetspeed Configuration                             #
################################################################################
portletmarkup.default.url=/content/xml/defaultPortlets.xml
portlet.default.url=/content/xml/defaultPortlets.xml
portlet.allportlets.url=/content/xml/defaultPortlets.xml
portletcontrol.default.classname=org.apache.jetspeed.portal.DefaultPortletControl
portletcontroller.default.classname=org.apache.jetspeed.portal.DefaultPortletController

defaultportletcontrol.width         = 100%

defaultportletcontroller.numcolumns = 3 

defaultportletcontroller.width      = 100% 

# Example:  /content -> /content/xml/mydocument.xml
# Example:  http://myserver/mycontent -> http://myserver/mycontent/xml/mydocument.xml
# Default: /content
content.root.url=/content

#Default: /tmp/JetspeedDocumentCache
cache.directory=/tmp/JetspeedDocumentCache

#The cache directory
#Default: /usr/home/httpd/wwwroot/jetspeed-cache
public.cache.directory=/tomcat/webapps/ROOT/jepspeed-cache

#Default: /jetspeed-cache
public.cache.url=/jetspeed-cache

 

##########################################
# Ability to have Jetspeed portlets      #
# posted to third party devices          #
# note this url expects "title" and "url"#
##########################################

thirdparty.portletrenderer.url = 
http://avantgo.com/mydevice/autoadd.html?max=300&depth=5&images=0&links=0&refresh=always&hours=2&dflags=127&hour=0&quarter=00&s=00
thirdparty.portletrenderer.caption = Add to Avantgo

#########################################
# XML PortletController configuration   #
#########################################
xmlportletcontroller.width=700
#xmlportletcontroller.stylesheet=d:/tmp/defaultstyle.xsl
xmlportletcontroller.stylesheet=/tomcat/webapps/ROOT/content/defaultstyle.xsl

#########################################
# Cocoon config                         #
#########################################
#Jetspeed attempts to initialize it's own Cocoon Engine.
cocoon.properties.file=/jetspeed/src/config/cocoon.properties

 
#########################################
# Document refresh settings             #
#########################################
#how many seconds to cache portlets by default.  Portlets that allows themselves
#to be refreshed will usually pay attention to this interval
#Default: 3600
refresh.portlet.default = 3600
 
#specify (in seconds) the offset interval that the PersistentDocumentDaemon
#uses to refresh your disk cache.
#Default: 3600
refresh.persistentdocument.default = 3600

#########################################
# Content Feeds                         #
#########################################
#specify where Jetspeed should get it's content feed
contentfeeds.default.url=/content/xml/feeds/feeds.xml

#The stylesheet used to transform OCS into PortletMarkup
contentfeeds.stylesheet.url=/content/xml/ocs/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.
#Default: false
contentfeeds.fetchall=true

#The total number of threads to use in order to populate the document cache
#Default: 5
contentfeeds.maxthreads=5

#the total number of portets to browse at once within Jetspeed

#in preview mode...
#Default: 15
contentfeeds.portletbrowser.preview.maxportlets=15

#in overview mode...
#Default: 15
contentfeeds.portletbrowser.overview.maxportlets=15

#########################################
# Admin Control Panel                   #
#########################################

#specify the username for the Jetspeed admin console.
#Default: jetspeed
admin.username=jetspeed

#specify the password for the Jetspeed admin console
#Default: changeme
admin.password=changeme

#deny access to these portlets from the PortletFactory to only people who
#are authenticated as a turbine admin.  It is important that before the 
#PortletFactory returns instances that these are not allowed.
admin.portlet.classname=org.apache.jetspeed.portal.portlets.admin.JetspeedPropertiesPortlet
admin.portlet.classname=org.apache.jetspeed.portal.portlets.admin.MemoryStorePortlet
admin.portlet.classname=org.apache.jetspeed.portal.portlets.admin.JavaRuntimePortlet
admin.portlet.classname=org.apache.jetspeed.portal.portlets.admin.FeedAdminPortlet

#########################################
# User Authentication                   #
#########################################
#turn this on if you want Jetspeed to support user authentication
#Default: false
enable.userauthentication=false

#########################################
# 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.

#Default: /tmp
temp.directory=/tmp






--
--------------------------------------------------------------
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]

Reply via email to