Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 6352 invoked from network); 2 Dec 2009 22:57:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Dec 2009 22:57:05 -0000 Received: (qmail 96150 invoked by uid 500); 2 Dec 2009 22:57:05 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 96086 invoked by uid 500); 2 Dec 2009 22:57:05 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 96076 invoked by uid 99); 2 Dec 2009 22:57:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 22:57:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.38.110] (HELO web50801.mail.re2.yahoo.com) (206.190.38.110) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Dec 2009 22:56:53 +0000 Received: (qmail 3066 invoked by uid 60001); 2 Dec 2009 22:56:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1259794591; bh=Q6DKnJrFAqOj757Yc7On6y4l8WQyKZazwrI2S9FE/zc=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=GTdxqvPgOiDP/390WaDwDOJ91iHjXBvVo7QVSok0XIKyrFh2SyiuHKeyxYx3PH5MsAK9V7IxCJVWM9GSruVrHHCmqWJOY8DuDMSMshImF/jV2VDWwsWZ3NBhe48JEX0CHY34OggXrMINZhP5jvHAUST7P5bK7Ux5ZEvqGbsrOEw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=BxOwdRJhRHSg+wiYhHHdHdu+ogApj+3Q6aw4I7P8D6dwZ4I1d/l0vVlXXQzjMQmEbePIY7z3pnyRuPwr09sW8uin+19pBAdk1phnOAjJA4in0V3NqxZP/KnZJA/Ski3zWjanQ+iPhKweYc5+1gFEmCS1k98ATS6eARSoZIaZ7FU=; Message-ID: <53771.1348.qm@web50801.mail.re2.yahoo.com> X-YMail-OSG: SrxAqJgVM1n81SA6WyC3Z5tugE_QvazbwaMkrpO27Ccn4aohTEAyyGf6bC9aXSfvC7ISnOrK67RC9ygepdY22JJSB9UewgSJSje_4WI2LI4zsi.dx0KNv1uZLpFuq5qoI50hn6q.0XgwDbZbOjonOOwpmQiHJKcpdEEgxYgi4L9cmQAXDkJqj0lbBQ.nLRDAHOdkSOQ4VQ9wD9G8LlOMsn2O7wOJ1LuxCGmy_ei3rryC9TGvsQ9haGmjWyOS7EfaXIyRvyuq2YLYv9n_HhK5hdm1_yqtUaqHqLCELJPLRtCouRlRe2faAu_YPN5FaR0vPLqE.shryfo1NJgQnKXQJHIl24iEU1yARzz_u_vi.6p8BlaI.G5T4rKfKf2n4IdsfNRwpSWMhZrWMa7BaNDTrEYtgd2_VJbb6YEGY4KrpvwiJj7yQiZws7MHosSzb68lk8tA1JYjU_YNjO0LuhdF9eRUQfiU0yZR.naBGvNMUK4- Received: from [190.64.156.124] by web50801.mail.re2.yahoo.com via HTTP; Wed, 02 Dec 2009 14:56:31 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.8.100.260964 References: <343031.28420.qm@web33307.mail.mud.yahoo.com> <55B8568AFA5F144F886F18186BAD5B2C05FA44C74F@durham-e2k7mb1.dukece.com> <926835.65373.qm@web33301.mail.mud.yahoo.com> <4AF9C153.9080507@apache.org> <127653.99752.qm@web33301.mail.mud.yahoo.com> <4AF9D25F.8090200@apache.org> <493183.94495.qm@web33305.mail.mud.yahoo.com> <755835.25575.qm@web33308.mail.mud.yahoo.com> <9161C81B-47A4-40EB-BF28-2527B7CB48E4@gmail.com> <905025.48588.qm@web33308.mail.mud.yahoo.com> <4d036f890912021338j4b69307fifccf511664e9ca44@mail.gmail.com> <2623.68374.qm@web33304.mail.mud.yahoo.com> Date: Wed, 2 Dec 2009 14:56:31 -0800 (PST) From: Alvaro Coronel Subject: Re: no suitable driver To: Apache Torque Users List In-Reply-To: <2623.68374.qm@web33304.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-76238176-1259794591=:1348" X-Virus-Checked: Checked by ClamAV on apache.org --0-76238176-1259794591=:1348 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Angela, how about trying with other database/driver just to check your conf= ig?=0A=0AI have had "ClassNotFoundException" when a .jar was _twice_ in the= classpath. You might want to check that too.=0A=0ATroubleshooting this kin= d of error is like trying to hit a "Pi=F1ata", isn't it? Good luck!=0A=0A= =C1lvaro Coronel.=0A=0A=0A=0A________________________________=0AFrom: Angel= a Day =0ATo: Apache Torque Users List =0ASent: Wed, December 2, 2009 8:05:09 PM=0ASubject: Re: no suitabl= e driver=0A=0AYes, there were significant changes. I had to merge the old = server.xml with the new version of 3.3 server.xml, so I am not sure my new = server.xml file is correct. I do have the gen jar in place and get the sam= e error.=0A =0AAngela Day=0ANational Autism Association of Central Texas=0A= =0Ahttp://www.naacentraltexas.org=0Aformally FEAT Austin=0A=0A=0A=0A=0A=0A_= _______________________________=0AFrom: "wzhao6898@gmail.com" =0ATo: Apache Torque Users List =0ASent:= Wed, December 2, 2009 3:38:58 PM=0ASubject: Re: no suitable driver=0A=0ATh= ere may have been many syntax changes in Torque 3.3 from Torque 1.0, you=0A= may want to look into this.=0AI think you need to specify database server a= nd user/password information in=0Athe "build.properties" file (at least in = our set up).=0ATry to download the torque-3.3-gen package, and run a ant -f= =0Abuild-torque.xml jdbc or something similar with you existing=0Abuild.pro= perties file in the same directory to see if you can get this task=0Ato run= successfully (ant -f build-torque.xml jdbc generates the schema.xml=0Afrom= your database).=0AGood luck,=0A=0ADavid=0A=0AOn Wed, Dec 2, 2009 at 1:15 P= M, Angela Day wrote:=0A=0A> It is an existing database a= nd application that I am upgrading from Torque=0A> 1.0 and JDK1.4, so I am = pretty sure the database is setup right. Do you=0A> have something in mind= ?=0A>=0A> Thanks,=0A>=0A> Angela Day=0A> National Autism Association of Cen= tral Texas=0A>=0A> http://www.naacentraltexas.org=0A> formally FEAT Austin= =0A>=0A>=0A>=0A>=0A>=0A> ________________________________=0A> From: Wei Zha= o =0A> To: Apache Torque Users List =0A> Sent: Wed, December 2, 2009 2:49:49 PM=0A> Subject: Re: no = suitable driver=0A>=0A> What about your build.properties file? I'd try to d= o a " ant -f=0A> build-torque.XML jdbc" or some other ant task tomake sure = the database is=0A> set up right.=0A>=0A> David=0A>=0A> On Dec 2, 2009, at = 12:33 PM, Angela Day wrote:=0A>=0A> > I am going crazy w= ith a problem I have had for a few days now. It seems=0A> so simple, but I= cannot solve the problem. Any help would be appreciated. I=0A> have ojdbc= 14.jar in the classpath for the env variable path and in the=0A> build-torq= ue.xml file. I am using java 1.5 and torque 3.3 and eclipse 3.5.1=0A> and = velocity 1.5=0A> >=0A> > Dec 2, 2009 2:02:45 PM org.apache.coyote.http11.Ht= tp11Protocol init=0A> > INFO: Initializing Coyote HTTP/1.1 on http-8080=0A>= > Dec 2, 2009 2:02:45 PM org.apache.catalina.startup.Catalina load=0A> > I= NFO: Initialization processed in 1960 ms=0A> > Dec 2, 2009 2:02:45 PM org.a= pache.catalina.core.StandardService start=0A> > INFO: Starting service Cata= lina=0A> > Dec 2, 2009 2:02:45 PM org.apache.catalina.core.StandardEngine s= tart=0A> > INFO: Starting Servlet Engine: Apache Tomcat/6.0.20Dec 2, 2009 2= :02:47 PM=0A> org.apache.catalina.core.StandardContext loadOnStartup=0A> > = SEVERE: Servlet /alligator threw load() exceptionjava.sql.SQLException=0A> = > at java.sql.DriverManager.getDriver(Unknown Source)=0A> > at org.apache.t= omcat.dbcp.dbcp.BasicDataSource.createDataSource(=0A> > at org.apache.tomca= t.dbcp.dbcp.BasicDataSource.getConnection(=0A> > at org.apache.torque.Torqu= eInstance.getConnection(=0A> > at org.apache.torque.TorqueInstance.getConne= ction(=0A> > at org.apache.torque.Torque.getConnection(=0A> > at tdhca.torq= ue.CurrentConnection.getConnection(=0A> > at tdhca.maverick.Dispatcher.init= Torque(=0A> > at tdhca.maverick.Dispatcher.init(=0A> > at javax.servlet.Gen= ericServlet.init(=0A> > at org.apache.catalina.core.StandardWrapper.loadSer= vlet(=0A> > at org.apache.catalina.core.StandardWrapper.load(=0A> > at org.= apache.catalina.core.StandardContext.loadOnStartup(=0A> > at org.apache.cat= alina.core.StandardContext.start(=0A> > at org.apache.catalina.core.Contain= erBase.start(=0A> > at org.apache.catalina.core.StandardHost.start(=0A> > a= t org.apache.catalina.core.ContainerBase.start(=0A> > at org.apache.catalin= a.core.StandardEngine.start(=0A> > at org.apache.catalina.core.StandardServ= ice.start(=0A> > at org.apache.catalina.core.StandardServer.start(=0A> > at= org.apache.catalina.startup.Catalina.start(=0A> > at sun.reflect.NativeMet= hodAccessorImpl.invoke0(=0A> > at sun.reflect.NativeMethodAccessorImpl.invo= ke(Unknown Source)=0A> > at sun.reflect.DelegatingMethodAccessorImpl.invoke= (Unknown Source)=0A> > at java.lang.reflect.Method.invoke(Unknown Source)= =0A> > at org.apache.catalina.startup.Bootstrap.start(=0A> > at org.apache.= catalina.startup.Bootstrap.main(=0A> > Dec 2, 2009 2:02:47 PM org.apache.ca= talina.core.ApplicationContext log=0A> > INFO: Use of the properties initia= lization parameter 'properties' has=0A> been deprecated by 'org.apache.velo= city.properties'=0A> > Dec 2, 2009 2:02:49 PM org.apache.catalina.core.Appl= icationContext log=0A> > INFO: ContextListener: contextInitialized()=0A> > = Dec 2, 2009 2:02:49 PM org.apache.catalina.core.ApplicationContext log=0A> = > INFO: SessionListener: contextInitialized()=0A> > Dec 2, 2009 2:02:50 PM = org.apache.coyote.http11.Http11Protocol start=0A> > INFO: Starting Coyote H= TTP/1.1 on http-8080=0A> > Dec 2, 2009 2:02:50 PM org.apache.jk.common.Chan= nelSocket init=0A> > INFO: JK: ajp13 listening on /0.0.0.0:8009=0A> > Dec 2= , 2009 2:02:50 PM org.apache.jk.server.JkMain start=0A> > INFO: Jk running = ID=3D0 time=3D0/125 config=3Dnull=0A> > Dec 2, 2009 2:02:50 PM org.apache.c= atalina.startup.Catalina start=0A> > INFO: Server startup in 4885 ms: No su= itable=0A> driverBasicDataSource.java:1143)BasicDataSource.java:880)TorqueI= nstance.java:912)TorqueInstance.java:891)Torque.java:300)CurrentConnection.= java:32)Dispatcher.java:375)Dispatcher.java:307)GenericServlet.java:212)Sta= ndardWrapper.java:1173)StandardWrapper.java:993)StandardContext.java:4149)S= tandardContext.java:4458)ContainerBase.java:1045)StandardHost.java:722)Cont= ainerBase.java:1045)StandardEngine.java:443)StandardService.java:516)Standa= rdServer.java:710)Catalina.java:583)Native=0A> Method)Bootstrap.java:288)Bo= otstrap.java:413)=0A> >=0A> > Server.xml=0A> > =0A> > =0A> > =0A> > className=3D"org.apache.catalina.core.AprLifecycleListener= "/>=0A> > =0A> > =0A> > =0A> > = className=3D"org.apache.catalina.mbeans.ServerLifecycleListener"/>=0A> > = className=3D"org.apache.catalina.mbeans.GlobalResourcesLifecy= cleListener"/>=0A> > =0A> > =0A> > =0A> > =0A> > value=3D"C:\\w= orkspace\\contract\\conf\\contract.properties"/>=0A> > http://localhost:8080/aims2/aims" type= =3D"java.lang.String"/>=0A> > value=3D"C:\\apache-tomcat-6.0.20\\webapps\\csea\= \WEB-INF\\csea.properties"/>=0A> > http://localhost:8080/alligator" type=3D"java.lang.String= "/>=0A> > type=3D"java.lang.String"/>=0A> > type=3D"java.lang.String" = />=0A> > value=3D"23049mdx903= lzd93jag9845a0gjsscvm" type=3D"java.lang.String"/>=0A> >=0A> > =0A> > = =0A> > =0A> > = factory=0A> > org.apache.commons.= dbcp.BasicDataSourceFactory=0A> > =0A> > = =0A> > driverClassName=0A> > = oracle.jdbc.driver.OracleDriver=0A> > =0A> > =0A> > url=0A> > = jdbc:oracle:thin:sysadm2@atlow.tdhca.state.tx.us:1521=0A> :de= v=0A> > =0A> > =0A> > = username=0A> > xxx=0A> > = =0A> > =0A> > passwor= d=0A> > xxx=0A> > =0A= > > =0A> > maxActive=0A> > = 10=0A> > =0A> > =0A> > maxIdle=0A> > 5=0A> > =0A> > =0A> > <= !-- time to wait for a connection before giving up in=0A> milliseconds -->= =0A> > maxWait=0A> > 10000=0A> > =0A> > =0A> > <= name>testWhileIdle=0A> > true=0A> > = =0A> > =0A> > validatio= nQuery=0A> > select 1 from dual=0A> > = =0A> > =0A> > updated and saved"= =0A> factory=3D"org.apache.catalina.users.MemoryUserDatabaseFactory"=0A> na= me=3D"UserDatabase" pathname=3D"conf/tomcat-users.xml"=0A> type=3D"org.apac= he.catalina.UserDatabase"/>=0A> > =0A> > =0A> > =0A> >=0A> > =0A> > =0A> >=0A> >=0A> > =0A> > redirectPort=3D"8443"/>=0A> > =0A> > =0A> > =0A> = > =0A> > =0A= > > =0A> >=0A> > =0A> > =0A> > =0A> > =0A> > = =0A> > =0A> > =0A> > > = resources under the key "UserDatabase". Any edits=0A> > = that are performed against this UserDatabase are immediately=0A> > = available for use by the Realm. -->=0A> > resourceName=3D"UserDatabase"/= >=0A> > =0A> > = un= packWARs=3D"true" xmlNamespaceAware=3D"false" xmlValidation=3D"false">=0A> = > = =0A> > =0A> > =0A> > =0A> > > directory= =3D"logs" prefix=3D"localhost_log." suffix=3D".txt"=0A> > timesta= mp=3D"true"/>=0A> >=0A> > reloadable=3D"true" crossContext=3D"true">=0A> > =0A> > =0A> > =0A> > =0A> > =0A> > =0A> > type=3D"javax.sql.DataSource" />=0A> > =0A> > =0A> > global=3D"contractPropertiesFile"/>=0A> > =0A> >= =0A> > =0A> > =0A> > =0A> > =0A= > >=0A> > Thanks for your help.=0A> >=0A> > Angela Day=0A> > National Autis= m Association of Central Texas=0A> >=0A> > http://www.naacentraltexas.org= =0A> > formally FEAT Austin=0A>=0A> ---------------------------------------= ------------------------------=0A> To unsubscribe, e-mail: torque-user-unsu= bscribe@db.apache.org=0A> For additional commands, e-mail: torque-user-help= @db.apache.org=0A=0A=0A=0A --0-76238176-1259794591=:1348--