Re: [Pow2acl-developers] The error when starting up the Tomcat4.1.24
Status: Beta
Brought to you by:
foxat
|
From: <fo...@po...> - 2004-01-08 13:57:14
|
Hi,
now I don't have my laptop with the sources and a working config file, anyway...
it seems the latest tomcat versions have a different behaviour from the old 4.0x
serie.
Try to specify the full path of Pow2Toolkit.properties file;
I remember if an user specifies a value like "/WEB-INF/Pow2Toolkit.properties"
the code should resolve the full qualified path of the Pow2Toolkit.properties
file, i.e.: (win32)
"E:/tools/jakarta-tomcat-4.1.24/webapps/web/WEB-INF/Pow2Toolkit.properties".
It seems the resolution fails. So, try to specify yourself that value into the
web.xml file, as showed below:
<!-- configuration servlet -->
<servlet>
<servlet-name>Pow2ToolkitInit</servlet-name>
<servlet-class>com.pow2.resources.Pow2ToolkitInit</servlet-class>
<init-param>
<param-name>properties</param-name>
<param-value>E:/tools/jakarta-tomcat-4.1.24/webapps/web/WEB-INF/Pow2Toolkit.properties</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
try to make the same modification also to the pow2WebGUI configuration servlet.
Let me know ;^)
Regards,
Luca
> the database is Oracle9i,tomcat version is 4.1.24
> when I startuped the tomcat,the error invoking:
> Pow2ToolkitInit::init - propertyFile (a) =
> [/WEB-INF/Pow2Toolkit.properties]
> Pow2ToolkitInit::init - propertyFile (b) =
> [/localhost/web/WEB-INF/Pow2Toolkit.p
> roperties]
> log4j:ERROR No appenders could be found for category
> (com.pow2.webgui.WidgetFact
> ory).
> log4j:ERROR Please initialize the log4j system properly.
> .....
> ConfigServlet::initLogging - log4j configuration str =
> [E:/tools/jakarta-tomcat-
> 4.1.24/webapps/web/WEB-INF/Pow2Toolkit.properties]
> java.security.AccessControlException: access denied (java.io.FilePermission
> E:\t
> ools\jakarta-tomcat-4.1.24\webapps\web\WEB-INF\classes\log.txt write)
> at
> java.security.AccessControlContext.checkPermission(AccessControlConte
> xt.java:270)
> at
> java.security.AccessController.checkPermission(AccessController.java:
> 401)
>
> _________________________________________________________________
> ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> Pow2acl-developers mailing list
> Pow...@li...
> https://lists.sourceforge.net/lists/listinfo/pow2acl-developers
>
>
|