Article View: borland.public.jbuilder.database
Article #431Re: Help with JNDI Datasource in JBuilder 2006
From: Paul Furbacher [TeamB]
Date: Thu, 08 Dec 2005 17:33
Date: Thu, 08 Dec 2005 17:33
37 lines
2551 bytes
2551 bytes
willhiker wrote:
> mybe you can just put <Resource> to the config/server.xml and add
> <resource-ref> to the WEB-INF/web.xml
I believe that's exactly what I wrote if
by "config/server.xml" you mean the server8080.xml
file which JBuilder initially creates and you modify,
and which Tomcat uses when you run your Web app
inside JBuilder. If you mean the conf/server.xml
file which is in the Tomcat installation in
the "thirdparty" folder, then the answer is absolutely
do NOT do this. JBuilder manages the Tomcat start
up and specifies its own server8080.xml file; the
one in the distro (in "thirdparty") is never seen.
To prove this, run one of the example Web apps which
ships with JBuilder (in the "samples" folder of the
distro); look in the Message Pane: scroll all the
way to the right and read the end of the first line
in that pane. You'll see
... -config d:\[pathtoYourProjectsWebapp]\Tomcat\conf\server8080.xml
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Technical Details
Message-ID:
<43986e20$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<438a4e03$1@newsgroups.borland.com> <438be2d7$1@newsgroups.borland.com> <43939b56$1@newsgroups.borland.com> <4394a216$1@newsgroups.borland.com> <439662f1$1@newsgroups.borland.com> <439696f1@newsgroups.borland.com> <43983d7f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,634e789a0dc75d45 X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 08 Dec 2005 12:33:18 -0500 From: "Paul Furbacher [TeamB]" <pfurbacher@mac.com> Organization: Reverse Alchemy, Inc. User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.database Subject: Re: Help with JNDI Datasource in JBuilder 2006 References: <438a4e03$1@newsgroups.borland.com> <438be2d7$1@newsgroups.borland.com> <43939b56$1@newsgroups.borland.com> <4394a216$1@newsgroups.borland.com> <439662f1$1@newsgroups.borland.com> <439696f1@newsgroups.borland.com> <43983d7f$1@newsgroups.borland.com> In-Reply-To: <43983d7f$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.142.194.228 Message-ID: <43986e20$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1134063136 69.142.194.228 (8 Dec 2005 09:32:16 -0700) Lines: 37 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail