No such luck. I can't spot what's wrong with my setup.
Has anyone got jyve running under the tdk? If so advice would be very
welcome.
i.e. what is the url to call? My understanding is that
/<zone>/servlet/Turbine should bring up the default screen, which is defined
in screen.homepage as MainMenu.
Here's my TurbineResources.properties if anyone has a chance to glance their
eye over it.
Help gratefully received.
Tim
# -------------------------------------------------------------------
# $Id: TurbineResources.properties,v 1.37 2000/10/17 17:34:16 jvanzyl Exp $
#
# This is the configuration file for Turbine.
# -------------------------------------------------------------------
# -------------------------------------------------------------------
#
# L O G S
#
# -------------------------------------------------------------------
# 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=./webapps/jyve/logs/turbine.log
#
# The following allows for the creation of multiple logs within
# turbine. Be sure that each turbine.logs entry has a corresponding
# turbine.log.[logname] entry.
#
# Example:
# turbine.logs=database
# turbine.logs=security
# turbine.log.security=/turbine/logs/turbine-security.log
# turbine.log.database=/turbine/logs/turbine-database.log
# -------------------------------------------------------------------
#
# M A I L S E R V E R
#
# -------------------------------------------------------------------
# Your mail server for outgoing email.
#
# Default: null
# -------------------------------------------------------------------
mail.server=
# -------------------------------------------------------------------
#
# A C C E S S C O N T R O L L I S T S
#
# -------------------------------------------------------------------
# This is the module to handle building AccessControlLists.
#
# Default: org.apache.turbine.om.security.DefaultAccessControl
# -------------------------------------------------------------------
access.control=org.apache.turbine.om.security.DefaultAccessControl
# -------------------------------------------------------------------
#
# M O D U L E C A C H I N G
#
# -------------------------------------------------------------------
# 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
# -------------------------------------------------------------------
#
# M O D U L E P A C K A G E S
#
# -------------------------------------------------------------------
# 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 others.
#
# Default: org.apache.turbine.modules
# -------------------------------------------------------------------
module.packages=org.apache.jyve
# -------------------------------------------------------------------
#
# D A T A B A S E S E T T I N G S
#
# -------------------------------------------------------------------
# These are your database settings. Look in the
# org.apache.turbine.util.db.pool.* packages for more information.
# The default driver for Turbine is for MySQL.
#
# The parameters to connect to the default database. You MUST
# configure these properly.
# -------------------------------------------------------------------
database.default.driver=org.gjt.mm.mysql.Driver
database.default.url=jdbc:mysql://localhost:3306/jyve
database.default.username=
database.default.password=
# The number of database connections to cache per ConnectionPool
# instance.
database.maxConnections=3
# The amount of time (in milliseconds) a connection request will have to
wait
# before a time out occurs and an error is thrown.
#
# Default: ten seconds = 10 * 1000
database.connectionWaitTimeout=10000
# The amount of time (in milliseconds) that database connections will be
# cached.
#
# Default: one hour = 60 * 60 * 1000
database.expiryTime=3600000
# These are the supported JDBC drivers and their associated Turbine
# adaptor. These properties are used by the DBFactory. You can add
# all the drivers you want here.
database.adaptor=DBMM
database.adaptor.DBMM=org.gjt.mm.mysql.Driver
#
# Determines if the quantity column of the IDBroker's id_table should
# be increased automatically if requests for ids reaches a high
# volume.
database.idbroker.cleverquantity=true
# -------------------------------------------------------------------
#
# T E M P L A T E S E T T I N G S
#
# -------------------------------------------------------------------
# These are variables to set if you're using a template system
# (Velocity, WebMacro, FreeMarker, etc.) with Turbine.
# -------------------------------------------------------------------
# Used to set the template homepage if you are using a template
# layout.
#
# Default: /index.wm
template.homepage=/index.wm
# 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=MainMenu
# This is the page that is shown on an incorrect login attempt. It is
# referenced in the LoginUser action
#
# Default: Login
screen.login=Login
# This is the default error screen.
#
# Default: Error
#
screen.error=WebMacroSiteErrorScreen
# 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:/asdfasdfasdf
screen.ImageServer.root=d:/asdfasdfasdf
# This is the default action to log a user in.
# Default: LoginUser
action.login=JLoginUser
# 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.TemplateSessionValidator
# 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=DefaultLayout
#
# This is the default page module. You probably do not want to modify
# this.
#
# Default: DefaultPage
#
page.default=DefaultPage
# This is the file server where files will be uploaded for
# mulipart/form-data requests.
#
# Default: none
# file.server=
# -------------------------------------------------------------------
#
# J N D I C O N T E X T S
#
# -------------------------------------------------------------------
# This indicates whether Turbine should try to create JNDI contexts.
#
# Default: false
#
# contexts=true
# 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.RegistryC
ontextFactory
# -------------------------------------------------------------------
#
# P E E R S
#
# -------------------------------------------------------------------
# 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
# -------------------------------------------------------------------
#
# M E S S A G E S
#
# -------------------------------------------------------------------
# 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.
# -------------------------------------------------------------------
#
# S E C U R E S O C K E T S L A Y E R
#
# -------------------------------------------------------------------
# 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
# -------------------------------------------------------------------
#
# S E R V I C E S
#
# -------------------------------------------------------------------
# Classes for Turbine Services should be defined here.
# Format: services.[name].classname=[implementing class]
#
# To specify properties of a service use the following syntax:
# service.[name].[property]=[value]
# -------------------------------------------------------------------
services.TurbineResourceService.classname=org.apache.turbine.services.resour
ces.TurbineResourceService
services.TurbineAssemblerBrokerService.classname=org.apache.turbine.services
.assemblerbroker.TurbineAssemblerBrokerService
services.TurbineLocalizationService.classname=org.apache.turbine.services.lo
calization.TurbineLocalizationService
services.TurbineGlobalCacheService.classname=org.apache.turbine.services.cac
he.TurbineGlobalCacheService
services.TurbineSchedulerService.classname=org.apache.turbine.services.sched
ule.TurbineSchedulerService
services.TurbineXmlRpcService.classname=org.apache.turbine.services.xmlrpc.T
urbineXmlRpcService
services.TurbineTemplateService.classname=org.apache.turbine.services.templa
te.TurbineTemplateService
services.TurbineUniqueIdService.classname=org.apache.turbine.services.unique
id.TurbineUniqueIdService
services.TurbineUploadService.classname=org.apache.turbine.services.upload.T
urbineUploadService
services.TurbinePoolBrokerService.classname=org.apache.turbine.services.db.P
oolBrokerService
services.TurbineSecurityService.classname=org.apache.turbine.services.securi
ty.DBSecurityService
# Turn on the appropriate template service.
services.TurbineWebMacroService.classname=org.apache.turbine.services.webmac
ro.TurbineWebMacroService
# -------------------------------------------------------------------
#
# A S S E M B L E R B R O K E R S E R V I C E
#
# -------------------------------------------------------------------
# A list of AssemblerFactory classes that will be registered
# with TurbineAssemblerBrokerService
# -------------------------------------------------------------------
services.TurbineAssemblerBrokerService.screen=org.apache.turbine.util.assemb
lerbroker.java.JavaScreenFactory
#services.TurbineAssemblerBrokerService.screen=org.apache.turbine.util.assem
blerbroker.python.PythonScreenFactory
services.TurbineAssemblerBrokerService.action=org.apache.turbine.util.assemb
lerbroker.java.JavaActionFactory
services.TurbineAssemblerBrokerService.layout=org.apache.turbine.util.assemb
lerbroker.java.JavaLayoutFactory
services.TurbineAssemblerBrokerService.page=org.apache.turbine.util.assemble
rbroker.java.JavaPageFactory
services.TurbineAssemblerBrokerService.navigation=org.apache.turbine.util.as
semblerbroker.java.JavaNavigationFactory
# -------------------------------------------------------------------
#
# T E M P L A T E S E R V I C E
#
# -------------------------------------------------------------------
# Roughly, the number of templates in each category.
#
# Defaults: layout=2, navigation=10, screen=50
services.TurbineTemplateService.layout.cache.size=2
services.TurbineTemplateService.navigation.cache.size=10
services.TurbineTemplateService.screen.cache.size=50
# The extension that will be used when constructing default template
# names. E.g. if set to wm the service will assume layout names of
# "default.wm".
#
# Default: html
services.TurbineTemplateService.default.extension=wm
# The location of the templates. This should be the same locations as
# given for the template engine specific template path property. For
# jsdk 2.2 this can be relative to the webapp root.
#
# Default: /templates
services.TurbineTemplateService.template.path=/templates
# This is the default navigation module after none by the name Default
# have been located. Some possible values are WebMacroSiteNavigation
# or BaseFreeMarkerNavigation.
#
# Default: none
services.TurbineTemplateService.default.navigation=WebMacroSiteNavigation
# This is the default screen module after none by the name Default
# have been located. Some possible values are WebMacroSiteScreen or
# BaseFreeMarkerScreen.
#
# Default: none
services.TurbineTemplateService.default.screen=WebMacroSiteScreen
# This is the default layout template after none by the name
# default.{default.extension} have been located.
#
# Default: /default.{default.extension}
services.TurbineTemplateService.default.layout.template=/default.wm
# -------------------------------------------------------------------
#
# V E L O C I T Y S E R V I C E
#
# -------------------------------------------------------------------
# The location of WebMacro configuration file, relative to webapp root
services.TurbineVelocityService.properties=/WEB-INF/conf/velocity.properties
services.TurbineVelocityService.log=/logs/velocity.log
# The path where WebMacro will look for templates, relative to webapp root
# use your system's path separator to specify multiple paths
services.TurbineVelocityService.templates=/templates
# -------------------------------------------------------------------
#
# W E B M A C R O S E R V I C E
#
# -------------------------------------------------------------------
# The location of WebMacro configuration file, relative to webapp
# root.
services.TurbineWebMacroService.properties=/WEB-INF/conf/WebMacro.properties
# The path where WebMacro will look for templates, relative to webapp
# root. Use your system's path separator to specify multiple paths.
services.TurbineWebMacroService.templates=/templates
# The class that will act as a template provider in webmacro. We can
# use default class from WebMacro (template path above is pushed into
# WebMacro configuration mechanism, so that class can pick it up), or
# some other custom class
services.TurbineWebMacroService.templates.provider=org.apache.turbine.servic
es.webmacro.TurbineTemplateProvider
# -------------------------------------------------------------------
#
# F R E E M A R K E R S E R V I C E
#
# -------------------------------------------------------------------
# The path where FreeMarker will look for templates, relative to
# webapp root, if supported by the servlet engine.
#
# Default: /templates
services.TurbineFreeMarkerService.templates=/templates
# -------------------------------------------------------------------
#
# U P L O A D S E R V I C E
#
# -------------------------------------------------------------------
# Wheter the files should be automaticaly picked up by
# ParameterParser.
services.TurbineUploadService.automatic=false
#
# The directory where files will be temporarily stored.
#
services.TurbineUploadService.repository=.
#
# The maximum size of a request that will be processed.
#
services.TurbineUploadService.size.max=1048576
#
# The maximum size of a request that will have it's elements cached in
# memory by TurbineUploadService class.
#
services.TurbineUploadService.size.threshold=10240
# -------------------------------------------------------------------
#
# L O C A L I Z A T I O N S E R V I C E
#
# -------------------------------------------------------------------
# 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=UK
#
# This will set the charset= portion of the ContentType: header.
# Leave commented out unless you want to return stuff as a different
# charset.
#
# locale.default.charset=
# -------------------------------------------------------------------
#
# S C H E U D U L E R S E R V I C E
#
# -------------------------------------------------------------------
#
# Set enabled to true to start the scheduler.
#
# Default = false
#
scheduler.enabled=false
# -------------------------------------------------------------------
#
# S E C U R I T Y S E R V I C E
#
# -------------------------------------------------------------------
# This is the class that implements the User interface.
#
# Default: org.apache.turbine.om.security.DBUser
#
services.TurbineSecurityService.user.class=org.apache.turbine.om.security.DB
User
#
# 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
#
services.TurbineSecurityService.secure.passwords=false
#
# This variable controls the case folding applied to URL variable
# names.
#
# Allowed values: none, lower, upper
# Default: lower
#
# url.case.folding=none
# -------------------------------------------------------------------
#
# A D D I T I O N A L P R O P E R T I E S
#
# -------------------------------------------------------------------
# The full path name to an additional properties file. Properties in
# this file will be included in this property set. Duplicate name
# values will be replaced, so be careful.
#
# Default: none
# -------------------------------------------------------------------
include=
#=============================
# Jyve
#=============================
[EMAIL PROTECTED]
jyve.confirm.email.name=Jyve Confirmation
jyve.confirm.email.subject=Jyve - 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.displayqa.showprevnextnav=yes
---------------------------------------------
Tim Dudgeon
[EMAIL PROTECTED]
> -----Original Message-----
> From: D.R. Holsbeck [mailto:[EMAIL PROTECTED]]
> Sent: 16 November 2000 11:00 PM
> To: [EMAIL PROTECTED]
> Subject: Re: getting started jyve+tdk
>
>
> I had the same problems. From what I remember it was something in
> the TurbineResources.properties file. Start with the
> Turbine.Resources.properites file that is generated by tdk.
> The chnge the file 1 piece at a time. Untill you get the
> message. Thats the one thats mixed up. I would check mine
> but is offline right now. If you still cant get it. Include your
> properties file in a post and Ill compare them.
>
> [EMAIL PROTECTED] wrote:
>
> > I'm almost there with getting jyve running, but seem to be
> falling a the
> > last step. Could someone help?
> >
> > 1. Build jyve from the latest daily snapshot, using the jyve suplied
> > turbine-2.0.jar and other jars form tdk.
> > 2. Created new webapp (jyve) by hand and placed all jars in
> > webapps/jyve/WEB-INF/lib/
> > 3. Edited webapps/jyve/WEB-INF/web.xml as per instructions
> > 4. Copied TurbineResources.properties from TDK to
> webapps/jyve/WEB-INF/conf/
> > 5. Made changes to this file as per instructions
> > 6. Started tomcat. Saw
> >
> > 2000-11-16 12:13:41 - ContextManager: Adding context Ctx( /jyve )
> >
> > 7. Called http://myhost.com:port/jyve/servlet/Turbine and
> got a 404 error.
> > Console reports
> >
> > 2000-11-16 12:14:51 - Ctx( /jyve ): 404 R( /jyve +
> /servlet/Turbine + null)
> > null
> >
> > Any ideas what I'm doing wrong? Am I asking for the wrong URL. The
> > TurbineResources.properties (from the TDK) has lots of
> Velocity related
> > stuff set. Is this messing things up?
> >
> > Many thanks
> >
> > Tim
> >
>
> -- [EMAIL PROTECTED] Grabel's Law: 2 is not equal to 3
> -- not even for
> large values of 2.
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search the list:
> <http://www.mail-archive.com/jyve%40list.working-dogs.com/index.html>
> Problems?: [EMAIL PROTECTED]
>
--------------------------------------------------
DISCLAIMER: This message contains proprietary
information some or all of which may be
confidential and/or legally privileged. It is for
the intended recipient only who may use and apply
the information only for the intended purpose.
Internet communications are not secure and
therefore the British Biotech group does not
accept legal responsibility for the contents of
this message. Any views or opinions presented are
only those of the author and not those of the
British Biotech group. If you are not the intended
recipient please delete this e-mail and notify the
author immediately by calling ++44 (0)1865 748747;
do not use, disclose, distribute, copy, print or
rely on this e-mail.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search the list:
<http://www.mail-archive.com/jyve%40list.working-dogs.com/index.html>
Problems?: [EMAIL PROTECTED]