Re: SEVERE: Null component Catalina:type=DataSource

2009-03-31 Thread Alexandr Khlystov
I'm not the person added this jar to project, I'll answer this later. As I understand problem is in duplicated 'tomcat' classes, Maybe I'll try to just remove them. Anyway I'll report the result here. On Tue, Mar 31, 2009 at 2:31 PM, Yassine wrote: > hi Alexandr, > > listing the arrserv-rt.jar c

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-31 Thread Yassine
hi Alexandr, listing the arrserv-rt.jar classes shows the following: http://rafb.net/p/FPcEW459.html which was a surprise to me ( i did not knew that appserv-rt.jar) is bundeling this much org.apache.catalina.* classes in theory this should not matter, since each application's classloader is is

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-30 Thread Alexandr Khlystov
I was wrong, deployment method matters but it is not the root cause, root cause is the Sun Application Server *.jar: appserv-rt.jar; if it is included into mywebapp/WEB-INF/lib directory cause the JNDI to fail, I don't why yet. But problem definetely in this *.jar. We use it because customer insta

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-30 Thread Alexandr Khlystov
Hi, Yassine. As you can see at http://ovservice.org/tomcatConf.PNG - There are no any folders in /conf/ directory. I've followed your instructions, and this error doesn't appear. The difference was in the way of deploying, before the *.war deployment, I just copied the /war/ content via file ma

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-30 Thread Yassine
Hi Alexandr, this may not solve your problem but could help to identify it, please do the following: - shutdown tomcat - remove any previously created "youApplicationName".xml file in the $CATALINA_HOME/conf/Catalina/localhost/"youApplicationName".xml it seems to me that when tomcat starts it doe

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-29 Thread Alexandr Khlystov
*META-INF/context.xml*: WEB-INF/web.xml *WEB-INF/web.xml, modified a bit to hide private data:* http://java.sun.com/dtd/web-app_2_3.dtd";> Oracle Datasource example jdbc/isDS javax.sql.DataSource Container DB Connection

[OT] Re: SEVERE: Null component Catalina:type=DataSource

2009-03-28 Thread André Warnier
Caldarale, Charles R wrote: ... A week in Amsterdam, and... How much have you guys been drinking? :-) Actually, not a lot. They seem to be a pretty sober lot. I'm talking about the participants to the ApacheCON. The Scottish football supporters who started arriving on Thursday night, that's

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Khlystov Alexandr
Thanks for reply Gregor, but I'm not using any realm. And sorry but now is friday evening and I'll provide more data in the monday only. Thanks for replies anyway! Gregor Schneider пишет: 1st: I Agree to Yassine that it would be helpful if you could provide some logs. 2nd: If I'm not mistaken

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Gregor Schneider
Mea culpa, Chuck, you're right... On Fri, Mar 27, 2009 at 3:21 PM, Caldarale, Charles R wrote: > > A week in Amsterdam, and...  How much have you guys been drinking? :-) > erm... actually I wasn't drinking :) so let's just wait for the logs Cheers Gregor -- just because your paranoid, doesn'

RE: SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Caldarale, Charles R
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > Subject: Re: SEVERE: Null component Catalina:type=DataSource > > 2nd: If I'm not mistaken, you're using the Tomcat5-syntax which has > changed since Tomcat 6. > > Have l look here: http://tomcat.apac

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Gregor Schneider
1st: I Agree to Yassine that it would be helpful if you could provide some logs. 2nd: If I'm not mistaken, you're using the Tomcat5-syntax which has changed since Tomcat 6. Have l look here: http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html I.e., the username-attribute becomes connection

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Yassine
could you provide more from your catalina log files ? On Fri, Mar 27, 2009 at 11:22 AM, Alexandr Khlystov wrote: > Thanks Yassine, but I've reinstalled Tomcat before sample execution. Than I > have no any old context.xml conflicts. > > I've tested mysql too, the same error. > > On Fri, Mar 27, 2

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Alexandr Khlystov
Thanks Yassine, but I've reinstalled Tomcat before sample execution. Than I have no any old context.xml conflicts. I've tested mysql too, the same error. On Fri, Mar 27, 2009 at 4:17 PM, Yassine wrote: > Hi Alexander, > > as far i can see, everything seems to be fine, the only thing that i > can

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Yassine
Hi Alexander, as far i can see, everything seems to be fine, the only thing that i can think of is that you could have an old instance of context.xml in your E:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\Catalina\localhost\yourAppName.xml which contains old configs and since that one