Hi.

The j2:quickStart goal drops the tables and initializes them, so you should run that at least once to populate the tables. When you're building the Jetspeed again you can use j2:nodbfullDeploy goal instead. That won't drop the tables, but will deploy the wars to Tomcat. Also you may use the j2:minStart and j2:nodbMinDeploy goals same way, but these won't deploy the demo, rss or gems portlets if you don't need them.

For the error. Did you copy the mysql jdbc jar to $CATALINA_HOME/shared/lib folder? If not, do that and your problem may solve. I've had that kind of errors when I have forgotten to copy the jar to tomcat (now I use modified build script which will copy it for me :) ). If it cannot connect to database it cannot initialize the Jetspeed.

This is one not too documented thing you have to do.

-Mikko

Stefan Weinert wrote:
I installed maven 1 and tried the approach below again.
  Everything seems to work but when going to localhost:8080/jetspeed it shows 
the following exception:
org.apache.jasper.JasperException: Failed to initalize jetspeed. org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
 
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:453)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
I'd also like to know what happens after executing this command:
  maven -o j2:quickStart
Thanks for your patience.
  Stefan

  
org.apache.jetspeed.server.home=/home/phil/20051223/opensource/bin/apache-tomcat-5.5.12
org.apache.jetspeed.server.shared=/home/phil/20051223/opensource/bin/apache-tomcat-5.5.12/shared/lib
org.apache.jetspeed.deploy.war.dir=/home/phil/20051223/opensource/bin/apache-tomcat-5.5.12/webapps
org.apache.jetspeed.services.autodeployment.user=j2deployer
org.apache.jetspeed.services.autodeployment.password=j2deployer
org.apache.jetspeed.catalina.version.major=5.5
org.apache.jetspeed.project.home=/home/phil/20051223/opensource/svnProjects/jetspeed-2

I'm assuming that you got the jdk, tomcat, and maven parts installed.
Mikko mentions some good tips to avoid problems.

Run the following commands (the -o will run maven in offline mode
remove it if it complains about dependencies)

maven initMavenPlugin
maven -o allBuild
maven -o j2:quickStart

Start Tomcat with the command 'catalina run'. kill with Ctrl-C

                
---------------------------------
Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
Jetzt Yahoo! Messenger installieren!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to