You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by we...@apache.org on 2004/02/04 22:48:55 UTC

cvs commit: jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf jetspeed.properties

weaver      2004/02/04 13:48:55

  Modified:    portal/src/webapp/WEB-INF/conf jetspeed.properties
  Log:
  added JNDIService and HSQLService configurations
  
  Revision  Changes    Path
  1.30      +74 -1     jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/jetspeed.properties
  
  Index: jetspeed.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/webapp/WEB-INF/conf/jetspeed.properties,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- jetspeed.properties	16 Jan 2004 19:54:34 -0000	1.29
  +++ jetspeed.properties	4 Feb 2004 21:48:55 -0000	1.30
  @@ -9,6 +9,11 @@
   portal.name = Jetspeed
   portal.version = 2.0
   
  +# By setting this to true, the Engine will create its own
  +# JNDI context.  Not needed in deployment.  We use Tomcat's JNDI
  +# instead.
  +portal.use.internal.jndi=false
  +
   # -------------------------------------------------------------------
   #  Portlet Mode Support
   # -------------------------------------------------------------------
  @@ -128,6 +133,49 @@
   services.IdGenerator.peid.suffix=
   services.IdGenerator.earlyInit = true
   
  +# --------------------------------------------------------------------------
  +# JNDI Support Service (Only needed if the current container does not support JNDI)
  +#---------------------------------------------------------------------------
  +# this is turned off in the deployment configuration since the default target container, tomcat,
  +# supports JNDI.
  +# services.JNDIService.classname=org.apache.jetspeed.cps.jndi.TyrexJNDIService
  +# services.JNDIService.earlyInit = true
  +
  +
  +# --------------------------------------------------------------------------
  +# HSQL Server (Only needed if you are using HSQL)
  +#---------------------------------------------------------------------------
  +services.HSQLDBServer.classname=org.apache.jetspeed.cps.hsql.HSQLDBServer
  +services.HSQLDBServer.port=9001
  +services.HSQLDBServer.user=sa
  +services.HSQLDBServer.password=
  +# Quiet logging from HSQL
  +services.HSQLDBServer.silent=true
  +# turn DB trace in HSQL
  +services.HSQLDBServer.trace=false
  +services.HSQLDBServer.db.path=WEB-INF/db/hsql/Registry
  +services.HSQLDBServer.earlyInit = true
  +services.HSQLDBServer.use.jndi.datasource=false
  +# The configuration below is only needed when running tests OR
  +# when running jetspeed in a container that does not support JNDI
  +# datasources natively.  Since the default target is Tomcat, which does 
  +# support JNDI datasources, this is disabled in the deploymeny configuration
  +
  +# use the below lines to setup HSQL within a JNDI pooled Datasource
  +# services.HSQLDBServer.use.jndi.datasource=true
  +
  +# services.HSQLDBServer.jndi.datasource.name=jdbc/jetspeed
  +# services.HSQLDBServer.jndi.datasource.maxActive=25
  +# When the pool is exhausted do 1 of the following
  +# "grow"  increases the pool size by 1
  +# "fail"   a "noSuchElementException" is thrown
  +# "block"  waits for a datasource to become available
  +# services.HSQLDBServer.jndi.datasource.when.exhausted=grow
  +# The amount of time block while waiting for a released
  +# object.  Only used if "block" is specified
  +# services.HSQLDBServer.jndi.datasource.max.block.wait=5000
  +
  +
   #--------------------------------------------------------------------
   # P E R S I S T E N C E    S E R V I C E
   #--------------------------------------------------------------------
  @@ -141,6 +189,31 @@
   # -------------------------------------------------------------------
   services.PortletRegistry.classname=org.apache.jetspeed.registry.impl.PersistentPortletRegistryService
   services.PortletRegistry.earlyInit = true
  +# common objects
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Description.portletApplication=org.apache.jetspeed.om.impl.PortletAppDescriptionImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Description.webApplication=org.apache.jetspeed.om.impl.WebAppDescriptionImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Description.portlet=org.apache.jetspeed.om.impl.PortletDescriptionImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Description.portletEntity=org.apache.jetspeed.om.impl.PortletEntityDescriptionImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Description.parameter=org.apache.jetspeed.om.impl.ParameterDescriptionImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Description.preference=org.apache.jetspeed.om.impl.PreferenceDescriptionImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Description.securityRoleRef=org.apache.jetspeed.om.impl.SecurityRoleRefDescriptionImpl
  +
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.DisplayName.portlet=org.apache.jetspeed.om.impl.PortletDisplayNameImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.DisplayName.webapp=org.apache.jetspeed.om.impl.WebAppDisplayNameImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Language=org.apache.jetspeed.om.impl.LanguageImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Parameter.portlet=org.apache.jetspeed.om.impl.PortletInitParameterImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Parameter.webapp=org.apache.jetspeed.om.impl.ServletInitParameterImpl
  +
  +# portlet objects
  +services.PortletRegistry.implementation.org.apache.pluto.om.portlet.ContentType=org.apache.jetspeed.om.portlet.impl.ContentTypeImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.portlet.PortletApplicationDefinition=org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.portlet.PortletDefinition=org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl
  +                                
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Preference.default=org.apache.jetspeed.om.preference.impl.DefaultPreferenceImpl
  +services.PortletRegistry.implementation.org.apache.pluto.om.common.Preference.user=org.apache.jetspeed.om.preference.impl.PreferenceImpl
  +#web app objects
  +services.PortletRegistry.implementation.org.apache.pluto.om.servlet.WebApplicationDefinition=org.apache.jetspeed.om.servlet.impl.WebApplicationDefinitionImpl
  +
   
   # -------------------------------------------------------------------
   #  C A P A B I L I T Y 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org