Specific Tomcat version for Java6

2009-01-27 Thread stlecho
Hi, Does there exist a Tomcat version that is specific for Java6 (i.e. a version that exploits features available in Java6) ? Regards, Stefan Lecho. -- View this message in context: http://www.nabble.com/Specific-Tomcat-version-for-Java6-tp21681660p21681660.html Sent from the Tomcat - User

Re: tomcat 6, ubuntu, mysql connection

2009-01-27 Thread Flavio Crispim
Hi Mihamina please refer to tomcat docs: http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations Flavio Atenciosamente, Flavio Crispim - GEDEM SulAmerica associada ao ING 5º Andar asa Oeste - Morumbi Rota: 111-5753

Re: Tomcat and jsecurity help

2009-01-27 Thread juanmanuelsanchez
Dosent seem to work, my idea is to have a common folder where everybody could go, and other 3 where just authorized people can see the jsp. Thats why you see 4 different security-constrain tags. Everybody should login no matter what. I think one of the problems is that how do I tell the app

Re: Tomcat and jsecurity help

2009-01-27 Thread Pid
juanmanuelsanchez wrote: Dosent seem to work, my idea is to have a common folder where everybody could go, and other 3 where just authorized people can see the jsp. Thats why you see 4 different security-constrain tags. Everybody should login no matter what. I think one of the problems is

does this mod_jk.log look healthy?

2009-01-27 Thread Arne Riecken
Hi, please have a look at the mod_jk.log. Can anyone say if these info-entrys are normal or if the system is unhealthy? Or might the network be bad? These entrys come at least two times per hour. Thanks. mod_jk 1.2.23 Apache 1.3.34 Tomcat 5.5.20 socket_keepalive=False connect_timeout=3

Tomcat5w version 2.0.4 for 64 bits reads settings from WOW6432 registry hive!

2009-01-27 Thread Thomas Strauß
Hi, I just wanted to update the Tomcat5w.exe and tomcat5.exe on our Windows 2003 production system. I was running Tomcat5.exe version 2.0.3 and had unpredictable but regularly every few days unexpectedly died, it did this ... times messages in the event-log without any trace in any other

Re: does this mod_jk.log look healthy?

2009-01-27 Thread Rainer Jung
Hi, On 27.01.2009 13:20, Arne Riecken wrote: Hi, please have a look at the mod_jk.log. Can anyone say if these info-entrys are normal or if the system is unhealthy? Or might the network be bad? These entrys come at least two times per hour. 1) All messages are info level, that's good. 2)

RE: Tomcat5w version 2.0.4 for 64 bits reads settings from WOW6432registry hive!

2009-01-27 Thread Caldarale, Charles R
From: Thomas Strauß [mailto:t.stra...@srs-management.de] Subject: Tomcat5w version 2.0.4 for 64 bits reads settings from WOW6432registry hive! Unfortunately, the tomcat5w.exe 2.0.4 reads its settings from another registry hive than the 2.0.3 version. Haven't tried it, but this might work:

RE: HTTP status 404 - Context config

2009-01-27 Thread Caldarale, Charles R
From: Stephen Vaughan [mailto:stephenvaug...@gmail.com] Subject: HTTP status 404 - Context config I'm having trouble setting up a context with jdbc.postgresql What version of Tomcat? What vendor and version of JVM? What platform? Where is your Context element located? What's in the Tomcat

AW: Tomcat5w version 2.0.4 for 64 bits reads settings from WOW6432registry hive!

2009-01-27 Thread Thomas Strauß
Hi, I need to test on our testing-installation, can't do that on production for obvious reasons :-) Could you check where the registry entries are on your Vista 64? If both, tomcat5 and tomcat5w read from the wrong hive, there will be no issue. Mit freundlichen Grüßen Thomas Strauß

Re: tomcat 6, ubuntu, mysql connection

2009-01-27 Thread Glen Peterson
Some applications have the connection information inside the WAR file. For instance, in tomcat/webapps/WEB-INF/classes/hibernate-config.xml If that's the case, you need to get the database information from the developer - the tables and users particularly. On Tue, Jan 27, 2009 at 2:37 AM,

RE: Tomcat5w version 2.0.4 for 64 bits reads settings from WOW6432registry hive!

