Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 74093 invoked from network); 7 Nov 2003 19:04:31 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Nov 2003 19:04:31 -0000 Received: (qmail 68119 invoked by uid 500); 7 Nov 2003 19:04:19 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 68045 invoked by uid 500); 7 Nov 2003 19:04:19 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 68030 invoked from network); 7 Nov 2003 19:04:18 -0000 Received: from unknown (HELO mail15.messagelabs.com) (63.210.62.243) by daedalus.apache.org with SMTP; 7 Nov 2003 19:04:18 -0000 X-VirusChecked: Checked X-Env-Sender: bilam@symbol.com X-Msg-Ref: server-42.tower-15.messagelabs.com!1068231792!1714689 X-StarScan-Version: 5.1.13; banners=symbol.com,-,- Received: (qmail 5038 invoked from network); 7 Nov 2003 19:03:12 -0000 Received: from mx2.symbol.com (167.206.235.72) by server-42.tower-15.messagelabs.com with SMTP; 7 Nov 2003 19:03:12 -0000 Received: from proxy.symbol.com (proxy.symbol.com [157.235.5.10]) by mx2.symbol.com (8.12.8/8.12.8) with ESMTP id hA7J3BLY020443 for ; Fri, 7 Nov 2003 14:03:12 -0500 Received: from symbol.com (engmail.symbol.com [157.235.20.237]) by proxy.symbol.com (8.12.3/8.12.3) with ESMTP id hA7J36Im025475 for ; Fri, 7 Nov 2003 14:03:06 -0500 (EST) Received: from ENG-DOM-MTA by symbol.com with Novell_GroupWise; Fri, 07 Nov 2003 14:03:05 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.3 Date: Fri, 07 Nov 2003 14:02:48 -0500 From: "Michael Bila" To: Subject: Connection NULL Torque Postgresql web app Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_6937F079.41204D3E" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_6937F079.41204D3E Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I'm=20receiving=20the=20following=20error=20message Connection=20object=20was=20null.=20This=20could=20be=20due=20to=20a=20mis= configuration=20of=20the DataSourceFactory. I=20had=20no=20problem=20building=20torque=20and=20my=20db=20and=20tables.= =20Just=20running=20my=20app =20 It=20is=20a=20web=20app=20and=20I=20made=20a=20servelet=20and=20registered= =20it=20in=20the=20web.xml=20to=20intiaite=20torque. I=20have=20tried=20many=20different=20configurations=20of=20the=20torque.p= roperties=20file here=20is=20my=20current: #=20------------------------------------------------------------------- #=20$Id:=20Torque.master,v=201.5=202002/11/28=2014:06:12=20mpoeschl=20Exp=20= $ # #=20This=20is=20the=20configuration=20file=20for=20Torque. # #=20Note=20that=20strings=20containing=20","=20(comma)=20characters=20must= =20backslash #=20escape=20the=20comma=20(i.e.=20'\,') # #=20------------------------------------------------------------------- torque.applicationRoot=20=3D=20. #=20------------------------------------------------------------------- # #=20=20L=20O=20G=20G=20I=20N=20G # #=20------------------------------------------------------------------- #=20We=20use=20Log4J=20for=20all=20Torque=20logging=20and=20we=20embed=20t= he=20log4j #=20properties=20within=20our=20application=20configuration. #=20------------------------------------------------------------------- #=20This=20first=20category=20is=20required=20and=20the=20category #=20must=20be=20named=20'default'.=20This=20is=20used=20for=20all=20loggin= g #=20where=20an=20explicit=20category=20is=20not=20specified. log4j.category.org.apache.torque=20=3D=20ALL,=20org.apache.torque log4j.appender.org.apache.torque=20=3D=20org.apache.log4j.FileAppender log4j.appender.org.apache.torque.file=20=3D ${torque.applicationRoot}/logs/torque.log log4j.appender.org.apache.torque.layout=20=3D=20org.apache.log4j.PatternLa= yout log4j.appender.org.apache.torque.layout.conversionPattern=20=3D=20%d=20[%t= ]=20%-5p %c=20-=20%m%n log4j.appender.org.apache.torque.append=20=3D=20false #=20------------------------------------------------------------------- # #=20=20T=20O=20R=20Q=20U=20E=20=20P=20R=20O=20P=20E=20R=20T=20I=20E=20S # #=20------------------------------------------------------------------- #=20These=20are=20your=20database=20settings.=20Look=20in=20the #=20org.apache.torque.pool.*=20packages=20for=20more=20information. # #=20The=20parameters=20to=20connect=20to=20the=20default=20database.=20=20= You=20MUST #=20configure=20these=20properly. #=20------------------------------------------------------------------- torque.database.default.adapter=3Dpostgresql torque.dsfactory.default.factory=3Dorg.apache.torque.dsfactory.TorqueDataS= ourc eFactory torque.dsfactory.default.pool.defaultMaxConnections=3D10 torque.dsfactory.default.pool.maxExpiryTime=3D3600 torque.dsfactory.default.pool.connectionWaitTimeout=3D10 torque.dsfactory.default.connection.driver=20=3D=20org.postgresql.Driver torque.dsfactory.default.connection.url =3Djdbc:postgresql://localhost:5432/eqi que.dsfactory.default.connection.user=20=3D=20postgres torque.dsfactory.default.connection.password=20=3D Please=20let=20me=20know=20if=20you=20see=20anything=20wrong=20or=20have=20= any=20advice. Thanks=20in=20advance Mike ________________________________________________________________________ This=20email=20has=20been=20scanned=20for=20computer=20viruses. --=_6937F079.41204D3E--