Greetings!


I am writing in the hopes that someone will be able to shed some
light on my Jetspeed configuration problems.  :)

<bribe>If you show me, I promise that I will create some documentation
from this adventure and make sure that it gets to the FAQ-O-Matic on
java.apache.org.</bribe>  :)

I am trying to make my installation come up looking just like Kevin
Burton's
example, http://relativity.yi.org:8080/servlet/jetspeed, and I'm having
problems.

Dieter Wimberger <[EMAIL PROTECTED]> posted an excellent
"How-to" to the mailing list that discussed the setup of Jetspeed using
Apache's JServ.  That configuration worked great.  I am able to get to
the first Portal page.

However, it doesn't appear the same way that Kevin's example site
appears.
I only get the "Welcome->Home" and "Please login to Jetspeed".  Nothing
appears below that.  I think that it has something to do with some
settings in the JetSpeedResources.properties file.  When referring to
the defaultPortlets.xml location, I'm getting confused a bit as to when
I'm supposed to use file:// or and absolute pathname, or a relative
pathname based on the web server address.

'Course it may also have something to do with the java errors getting
kicked out to the turbine.log file, but, honestly, I don't know what
they mean.

I'm including a copy of my JetSpeedResources.properties file and my
turbine.log.

I would really appreciate it if you'd take a look at my settings.
Thanks!
Mark Nickel


My architecture:
Redhat Linux 6.1
Apache 1.3.11
mod_ssl 3.5.0
Apache JServ 1.1
Cocoon 1.7.0 - Note that this not the .jar from the JetSpeed dist
JetSpeed 1.0
MySQL 3.22.32
PHP 3.0.14

Webserver name:  http://cww.dunsirn.com
Jetspeed content location:  /home/httpd/html/content
DocumentRoot:  /home/httpd/html
Jetspeed Installation Dir:  /usr/local/Jetspeed
Cocoon Installation Dir:  /usr/local/Cocoon


--------------
Turbine.log:
--------------
[Thu Mar 23 11:49:58 CST 2000] -- NOTICE  --
Classname:org.apache.turbine.servi
ces.resources.TurbineResourceService
[Thu Mar 23 11:49:58 CST 2000] -- NOTICE  -- Retrieved
service:TurbineResourceService
[Thu Mar 23 11:49:58 CST 2000] -- NOTICE  -- Jetspeed Home: BEGIN
default portlets
[Thu Mar 23 11:49:58 CST 2000] -- NOTICE  -- JetspeedResources obtained
from System properties: null
[Thu Mar 23 11:49:58 CST 2000] -- NOTICE  -- JetspeedResources obtained
from Turbine:
/usr/local/Jetspeed/src/config/JetSpeedResources.properties
[Thu Mar 23 11:50:00 CST 2000] --  ERROR  --
        Exception:  MarshalException: The declaration for the entity
"ContentTyp
e" must end with '>'.
        Stack Trace follows:
        MarshalException: The declaration for the entity "ContentType"
must end
with '>'.
        at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:202)
        at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:164)
        at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:245)
        at
org.apache.jetspeed.portal.portletmarkup.Portlets.unmarshal(Portlets.
java:177)
        at
org.apache.jetspeed.portal.factory.PortletFactory.create(PortletFacto
ry.java:299)
        at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(Portlet
Factory.java:324)
        at
org.apache.jetspeed.portal.factory.PortletFactory.getPortlets(Portlet
Factory.java:261)
        at org.apache.jetspeed.turbine.screens.Home.build(Home.java:99)
        at
org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:117)
        at
org.apache.jetspeed.turbine.layouts.JetSpeedLayout.build(JetSpeedLayo
ut.java:107)
        at
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:111)
        at
org.apache.turbine.modules.pages.DefaultPage.build(DefaultPage.java:8
8)
        at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:111)
        at Turbine.doGet(Turbine.java:296)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:
314)
        at
org.apache.jserv.JServConnection.run(JServConnection.java:188)
        at java.lang.Thread.run(Thread.java:475)
