SEVERE: Null component Catalina:type=DataSource

2009-03-27 Thread Alexandr Khlystov
Guys I've broken my head with this error, google gives nothing. I tried to follow http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html. Tomcat 6.0. Oracle 9.0. driver: oracle_jdbc13-9.0.2.0.0.jar is added to E:\Program Files\Apache Software Foundation\Tomcat 6.0\lib\ I

Re: Deployment: do not delete specified folder

2009-03-27 Thread Ward
2009/3/26 Caldarale, Charles R chuck.caldar...@unisys.com: From: Ward [mailto:wardloot...@gmail.com] Subject: Re: Deployment: do not delete specified folder Can you please tell/hint me how do I access file on server, not in webserver directory Static resources are normally handled by

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

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 elas...@users.sourceforge.netwrote: Hi Alexander, as far i can see, everything seems to be fine,

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 allex.khlys...@gmail.com 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.

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

Re: tomcat startup

2009-03-27 Thread Nathan Aaron
I could possibly do this, but I wouldn't want to loop for too long or the sysadmin will start complaining that his machine is hanging at boot! The ideal thing would be a option for each context that states whether it should start or not. For the time being I will just try restarting the

Re: Session lost when app. is redeployed

2009-03-27 Thread Adriano dos Santos Fernandes
Caldarale, Charles R escreveu: From: Caldarale, Charles R Subject: RE: Session lost when app. is redeployed I've finally been able to reproduce your observations, but only by touching the .war file itself. There is a workaround to this problem. Create a META-INF/context.xml file in

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
From: Ward [mailto:wardloot...@gmail.com] Subject: Re: Deployment: do not delete specified folder Read the desired file, and then write it to the outputstream of the response? Exactly. That's all the DefaultServlet does. (Ok, not quite all, but that's the gist of it.) - Chuck THIS

turning off logging for Tomcat 5.5.27 components

2009-03-27 Thread beeky
How do I turn off logging from Tomcat 5.5.27 components that I don't care about. I see a lot of the following in my applications log file: DEBUG SmapUtil.java.copyConstantPool():446 52 copying 2 bytes I'm sure this is a log4j configuration issue but I can't figure it out. My app has a log4j

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.apache.org/tomcat-6.0- doc/config/realm.html A

Re: Deployment: do not delete specified folder

2009-03-27 Thread Ward
okey Thanks a lot mate, should have asked this a lot earlier, would have saved me a lot of frustrations! Ward 2009/3/27 Caldarale, Charles R chuck.caldar...@unisys.com: From: Ward [mailto:wardloot...@gmail.com] Subject: Re: Deployment: do not delete specified folder Read the desired file,

Re: Tomcat 5 and UTF-8

2009-03-27 Thread Je suis la poubelle
My few cents... 1. In those mentioned web pages, I noticed that none of them explicitly specified the following HTML header: head meta http-equiv=Content-Type content=text/html; charset=utf-8 /head Yes, I understand that the same info is sent in HTTP header, but well, that's in theory,

RE: turning off logging for Tomcat 5.5.27 components

2009-03-27 Thread Caldarale, Charles R
From: beeky [mailto:staff...@marine.rutgers.edu] Subject: turning off logging for Tomcat 5.5.27 components My app has a log4j config file and Tomcat has its own config file Post both your log4j config and Tomcat's conf/logging.properties and let's take a look. - Chuck THIS COMMUNICATION

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
From: Ward [mailto:wardloot...@gmail.com] Subject: Re: Deployment: do not delete specified folder should have asked this a lot earlier, would have saved me a lot of frustrations! What you want to do is not uncommon; it would be a useful enhancement for DefaultServlet to be able to

Connecting from tomcat to multiple JMX servers, JMX connection unstable

2009-03-27 Thread Charles09
Hi I looked all over the net to find a solution to the following problem: I have an application in my Tomcat (5.5.26, jre: 1.6_latest) connecting to multiple JMX servers (jre 1.6_latest) that each run a JMX enabled OSGi Container. One of these JMX servers I run on my local system. Switching to a

Re: turning off logging for Tomcat 5.5.27 components

2009-03-27 Thread beeky
Charles, Thanks for taking the time to look at my problem. log4J.config files follow immediately. -=beeky ---log4j.config in catalina_home/common/classes-- log4j.rootLogger=ERROR, stdout, TOMCAT log4j.appender.stdout=org.apache.log4j.ConsoleAppender

