Re: how tomcat not run .EXE as CGI

2005-09-06 Thread Mark Thomas
gjl wrote: Thanks very much to read my question. I have tomcat5.0 for Win32 installed locally on Windows 2k, SP4. I'm trying to run a namazu.cgi.exe (a Full-Text Search Engine. that's not Perl scripts ,but a binary file) . the file is in Tomcat 5.0\webapps\XXX\WEB-INF\cgi ,and I set the

Re: Why does tomcat redirect to welcome files

2005-09-07 Thread Mark Thomas
Jim Kennedy wrote: Thanks Mark, found some good info. Another question: Is is possible to force a forwards for welcome pages with Tomcat. Is there an engine setting for that? Or would I be forced to change the Tomcat source. I notice with other web servers (i.e. IIS) I can specify a default

Re: Ant deployment to Tomcat issue - UnknownHostException: C

2005-09-08 Thread Mark Thomas
Usually caused by a URL of the form file://C:... The fix is to add an extra / to your URL so it looks like: file:///C:... Mark patrick van den Bemt wrote: Hi there, * Ant script Deployment from ws1 (with ant1.6.2) onto ws2 (with tomcat5.0.28) returns build.xml:150:

Re: web.xml, url-pattern

2005-09-12 Thread Mark Thomas
Trond Hersløv wrote: But, if I try using wildcards, eg. url-pattern/*foxer/url-pattern it doesent work anymore. Correct. Wildcards are not supported for mapping paths. Read the servlet spec for more details. If I try to map the servlet so that it seems like a jsp-page

Re: isapi_redirector or isapi_redirector2?

2005-09-12 Thread Mark Thomas
Tracy Spratt wrote: Again, if I am mistaken, please correct me, but this is what I have recently come to understand. The isapi_redirect2.dll is part of the JK2 connector, along with the corresponding conf files. JK2 was deprecated in 2004 because of insufficient interest by both developers and

Re: set different JRE versions on Tomcat 5.x

2005-09-12 Thread Mark Thomas
Olena Mitovska wrote: How Tomcat 5.0.28 running on IIS (OS windows XP) can be configured to use different JVM ( JRE versions) for J2EE applications running on the server? There are a bunch of existing applications that were compiled using 1.4 version, while our new apps use 1.5. We need to be

Re: web.xml, url-pattern

2005-09-12 Thread Mark Thomas
Trond Hersløv wrote: Can you please be so kind and explain what the servlet spec. has to do with configuring the deployment descriptor. The servlet specification defines the format of the deployment descriptor and this therefore the definitive reference for what is, and is not, allowed.

Re: Storing a request

2005-09-13 Thread Mark Thomas
Take a look at how form authenticator does it. See http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java?rev=1.24view=markup and the SavedRequest class in the same package. Note that the way this restores the

Re: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-13 Thread Mark Thomas
Xia, Hong wrote: Hello, I am trying to set up Tomcat5 ( as standalone web server ) with https mutal authentication. There is the connector config Connector port=443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=true

Re: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-13 Thread Mark Thomas
Xia, Hong wrote: Thanks for your help Mark. When I imported the client cert, I pick the 'Automatically select the certificate store ...' option and the certificate appeared under the Trusted Root. I tried to place the certificate under Personal and Other People but the certificate did not

Re: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-13 Thread Mark Thomas
Hector Adolfo Alonso wrote: Hi Xia: I think you cannot use an self-signed certificate (as keytool generates) for mutual authentication. User certificate's certificate authority signer shoul be the same that signs the server certificate. In this case, the server certificate is self-signed.

Re: Scripting variable is not generated

2005-09-14 Thread Mark Thomas
Have a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=21390 and http://issues.apache.org/bugzilla/show_bug.cgi?id=23425 Mark Wei Zhao wrote: I am migrating some code from tomcat 4.* to 5.5. However, I got some compilation error regarding the scripting variable from taglib. This is

Re: Issue with the admin webapp

2005-09-14 Thread Mark Thomas
Sastry Malladi wrote: I filed a bug for this (http://issues.apache.org/bugzilla/show_bug.cgi?id=35835) and it seems this is fixed in 5.5.10. But I don't see a 5.5.10 download and wanted clarification on whether 5.5.11-alpha contains the fix as well. I'm going to check it out anyways when I get

Re: SSL mutual communication problem with Tomcat5 --- Remote host closed connection during handshake

2005-09-14 Thread Mark Thomas
Xia, Hong wrote: Hi, Mark, I have the both server and client .cer imported to cacerts but the problem persists commands to generate the server and client key: Keytool -genkey -alias server -keyalg RSA -keystore serverstore.jks Keytool -genkey -alias client -keyalg RSA -keystore

Re: mod_jk performance

2005-09-14 Thread Mark Thomas
KEREM ERKAN wrote: Tomcat is harder to configure and -sadly- it has a far worse documentation than Apache (for now). I look forward to seeing your documentation patches in Bugzilla ;) Mark - To unsubscribe, e-mail: [EMAIL

Re: How to get user name after login

2005-09-14 Thread Mark Thomas
梁炳場 wrote: After implementation of JDBCRealm, how to retrieve the username in Servlet after login? getRemoteUser() - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tomcat url connections

2005-09-17 Thread Mark Thomas
Navalpotro Herrero, Luis wrote: Hello, I have face recently found a tomcat issue that is driving me nuts. I have a Java application that opens a URL connection against tomcat. The parameteres are URLEncoded to be UTF-8 compatible. One of the values of the params is xml (which is the one that

Re: Broken links on the Tomcat 5.5 Docs pages

2005-09-17 Thread Mark Thomas
Brian Cook wrote: The following links relating to realm logging on page http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html are broken http://jakarta.apache.org/tomcat/tomcat-5.5-doc/context.html http://jakarta.apache.org/tomcat/tomcat-5.5-doc/host.html

[ANN] Tomcat 3 and Tomcat 4 have moved to subversion

2005-09-17 Thread Mark Thomas
The following CVS modules have been migrated to subversion jakarta-tomcat jakarta-tomcat-4.0 These modules are now read only in CVS. The new SVN locations for the head of these repositories are: http://svn.apache.org/repos/asf/tomcat/container/branches/tc3.3.x/

Re: Charset configurations for JSP pages

2005-09-20 Thread Mark Thomas
T P wrote: There are bunch of parameters and finding the right combination does not seem to be trivial. For example there seems to be the following parameters, for which it is hard to find extensive documentation: On jsp page %page%-directive: contentType pageEncoding Read the spec. On

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Mark Thomas
Tony Tomcat wrote: Actually.. according to the documentation the RemoteHostValve and RemoteAddrValve both do the same thing.. They both say... Concrete implementation of RequestFilterValve that filters based on the string representation of the remote client's IP address. The javadoc is

Re: org.apache.catalina.valves.RemoteHostValve issue

2005-09-20 Thread Mark Thomas
Tony Tomcat wrote: ok. got off my lazy butt and looked at the code. RemoteHostValve uses request.getRequest().getRemoteHost() so just the javadoc needs updating for RemoteHostValve.java. I'm sure this was just a copy of RemoteAddrValve. ;-) Looks like it. I have just committed a fix to CVS.

Re: How show CLIENT-CERT Realm

2005-09-21 Thread Mark Thomas
Antony GUILLOTEAU wrote: I'm able to show the login window of a basic realm with following code : response.setHeader(WWW-Authenticate, BASIC realm=\myName\); response.sendError(HttpServletResponse.SC_UNAUTHORIZED); Now I wish to show the window like CLIENT-CERT : when all realm parameters

Re: getRequestURL and forwards

2005-09-23 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, We have an application that does the following ( we use struts 1.2.4, tomcat 5.0.28, jdk 1.4.2) a) user requests /x/y/action.do?x=1 b) the action executes then JSP forwards (via ActionForward) to /x/y/somefile.jsp c) the resulting JSP page calls

Re: force reload of individual class files

2005-09-24 Thread Mark Thomas
matador wrote: Leon Rosenberg [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: You don't need to restart the server to get your changes live, you can force it to reload the whole application, which, in case of tomcat, your users wouldn't even notice (as long as ALL your beans in session

Re: CGI difficulty, binmode(STDIN) not working in FileUpload

2005-09-24 Thread Mark Thomas
Ron Cozad wrote: I have a form input on a html page that does a file upload. I am only getting the first 3k of an upload file. If the file is less than 3k, the multipart boundaries are structured properly, otherwise, I never get the end of the file or the ending boundary. I did

Re: Protecting applications in Tomcat using Directory Server

2005-09-25 Thread Mark Thomas
Surya Mishra wrote: I have successfully used JNDI realm to protect my applications on Tomcat. But if Tomcat is unable to connect to the the directory server, it refuses access. I want it to use the tomcat-users list as a backup if it fails to connect to the directory. It seems if the JNDI realm

Re: Protecting applications in Tomcat using Directory Server

2005-09-26 Thread Mark Thomas
Surya Mishra wrote: Thank You Mark, My Tomcat server won't even start if the directory server is unreachable. That means other applications that have not protected are also failing. Second question: There is no attribute in the Realm definition to give a name to realm (as per the how-to

Re: Need to contact mailing list admin regarding delivery issues

2005-09-26 Thread Mark Thomas
As per the welcome e-mail you received when you subscribed: [EMAIL PROTECTED] David Delbecq wrote: Hello, I need to contact the admin of this mailing list regarding delivery issues with it. Please cc: your reply to david.delbecq at myrealbox.com to ensure delivery. Thanks.

Re: isapi_redirector and danish chars

2005-09-26 Thread Mark Thomas
Michael Salmon wrote: Hi everybody I have a problem with Isapi_redirector and danish chars. I have a webapp downloading files with special Danish chars in the filename. Everything woks fine when Tomcat is doing the hole show, but when I do the same thing through IIS and isapi_redirector I

Re: Possible Security Bug

2005-09-28 Thread Mark Thomas
John Caron wrote: I have a _possible_ bug involving security in Tomcat 5.0.28. I dont see it in the bug database, although it may be described in a way that I didnt search for. I would prefer to send it privately in case its real. If thats not feasible, I will post it here. Or is there a way

Re: Virtual hosts and Threads

2005-09-28 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Re: Vexing Problem with Tomcat connector

2005-09-28 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Re: Running Servlet in Tomcat

2005-09-29 Thread Mark Thomas
Reading the provided documentation is usually a good place to start. Singh, VilishKumar wrote: I have done that. I have not used any package in my servlet. You must place all your class files in packages. http://jakarta.apache.org/tomcat/faq/classnotfound.html Can u describe the steps

Re: Webapp deploy on windows

2005-09-29 Thread Mark Thomas
Joakim Ahlén wrote: I'm not trying to blame anyone for not fixing this issue, (well, maybe i'm laying some blame on those who thinks this is _not_ a tomcat issue..) however, i am really interested in having this bug fixed, and i am prepared to put some effort and time into it myself. To do

Re: combining form based authentication with https

2005-10-01 Thread Mark Thomas
Peddireddy Srikanth wrote: Hi all, I have a basic doubt If there are any resoursec which will me on this please point me towards them. I will carry on from there. My question is how to combine the form based authentication, where we use jsecuritycheck , jusername etc with https. As far as I

Re: wrapper.properties is existing?

2005-10-01 Thread Mark Thomas
Matson, Sunny (GE Healthcare) wrote: Hi All, Is there any wrapper.properties file we can write in Tomcat 5.5 which is equivalent to jserv.properties in Jserv. If it is, how should I write this file and where I need to place it. Don't know. What does it do? Mark

Re: Charset configurations for JSP pages

2005-10-01 Thread Mark Thomas
Mieke Banderas wrote: Mark Thomas said: Read the spec. Where in the spec? JSP.4 Internationalization Issues would seem to be a blinding obvious place to start. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Reg form based authentication

2005-10-01 Thread Mark Thomas
sree kanth wrote: Hi all, i have been developing on JSP's for the last one year,but still i have never implemented form based authentication. Can any one help me in implenting form based authentication? Thank you all Sreekanth Very basic example: Put login.jsp and error.jsp in the root of your

Re: WebDAV characters bug?

2005-10-03 Thread Mark Thomas
Looks like a bug to me. Create a bugzilla entry for it and I'll try and take a look before the next release. Mark Roland Rabben wrote: I am using Tomcat 5.5.9 (on Windows XP) and WebDAV to upload files to my server. However it seems to be a bug or limitation in the Tomcat WebDAV that limits

Re: http connector secure=true

2005-10-03 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Re: setting the context path in tomcat5.5.9?

2005-10-04 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Re: httpConnector secure=true problem (second attempt)

2005-10-04 Thread Mark Thomas
This is a bug that is fixed in 5.5.10+ Mark Reynir Hubner wrote: Hi, I'm trying to have one connector on tomcat 5.0.x open with secure=true with out it being SSL or https. I just want request.isSecure() return true. This is the setup for the connector : Connector port=9020

Re: Certificate authentication

2005-10-04 Thread Mark Thomas
James Rome wrote: Why don't my methods get called? The start() method gets called, but nothing else. Take a look at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/authenticator/package-summary.html Mark

Re: Setting up HTTP Basic for a full Web-App

2005-10-04 Thread Mark Thomas
David, You post is missing some key information before anyone here is going to be able to help you. What happens that you don't expect to happen? What doesn't happen that you do expect to happen? Mark David Johnson wrote: Anyone have any thoughts on this? On 9/30/05, David Johnson [EMAIL

Re: Tomcat Manager, Session Statistics

2005-10-05 Thread Mark Thomas
Jean-Pierre Pelletier wrote: Hi, 1) When I look at sessions statistics for an application, using https://localhost/manager/html/sessions?path=/myApplication Why does Tomcat always list the number of sessions to expired within 10 minutes as equal to the number of active sessions? Looks like a

Re: isapi_redirector2.dll question

2005-10-06 Thread Mark Thomas
John, JK2 is deprecated. Are you sure you want to use it? See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html for a list of connectors and current statuses for TC4. Mark John MccLain wrote: I have installed the IIS to Tomcat redirector on my windows XP pro machine

Re: how to disable jk2 and enable jk1 on Tomcat5 with Apache 1.3

2005-10-06 Thread Mark Thomas
alebu wrote: On Tomcat startup there is info message that indicates that tomcat starts using jk2. As I understand, that cames from that line in server.xml: Connector port=8009 enableLookups=false redirectPort=8443 debug=0 protocol=AJP/1.3 / How to disable jk2 and prevent tomcat to use jk1.2 ?

Re: mysql connection with JSP

2005-10-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Re: Why Tomcat return me a OLD version of my doc.jar ?

2005-10-06 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old

Re: exception in session handling

2005-10-06 Thread Mark Thomas
Ronald Klop wrote: Hello, Is it normal that the session is invalidated before the valueUnbound handlers are called? The spec is your friend. spec-quote section=SRV.15.1.7 ...For sessions that are invalidated or expire, notifications are sent after the session has been invalidated or

Re: Q:how to remove charset from HTTP responce to allow browser use a browser selected charset?

2005-10-06 Thread Mark Thomas
Mark wrote: Hello, In my application users enter data using different languages. The problem I'm facing is the browser sets the page encoding always to ISO-8859-1. (I guess this is default based on server OS) User can change encoding on the page (Browser settings) and everything looks OK but

RE: hot redeploy now work. locked jsf-impl.jar

2005-10-08 Thread Mark Thomas
Take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=10026. It may be related. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, October 08, 2005 5:20 PM To: tomcat-user@jakarta.apache.org Subject: hot redeploy now work. locked

RE: hot redeploy now work. locked jsf-impl.jar

2005-10-08 Thread Mark Thomas
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] I am confused. It looks like they found a way to make tomcat so if the jars had that problem, tomcat could still handle it, but only put this in 4.x. It is not in 5.0(ie. the last post in the message). The functionality has been in

RE: SessionListener invoked sometimes and not others

2005-10-08 Thread Mark Thomas
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] So after a restart of tomcat, I login and it appears the session is still valid, so it does not go through my session listener. I need to be aware of the web application lifecycle and want to grab a resource when the webapp starts and

RE: Tomcat 5.5.12 and user-agent header

2005-10-11 Thread Mark Thomas
Have you looked at the headers between Tomcat and your UA? Is your UA actually sending the UA header? If it is then it looks like a sitemesh problem from what you have described. There are a range of tools for looking at headers. livehttpheaders is good, as is TcpMon which is distributed as part

<    1   2   3   4   5