AW: AW: [opencms-dev] Servlet Error

Michael Heinecke m.heinecke at PopNet.de
Fri Mar 16 17:39:14 CET 2001


Hi Holger,

sounds like your OpenCmsServlet gets no properies via the initArgs. Maybe
your path to the opencms.properties is wrong 

In your zone.properties the must be the two lines:

servlet.opencms.code=com.opencms.core.OpenCmsServlet <--- (your fist problem
;-)
servlet.opencms.initArgs=properties=(OpenCms home)/config/opencms.properties


my configuration in zone.properties:
--- snipp ----
servlet.opencms.code=com.opencms.core.OpenCmsServlet 
servlet.opencms.initArgs=properties=/data/httpd/km_tests/test02/etc/opencms/
opencms.properties 
--- snipp ----

:-) Michael


-----Ursprüngliche Nachricht-----
Von: Kliegl Holger [mailto:holger.kliegl at SVI.de]
Gesendet: Freitag, 16. März 2001 17:24
An: opencms-dev at www.opencms.com
Betreff: Re: AW: [opencms-dev] Servlet Error


Hello Michael,

now I've got the message

[11/03/2001 15:16:24:418] (ERROR) ajp12: Servlet Error: Initialization
error while loading the servlet: null.  Properties file is: null
[11/03/2001 15:16:24:419] (ERROR) an error returned handling request via
protocol "ajpv12"

Holger

Michael Heinecke schrieb:
> 
> Hi,
> 
> in your opencms.poperties the servlet must be listed as:
> 
> servlet.opencms.code=com.opencms.core.OpenCmsServlet
> 
> maybe your line is:
> 
> servlet.opencms.code=com.properties.core.OpenCmsServlet
> 
> in opencms.jar (Version 4.2, others don't know) ist no Class-Tree like
> "com.properties.core.OpenCmsServlet"
> 
> :-) Michael
> 
> -----Ursprüngliche Nachricht-----
> Von: Kliegl Holger [mailto:holger.kliegl at SVI.de]
> Gesendet: Freitag, 16. März 2001 16:26
> An: opencms-dev at www.opencms.com
> Betreff: [opencms-dev] Servlet Error
> 
> Hello,
> 
> the Installation of opencms works fine. When I start opencms in a
> Browser, there's the message
> 
> "[11/03/2001 14:10:40:939] (ERROR) ajp12: Servlet Error:
> ClassNotFoundException: com.properties.core.OpenCmsServlet"
> 
> in the file "mod_jserv.log" and the browser says
> 
> "The requested URL /servlets/opencms was not found on this server."
> 
> What's the problem.
> 
> Regards,
> 
> Holger



More information about the opencms-dev mailing list