Hi Steve, It looks like you will need to create a /META-INF directory off the root of the webapp, copy jetspeed.xml to it and rename is context.xml. I haven't tried this, but this how the docs for Tomcat 5 say you should do this. Let me know if this works and I will add it to the build.
I got the information from here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/deployment.html Regards, *================================* | Scott T Weaver | | <[EMAIL PROTECTED]> | | Apache Jetspeed Portal Project | | Apache Pluto Portlet Container | *================================* > -----Original Message----- > From: Jeremy Ford [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 16, 2004 11:22 PM > To: 'Jetspeed Users List' > Subject: RE: Jetspeed2 cannot connect to datasource > > I seem to remember seeing xml files similar to the Jetspeed.xml file being > placed in a different location under tomcat 5.X. You might try looking > for > admin.xml or manager.xml and placing the Jetspeed.xml in the same > location. > > Jeremy Ford > [EMAIL PROTECTED] > > > -----Original Message----- > From: steve [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 16, 2004 12:00 PM > To: Jetspeed Users List > Subject: Re: Jetspeed2 cannot connect to datasource > > Thanks Scott. I am using Tomcat 5.0.19 (thought I read in a post that this > was compatible). I will checkout this file, and if that fails, I will try > your version > of Tomcat. > > Thanks again - I will let you know how it goes. > > Steve B. > > ----- Original Message ----- > From: "Weaver, Scott" <[EMAIL PROTECTED]> > To: "'Jetspeed Users List'" <[EMAIL PROTECTED]> > Sent: Tuesday, March 16, 2004 12:56 PM > Subject: RE: Jetspeed2 cannot connect to datasource > > > > Hi Steve, > > > > What version of Tomcat are you running in? There is a jetspeed.xml that > > should be in the webapps directory that defines the JNDI datasource in > > Tomcat for jetspeed. This works for me in tomcat 4.1.29. > > > > Regards, > > *================================* > > | Scott T Weaver | > > | <[EMAIL PROTECTED]> | > > | Apache Jetspeed Portal Project | > > | Apache Pluto Portlet Container | > > *================================* > > > > > -----Original Message----- > > > From: steve [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, March 16, 2004 12:39 PM > > > To: Jetspeed Users List > > > Subject: Jetspeed2 cannot connect to datasource > > > > > > I have tried several times to get help from the list on jetspeed2 to > no > > > avail. I hope my latest question is short enough that someone will > help. > > > > > > I have followed all the steps in the GETTING-STARTED.html without a > hitch > > > (Other than log4j not being defined). I am now calling > > > http://localhost:8080/jetspeed/ and am only getting a blank screen. > > > catalina.out seems to indicate the hsqldb datasource was not > configured > in > > > the installed app based on the stack trace excerpt below. Note that I > do > > > have 'maven start.production.server' running in a seperate window. > > > > > > Could some kind soul tell me if I missed some undocumented step, or > simply > > > in what file(s) of the webapp the database connection info should be > > > defined? I do not get this error running maven db.recreate nor the > > > allBuild. > > > > > > TIA, > > > > > > Steve B. > > > > > > [org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] > ERROR: > > > SQLExce > > > ption thrown while trying to get Connection from Datasource > > > (java:comp/env/jdbc/ > > > jetspeed) > > > Cannot create JDBC driver of class '' for connect URL 'null' > > > org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver > of > > > class ' > > > ' for connect URL 'null', cause: > > > java.sql.SQLException: No suitable driver > > > at java.sql.DriverManager.getDriver(DriverManager.java:243) > > > at > > > org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou > > > rce.java:743) > > > at > > > org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource > > > .java:518) > > > at > > > org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newCo > > > nnectionFromDataSource(Unknown Source) > > > > > > > > > > > > --------------------------------------------------------------------- > > > 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] > > > --------------------------------------------------------------------- > 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]
