I am currently stuck trying to get jetspeed to run. I receive the following exception after entering the URL http://localhost:8080/servlet/jetspeed:
Exception: java.lang.IllegalArgumentException: URI may not be null.
at org.apache.jetspeed.util.URIEncoder.decode(URIEncoder.java:127)
at org.apache.jetspeed.portal.PortletURIManager.getEntry(PortletURIManager.java:212)
at org.apache.jetspeed.turbine.screens.portlets.PortletViewerScreen.doBuild(PortletViewerScreen.java:108)
at org.apache.turbine.modules.Screen.build(Screen.java:88)
at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:117)
at org.apache.jetspeed.turbine.layouts.JetspeedLayout.doBuild(JetspeedLayout.java:139)
at org.apache.turbine.modules.Layout.build(Layout.java:81)
at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:111)
at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:134)
at org.apache.turbine.modules.Page.build(Page.java:81)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:111)
at Turbine.doGet(Turbine.java:322)
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.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:484)
I am using Jetspeed 1.2b1, Tomcat without Apache with the following files and would appreciate any feedback on what I have done wrong. I have searched the mail archives and could not find anything relative:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
JetspeedResources.properties:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
################################################################################
# Jetspeed Configuration
# Author: Kevin A. Burton ([EMAIL PROTECTED])
# $Id: JetspeedResources.properties,v 1.46 2000/06/13 19:19:51 burton Exp $
################################################################################
# This is the main file you will need to configuration Jetspeed. If there are
# any secondary files they will be pointed to from this file.
#
# All items in this file are stored as <property>=<value> pairs. In order to
# modify somethign just changes its value.
#
# Some properties are URL based. They can except http/file/etc based URLs. Note
# that if you don't specify the scheme but only specify it as "/my/new/path.html"
# Jetspeed will attempt to guess the URL. Normally this would be something like
# "http://server.domain:port/my/new/path.html". Note that some of the entries
# become public URLs and if you want your data more secure you might want to
# switch to "file://" based URLs.
#
#Conventions:
#
# <property>.url -> This property is expected to be a URL or a URL
# without a scheme. If it does not have a schema
# Jetspeed will try to determine the full URL.
#
# <property>.file -> Points to an actual file on your local filesystem.
#
# <property>.directory -> Points to a directory on your local filesystem.
#
# <property>.classname -> A fully qualified Java classname:
# EX: org.apache.jetspeed.<MY_CLASSNAME>
#
# <property>.interval -> A time interval in seconds
#
#
################################################################################
################################################################################
# THE FOLLOWING ARE "REQUIRED" PROPERTIES IN ORDER TO USE JETSPEED #
################################################################################
##########################################
# 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:/Portal/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
#########################################
# Cocoon config #
#########################################
#Jetspeed attempts to initialize it's own Cocoon Engine.
#cocoon.properties.file=/projects/jetspeed/src/config/cocoon.properties
cocoon.properties.file=/d:/Portal/Jetspeed-1.2b1/src/config/cocoon.properties
#NOTE: You should also set "processor.xsp.repository" within cocoon.properties
#########################################
# 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:/Portal/tmp/debug
#########################################
# Admin Username and Password definition#
#########################################
# It is required that you set a username and
# password to access the Admin console.
#specify the username for the Jetspeed admin console.
#Default: jetspeed
admin.username=turbine
#specify the password for the Jetspeed admin console
#Default: changeme
admin.password=turbine
##########################################
# 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=/usr/home/httpd/wwwroot/jetspeed-cache
public.cache.directory=/d:/Portal/jakarta-tomcat/webapps/ROOT/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/jetspeed-cache
################################################################################
# THE FOLLOWING ARE "OPTIONAL" PROPERTIES THAT ENABLE A CUSTOMIZED INSTALL #
################################################################################
##########################################
# 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=file:///projects/jetspeed/src/content/xml/defaultPortlets.xml
#portlet.default.url=file:///F:/Infomech/tomcat31/jetspeed/content/xml/defaultPortlets.xml
portlet.default.url=http://localhost:8080/jetspeed/content/xml/defaultPortlets.xml
#specify the default set of portlets the user can choose from
#portlet.allportlets.url=file:///projects/jetspeed/src/content/xml/portlets.xml
#portlet.allportlets.url=///F:/Infomech/tomcat31/content/xml/portlets.xml
portlet.allportlets.url=http://localhost:8080/jetspeed/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.DefaultPortletController
#portletcontroller.defaultinstance=org.apache.jetspeed.portal.XMLPortletController
#####################
#specify the default portlet control that should be instantiated
#Default: org.apache.jetspeed.portal.DefaultPortletControl
portletcontrol.default.classname=org.apache.jetspeed.portal.controls.TitlePortletControl
#specify what default portlet controller should be instantiated
#Default: org.apache.jetspeed.portal.DefaultPortletController
portletcontroller.default.classname=org.apache.jetspeed.portal.controllers.DefaultPortletController
#if you run the default controls and controller that comes with Jetspeed...
#they take some params
#Default: 100%
defaultportletcontrol.width=100%
#Default: 3
defaultportletcontroller.numcolumns=3
#Default: 100%
defaultportletcontroller.width=100%
##########################################
# 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/mydocument.xml
# Default: /content
content.root.url=/jetspeed/content
##########################################
# 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:/Portal/jakarta-tomcat/webapps/ROOT/jetspeed//content/xml/defaultstyle.xsl
#########################################
# Document refresh settings #
#########################################
# The default portlet expiration interval. Portlets that allows themselves to
# be refreshed will usually pay attention to
#this interval
#Default: 3600
refresh.portlet.default = 3600
#########################################
# 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=jetspeed/content/xsl/ocs.xsl
contentfeeds.stylesheet.url=jetspeed/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
#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 Items #
#########################################
#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.name=GlobalAdminPortlet
admin.portlet.name=JetspeedPropertiesPortlet
admin.portlet.name=MemoryStorePortlet
admin.portlet.name=JavaRuntimePortlet
admin.portlet.name=DaemonAdminPortlet
admin.portlet.name=JetspeedContentAdmin
admin.portlet.name=BadURLManagerPortlet
#########################################
# User Authentication #
#########################################
#turn this on if you want Jetspeed to support user authentication
#Default: true
enable.userauthentication=true
#note it you enable Authentication you must configure the following
#TurbineResources properties
#
#mail.server
#########################################
# Daemon Configuration #
#########################################
#provide a list of all daemon names
daemon.entry=feeddaemon
daemon.entry=diskcachedaemon
daemon.entry=badurlmanagerdaemon
daemon.feeddaemon.classname=org.apache.jetspeed.daemon.impl.FeedDaemon
daemon.feeddaemon.interval=3600
daemon.feeddaemon.onstartup=true
daemon.diskcachedaemon.classname=org.apache.jetspeed.daemon.impl.DiskCacheDaemon
daemon.diskcachedaemon.interval=3600
daemon.diskcachedaemon.onstartup=false
daemon.badurlmanagerdaemon.classname=org.apache.jetspeed.daemon.impl.BadURLManagerDaemon
daemon.badurlmanagerdaemon.interval=3600
daemon.badurlmanagerdaemon.onstartup=false
#########################################
# Jetspeed Content #
#########################################
#Jetspeed supports a more advanced weblog format that allows you to publish
#content to your website. This is based on RSS 0.91 but allows you to have
#more Slashdot style content with topics, icons, etc.
#Jetspeed content providers. This should be a multi-valued property set where
#you specify the list of providers you want to use:
#Default: jetspeed
content.provider.list=jetspeed
#Config: You need to tell Jetspeed how to fetch the content you want and
#what stylesheet to use. The mechanism is setup like this:
#
#content.provider.[provider-name].url=[url to your content xml file]
#content.provider.[provider-name].stylesheet.url=[url to the stylesheet to use with your content]
#content.provider.[provider-name].description=[a full description of your content]
#content.provider.[provider-name].title=[a title for your content.]
content.provider.jetspeed.url=/jetspeed/content/xml/jetspeed-content.xml
content.provider.jetspeed.stylesheet.url=/jetspeed/content/xsl/jpc-full.xsl
content.provider.jetspeed.title=Jetspeed
content.provider.jetspeed.description=Jetspeed weblog
#########################################
# PSML Support #
#########################################
# Base URL for fetching user configuration files
# the config files should be in the form <base.url><username>.psml
#psml.base.url=/content/psml/
psml.base.url=/jetspeed/content/psml/
# Username used for anonymous access (this should map to a <username>.psml file
# found in the psml.base.url directory)
psml.base.username=default
# File used the store a portlet registry (still experimental)
psml.registry.url=/jetspeed/content/psml/portletregistry.psml
#########################################
# Navigations. #
#########################################
#Use this to specify the set of navigations
#that Jetspeed should use on top of Turbine
navigations.top=JetspeedTopNavigation
navigations.bottom=JetspeedBottomNavigation
#########################################
# Navigation configuration #
#########################################
#Use this section to define the navigation images
#and strings
#The logo image that goes at the top of Jetspeed
site.header.logo=/jetspeed/content/images/jetspeed-logo.gif
#The welcome message the user receives
site.header.welcome=Welcome to Jetspeed
#The logo that can go at the bottom of a navigation
site.footer.logo=/jetspeed/content/images/feather.gif
#########################################
# Automatic Portlet Creation #
#########################################
# Jetspeed can automatically create/instantiate all your Portlets and place them
# in the cache when Jetspeed starts up.
autocreate.portlets=false
#########################################
# Thread Pool Options #
#########################################
#NOTE/WARNING: The below settings are for developers only. There is a known problem
#where (at least on IBM 1.1.8, SUN 1.2.2, and IBM 1.3 (pre release) CPU would go
#to 100% and your VM would lock. The debugger would also stop responding at this
#point so it is impossible to debug. If you change any settings in this section
#you are on your own! You have been warned!.
#Specify the initial number of threads to create
#Default: 20
threadpool.init.count=20
#Specify the maximum number of threads to create
#Default: 50
threadpool.max.count=50
#Specify the minimum number of threads to keep as spare until you hit the max
#Default: 10
threadpool.minspare.count=10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Turbine.properties:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Your mail server for outgoing email.
# Default: null
mail.server=localhost
# This is the module to handle building AccessControlLists
# Default: org.apache.turbine.om.security.DefaultAccessControl
access.control=org.apache.turbine.om.security.DefaultAccessControl
# This determines whether or not to cache the modules in memory.
# For development, turn this off. For production, turn this on.
# Default: false
module.cache=false
# If module.cache=true, then how large should we make the
# hashtables by default.
action.cache.size=20
layout.cache.size=10
navigation.cache.size=10
page.cache.size=5
screen.cache.size=50
scheduledjob.cache.size=10
# This is the "classpath" for Turbine. In order to locate
# your own modules, you should add them to this path.
# For example, if you have com.company.actions,
# com.company.screens, com.company.navigations, then
# this setting would be "com.company,org.apache.turbine.modules"
# This path is searched in order. For example, Turbine
# comes with a screen module named "Login". If you wanted
# to have your own screen module named "Login", then you
# would specify the path to your modules before the
# Default: org.apache.turbine.modules
module.packages=org.apache.jyve,org.apache.jetspeed.turbine,org.apache.turbine.modules
#module.packages=
# This is the class that implements the User interface
# Default: org.apache.turbine.om.user.TurbineUser
user.class=org.apache.turbine.om.user.TurbineUser
# These are your database settings, look in the
# org.apache.turbine.util.db.pool.* packages for more information.
#### ORACLE
#database.default.driver=oracle.jdbc.driver.OracleDriver
#database.default.url=jdbc:oracle:thin:@localhost:1521:ORCL
#### MySQL MM Driver
database.default.driver=org.gjt.mm.mysql.Driver
database.default.url=jdbc:mysql://localhost/Turbine
database.default.username=bgebbie
database.default.password=bgebbie
# The number of database connections to cache in the ConnectionPool.
database.maxConnections=3
# The time in milliseconds that database connections will be cached.
# Default: one hour
database.expiryTime=3600000
# These are the supported jdbc-drivers and their adaptors.
# These properties are used by the DBFactory.
database.adaptor=DBMM
database.adaptor.DBMM=org.gjt.mm.mysql.Driver
database.adaptor=DBWeblogic
database.adaptor.DBWeblogic=weblogic.jdbc.pool.Driver
database.adaptor=DBOracle
database.adaptor.DBOracle=oracle.jdbc.driver.OracleDriver
database.adaptor=DBInstantDB
database.adaptor.DBInstantDB=jdbc.idbDriver
database.adaptor=DBPostgres
database.adaptor.DBPostgres=postgresql.Driver
database.adaptor=DBDB2Net
database.adaptor.DBDB2Net=COM.ibm.db2.jdbc.net.DB2Driver
database.adaptor=DBDB2App
database.adaptor.DBDB2App=COM.ibm.db2.jdbc.app.DB2Driver
#database.adaptor=DBSybase
#database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
# These are the default settings for OPaL persistence.
# mechanism.
# Default: false
#opal.start=true
opal.start=false
opal.dbbroker.classname=org.apache.turbine.opl.database.DbBrokerImpl
# This is the default screen to show to people when they
# first access the system. You can override this by
# specifying module.packages to include your own modules.
# Default: Login
#screen.homepage=Home
screen.homepage=portlets.PortletViewerScreen
# This is the page that is shown on an incorrect login
# attempt. It is referenced in the LoginUser action
# Default: Login
#screen.login=Login
screen.login=JetSpeedLogon
# This is the default error screen
# Default: Error
screen.error=Error
# This is the screen that is displayed when the user's
# web page is in an invalid state.
# Default: error.InvalidState
screen.invalidstate=error.InvalidState
# set the default Doctype. The default Doctype can be set by
# using the single strings: Html40Strict, Html40Transitional,
# or Html40Frameset. Additionally the default can be supplied as
# two strings separated by a comma giving the dtd and uri.
# Default: ignored if not set to some value
# default.doctype=Html40Transitional
# The default location for ImageServer to find its files
# Default: d:/
screen.ImageServer.root=d:/
# This is the default action to log a user in.
# Default: LoginUser
#action.login=JLoginUser
action.login=LoginUser
# This is the default action to validate whether or not
# a session is valid. For example, if you want to make
# sure if a user has already logged in or not.
# Default: SessionValidator
# action.sessionvalidator=sessionvalidator.DefaultSessionValidator
# NOTE: Within Jetspeed this is defined below...
# This is the default action that builds up the AccessControlList
# for the individual users session
# Default: AccessController
action.accesscontroller=AccessController
# This is the default layout to apply.
# Default: DefaultLayout
layout.default=JetspeedLayout
# This is the default page module. You probably do not want
# to modify this.
# Default: DefaultPage
page.default=DefaultPage
# This is the file upload max file size.
# Default: 1000000
max.file.size.bytes=1000000
# This is the code that will be used to handle file upload
# Default: org.apache.turbine.util.upload.UploaderOReilly
file.upload.handler=org.apache.turbine.util.upload.UploaderOReilly
# This is the path where files will be uploaded
# Default: .
file.upload.default.path=.
# This is the file server where files will be uploaded for
# mulipart/form-data requests
# Default: none
#file.server=
# This indicates whether Turbine should try to create JNDI contexts.
# Default: false
# contexts=true
# This indicates the action that should be run to create JNDI initial contexts.
# Default: InitContextsAction
action.initcontexts=InitContextsAction
# These are the JNDI context properties.
# Each context's properties are defined by the properties
# beginning with context.name.
# Default: none
#
# Example:
# The following will create a JNDI context named "name" in the
# data.contexts Hashtable. It will point at the RMI registry
# on localhost running on port 1099, and will use
# com.sun.jndi.rmi.registry.RegistryContextFactory as the initial
# context factory:
#
# context.name.java.naming.provider.url=rmi://localhost:1099
context.name.java.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory
# The full path name to a log file
# if not given, commands to log events using org.apache.turbine.util.Log will be ignored.
# This file must already exist and be writable.
# Default: none
#
logfile=/d:/Portal/logs/jturbine.log
# Supplies Turbine with information about the database schema, which can simplify any
# required Peer classes.
# Default: org.apache.turbine.util.db.map.TurbineMapBuilder
database.maps.builder=org.apache.turbine.util.db.map.TurbineMapBuilder
# The message that can be displayed before a user logs in.
# login.message=Thank you for your visit. Please log into the system.
# The message that can be displayed when no screen is defined.
login.message.noscreen=There has been an error. Your session is valid but the screen variable is not defined.
# The message that can be displayed when a user enters an incorrect password or username.
login.error=Sorry your username or password is incorrect!
# The message that can be displayed when a user logs out.
logout.message=Thank you for using the system. Please come back soon.
# Whether the web server is able to use SSL. Links in Turbine can check this property to determine
# if SSL can be used. Default=true
use.ssl=true
# Classes for Turbine Services should be defined here.
# Format: services.[name].classname
services.TurbineResourceService.classname=org.apache.turbine.services.resources.TurbineResourceService
services.TurbineLocalizationService.classname=org.apache.turbine.services.localization.TurbineLocalizationService
services.TurbineWebMacroService.classname=org.apache.turbine.services.webmacro.TurbineWebMacroService
services.TurbineFreeMarkerService.classname=org.apache.turbine.services.freemarker.TurbineFreeMarkerService
services.TurbineGlobalCacheService.classname=org.apache.turbine.services.cache.TurbineGlobalCacheService
services.TurbineSchedulerService.classname=org.apache.turbine.services.schedule.TurbineSchedulerService
# Default ResourceBundle and language/country codes
# used by the TurbineLocalizationService.
locale.default.bundle=org.apache.jyve.localization.JyveLocalization
locale.default.language=en
locale.default.country=US
# Scheduler Service
# Set enabled to true to start the scheduler.
# Default = false
scheduler.enabled=false
# FreeMarker path where templates are stored.
services.freemarker.path=/d:/Portal/Apache-Turbine-20000808/src/java/org/apache/turbine/samples/templates/freemarker
# This is used in the UserFactory.validateUser
# to make the password checking secure. passwords must be
# stored in the database as SHA encoded strings. validation
# is done by SHA encoding the password provided by the user
# and then comparing that to whatever is in a database
# This feature is experimental right now.
# Default: false
secure.passwords=false
###################################
#Jetspeed specific configurations #
###################################
# The message that can be displayed before a user logs in.
login.message=Please login to Jetspeed
#the properties file for Jetspeed
#jetspeed.properties=/projects/jetspeed/src/config/JetspeedResources.properties
jetspeed.properties=/d:/Portal/Jetspeed-1.2b1/src/config/JetspeedResources.properties
# This is the default action to validate whether or not
# a session is valid. For example, if you want to make
# sure if a user has already logged in or not.
# Default: SessionValidator
action.sessionvalidator=JetspeedSessionValidator
#action.sessionvalidator=org.apache.jetspeed.turbine.actions.JetspeedSessionValidator
###################################
#Jyve specific configurations #
###################################
# Set the values below to be appropriate values for your environment:
[EMAIL PROTECTED]
jyve.confirm.email.name=Jetspeed Confirmation
jyve.confirm.email.subject=Jetspeed - New Account Confirmation
jyve.images.root=/path/to/images/root/
# You can modify the following color values according your personal taste:
jyve.display.color.row.unreleased=FFFF00
jyve.display.color.table.background=CCCCCC
jyve.display.color.row.title=006666
jyve.display.color.row.unreleased.question=FF8800
jyve.topbar.color.cell.bg.title=006666
jyve.topbar.htmlcolor.cell.text.title=white
jyve.topbar.color.cell.bg.value=CCCCCC
jyve.topbar.htmlcolor.cell.text.value=black
# You can modify the following options according your personal taste:
# Those affect the appearance in the DisplayQuestionAnswer screen.
jyve.displayqa.showcreator=yes
jyve.displayqa.showlastmodifieddate=yes
jyve.mainmenu=Home
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
web.xml:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<!--
<servlet>
<servlet-name>
Turbine
</servlet-name>
<servlet-class>
Turbine
</servlet-class>
<init-param>
<param-name>
properties
</param-name>
<param-value>
turbine/TurbineResources.properties
</param-value>
</init-param>
</servlet>
-->
<servlet>
<servlet-name>
jetspeed
</servlet-name>
<servlet-class>
Turbine
</servlet-class>
<init-param>
<param-name>
properties
</param-name>
<param-value>
jetspeed/TurbineResources.properties
</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>
default
</servlet-name>
<servlet-class>
org.apache.tomcat.servlets.DefaultServlet
</servlet-class>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
<servlet>
<servlet-name>
invoker
</servlet-name>
<!--
org.apache.tomcat.servlets.NoInvokerServlet
-->
<servlet-class>
org.apache.tomcat.servlets.InvokerServlet
</servlet-class>
</servlet>
<servlet>
<servlet-name>
jsp
</servlet-name>
<servlet-class>
org.apache.jasper.runtime.JspServlet
</servlet-class>
<!-- uncomment the following to use Jikes for JSP compilation
<init-param>
<param-name>jspCompilerPlugin</param-name>
<param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
</init-param>
-->
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
invoker
</servlet-name>
<url-pattern>
/servlet/*
</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>
jsp
</servlet-name>
<url-pattern>
*.jsp
</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<mime-mapping>
<extension>
txt
</extension>
<mime-type>
text/plain
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
html
</extension>
<mime-type>
text/html
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
htm
</extension>
<mime-type>
text/html
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
gif
</extension>
<mime-type>
image/gif
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
jpg
</extension>
<mime-type>
image/jpeg
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
jpe
</extension>
<mime-type>
image/jpeg
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
jpeg
</extension>
<mime-type>
image/jpeg
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
java
</extension>
<mime-type>
text/plain
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
body
</extension>
<mime-type>
text/html
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
rtx
</extension>
<mime-type>
text/richtext
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
tsv
</extension>
<mime-type>
text/tab-separated-values
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
etx
</extension>
<mime-type>
text/x-setext
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ps
</extension>
<mime-type>
application/x-postscript
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
class
</extension>
<mime-type>
application/java
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
csh
</extension>
<mime-type>
application/x-csh
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
sh
</extension>
<mime-type>
application/x-sh
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
tcl
</extension>
<mime-type>
application/x-tcl
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
tex
</extension>
<mime-type>
application/x-tex
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
texinfo
</extension>
<mime-type>
application/x-texinfo
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
texi
</extension>
<mime-type>
application/x-texinfo
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
t
</extension>
<mime-type>
application/x-troff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
tr
</extension>
<mime-type>
application/x-troff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
roff
</extension>
<mime-type>
application/x-troff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
man
</extension>
<mime-type>
application/x-troff-man
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
me
</extension>
<mime-type>
application/x-troff-me
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ms
</extension>
<mime-type>
application/x-wais-source
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
src
</extension>
<mime-type>
application/x-wais-source
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
zip
</extension>
<mime-type>
application/zip
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
bcpio
</extension>
<mime-type>
application/x-bcpio
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
cpio
</extension>
<mime-type>
application/x-cpio
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
gtar
</extension>
<mime-type>
application/x-gtar
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
shar
</extension>
<mime-type>
application/x-shar
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
sv4cpio
</extension>
<mime-type>
application/x-sv4cpio
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
sv4crc
</extension>
<mime-type>
application/x-sv4crc
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
tar
</extension>
<mime-type>
application/x-tar
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ustar
</extension>
<mime-type>
application/x-ustar
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
dvi
</extension>
<mime-type>
application/x-dvi
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
hdf
</extension>
<mime-type>
application/x-hdf
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
latex
</extension>
<mime-type>
application/x-latex
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
bin
</extension>
<mime-type>
application/octet-stream
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
oda
</extension>
<mime-type>
application/oda
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
pdf
</extension>
<mime-type>
application/pdf
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ps
</extension>
<mime-type>
application/postscript
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
eps
</extension>
<mime-type>
application/postscript
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ai
</extension>
<mime-type>
application/postscript
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
rtf
</extension>
<mime-type>
application/rtf
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
nc
</extension>
<mime-type>
application/x-netcdf
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
cdf
</extension>
<mime-type>
application/x-netcdf
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
cer
</extension>
<mime-type>
application/x-x509-ca-cert
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
exe
</extension>
<mime-type>
application/octet-stream
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
gz
</extension>
<mime-type>
application/x-gzip
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
Z
</extension>
<mime-type>
application/x-compress
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
z
</extension>
<mime-type>
application/x-compress
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
hqx
</extension>
<mime-type>
application/mac-binhex40
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
mif
</extension>
<mime-type>
application/x-mif
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ief
</extension>
<mime-type>
image/ief
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
tiff
</extension>
<mime-type>
image/tiff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
tif
</extension>
<mime-type>
image/tiff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ras
</extension>
<mime-type>
image/x-cmu-raster
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
pnm
</extension>
<mime-type>
image/x-portable-anymap
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
pbm
</extension>
<mime-type>
image/x-portable-bitmap
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
pgm
</extension>
<mime-type>
image/x-portable-graymap
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
ppm
</extension>
<mime-type>
image/x-portable-pixmap
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
rgb
</extension>
<mime-type>
image/x-rgb
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
xbm
</extension>
<mime-type>
image/x-xbitmap
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
xpm
</extension>
<mime-type>
image/x-xpixmap
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
xwd
</extension>
<mime-type>
image/x-xwindowdump
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
au
</extension>
<mime-type>
audio/basic
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
snd
</extension>
<mime-type>
audio/basic
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
aif
</extension>
<mime-type>
audio/x-aiff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
aiff
</extension>
<mime-type>
audio/x-aiff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
aifc
</extension>
<mime-type>
audio/x-aiff
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
wav
</extension>
<mime-type>
audio/x-wav
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
mpeg
</extension>
<mime-type>
video/mpeg
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
mpg
</extension>
<mime-type>
video/mpeg
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
mpe
</extension>
<mime-type>
video/mpeg
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
qt
</extension>
<mime-type>
video/quicktime
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
mov
</extension>
<mime-type>
video/quicktime
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
avi
</extension>
<mime-type>
video/x-msvideo
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
movie
</extension>
<mime-type>
video/x-sgi-movie
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
avx
</extension>
<mime-type>
video/x-rad-screenplay
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
wrl
</extension>
<mime-type>
x-world/x-vrml
</mime-type>
</mime-mapping>
<mime-mapping>
<extension>
mpv2
</extension>
<mime-type>
video/mpeg2
</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
</welcome-file-list>
</web-app>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note that I have managed to get Turbine up and running so I believe I am close to getting Jetspeed to run.
