Re: DataSource from Context files - doesn't work

2009-04-01 Thread Gregor Schneider
If you haven't specified a console-logger: catalina.out Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ --

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Mighty Tornado
Trying to put in some logging statements. Can anyone suggest where System.out prints to? I don't see it in any of the logs. On Wed, Apr 1, 2009 at 8:47 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Ramy, > > (Hey! I found my

Re: [OT] Re: DataSource from Context files - doesn't work

2009-04-01 Thread Gregor Schneider
Hi André, On Wed, Apr 1, 2009 at 4:52 PM, André Warnier wrote: > Gregor Schneider wrote: >> >> Unfortunately my apps are working like charm, so I ain't got an >> example to cpy and post here... *cough* >> > Angeber. > Promise to conserve my next exception-log and will send it to you.. ;) Cheers

[OT] Re: DataSource from Context files - doesn't work

2009-04-01 Thread André Warnier
Gregor Schneider wrote: Unfortunately my apps are working like charm, so I ain't got an example to cpy and post here... *cough* Angeber. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ramy, (Hey! I found my original message. Here's a bit more detail on the validationQuery) On 3/31/2009 9:36 PM, Mighty Tornado wrote: > Hi I placed the following in context.xml in META-INF. > But the result set is null, what's wrong with my set up? C

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ramy, Ugh... I wrote a longer reply and did something stupid with it (fat-fingered the keyboard... something over by the ENTER/SHIFT/UP keys and the message just disappeared). You're getting the short-short version. On 3/31/2009 9:36 PM, Mighty Torna

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Mighty Tornado
guess it was an old exception. no new ones in the logs. But I am doing something wrong with the way I define the data source and hand it to Tomcat for handling. Any suggestions as to how I can find out where the mistake is? On Wed, Apr 1, 2009 at 6:36 AM, Gregor Schneider wrote: > On Wed, Apr 1,

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Gregor Schneider
On Wed, Apr 1, 2009 at 12:07 PM, Mighty Tornado wrote: > Where can I obtain it? You wrote before: > I get the following exception in the log when I start the server up: > > ==> localhost.2009-03-03.log <== >at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Mighty Tornado
No Exception there. Even after I restart the server and call the Servlet that is supposed to retrieve the DB data. On Wed, Apr 1, 2009 at 6:24 AM, Yassine wrote: > catalina.out > > > On Wed, Apr 1, 2009 at 12:17 PM, Mighty Tornado > wrote: > > I have the following files in the logs directory: >

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Yassine
catalina.out On Wed, Apr 1, 2009 at 12:17 PM, Mighty Tornado wrote: > I have the following files in the logs directory: > > admin.2009-04-01.log > catalina.out > localhost.2009-04-01.log > catalina.2009-04-01.log > host-manager.2009-04-01.log > manager.2009-04-01.log > > Which one of them should

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Mighty Tornado
I have the following files in the logs directory: admin.2009-04-01.log catalina.out localhost.2009-04-01.log catalina.2009-04-01.log host-manager.2009-04-01.log manager.2009-04-01.log Which one of them should I VI or LESS to find the complete stack trace for the exception? Also, is there somethi

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Yassine
don't "tail -f" use less and copy the part containing the exception from its beginning to the end. On Wed, Apr 1, 2009 at 12:07 PM, Mighty Tornado wrote: > Where can I obtain it? > The exception that I posted is the only exception that showed up following > "tail -f *" > > On Wed, Apr 1, 2009 a

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Mighty Tornado
Where can I obtain it? The exception that I posted is the only exception that showed up following "tail -f *" On Wed, Apr 1, 2009 at 6:04 AM, Gregor wrote: > your log is useless. > please post the complete stacktrace incl. the type of the exception > > rds > > gregor > > Am 01.04.2009 um 11:57 s

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Gregor
your log is useless. please post the complete stacktrace incl. the type of the exception rds gregor Am 01.04.2009 um 11:57 schrieb Mighty Tornado : Additional info: I get the following exception in the log when I start the server up: ==> localhost.2009-03-03.log <== at org. apache.

Re: DataSource from Context files - doesn't work

2009-04-01 Thread Mighty Tornado
Additional info: I get the following exception in the log when I start the server up: ==> localhost.2009-03-03.log <== at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1

DataSource from Context files - doesn't work

2009-03-31 Thread Mighty Tornado
Hi I placed the following in context.xml in META-INF. But the result set is null, what's wrong with my set up?Can anybody please advise? Thanks, Ramy.