Hi,
I have combed through the turbine config file and can't find any other glaring
problems for this error. Thanks!
/Turbine/screen/MainMenu
java.lang.NullPointerException
at
org.apache.turbine.services.localization.Localization.getString(Localization.java,
Compiled Code)
at org.apache.jyve.screens.MainMenu.build(MainMenu.java, Compiled Code)
at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java, Compiled
Code)
at org.apache.jyve.layouts.DefaultLayout.build(DefaultLayout.java, Compiled
Code)
at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java, Compiled
Code)
at org.apache.turbine.modules.pages.DefaultPage.build(DefaultPage.java,
Compiled Code)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java, Compiled Code)
at Turbine.doGet(Turbine.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
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.turbine.modules
# 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/jyve
database.default.username=myuser
database.default.password=mypasswd
# 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=DBInstandDB
database.adaptor.DBInstandDB=jdbc.idbDriver
database.adaptor=DBSybase
database.adaptor.DBSybase=com.sybase.jdbc.SybDriver
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
# These are the default settings for OPaL persistence.
# mechanism.
# Default: false
opal.start=true
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=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=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
# 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
# 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 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=/tmp/turbine.log
# Supplies Turbine with information about the database schema, which can simplify any
# required Peer classes.
# Default: org.apache.turbine.util.db.map.DatabaseMapBuilder
database.maps.builder=org.apache.turbine.util.db.map.DatabaseMapBuilder
# 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
# Default ResourceBundle and language/country codes
# used by the TurbineLocalizationService.
locale.default.bundle=MyBundle
locale.default.language=en
locale.default.country=US
# Scheduler Service
# Set enabled to true to start the scheduler.
# Default = false
services.TurbineSchedulerService.classname=org.apache.turbine.services.schedule.TurbineSchedulerService
scheduler.enabled=false
# WebMacro Service
services.webmacro=TurbineWebMacroService
# FreeMarker Service
services.freemarker=TurbineFreeMarkerService
# FreeMarker path where templates are stored.
services.freemarker.path=/path/to/turbine/examples/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
# Default: false
secure.passwords=false
# Set the values below to be appropriate values for your environment:
[EMAIL PROTECTED]
jyve.confirm.email.name=Jyve Confirmation
jyve.confirm.email.subject=Jyve - New Account Confirmation
jyve.images.root=/usr/local/java/Apache-Jyve-20000405/docs/jyve-app/images
# 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
# 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
On Wed, 05 Apr 2000, you wrote: > on 4/5/00 1:35 PM, aaz
<[EMAIL PROTECTED]> wrote: >
> > any pointers as to what I should be looking for?
>
> another space in front of a property name. ;-)
>
> -jon
>
> --
> Scarab -
> Java Servlet Based - Open Source
> Bug/Issue Tracking System
> <http://scarab.tigris.org/>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]