Too make a long story short: I had some bogus Turbine classes in the webapp/WEB-INF/classes directory. :$ Deleted them and now everything is ok.
The explanation (in case anyone is interested): I modified the torque-schema in order to include an extra column to the turbine_user table. I built the new JAR with Maven and everything is ok so far. However, I am working with Eclipse and I also put the security-schema.xml in my schema directory. Then, since I modfied one of my tables, I rebuilt the OM using Ant and this builds Torque OM .java files in my /src/java as well as the .classes in the WEB-INF/classes directory. The problem is that I had not updated the security-schema.xml in my project since my previous modifications done on the jetspeed source, hence, the classes that were being exported to Tomcat were obsolete. To solve it, I simply deleted the compiled classes from WEB-INF/classes (which were overriding jetspeed-1.5.jar) and everything works once again. I haven't done so yet, but I suppose it's just a matter of placing an updated version of the modified security-schema.xml in my schema directory (or removing it altogether). I'm just placing it there so I can also generate the SQL script directly from my eclipse project. Hope this is useful to someone. Regards Ryt I --- chris holt <[EMAIL PROTECTED]> wrote: > I'm guessing the role actions you took might have caused it. > The way I usually fix this is restart tomcat. > > Thanks, > > Chris > > -----Original Message----- > From: Ruy Diaz Jara [mailto:[EMAIL PROTECTED] > Sent: Friday, November 19, 2004 1:47 PM > To: Jetspeed Users List > Subject: RE: Fallback PSML gone berserk > > > Hi Chris, thanks, I'll check the connections. > > However, the really strange part is that it was working perfectly and I > did nothing to configuration files... and I am not using DB PSML, it's > file based. > > I'll recheck my config and let you know. > > Regards > Ruy > > --- chris holt <[EMAIL PROTECTED]> wrote: > > > I usually see this type of error when the portal has problems > > connecting to the database for user information. > > > > Chris > > > > -----Original Message----- > > From: Ruy Diaz Jara [mailto:[EMAIL PROTECTED] > > Sent: Friday, November 19, 2004 1:05 PM > > To: [EMAIL PROTECTED] > > Subject: Fallback PSML gone berserk > > > > > > I don't understand what just happened. I was minding my own business > > working on some portlets, and suddenly after reloading the webapp > > context and trying to log in again, I started getting an error message > > > on the main login page. I did not do any changes to configuration > > files or anything, the only thing I changed (aside from my portlet) > > prior to restarting the context, was that I removed some roles from a > > user (not admin, anon or turbine). The error I get in the login page > > is: > > > > org.apache.jetspeed.om.profile.ProfileException: > > java.lang.NullPointerException > > > > Part of the stacktrace is: > > org.apache.jetspeed.om.profile.ProfileException: > > java.lang.NullPointerException > > at > > org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallback > > Pr > > ofile(JetspeedProfilerService.java:502) > > at > > > org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile > > (JetspeedProfilerService.java:245) > > at > > > org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile > > (JetspeedProfilerService.java:528) > > at > > org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87) > > at > > > org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(J > > etspeedAccessController.java:74) > > at org.apache.turbine.modules.Action.perform(Action.java:87) > > at > > org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) > > at org.apache.turbine.Turbine.doGet(Turbine.java:529) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > > > > > > I also checked jetspeedservices.log and this is what comes out: > > > > 2004-11-19 11:55:15,493 [http-80-Processor25] ERROR > > JetspeedProfilerService - Exception in fallbackProfile > > java.lang.NullPointerException > > at > > org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallback > > Pr > > ofile(JetspeedProfilerService.java:466) > > at > > > org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile > > (JetspeedProfilerService.java:245) > > at > > > org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile > > (JetspeedProfilerService.java:528) > > at > > org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87) > > at > > > org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(J > > etspeedAccessController.java:74) > > at org.apache.turbine.modules.Action.perform(Action.java:87) > > at > > org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) > > at org.apache.turbine.Turbine.doGet(Turbine.java:529) > > at org.apache.turbine.Turbine.doPost(Turbine.java:658) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > at > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > > tionFilterChain.java:237) > > at > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > > erChain.java:157) > > at > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > > e.java:214) > > at > > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo > > ntext.java:104) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 > > 20) > > at > > > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon > > textValve.java:198) > > at > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > > e.java:152) > > at > > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo > > ntext.java:104) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 > > 20) > > at > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > > :137) > > at > > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo > > ntext.java:104) > > at > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > > :118) > > at > > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo > > ntext.java:102) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 > > 20) > > at > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > > java:109) > > at > > > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo > > ntext.java:104) > > at > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 > > 20) > > at > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > > at > > > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > > at > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:79 > > 9) > > at > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC > > onnection(Http11Protocol.java:705) > > at > > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 > > 7) > > at > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool > > .java:683) > > at java.lang.Thread.run(Thread.java:534) > > 2004-11-19 11:55:15,844 [http-80-Processor25] WARN > === message truncated === ===== ------------------------------- I used to be an atheist, until I realized I was God. __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
