pow2acl-developers Mailing List for pow2 ACL
Status: Beta
Brought to you by:
foxat
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
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
>
>
|
|
From: <shi...@ho...> - 2004-01-08 12:52:22
|
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
|
|
From: <shi...@ho...> - 2004-01-08 12:49:52
|
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
|
|
From: Sudeep D'S. <su...@wi...> - 2002-07-23 12:58:41
|
> Hi, > > I just downloaded the pow2acl ver 0.95 and I am trying to set it up. > > Database : MySQL > Tomcat : 4.0.1 > JDK 1.4 > > I have loaded the database with the sql (after some bit of trouble ;-)). I > have used my own mysql jdbc driver (put it in WEB-INF/lib) and have > configured the entries in dbforms-config.xml and the > Pow2Toolkit.properties > as follows > > Pow2Toolkit.properties > > jdbc.driver.class = org.gjt.mm.mysql.Driver > jdbc.driver.url = jdbc:mysql://hydrea:3306/acl > jdbc.user = sudeep > jdbc.passwd = sudeep > > dbforms-config.xml > > <dbconnection > name = "jdbc:mysql://hydrea:3306/acl" > isJndi = "false" > conClass = "org.gjt.mm.mysql.Driver" > username = "sudeep" > password = "sudeep"/> > > But now, I am getting the login screen but when I enter any user name or > password it gives me the following error > > type Exception report > message Internal Server Error > description The server encountered an internal error (Internal Server > Error) > that prevented it from fulfilling this request. > exception > java.lang.NullPointerException > at com.pow2.resources.Prefs.getProperty(Prefs.java:177) > at com.pow2.dao.AbstractDAO.(AbstractDAO.java:75) > at com.pow2.user.dao.UserDAO.(UserDAO.java:54) > at com.pow2.user.dao.UserDAO.instance(UserDAO.java:67) > at com.pow2.user.UserManager.getUser(UserManager.java:160) > at com.pow2.struts.actions.LoginAction.perform(LoginAction.java:72) > at > com.pow2.acl.struts.action.ACLActionServlet.processActionPerform(ACLAction > Se > rvlet.java:152) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585) > at > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicati > on > FilterChain.java:247) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilter > Ch > ain.java:193) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve. > ja > va:243) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java > :5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 > ) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve. > ja > va:201) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java > :5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 > ) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:1 > 64 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java > :5 > 66) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValv > e. > java:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java > :5 > 64) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:1 > 70 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java > :5 > 64) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java > :5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 > ) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.ja > va > :163) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java > :5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472 > ) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.jav > a: > 1011) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:11 > 06 > ) > at java.lang.Thread.run(Thread.java:484) > > > Any help in this matter will be greatly appreciated. > > Thanks, > Sudeep. > This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify pos...@wi... immediately. You should not copy it or use it for any purpose, nor disclose its contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco. |