Dear Dan,
Thanks for the pointer. But I am getting different errors now. Getting worse :-).
I build as per your instruction, and below is what I got now.
Questions :
1. What's the difference between src/sql/external/.sql files and
target/classes/sql ?
2. Isn't it the Jetspeed's related tables need to be populated ? I
got it empty, but I can see webapp/WEB-INF/db/jetspeed.script
inserts some records for those tables. Where can I get the MySQL
version ?Thanks for your help. My time is counting :-(
Lukman
org.apache.jetspeed.om.profile.ProfileException: java.lang.NullPointerException
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfile(JetspeedProfilerService.java:519)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:262)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:545)
at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87)
at
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(JetspeedAccessController.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)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
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:799)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)Dan Moore wrote:
Hi Lukman,
I think you need to regenerate your Torque classes. I had to do this
maven clean torque:sql dist -Dmaven.test.skip=true
where the torque:sql target generated the sql and dist generated the
appropriate classes (and put them in a jar file).
For more, check out http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=14886
HTH. Dan
--- "Lukman W. Kusuma" <[EMAIL PROTECTED]> wrote:
http://portals.apache.org/jetspeed-1/psml_db.html#Creating_PSML_DatabaseHi,
I am installed Jetspeed 1.5 with jakarta-tomcat-5.0.28 and got it working with standard procedure. Pretty interface.
As I need to use MySQL and followed the following steps
* http://portals.apache.org/jetspeed-1/install.html guideline.
* run all the mysql related ..sql file src/sql/external
(turbine-mysql.sql, and populate-mysql.sql)
* I modified the project.properties, Torque.properties (both to
relfect the mysql config), and JetspeedResources.properties as
specified in the guideline page :
http://portals.apache.org/jetspeed-1/psml_db.html
o However, I am not able to get *target/classes/sql/dbpsml-schema.sql *and *target/classes/sql/security-schema.sql *as specified in
* mysql connection is okay, because I must login with the right username / password, and also tested it with mysql shutdown (got different errors)
After following those steps, I am getting : "Error retrieving Portal Page: Profile not found" at the main page.
Seems that jetspeed couldn't find the default profile from mysql database, but I also found the jetspeed's profile related tables are still empty.
I am doing a proof of concept with jetspeed as the main portal framework. I feel the 3rd step above is the key point, but I can't
get the .sql generated.
Can anyone assist me if I missed anything here ?
Thanks
Lukman
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
