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 new

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

[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 serve

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 plea

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

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 > gives me a exception. > > Cannot convert 20 of type cl

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

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 tomcat.

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 gives me a exception. Cannot convert 20 of type class java.lang.Integer to class java.lang.Number. I don't know what

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 t

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. Now

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-I

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 onl

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: index.jsp java.lang.Exception /WEB-INF/pages/errors/Exception.jsp javax.servlet.ServletException /WEB-INF/pages/errors/Exception.jsp

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 ma

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 default / jsp *.jsp jsp *.jspx But don`t work Thank you again Abel "Caldarale, Charles R" escribió: Fro

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 (http://localhost:8080

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: 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 b

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

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 apprec

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: 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 tomca

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 /common/classes-- > 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

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: 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 a

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 comp

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: 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: > > > That's because setting a META tag that doesn't match reality is not rea

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 datasourc

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 /common/classes-- log4j.rootLogger=ERROR, stdout, TOMCAT log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j

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: 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 conf

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 COMMUNICAT

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: Yes, I understand that the same info is sent in HTTP header, but well, that's in theory, and everybody knows that what's true in theory isn't always true in pr

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 : >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> Read the desired file, and then write it to

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.ht

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 con

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 THI

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 your

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 conte

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

Re: Deployment: do not delete specified folder

2009-03-27 Thread Ward
2009/3/26 Caldarale, Charles R : >> 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 Tomcat's built-in Def

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 s