⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resultmergejetspeedresources.properties

📁 jetspeed源代码
💻 PROPERTIES
📖 第 1 页 / 共 2 页
字号:
# Copyright 2004 The Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

################################################################################

# Jetspeed Configuration                             

# Author: Kevin A. Burton (burton@apache.org)

################################################################################

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

################################################################################



##########################################



#########################################

# Jetspeed Datasbase Service            #

#########################################

# services.JetspeedDatabase.classname=org.apache.jetspeed.services.db.ObjectBridgeDatabaseService



##########################################

# 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=${webappRoot}/WEB-INF/cache



#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



# Default (minimal) expiration time for URLs in seconds.

# External URL that return a "Expires:" header will use the returned value.

# This value will be used for those URL that specify "0" or do not have a

# "Expires:" header.

# Default: 900 seconds (fifteen minutes).

cache.default.expiration=900





#########################################

# 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=/WEB-INF/tmp



###############################################################################

#  THE FOLLOWING ARE "OPTIONAL" PROPERTIES THAT ENABLE A CUSTOMIZED INSTALL    #

################################################################################





##########################################

# Portlet Configuration                  #

##########################################

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



#########################################

# Stylesheet.                           #

#########################################

#Use this to specify the HTML stylesheet

site.stylesheet=css/upstate.css



######################################

# Metadata Options                   #

######################################



# default string displayed when no title is found for a portlet

metadata.default.title=No title set



# default string displayed when no description is found for a portlet

metadata.default.description=No description found. Generic portlet



# default image displayed when no image is defined for a portlet

metadata.default.image=images/dot.gif



##########################################

# 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=/

content.defaultencoding=iso-8859-1



#########################################

# 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





#########################################

# 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



contentfeeds.feed.name=local

contentfeeds.feed.name=apache

#contentfeeds.feed.name=xmltree

#contentfeeds.feed.name=10am

#contentfeeds.feed.name=moreover



contentfeeds.feed.local.description=Sample local OCS Feed

contentfeeds.feed.local.url=/ocs/local.ocs



contentfeeds.feed.apache.description=ASF OCS Feed ( http://www.apache.org/ )

contentfeeds.feed.apache.url=http://jakarta.apache.org/jetspeed/channels/apache.ocs



#contentfeeds.feed.xmltree.description=XML Tree OCS Feed ( http://www.xmltree.com )

#contentfeeds.feed.xmltree.url=http://www.xmltree.com/export/ocs.cfm



#contentfeeds.feed.10am.description=10.am OCS Feed ( http://www.10.am )

#contentfeeds.feed.10am.url=http://10.am/extra/ocsdirectory.xml



#contentfeeds.feed.moreover.description=Moreover OCS Feed ( http://www.moreover.com )

#contentfeeds.feed.moreover.url=http://w.moreover.com/categories/ocs/ocsdirectory.rdf



#The stylesheet used to transform OCS into PortletMarkup

contentfeeds.stylesheet.url=/WEB-INF/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



#########################################

# URLManager Service                    #

#########################################

services.URLManager.classname=org.apache.jetspeed.services.urlmanager.JetspeedURLManagerService

services.URLManager.url=/WEB-INF/conf/datasources.properties





#########################################

# Daemon Configuration                  #

#########################################



#provide a list of all daemon names

services.DaemonFactory.classname=org.apache.jetspeed.services.daemonfactory.JetspeedDaemonFactoryService

daemon.entry=feeddaemon

daemon.entry=diskcachedaemon

daemon.entry=badurlmanagerdaemon



daemon.feeddaemon.classname=org.apache.jetspeed.daemon.impl.FeedDaemon

daemon.feeddaemon.interval=10800

daemon.feeddaemon.onstartup=true



daemon.diskcachedaemon.classname=org.apache.jetspeed.daemon.impl.DiskCacheDaemon

daemon.diskcachedaemon.interval=3600

daemon.diskcachedaemon.onstartup=true



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=/jcm/jetspeed-content.xml

content.provider.jetspeed.stylesheet.url=/WEB-INF/xsl/jpc-full.xsl

content.provider.jetspeed.title=Jetspeed

content.provider.jetspeed.description=Jetspeed weblog



#########################################

# Automatic Portlet Creation            #

#########################################

# Jetspeed can automatically create/instantiate all your Portlets and place them

# in the cache when Jetspeed starts up.  

autocreate.portlets=false



#########################################

# IdGenerator Service                    #

#########################################

# Classname of the ID Generation implemented as a Turbine service.

services.IdGenerator.classname=org.apache.jetspeed.services.idgenerator.JetspeedIdGeneratorService



# counter.start - Initial value of conter as a base 10 integer.  JetspeedIdGenerator 

#                 will return the HEX representation of the value so 160 = a0.

#                 Default = 65536 (HEX representation = 1000)

services.IdGenerator.counter.start=65536



# peid.prefix   - Prefix of PEID. Default = P-

services.IdGenerator.peid.prefix=P-



# peid.suffix   - Suffix of PEID. Default = (nothing)

services.IdGenerator.peid.suffix=



#########################################

# ThreadPool Service                    #

#########################################

services.ThreadPool.classname=org.apache.jetspeed.services.threadpool.JetspeedThreadPoolService



#Specify the initial number of threads to create

#Default: 50

services.ThreadPool.init.count=5



#Specify the maximum number of threads to create

#Default: 100

services.ThreadPool.max.count=20



#Specify the minimum number of threads to keep as spare until you hit the max

#Default: 15

services.ThreadPool.minspare.count=5


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -