From: Bill H. <Bil...@Ac...> - 2003-10-01 14:03:36
|
Hi Bruce, Well, I tried "password", and got the appended exception. As I see a lot of apache and singlesign-on stuff in their, my guess is that babeldoc is using some apache authentication stuff that is in conflict with the single-sign on stuff that I have set up for the website. Also you mentioned that this is done through com.babeldoc.core.simple, and "simple" was the class not found when I had the jar conflict with commons-digester. So perhaps the null pointer is for simple? Any suggestions? Thanks. Bill <2003-10-01 09:51:20,551> ERROR [HttpProcessor[80][4]] : [ConsoleServlet.handle Request] Error java.lang.NullPointerException at com.babeldoc.web.main.ConsoleServlet.handleSecurity(Unknown Source) at com.babeldoc.web.main.ConsoleServlet.handleRequest(Unknown Source) at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet .java:372) at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.jav a:333) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWra pperV alve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja v a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:9 95) at org.apache.catalina.core.StandardContextValve.invoke(StandardCont extV alve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve .java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja v a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:9 95) at org.apache.catalina.core.StandardContext.invoke(StandardContext.ja va: 2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostVal ve.j ava:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatch e rValve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.j ava: 509) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn .ja va:376) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja v a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:9 95) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngin eVal ve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveCo ntex t.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja v a:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:9 95) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProce sso r.java:1040) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor. ja va:1151) at java.lang.Thread.run(Thread.java:536) On 30 Sep 2003 at 12:06, McDonald, Bruce wrote: > Bill, > > At the moment the user stuff is handled by the "simple" user factory > etc. This code is to be found in package: > com.babeldoc.core.user.simple. The "heart" of this is in the class: > SimpleUserFactory. And the authentication code is in method: authent > icate. This code is HARDCODED to accept passwords of name > "password". All usernames are acceptable except usernames starting > with "z" - go figure. There is a SQL implementation of this code that > allows for usernames/passwords/roles to be stored in a > db. > > regards, > Bruce. > > -----Original Message----- > From: Bill Harrelson [mailto:Bil...@Ac...] > Sent: Tuesday, September 30, 2003 11:40 AM > To: bab...@li...; > Bab...@li... > Subject: [Babeldoc-devel] Can anyone help? Setting up babeldoc-web > > > Hi, I sent this a week ago, and nobody has answered yet, so I'm > sure that it has dropped off the bottom of the list. Can anyone help? > I'm trying to connect Babeldoc to a web application and I can't seem > to get it to work. I'm getting a little worried, as I have a tight > deadline. > > I found the directions in modules/web/readme.txt for building and > setting up babeldoc with my web server and it mostly worked, but there > seems to be some conflict between my basic jakarta-tomcat- 4.1.24 > setup in the commons-digester.jar. When I start with the tomcat one, > it starts fine, when I start with the one copied over by babeldoc it > fails pretty quickly with a class not found error. > > Anyway, I'm able to get the babeldoc console up, but when I try to > access the journal, modules or pipelines it asks for a username and > password and I don't know how to set those up. My tomcat currently > uses database-based access control, so I assume that I just need a > role defined, but don't know what that is. Can someone tell me? > Anybody willing to spend 15 minutes on the phone with me? > > Thanks for any assistance, > > Bill > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Babeldoc-user mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-user > ------- End of forwarded message ------- -- William B. Harrelson President Accordare 13A Medford Street, Arlington, MA 02474 t:781-646-2241 f:781-646-2242 Bil...@Ac... |