2009-01-27 Thread Caldarale, Charles R
From: Thomas Strauß [mailto:t.stra...@srs-management.de] Subject: AW: Tomcat5w version 2.0.4 for 64 bits reads settings from WOW6432registry hive! Could you check where the registry entries are on your Vista 64? If both, tomcat5 and tomcat5w read from the wrong hive, there will be no issue.

Tomcat 6 vs Apache running as services

2009-01-27 Thread kareda
Hi, I have tomcat 6.0.18 running as service on win2003 server. Now I also need to run php5, so I'm thinking of installing Apache HTTP Server 2.2.11 (should also run as service) I need them to run parallel and be completely independent - tomcat for java apps and apache for php5. Are there

Re: Tomcat 6 vs Apache running as services

2009-01-27 Thread kareda
oh yes, and there is also IIS running as service. now, I probably could run the php apps there also but I'd rather not as it's a production environment for another app. kareda wrote: Hi, I have tomcat 6.0.18 running as service on win2003 server. Now I also need to run php5, so

Re: tomcat 6, ubuntu, mysql connection

2009-01-27 Thread g f
Did you verify that the user that you are connecting to mysql with has host based permissions on mysql(In other words, does the user have rights to the database from your webserver as the webserver is the host in this case)? On Tue, Jan 27, 2009 at 9:09 AM, Glen Peterson

Re: Unexpected redirect from https to http

2009-01-27 Thread removeps-groups
If the internal redirects and forwards did change the scheme to http, then they wouldn't work because there is no http listener. Is this what you want? I have no idea, except that perhaps Tomcat changes the scheme to https automatically whenever it can. --- On Mon, 1/26/09, Timothy Tagge

RE: Tomcat 6 vs Apache running as services

2009-01-27 Thread Peter Crowther
From: kareda [mailto:k...@digiplace.ch] oh yes, and there is also IIS running as service. now, I probably could run the php apps there also but I'd rather not as it's a production environment for another app. IIS6+PHP doesn't handle threading enormously well - hence Microsoft's trumpeting

Re: Unexpected redirect from https to http

2009-01-27 Thread Timothy Tagge
The fact that the scheme is changed (by a now unknown process) to http is the issue. It is desired that all the requests/responses remain in https. On Tue, Jan 27, 2009 at 11:12 AM, removeps-gro...@yahoo.com wrote: If the internal redirects and forwards did change the scheme to http, then

Re: Unexpected redirect from https to http

2009-01-27 Thread Konstantin Kolinko
2009/1/27 Timothy Tagge tplimi...@gmail.com: I'm working on an application that does redirects to itself. The application is intended to run under https for all pages. However, when the redirect is requested, the resulting URL shown in the browser is

Virtual dirs without new context?