Session Persistence via JDBCStore

2009-03-27 Thread Eddie Yee
Hi, I currently use deployment descriptor xml files to describe both the war file to deployed and the session persistence info (configs+db info). Currently we use a connectionURL that specifies db complete db info (user/pass/db/port/sid)-- I would like to know if I can specify a

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 chuck.caldar...@unisys.com 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

Re: Tomcat 5 and UTF-8

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oscar, On 3/27/2009 10:35 AM, Je suis la poubelle wrote: 1. In those mentioned web pages, I noticed that none of them explicitly specified the following HTML header: head meta http-equiv=Content-Type content=text/html; charset=utf-8 /head

Re: Session Persistence via JDBCStore

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eddie, On 3/27/2009 11:23 AM, Eddie Yee wrote: I currently use deployment descriptor xml files to describe both the war file to deployed and the session persistence info (configs+db info). Currently we use a connectionURL that specifies db

Re: Session Persistence via JDBCStore

2009-03-27 Thread Yassine
Hi Eddie, I'm not sure if this would be possible with the default JDBCStore shipped with tomcat since the org.apache.catalina.session.JDBCStore is not considering usage of datasources which would certainly be a good plus, but maybe there is a reason why it is not in there. if some one else have

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

Re: turning off logging for Tomcat 5.5.27 components

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beeky, On 3/27/2009 11:13 AM, beeky wrote: ---log4j.config in catalina_home/common/classes-- log4j.rootLogger=ERROR, stdout, TOMCAT This should only allow ERROR or higher messages to be logged, unless another logger has explicitly set

Re: Tomcat 5.5 and Mysql 5.0 connectivity

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hari, On 3/26/2009 4:49 AM, HARI17785 wrote: i m using tomcat 5.5 and Mysql 5.0. I hav written a CGI script which retrives some infn from database.Now i want to run my CGI script in tomcat5.5 and queries the MySQL db.I m very much new to tomcat

Re: tomcat startup

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 3/26/2009 7:52 AM, Nathan Aaron wrote: I deploy several applications using one instance of Tomcat. The Application uses a database that resides on a separate server. When these servers are rebooted I would prefer that Tomcat start on

RE: Session Persistence via JDBCStore

2009-03-27 Thread Eddie Yee
Ya, right now it's a really big pain in the rear to maintain all these extra configs, especially when we jump between different databases when they go under maintenance, and multiply that between the number of applications we have now... If anybody else knows a way around this, I'd

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Deployment: do not delete specified folder What you want to do is not uncommon; it would be a useful enhancement for DefaultServlet to be able to configure external directories based on URL paths. There is another way to do this, which I should have

Re: turning off logging for Tomcat 5.5.27 components

2009-03-27 Thread beeky
Christopher, Thanks for the reply, unfortunately I did not understand much of it. Can I ask some questions about what you said? log4j.rootLogger=ERROR, stdout, TOMCAT This should only allow ERROR or higher messages to be logged, unless another logger has explicitly set a lower log level to be

Error JSP don`t support on tomcat 6.0

2009-03-27 Thread aquesi
I install Geoserver 1.7 on tomcat 6.0. I Install it with the war file. = I developed in html and it works. But, I want to program in jsp and = tomcat returns me that the extension .jsp is not supported for = http://localhost:8080/geoserver; (Error HTTP 415). But the tomcat's = examples works

RE: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread Caldarale, Charles R
From: aqu...@itssaconsulting.com [mailto:aqu...@itssaconsulting.com] Subject: Error JSP don`t support on tomcat 6.0 tomcat returns me that the extension .jsp is not supported for http://localhost:8080/geoserver; (Error HTTP 415). But the tomcat's examples works

RE: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread aquesi
Thank Charles I added, in the end of web.xml, this sequences !-- Built In Servlet Mappings = -- !-- The servlet mappings for the built in servlets defined above. Note -- !-- that, by default, the CGI and SSI servlets are *not* mapped.

RE: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread Caldarale, Charles R
From: aqu...@itssaconsulting.com [mailto:aqu...@itssaconsulting.com] Subject: RE: Error JSP don`t support on tomcat 6.0 I added, in the end of web.xml, this sequences If you mean you added them to the Geoserver WEB-INF/web.xml, that's the wrong thing to do. The JSP servlet is already

RE: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread aquesi
Charles The uniques references to jsp in the original Geoserver WEB-INF/web.xml are: welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list error-page exception-typejava.lang.Exception/exception-type

Re: turning off logging for Tomcat 5.5.27 components

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beeky, On 3/27/2009 1:41 PM, beeky wrote: Christopher, Thanks for the reply, unfortunately I did not understand much of it. Can I ask some questions about what you said? Absolutely. log4j.rootLogger=ERROR, stdout, TOMCAT This should only

RE: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread aquesi
Other point, the Geoserver directory's structure is -geoserver ---data -coverages -. -. -www (In this directory is the hello.jsp that it don`t work) ---editarea ---gmaps ---images ---META-INF ---openlayers ---popup_map ---preview ---rss ---schemas ---WEB-INF (In this

mod_jk : recovery_options

2009-03-27 Thread Jorge Medina
Hi, I have an automated test of a web services application running on Tomcat (6.0.18) behind Apache (2.2.11) We use mod_jk (1.2.27) Our test suite runs a client against the Apache server on a system where we have a single Tomcat instance behind Apache. So far so good, all test passed.

Re: Apache/mod_jk serves random files from tomcat

2009-03-27 Thread LukeK
Rainer Jung-3 wrote: Thanks very much for the feedback. Considering the severity of the problem, if you could give us another update at a time you think is appropriate (depending on how often the problem happened before). It's been about a month now since we dropped libtcnative, and the

A problem with tomcat 6.0.18

2009-03-27 Thread Paulo Vitor
Hi, is my first question in the list. I have a problem with tomcat 6.0.18, so, before I used tomcat 6.0.16 and everything works fine, but when I upgrade to tomcat 6.0.18 the line c:forEach begin=1 end=#{unidadeAdm.tamCk} gives me a exception. Cannot convert 20 of type class java.lang.Integer to

configuring tomcat with apache and eclipse.

2009-03-27 Thread Wesley Acheson
Hi all, I wish to launch tomcat from eclipse either using the conf files in my tomcat installation directory or with a similar configuration through eclipse on apache. The steps that I've already got working are as follows. I've installed XAMPP for apache and ssl support. I've installed

Re: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aquesi, On 3/27/2009 3:34 PM, aqu...@itssaconsulting.com wrote: Other point, the Geoserver directory's structure is -geoserver ---data -coverages -. -. -www (In this directory is the hello.jsp that it don`t work)

Re: A problem with tomcat 6.0.18

2009-03-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paulo, On 3/27/2009 5:28 PM, Paulo Vitor wrote: I have a problem with tomcat 6.0.18, so, before I used tomcat 6.0.16 and everything works fine, but when I upgrade to tomcat 6.0.18 the line c:forEach begin=1 end=#{unidadeAdm.tamCk} gives me a

RE: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Error JSP don`t support on tomcat 6.0 I don't know how Spring does things, but I would have expected it to work with JSPs. It does; LambdaProbe utilizes Spring, and has a large number of JSPs. It's possible that

RE: Error JSP don`t support on tomcat 6.0

2009-03-27 Thread Martin Gainty
did you verify this is not a browser doesnt have the plugin for the media-type prob? Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you to

[ANN] Apache Tomcat JK 1.2.28 Web Server Connector released

2009-03-27 Thread Rainer Jung
The Apache Tomcat team is pleased to announce the immediate availability of version 1.2.28 of the Apache Tomcat Connectors. It contains connectors, which allow a web server such as the Apache HTTP Server, Microsoft IIS and Sun Web Server to act as a front end to the Tomcat web application

Regarding - Google Summer of Code Project - to Mark Thomas

2009-03-27 Thread Vinod Kumar Badhavat
Hi Mark Thomas, This is regarding Google Summer of Code Project - *Convert current Tomcat valves to Servlet Filters*** by ASF. I'm Vinod Kumar, a 2nd year undergraduate btech student in Computer Science and Engineering Department at Indian Institute of Technology(IIT), Bombay, India. I came to

tomcat connect 1.2.28 compatability

2009-03-27 Thread Eddie Yee
Hi I'm running Tomcat 5.5.25 (eventually I'll be upgrading to the latest, but due to my development team, I won't be able to quickly). I was wondering if the new 1.2.28 is backwards compatible with Tomcat 5.5.25. I'd really like to use some of the new features before upgrading to the