[Thu Mar 23 11:50:00 CST 2000] -- WARNING -- getPortlets():  No portlets
found
[Thu Mar 23 11:50:00 CST 2000] -- NOTICE
--PortletControllerFactory.getInstanc
e(): classname = org.apache.jetspeed.portal.DefaultPortletController
[Thu Mar 23 11:50:00 CST 2000] -- NOTICE  -- Jetspeed Home: END default
portlets


-----------------------------------
JetSpeedResources.properties:
-----------------------------------
##########################################
# Portlet Configuration                  #
##########################################
#Defines the standard set of properties for Jetspeed

#specify the default set of portlets to use for the Home page
portlet.default.url=http://cww.dunsirn.com/content/xml/defaultPortlets.xml

#specify the default set of portlets the user can choose from
portlet.allportlets.url=http://cww.dunsirn.com/content/xml/portlets.xml

#specify the default portlet control that should be instantiated
portletcontrol.defaultinstance=org.apache.jetspeed.portal.DefaultPortletControl

#specify what default portlet controller should be instantiated
portletcontroller.defaultinstance=org.apache.jetspeed.portal.DefaultPortletContr

oller
#portletcontroller.defaultinstance=org.apache.jetspeed.portal.XMLPortletControll

er

##########################################
# Jetspeed content publication           #
##########################################
#Jetspeed ships with some content that it needs to function.  This
content must
#be available in order for Jetspeed to function correctly.  You should
specify
#the content.root here.  This should be a portion of a
#URL that is prefixed to all requests.

# Example:  /content -> /content/xml/mydocument.xml
# Example:  http://myserver/mycontent ->
http://myserver/mycontent/xml/mydocumen
t.xml
content.root = http://cww.dunsirn.com

##########################################
# 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/Jetspeed
DocumentCache
cache.directory=/tmp/JetspeedDocumentCache

##########################################
# Public Remote Object Storage System    #
##########################################
#Specify where Jetspeed should cache remote documents but that should
also be pu
blic.
#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

#The cache directory
public.cache.directory=/home/httpd/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.
public.cache.url=http://cww.dunsirn.com/jetspeed-cache


##########################################
# Portlet Configuration Options          #
##########################################
#Providing classes other then these will allow you to run your own
controller or
 control impls
defaultportletcontrol.instance =
"org.apache.jetspeed.portal.DefaultPortletContr
ol"
defaultportletcontroller.instance =
"org.apache.jetspeed.portal.DefaultPortletCo
ntroller"

#if you run the default controls and controller that comes with
Jetspeed... they
 take some params
defaultportletcontrol.width         = 340
defaultportletcontroller.numcolumns = 3
defaultportletcontroller.width      = 100%


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

thirdparty.portletrenderer =
http://avantgo.com/mydevice/autoadd.html?max=300&de
pth=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=/content/xml/defaultstyle.xsl


#########################################
# Cocoon config                         #
#########################################
#Jetspeed attempts to initialize it's own Cocoon Engine.
cocoon.properties=/usr/local/Cocoon/conf/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
refresh.portlet.default = 3600

#specify (in seconds) the offset interval that the
PersistentDocumentDaemon
#uses to refresh your disk cache.
refresh.persistentdocument.default = 3600

#########################################
# Portlet Markup                        #
#########################################

#specify the default set of portlets to use for the Home page
portletmarkup.default=/content/xml/defaultPortlets.xml

#specify the default set of portlets the user can choose from
portletmarkup.all=/content/xml/allPortlets.xml


#########################################
# ContentFeeds                          #
#########################################
#specify where Jetspeed should get it's content feed
contentfeeds.default=file:///home/httpd/html/content/xml/feeds/feeds.xml

#The stylesheet used to transform OCS into PortletMarkup
contentfeeds.stylesheet=file:///home/httpd/html/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.
contentfeeds.fetchall=false

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

#the total number of portets to browse at once within Jetspeed
contentfeeds.portletbrowser.maxportlets=15




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