[Pow2acl-developers] Problem using pow2acl
Status: Beta
Brought to you by:
foxat
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. |