Hi, I'm using Tomcat 5.0.28 and '5' is value in build.properties file. I mooved mysql driver in tomcat/common/lib and now error seems to be fixed. Jetspeed app is deployed correctly but I've some problem with layout. I'll check for it later.
Thanks, Maurizio > Da: "Aaron Evans" <[EMAIL PROTECTED]> > Data: Thu, 6 Jul 2006 08:31:16 -0400 > A: "Jetspeed Users List" <[email protected]> > Oggetto: Re: Building jetspeed from source without maven plugin > > What version of tomcat are you using and what did you specify in your > build.properties for the tomcat major version? > > On 7/6/06, Maurizio Pedraglio <[EMAIL PROTECTED]> wrote: > > Hi, > > at the moment Maven works fine. > > After tomcat startup I get an error which is documented in mailing list > > > > Error creating bean with name 'JetspeedDS' defined in ServletContext > > resource [/WEB-INF/assembly/boot/datasource.xml]: Initialization of bean > > failed > > > > but I'm not able to resolve it. I checked my content descriptor placed > > in TOMCAT_HOME/conf/Catalina/localhost/jetspeed.xml; values for > > datasource are ok and coherently with build.properties ones. > > > > Thanks, > > Maurizio > > > > Randy Watler wrote: > > > Maurizio, > > > > > > Please double check these settings: > > > > > > org.apache.jetspeed.test.jdbc.drivers.path=${catalina.endorsed}/mysql-connector-java.jar > > > org.apache.jetspeed.production.jdbc.drivers.path=${catalina.endorsed}/mysql-connector-java.jar > > > > > > Of course, set catalina.endorsed accordingly. > > > > > > HTH, > > > > > > Randy > > > > > > On Wed, 2006-07-05 at 19:47 +0200, Maurizio Pedraglio wrote: > > > > > >> Hi Randy, > > >> thank you for reply. > > >> I'm following your steps, but at j2:quickStart this error occurs: > > >> > > >> BUILD FAILED > > >> File...... C:\Documents and > > >> Settings\Administrator\.maven\cache\maven-jetspeed2- > > >> plugin-2.0\plugin.jelly > > >> Element... sql > > >> Line...... 839 > > >> Column.... 44 > > >> Class Not Found: JDBC driver com.mysql.jdbc.Driver could not be loaded > > >> > > >> I've read this guidelines ( > > >> http://portals.apache.org/jetspeed-2/guides/guide-database.html ) > > >> in order to configure properly my build.properties file. > > >> I'm using MySql and its driver has been placed in > > >> {tomcat_home}/endorsed/ as recommended. > > >> I'm able to get connected via JDBC with that driver, so other parameters > > >> are configured in the right way. > > >> > > >> I don't understand where's the error. > > >> > > >> Thanks, > > >> Maurizio > > >> > > >> > > >> Randy Watler wrote: > > >> > > >>> Maurizio, > > >>> > > >>> The plugin is used to build even from source. Here is are the typical > > >>> steps: > > >>> > > >>> 0. pull source tree from svn. > > >>> 1. edit your ~/build.properties or ${J2_HOME}/build.properties as > > >>> documented on the site. > > >>> 2. follow these commands, (note that this wipes out your J2 DB and local > > >>> Tomcat configuration): > > >>> > > >>> > > >>>> cd ${J2_HOME} > > >>>> maven initMavenPlugin > > >>>> maven allClean > > >>>> maven allBuild > > >>>> maven j2:quickStart > > >>>> > > >>>> > > >>> 3. there is a ${J2_HOME}/.classpath file for use with Eclipse. > > >>> > > >>> HTH, > > >>> > > >>> Randy > > >>> > > >>> On Tue, 2006-07-04 at 10:24 +0200, Maurizio Pedraglio wrote: > > >>> > > >>> > > >>>> Hi, > > >>>> I want to build jetspeed2 from source, without use maven plugin. > > >>>> I've download the latest version form svn head repository and now I've > > >>>> to build it as a webapps in my own tomcat (5.0.28). > > >>>> I'm checking on official website for this kind of installation, but > > >>>> everywhere maven plugin is used. > > >>>> > > >>>> Can you help me to build (i.e. with eclipse) a head version of jetspeed > > >>>> in order to have in a "deployable" version on every tomcat server? > > >>>> > > >>>> Thanks for advices, > > >>>> Hi > > >>>> Maurizio > > >>>> > > >>>> > > >>>> > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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]