2009-01-27 Thread Ken Johanson
Hi all, I know from reading that if one wants to create a a virtual directory (one that does not physically exist in the host's appbase but is accessible via a configured mapping), that the traditional suggestion is to create a new context in the host. However, I'd like to create one or

Re: Tomcat and jsecurity help

2009-01-27 Thread juanmanuelsanchez
OK I have been doing some work on this and I saw that my url is always the same, so that might be why Im not getting the results I want. The url in the browser is always something like: http://localhost:8080/MedPro/servlet/SvMedPro It should be something more like

proxy: AJP: failed to make connection to backend

2009-01-27 Thread Jim Goodspeed
I am seeing the following error in my HTTP Apache error_log. I think this is OK (I assume the timeout has expired and that it will create a new connection when it is needed), but I wanted a second opinion. We are having a problem with some dropped connections and I think it is either network or

Re: does this mod_jk.log look healthy?

2009-01-27 Thread André Warnier
Hi. Sorry to invade/hijack, but I believe the following is very similar to the original OP's request. Rainer, I have a case very similar to the one below at a customer, running under RHEL 5, with Apache 2.0.x, mod_jk 1.2.28 (dev) and Tomcat 5.5.x. (the mod_jk 1.2.6 originally installed

Re: Unexpected redirect from https to http

2009-01-27 Thread Timothy Tagge
Eureka! The addition of scheme=https got me halfway there, with https being correctly requested instead of http. However it then was adding port 80 to the end of the domain. But the addition of proxyPort=443 solved that issue as well. Thanks all. On Tue, Jan 27, 2009 at 12:07 PM, Konstantin

AW: Tomcat5w version 2.0.4 for 64 bits reads settings from WOW6432registry hive!

2009-01-27 Thread Thomas Strauß
Hello Charles, this is as I expected, your version is also reading from the wrong (not good located) hive, but since you setup the tomcat using the tomcatXw.exe paired with the right tomcat.exe, everything is fine. Nevertheless, procrun64 should not use the wow6432 hive, as this is the hive

enableLookups=true, getRemoteHost returns ip

2009-01-27 Thread otismo
I'm struggling to get enableLookups to work on a new Ubuntu 8.10 tomcat 6.0.18 install. Calls to httpServletRequest.getHostName() always return the IP, instead of the host name. I set the access log to resolve hosts and it also shows the ip. Tomcat 6.0.18 and the same webapp perform the

RE: Tomcat5w version 2.0.4 for 64 bits reads settings fromWOW6432registry hive!

2009-01-27 Thread Caldarale, Charles R
From: Thomas Strauß [mailto:t.stra...@srs-management.de] Subject: AW: Tomcat5w version 2.0.4 for 64 bits reads settings fromWOW6432registry hive! Nevertheless, procrun64 should not use the wow6432 hive, as this is the hive for x32 apps running on x64 Likely due to the standard Tomcat

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-27 Thread Nathan Potter
Chuck, I just got try it today and here is what happened: I made this class: public class StaticContentServlet extends org.apache.catalina.servlets.DefaultServlet { protected String getRelativePath(HttpServletRequest request) { // Are we being processed by a

Google OpenGSE servlet engine released

2009-01-27 Thread Ben Stringer
Google have made their in-house servlet engine publicly available. http://google-opensource.blogspot.com/2009/01/opengse-released.html For folks outside of Google, there's really no compelling argument to drop Apache Tomcat/Jetty, etc. in favor of OpenGSE's reference servlet engine, but anyone

Re: Java Crash

2009-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Caine wrote: This is very helpful. It strongly suggests the issue is memory management, not JFreeChart. I'd put my money on bad hardware. Every single time I've seen a release version of a JVM fail, it's because of bad memory,

Re: different jsessionid for different webapps

2009-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, Pid wrote: Christopher Schultz wrote: Bottom line: beware deploying applications inside one another's URI spaces. Do you mean 'inside' as in the (expected) outcome of app1.war app1#part2.war It's worse than that, because Apache httpd

Re: Inner class trouble in JSP

2009-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jin, Qiao Jin wrote: Here is an example, a menu header JSP included in various pages: %! class MenuItem { String pageURL; String text; MenuItem(String url, String t) {

Re: Can TomCat run WITHOUT Apache?

2009-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, Martin Gainty wrote: if more than 50% of your pages are static html use Apache HTTP server as Apache serves HTML faster than TC if static html is less than 50% of your pages use TC Did you know that 67% of statistics are made up on the

RE: Inner class trouble in JSP

2009-01-27 Thread Qiao Jin
Thanks. You are right. I figured this out after the refreshing myself on nested classes. My mistake was using 'static' for the variable declaration. -Qiao -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, January 27, 2009 6:17 PM To:

Re: Transfer all HttpSessions from one cluster node to another

2009-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nilf, nlif wrote: We intend to run in a cluster, with stickiness enabled, and without replication. This of course does not give us failover capabilities, in case of a server crash, but it is sufficient for our needs. However, we would like to

Servlet 2.5 and RequestDispatcher.include + Response.setHeader, invalid?

2009-01-27 Thread Ken Johanson
First my apologies if this has been discussed; searching the list for subject keywords, I did not see this discussion... It's my understanding that servlet 2.5 loosened the requirement that a included/callee Servlet (and JSP?) cannot set the resp headers/status, and should now be able to set

setting catalina_opts in the windows installer

2009-01-27 Thread offbyone
I installed tomcat 6.0.18 using the windows installer. There is no catalina.sh or catalina.bat to set this variable in. So what is the best way to set it? -- View this message in context: http://www.nabble.com/setting-catalina_opts-in-the-windows-installer-tp21700327p21700327.html Sent from