(ERROR) ajp12: Servlet Error: Initialization error while loading the servlet: java.lang.Exception: Turbine::init(ServletConfig) - 'properties' Init Parameter not found. Please specify a value for the 'properties' Init Parameter by editing the servlet zone properties file. This is done by adding the following line to the zone properties file: servlet.Turbine.initArgs=properties=/path/to/TurbineResources.properties
how ever in my zone properties I have:
# Servlet Init Parameters
##########################
# These properties define init parameters for each servlet that is invoked
# by its classname.
# Syntax: servlet.[classname].initArgs=[name]=[value],[name]=[value],...
# Default: NONE
# servlet.org.fool.Dummy.initArgs=message=I'm a dummy servlet
#Turbine properties
servlet.Turbine.initArgs=properties=/etc/httpd/conf/jserv/TurbineResources.properties
servlet.Jetspeed.initArgs=properties=/etc/httpd/conf/jserv/JetSpeedResources.properties
servlet.Cocoon.initArgs=properties=/etc/httpd/conf/jserv/cocoon.properties
what am I missing do I have to specify org.apache...Turbine? Security?
rw-r--r-- 1 root root 5686 Apr 10 16:20 JetSpeedResources.properties
-rw-r--r-- 1 root root 8187 Apr 11 14:01 TurbineResources.properties
-rw-r--r-- 1 root root 8799 Apr 11 12:55 TurbineResources.properties.tbn
-rw-r--r-- 1 root root 8315 Apr 6 13:02 cocoon.properties
-rw-r--r-- 1 root root 6082 Apr 11 14:45 jetspeed.properties
-rw-r--r-- 1 root root 6425 Apr 11 13:47 jserv.conf
-rw-r--r-- 1 root root 14018 Apr 11 17:09 jserv.properties
-rw------- 1 nobody nobody 36 Mar 30 14:44 jserv.secret.key
-rw-r--r-- 1 root root 6130 Apr 11 17:35 zone.properties
hiya,
> When I do http://website/servlets/jetspeed from a browser I get an class
not found exception. same with Jetspeed and JetSpeed in the jserv logs.
>
> [10/04/2000 16:16:04:769] (ERROR) ajp12: Servlet Error:
ClassNotFoundException: Jetspeed
> [10/04/2000 16:16:10:988] (ERROR) ajp12: Servlet Error:
ClassNotFoundException: jetspeed
> [11/04/2000 09:22:43:994] (ERROR) ajp12: Servlet Error:
ClassNotFoundException: JetSpeed
the correct spelling is 'jetspeed' - no uper cased letters, though.
btw - you can check this by typing jar -tf Jetspeed.jar | less
another note:
-------------
the following jar files must be included in both wrapper.classpath and your
jetspeed zones repository ...
- Jetspeed.jar
- turbine-2.0.jar
- cocoon-ext-servlet2.2.jar
- webmacro-jdk1.2.jar
double check the spelling of cocoon-ext-servlet2.2.jar, I've downloaded a
file with a typo so it
might be misspelled in your configuration files.
>
> I've double checked my classpaths, but with several different config files
I could have missed something.
>
> When I enter /Turbine I do not get a class not found exception, but the
browser hangs and eventually the connection times out.
check your file permissions, again.
say, you have your webserver running under www-data,
then you should have file permissions similar as follows.
drwxr-xr-x 8 root root 4096 M�r 25 14:33 content
drwxrwxrwx 2 root root 4096 M�r 29 13:34 jetspeed-cache
drwxr-xr-x 2 www-data www-data 4096 M�r 29 13:34
JetspeedDocumentCache
-rw-r--r-- 1 www-data www-data 44064 Apr 11 14:06 jserv.log
-rw-r--r-- 1 www-data www-data 167642 Apr 4 17:21 turbine.log
finally, check your configuration files against typos again (i made this
mistake though ;-)
> Should I try installing turbine seperatly from java.apache.org and get
that working first? I tried that once, but was unsuccessful.
i don't think this is necessary ...
regards
daniel
--
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]
