Re: Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-02 Thread Rainer Jung
To check the log: At which time did you send which request, and what was the result (OK, or what kind of problem)? And please give us your config (worker configuration, platform and web server versions, ...) Regards, Rainer Antonio Santana wrote: The main unique thing we have with IIS is

Quality check mod_jk 1.2.25-dev

2007-08-02 Thread Rainer Jung
Hi all, unfortunately we had to withdraw mod_jk 1.2.24. It had a serious regression bug. To ensure the quality of the new 1.2.25 we invite you to actively participate in testing. A code snapshot (revision 562250) is available at: http://people.apache.org/~rjung/mod_jk-dev/ It is in the same

RE: Installing Tomcat on Linux

2007-08-02 Thread Wade Chandler
heh heh, from my experience with system admins, I will be willing to bet the answer is no, unless he is telling a big one ;-) Wade --- Steve Ochani <[EMAIL PROTECTED]> wrote: > LOL, > > I would ask him if he sits there and examines all > the code of everything that > is on his system. > > >

Re: Installing Tomcat on Linux

2007-08-02 Thread Wade Chandler
Exactly. Wade --- Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 8/2/07, Vigorito, Nicholas E. > <[EMAIL PROTECTED]> wrote: > > Here are some quotes from this person: > > > > You are trusting that someone built the binaries > directly from the > > source code without any additional modificatio

RE: Installing Tomcat on Linux

2007-08-02 Thread Wade Chandler
My first question would be: Do you examine every line of code in these sources you compile? Then: If not, if you get the same sources and binaries from the same location, what is the difference? Most admins i know, who get sources and build them, do not know all the ins and outs of the applicatio

Re: Optional authentication

2007-08-02 Thread Bill Barker
"Bruno Harbulot" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > > I would like to be able to require authentication optionally and make my > servlets or JSPs behave differently depending on which Principals they > get. > For example, I'd like a GET to be able to return

RE: Installing Tomcat on Linux

2007-08-02 Thread Steve Ochani
LOL, I would ask him if he sits there and examines all the code of everything that is on his system. On 2 Aug 2007 at 16:49, Vigorito, Nicholas E. wrote: > Here are some quotes from this person: > > You are trusting that someone built the binaries directly from the > source code without any

Re: Installing Tomcat on Linux

2007-08-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicholas, Vigorito, Nicholas E. wrote: > You are trusting that someone built the binaries directly from the > source code without any additional modification or back-doors built in. True. But then again, you are trusting commercial companies to do th

Re: Installing Tomcat on Linux

2007-08-02 Thread Hassan Schroeder
On 8/2/07, Vigorito, Nicholas E. <[EMAIL PROTECTED]> wrote: > Here are some quotes from this person: > > You are trusting that someone built the binaries directly from the > source code without any additional modification or back-doors built in. Flip side: you have gone through the *entire source

Re: Installing Tomcat on Linux

2007-08-02 Thread Hassan Schroeder
On 8/2/07, Vigorito, Nicholas E. <[EMAIL PROTECTED]> wrote: > A coworker claims that all unix admins should never install open source > binaries. They should build using the source. > > Looking for a concensus. Is it ok to install the Tomcat binaries or > should I build using the Tomcat source the

RE: Installing Tomcat on Linux

2007-08-02 Thread Vigorito, Nicholas E.
Here are some quotes from this person: You are trusting that someone built the binaries directly from the source code without any additional modification or back-doors built in. Also building from the source allows you to either specify the default build or add/subtract modules/functionality tha

Using HSQLDB for Authentication

2007-08-02 Thread Robert J Emmons
I am trying to use HSQLDB for container authentication in Tomcat. When I start Tomcat, I get this message in the catalina.-MM-DD.log: INFO: Starting Servlet Engine: Apache Tomcat/5.5.23 Aug 2, 2007 3:10:29 PM org.apache.catalina.realm.JDBCRealm start SEVERE: Exception opening database conne

Re: Installing Tomcat on Linux

2007-08-02 Thread ben short
I would question his reason for this statement A coworker claims that all unix admins should never install open source binaries. They should build using the source. On 8/2/07, Vigorito, Nicholas E. <[EMAIL PROTECTED]> wrote: > I am going to install Tomcat standalone (not fronted by Apache) on

Re: javax.servlet.ServletException: Cannot allocate servlet instancefor path /servlet/HelloWorld (repost I don't resolve the problem with your reply)

2007-08-02 Thread Hassan Schroeder
On 8/2/07, Fabbris Pierluigi <[EMAIL PROTECTED]> wrote: > javax.servlet.ServletException: Cannot allocate servlet instance for path > /servlet/HelloWorld > *My first servlet in directory classes is:* Uh, well -- this *isn't* a servlet. I'm guessing that's the problem :-) javax.servlet.Servlet i

Installing Tomcat on Linux

2007-08-02 Thread Vigorito, Nicholas E.
I am going to install Tomcat standalone (not fronted by Apache) on a Linux box that will eventually be opened up to small portion of the outside world. I am a developer and as such haven't ever done anything with Tomcat except install the binaries on my Windows machine and run it locally for devel

Re: Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-02 Thread Antonio Santana
The main unique thing we have with IIS is a redirector on port 80 traffic so it is forced to 443 (SSL). Here is the log: [Thu Aug 02 14:20:53 2007] [5856:3368] [debug] map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/eservices-cert.sabre.com/jtest/john/jp.jsp' from 7 maps [Th

javax.servlet.ServletException: Cannot allocate servlet instancefor path /servlet/HelloWorld (repost I don't resolve the problem with your reply)

2007-08-02 Thread Fabbris Pierluigi
Hi, I've read the reply for the my question about javax.servlet.ServletException: Cannot allocate servlet instancefor path /servlet/HelloWorld. I ask again because I don't understand how apply it. *My Exception is:* HTTP Status 500 - -

Re: Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-02 Thread Rainer Jung
Please post your configuration. If the configuration is fine, set your redirector log level to debug, do one request with http and query parameter, one with https and query parameter and a third with https without query parameter and let us have a look at the redirector log file. Regards, R

Tomcat IIS Redirector Issues with SSL and Query Strings

2007-08-02 Thread Antonio Santana
Team, We have been using the Tomcat Redirector in our Dev environment and even our local machines while developing code. We have a classic ASP site that works with JSP hosted by Tomcat. The redirector has been working in these two environments fine, but when we move our code to Certification, it

RE: javax.servlet.ServletException: Cannot allocate servlet instancefor path /servlet/HelloWorld

2007-08-02 Thread Caldarale, Charles R
> From: Fabbris Pierluigi [mailto:[EMAIL PROTECTED] > Subject: javax.servlet.ServletException: Cannot allocate > servlet instancefor path /servlet/HelloWorld > > java.lang.IllegalAccessException: Class > org.apache.catalina.core.StandardWrapper can not access a > member of class HelloWorld wit

RE: [OT] Question on JVM maximum heap size parameter in tomcat

2007-08-02 Thread Caldarale, Charles R
> From: Monimoy Deb [mailto:[EMAIL PROTECTED] > Subject: Question on JVM maximum heap size parameter in tomcat > > So, I am looking for the logic for specifying optimum > value for Xmx parameter which I can specify without > any manual intervention. This has nothing to do with Tomcat per se, but

RE: [NOT SOLVED]Tomcat native library Not found in Solaris 9

2007-08-02 Thread Lakshmi Venkataraman
Thanks for your reply! I will try the steps suggested below. Lakshmi -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 2:20 AM To: Tomcat Users List Subject: Re: [NOT SOLVED]Tomcat native library Not found in Solaris 9 Hi, first of all: th

Question on JVM maximum heap size parameter in tomcat

2007-08-02 Thread Monimoy Deb
Hi, I am using tomcat5.0 web server in Linux. At the time of tomcat startup, the maximum heap size for JVM is specified using Xmx parameter in catalina.sh, for e.g. java -Xms128m -Xmx1337m -classpath jre/lib/tools.jar:tomcat/bin/bootstrap.jar org.apache.catalina.startup.Bootstrap start The is

Optional authentication

2007-08-02 Thread Bruno Harbulot
Hello, I would like to be able to require authentication optionally and make my servlets or JSPs behave differently depending on which Principals they get. For example, I'd like a GET to be able to return a 200 status and not 401, even if the user has not been authenticated. Presumably, this is

javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/HelloWorld

2007-08-02 Thread Fabbris Pierluigi
Hi, I've a problem with test of Servlet. I created a Hello World Severlet in the directory classes on Tomcat. I've try with: http://localhost:8080/servlet/Helloworld, but I've this Excpetion: javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/HelloWorld

Re: New Problem to configure servlet on Tomcat

2007-08-02 Thread David Delbecq
Just read: "Can't find bundle for base name LocalStrings, locale it_IT " in other words, you are missing ressource bundle LocalString_it.properties or LocalString_it_IT.properties check your code and your files. Fabbris Pierluigi a écrit : > Hi, > I've configured Servlet on Tomcat, and more prob

Re: mod_jk sticky sessions don't work

2007-08-02 Thread Rainer Jung
If you configured jvmRoute in server.xml correctly, Tomcat should append ".portal1" resp. ".portal2" to the session IDs on portal 1 resp. portal2. From hte log it looks like this is not happening. So I suspect, either something is wrong with your server.xml, or you are talking to another Tomca

Re: BasicDataSourceFactory.class where? (Tomcat 5.5, RHEL)

2007-08-02 Thread Juergen Nickelsen
David Smith wrote: ... or at least post your question on a Redhat or jPackage list. We're not known for being all warm and fuzzy toward the tomcat rpm install packages. They've done things to tomcat in the process of packaging I know I wouldn't recommend. Apparently, yes. Using a plain Tomc

mod_jk sticky sessions don't work

2007-08-02 Thread Claudio Tassini
Hi all! I'm trying to configure mod_jk to handle balance two apache-tomcat instances through an Apache "reverse proxy", i read all the documentation, reference guides and howtos i found but it still doesn't work... Below are some configuration I'm using. The symptoms are that I connect with a brow

Re: Encrypt password in server.xml

2007-08-02 Thread Hassan Schroeder
On 8/2/07, Ofer Kalisky <[EMAIL PROTECTED]> wrote: > Is there a way to encrypt the password in server.xml, so that people > can't see the cleartext password when they open the server.xml file? This is a FAQ, and the answer is "no" . :-) For more detailed discussion search the archives, or read t

RE: error: The task doesn't support the "srcdir" attribute

2007-08-02 Thread Shaikh, Saleem (Saleem)
Hi, Here is the ant target that I use for this jsp pre-compilation during build: -Saleem -Original Message- From: Shaikh, Saleem (Sa

[ANN] Withdrawal of Apache Tomcat JK 1.2.24 Web Server Connectors

2007-08-02 Thread Rainer Jung
The Apache Tomcat team needs to withdraw release 1.2.24 of the Apache Tomcat Connectors. The release contains a bug that prevents the correct flushing of parts of responses from the web server to the client. This might result in unpredicted communication behaviour. We therefore have removed th

Encrypt password in server.xml

2007-08-02 Thread Ofer Kalisky
Is there a way to encrypt the password in server.xml, so that people can't see the cleartext password when they open the server.xml file? I mean the connectionPassword attribute in the Realm element. Thanks, Ofer. - To start a n

error: The task doesn't support the "srcdir" attribute

2007-08-02 Thread Shaikh, Saleem (Saleem)
Hi There, I am trying to use ant task to precompile my jsp along with my application build to check if there is any jsp problems that show up. But I always get this error as below: Seems the "srcdir" attribute is not getting recognized by the jasper at all. I am using jaspe

RE: Tomcat6 and JVMTI Interface provided by SUN for Java profiler.

2007-08-02 Thread Liang, Chong
It happens on tomcat6 as service but not with commandline option. -Original Message- From: Liang, Chong [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 9:40 AM To: users@tomcat.apache.org Subject: Tomcat6 and JVMTI Interface provided by SUN for Java profiler. Hi there, I a

RE: How do I use tomcat5w.exe with a service name other than Tomcat5?

2007-08-02 Thread Mark Faircloth
Ron, You can create a shortcut and add //ES//Your_Tomcat_service to the Target. Mark -Original Message- From: rmiller [mailto:[EMAIL PROTECTED] Sent: 01 August 2007 19:40 To: users@tomcat.apache.org Subject: How do I use tomcat5w.exe with a service name other than Tomcat5? I have m

Tomcat6 and JVMTI Interface provided by SUN for Java profiler.

2007-08-02 Thread Liang, Chong
Hi there, I am working on a Java profiler using JVMTI interface provided by JDK 5 and above. I always get abnormal termination of tomcat 6 when stopping it. I ran through DevStudio debugger and found the callback of jvmtiEventVMDeath in JVMTI is never activated when shutting down tomcat 6 and a

RE: New Problem to configure servlet on Tomcat

2007-08-02 Thread Caldarale, Charles R
> From: Fabbris Pierluigi [mailto:[EMAIL PROTECTED] > Subject: New Problem to configure servlet on Tomcat > > I've configured Servlet on Tomcat, and more problem I've > resolved, but I've this problem: > > java.util.MissingResourceException: Can't find bundle for > base name LocalStrings, loca

Re: Java source encoding

2007-08-02 Thread Mikolaj Rydzewski
Artur Rataj wrote: Hello, can I specify the encoding of java source files in the war file? What do you need source files stored inside war file for? -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

Re: Forwarding based on URI's in Tomcat

2007-08-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, Bill Barker wrote: > "Christopher Schultz" <[EMAIL PROTECTED]> wrote in message >> action >> /mymodule/sexy* >> /mymodule/sexy >> >> That is, map both "/sexy*" and "/sexy" to the servlet. > > > Nope, "/sexy*" is an exact-ma

Java source encoding

2007-08-02 Thread Artur Rataj
Hello, can I specify the encoding of java source files in the war file? Best regards, Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

AW: ResourceLink Problems in 6.0.13

2007-08-02 Thread hans.mader
Thanks Mark. What about the release date of 6.0.14? Regards, Hans. -Ursprüngliche Nachricht- Von: Mark Thomas [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 02. August 2007 13:46 An: Tomcat Users List Betreff: Re: ResourceLink Problems in 6.0.13 [EMAIL PROTECTED] wrote: >> Hello, >

Re: ResourceLink Problems in 6.0.13

2007-08-02 Thread Mark Thomas
[EMAIL PROTECTED] wrote: >> Hello, >> >> here is my problem: >> >> Its not possible to override web.xml env.entries with server.xml env. >> entries (this works fine in TC 5.0.30) This should be fixed in 6.0.14. See http://marc.info/?l=tomcat-dev&m=118261088127037&w=2 Mark

AW: Application outside WEBAPPS

2007-08-02 Thread hans.mader
Place the myapp.xml in the /conf/Catalina/localhost/ directory. That's all. Regards, Hans -Ursprüngliche Nachricht- Von: Mladen Turk [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 02. August 2007 13:11 An: Tomcat Users List Betreff: Re: Application outside WEBAPPS André Vila Cova

Re: Application outside WEBAPPS

2007-08-02 Thread Mladen Turk
André Vila Cova wrote: Hello! How can I invoke an application located outside WEBAPPS? What setup I need to do? If I have an application inside WEBAPPS, p.e., ../WEBAPPS/test/ in URL I invoke http://localhost/test... but if application is in other location? Take a look at http://tomcat.apache

ResourceLink Problems in 6.0.13

2007-08-02 Thread hans.mader
> Hello, > > here is my problem: > > Its not possible to override web.xml env.entries with server.xml env. entries > (this works fine in TC 5.0.30) > > conf/server.xml: > > > > value="http://server:port/portalurl/"/> > ... > > > conf/Cataline/localhost/appcontext.xml: > > ... >

Application outside WEBAPPS

2007-08-02 Thread André Vila Cova
Hello! How can I invoke an application located outside WEBAPPS? What setup I need to do? If I have an application inside WEBAPPS, p.e., ../WEBAPPS/test/ in URL I invoke http://localhost/test... but if application is in other location? Thanks a lot

RE: Using manager to deploy with path="/123/456/789"

2007-08-02 Thread Derek Alexander
Thanks for the replies. Yes, we're doing it the manual way currently, but were hoping to use the manager to streamline our deployment processes. I've opened a couple of issues, first asking for a decent error message, second requesting this feature be added: http://issues.apache.org/bugzilla/sh

Re: Tomcat and Terracotta

2007-08-02 Thread John Gardner
Scott McClanahan wrote: > I know this is a tomcat mailing-list but I'm just curious if anybody has > used tomcat with terracotta. How well do the features of session > replication and the idea of a "distributed" jvm pan out. Just curious > if anybody has done it and how they feel about it. > > I

Re: Tomcat cluster serving ~50 lines of the page when a request hits a stopped webapp for the first time

2007-08-02 Thread ben short
Rainer, I setup a test httpd + loadbalancer with jk 1.2.24 and could reproduce the problem over and over again. Then I patched the source and have been unable to reproduce the problem with the patched mod_jk.so. So the patch looks good. Regards Ben On 8/1/07, ben short <[EMAIL PROTECTED]> wrot

Re: [NOT SOLVED]Tomcat native library Not found in Solaris 9

2007-08-02 Thread Rainer Jung
Hi, first of all: this is a gcc question. If you search for a high quality answer, you should contact the gcc commmunity. My personal way to do this (and there is definitely more than one wait to do it): export CC="gcc -specs=/path/to/my/specs" Contents of file /path/to/my/specs: *libgcc:

Re: Tomcat with/without Tomcat native library

2007-08-02 Thread Petr Sumbera
Thank you both for the info. But what is your opinion about the crash I am experiencing with SSL: bash-3.00# /usr/apache2/bin/ab -c 4 -n 1 https://localhost:443/favicon.ico This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd,