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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: SSL problem

2005-09-05 Thread Mark Thomas
For 5, import the CA cert to $JAVA_HOME/jre/lib/security/cacerts Do 4 after 5. If you do it right, you shouldn't see the prompt to trust the CA as it is already in your list of trusted certs. Also, check the server cert you get back is indeed what you expect. Mark Peter Betz wrote: Hi, I

Re: Manager error 'FAIL - Invalid context path null was specified'

2005-09-04 Thread Mark Thomas
Andy wrote: When I request a reload like this - http://testxtb.example.com/manager/reload?xtb I get this response- FAIL - Invalid context path null was specified However according to this page - http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html This is a valid syntax You

Re: After 1st installation of JDBCRealm?

2005-09-04 Thread Mark Thomas
梁炳場 wrote: Thank you Mark, How about security manager? Can I use policy file under $CATALINA_HOME/conf/catalina.policy file with JDBCRealm? Yes you can but this is not at all related to application users/roles. See http://java.sun.com/j2se/1.4.2/docs/guide/security/smPortGuide.html for

Re: Why does tomcat redirect to welcome files

2005-09-04 Thread Mark Thomas
Jim Kennedy wrote: I have setup Tomcat to use index.html as the only welcome file. I noticed that the engine redirects to index.html. I'm wondering why that is the case. I would prefer Status: HTTP/1.1 200 OK Not: Status: HTTP/1.1 302 Moved Temporarily spec quote section=SRV.9.10 The

Re: After 1st installation of JDBCRealm?

2005-09-04 Thread Mark Thomas
Can JDBCRealm support a user has more than 1 roles? Yes. Can the SecurityManager support controlling path of Struts such as /fooApp/fooPath.do? Yes you can but this is not at all related to application users/roles. See http://java.sun.com/j2se/1.4.2/docs/guide/security/smPortGuide.html for

Re: Shared object between Tomcat and external program?

2005-09-03 Thread Mark Thomas
Look at JMS. Should do exactly what you want. Mark wolverine my wrote: I'm running Tomcat 5.5. I want to create a servlet to accept a HTTP request. The servlet creates an object based on the request parameters and forward the object (using Queue) to another standalone Java process started from

Re: Tomcat imbedded open source componets ??

2005-09-03 Thread Mark Thomas
Bovy, Stephen J wrote: Our company has a strictly controlled policy for using open source. We must get approval for each and every component on a version by version basis. Can someone give me a list or point me to a link where the list is located of all imbedded open source sub components

Re: After 1st installation of JDBCRealm?

2005-09-03 Thread Mark Thomas
梁炳場 wrote: I just install JDBCRealm of Tomcat 5.5 It works. Very simple to configure. But I have a few questions to ask. 1. How can users change password? They can't without you writing some custom code. And if password is encrypted, how to manage password? eg, how to create the 1st

Re: Waste of our bandwidth

2005-09-02 Thread Mark Thomas
Brian Cook wrote: I do not know if it is an admin but the contact for the Tomcat list is : [EMAIL PROTECTED] No, it isn't. The correct addresses are tomcat-user-owner@ or tomcat-dev-owner@ Mark - To unsubscribe, e-mail:

[ANN] Servlet and JSP APIs have moved to subversion

2005-09-02 Thread Mark Thomas
The following CVS modules have been migrated to subversion jakarta-servletapi jakarta-servletapi-4 jakarta-servletapi-5 These modules are now read only in CVS. The new SVN locations are: http://svn.apache.org/repos/asf/tomcat/servletapi/branches/servlet2.2-jsp1.1-tc3.x/

Re: Archive search is corrupted?

2005-09-01 Thread Mark Thomas
Tracy Spratt wrote: Like a good newbie, I'm trying to first find my solution in the Archives. While I got several very good looking subject hits, when I click the link to go to the thread, I find that the message has nothing to do with the subject. Are some search sites better than others? I

Re: How to remove charset from tomcat response?

2005-08-30 Thread Mark Thomas
Dmitry wrote: Hello Tomcat, I am trying to return an XML with content-type text/xml Without any charset specified in header. I set [EMAIL PROTECTED] contentType=text/xml% in my jsp, expecting header Content-Type: text/xml But despite the page directive given I have header Content-Type:

Re: sharing directory between web application

2005-08-25 Thread Mark Thomas
Davide Frigerio wrote: Hi, I would you like to know if it is possibile in Tomcat to share the same directory between two different web application? Thanks, Yes, if your OS supports symlinks. See the allowLinking property in http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html

Re: Passing parameter upon login using j_security_check

2005-08-25 Thread Mark Thomas
Mark Goking wrote: There was someone who posted 2 yrs ago about a fix for this. But it involved modifying the source code of SavedRequest.class in the catalina.jar Here is the url of that post http://sourceforge.net/tracker/?group_id=59484atid=491164func=detaila id=766413 I went to tomcat

Re: Integrating two applications

2005-08-25 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hello: I have two applications that have front-ends developed using the struts framework. They both run on weblogic application servers. Each application has its own controller. They operate in two different physical environments. In the MVC paradigm, it's two

Re: 10 connection limit with IIS and JK/ISAPI 1.2.14

2005-08-25 Thread Mark Thomas
doc-quote src=http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html; Cachesize defines the number of connections made to the AJP backend that are maintained as a connection pool. It will limit the number of those connection that each web server child process can made. Cachesize

Re: Malformed URL Exception: unknown protocol: c

2005-08-25 Thread Mark Thomas
I assume becuase the url you pass it starts c:\ as that is the start of the XML_WORK_PATH. You need to prefix it with file:/// (or however many slashes you need to get this to work in windows). Mark Franklin Phan wrote: I use Windows XP Pro. My JAVA_HOME environment variable points to

Re: Single copy of Tomcat shared amongst multiple users

2005-08-25 Thread Mark Thomas
Franklin Phan wrote: In RUNNING.txt, a paragraph says: In many circumstances, it is desirable to have a single copy of a Tomcat 4 binary distribution shared among multiple users on the same server. To make this possible, you must configure a CATALINA_BASE environment variable (in addition to

Re: Override WAR file security settings.

2005-08-23 Thread Mark Thomas
I can confirm that you can't override these web.xml settings in server.xml It should be simple enough in Ant to generate two .war files that only differ by the web.xml file Mark Jim Henderson wrote: By the lack of response to my question, I take it that it is not possible to override the

Re: WebDav on Port 80

2005-08-22 Thread Mark Thomas
George Francis wrote: Thanks - thats exactly my experience also; Does anyone here know why port 80 doesnt work? See http://issues.apache.org/bugzilla/show_bug.cgi?id=36303 Mark - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: #1578;#1605; #1575;#1587;#1578;#1604;#1575;#1605; #1575;#1604;#1585;#1587;#1575;#1604;#1607; DISABLE YOUR AUTO REPLY

2005-08-21 Thread Mark Thomas
Wade Chandler wrote: Please disable your auto reply or remove yourself from the list. I receive an email from your directly every time I write to the list. It's part of the rules of the list not to use auto replies. Wade Auto-replying to posts is more than enough of a reason for me to kick

Re: refusing low-grade SSL connections

2005-08-20 Thread Mark Thomas
Set the ciphers attribute on the connector. See http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html Mark Paul Singleton wrote: According to the OWASP Web Application Penetration Checklist (available from www.owasp.org), a secure application server should: * Ensure that

Re: Securing Tomcat Context Descriptor

2005-08-20 Thread Mark Thomas
A couple of observations: - If someone can read the context descriptor they pretty much own Tomcat and probably the server as well. If this person is unauthorised, you have big problems regardless of whether or not they have read-only access to the database. - If the password is encrypted,

Re: Thread-47 java.lang.NullPointerException

2005-08-18 Thread Mark Thomas
Applets are a client side technology not a server side one. This means that applets are executed by browsers, not by Tomcat. As far as Tomcat is concerned, an applet is just a file delivered to the browser. This is a bug in the applet you are using or possibly an error in the way you are

Re: Http-status 500 error in Tomcat 4.1

2005-08-18 Thread Mark Thomas
Just guessing, but are your servlets in a package? Packageless classes do not work. See http://jakarta.apache.org/tomcat/faq/classnotfound.html Mark subi wrote: Hello All, I am using Tomcat 4.1. I just started working in it, so this asking may be childish, if so, pls don't mistake me.

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

2005-08-17 Thread Mark Thomas
Tony Tomcat wrote: Does the RemoteHostValve work? There are no examples in the Tomcat 5 docs and the tomcat 4 docs have the following.. Valve className=org.apache.catalina.valves.RemoteHostValve allow=*.mycompany.com,www.yourcompany.com/ The docs have been updated for 4 and 5 not

Re: What to do if you receive a 554 delivery error when posting

2005-08-17 Thread Mark Thomas
All, I believe I have tracked down and fixed the root cause of this issue. If anyone is still receiving these messages or starts to receive them in the future please forward them as per below. Mark Mark Thomas wrote: If you receive a 554 delivery failure message please forward the message

Re: Enabling CGI/Perl in Tomcat 5.5.9

2005-08-17 Thread Mark Thomas
I haven't tested any of this, I am working entirely from memory and the documentation. I think you have a security problem. As your system is configured a request for http://foo.bar.com/3gflex/3gcgi/somedir/myscript.cgi will look for the script at /usr/prod/3gflex/somedir/myscript.cgi but a

Re: serving japanese file problem

2005-08-16 Thread Mark Thomas
, Mark Thomas [EMAIL PROTECTED] wrote: Arun Prasad R wrote: i have a ウェブ.jpg (japanese filename) in images directory. while requesting that file url encode to %E3%82%A6%E3%82%A7%E3%83%96.jpg but tomcat doesn't serve ウェブ.jpg instead it says file not found. my question is how to make tomcat to decode

[ANN] Watchdog has moved to Subversion

2005-08-14 Thread Mark Thomas
As those of you subscribed to the dev list may have already noticed, the following CVS modules have been migrated to Subversion. jakarta-watchdog jakarta-watchdog-4.0 These modules are now read only in CVS. The new SVN locations are:

Re: Tomcat and the HttpServletRequest Object

2005-08-13 Thread Mark Thomas
Jeff Grangier wrote: Would anyone in the Project Management Committee, Advisory board, or the committer group acknowledge that this bug is understood and will be considered in the next releases of Tomcat? The issue is understood. This is not a bug, since there is no spec violation. Given the

Re: Does Tomcat 5 support mod_JK?

2005-08-12 Thread Mark Thomas
Try reading: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/ajp.html for the Tomcat end and http://jakarta.apache.org/tomcat/connectors-doc/config/apache.html for the Apache httpd end. Mark g1 Sunkersett wrote: Hi, I am trying load balancing with Tomcat 5, fornted with Apache's

Re: ssl/tls - INTEGRAL/CONFIDENTIAL - question

2005-08-12 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hello, I'm having some trouble configuring secure connections. I have 2 webapps that I deployed myself. One in /dspace and another one in /odin. I have set the transport-guarantuee for both to INTEGRAL. I did this in their own web.xml-files. In both cases I used / as

Re: serving japanese file problem

2005-08-12 Thread Mark Thomas
Arun Prasad R wrote: i have a ウェブ.jpg (japanese filename) in images directory. while requesting that file url encode to %E3%82%A6%E3%82%A7%E3%83%96.jpg but tomcat doesn't serve ウェブ.jpg instead it says file not found. my question is how to make tomcat to decode

Re: Test Post

2005-08-11 Thread Mark Thomas
Dave Morrow wrote: I am receiving some NDR's when sending to this list. This shouldn't happen. Please forward the NDR including all the headers to [EMAIL PROTECTED] ir directly to [EMAIL PROTECTED] and I will investigate futher. Thanks, Mark

Re: sessions dropping with mod_ssl, mod_jk, mod_rewrite rules

2005-08-10 Thread Mark Thomas
Seale, Deryl wrote: Thanks for the information, Jon. I finally realized this when I examined the two different cookies Tomcat was setting: the first was marked secure, and the second was not. I followed the threads you provided, and one of the respondents hinted that this behavior may

What to do if you receive a 554 delivery error when posting

2005-08-06 Thread Mark Thomas
All, Reports of 554 delivery errors have continued. My investigations are progressing but I need more information to track down the root cause. If you receive a 554 delivery failure message please forward the message *and the headers* to [EMAIL PROTECTED] or [EMAIL PROTECTED] The headers

Re: Having problem posting to the group

2005-08-01 Thread Mark Thomas
See: http://marc.theaimsgroup.com/?l=tomcat-userm=111895333829546w=2 There has been no progress since my original message. Mark [EMAIL PROTECTED] Ikonne, Ike wrote: Hi all, Could anyone explain to me why I can't post to [EMAIL PROTECTED] I get the following error message when I make a post

Re: W3C log format in Tomcat 4?

2005-08-01 Thread Mark Thomas
Jason, See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html You want the AccessLogValve Mark Jason wrote: I'm new to Tomcat 4 and am trying to figure out how to configure my logs so that Deepmetrix's LiveStats 7 can import them. Does Tomcat 4 support logging to the W3C

Re: accessing global Environment values?

2005-07-28 Thread Mark Thomas
Seth Ladd wrote: I am not able to lookup the default simpleValue environment variable form JNDI with a simple JSP file. Is there anything else I have to do to move an Environment variable, from GlobalNamingResources, into the scope of a webapp? Any advice on how to expose

Re: How to configure tomcat default character encoding ?

2005-07-27 Thread Mark Thomas
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html You should read the documentation for the URIEncoding and useBodyEncodingForURI options. Mark Dongsheng Song wrote: I user Tomcat 5.0.28, the browser send server UTF-8 query string like: QueryString:

Re: how to contribute to Admin ApplicationResources_ko.properties, Korean version

2005-07-25 Thread Mark Thomas
Kenu Heo wrote: Korean translation of ApplicationResources.properties is finished. I wish it would be a helpful resource. untar attatch file in $CATALINA_HOME Many thanks. Many atatchment types are blocked on the list. Please create a bugzilla item and add your properties file to that.

Re: how to get the original requestURI after jsp:forward()

2005-07-24 Thread Mark Thomas
You need to read SRV.8.4 of the servlet specification. Mark Marten Lehmann wrote: Hello, I have a forward to a jsp-file. This jsp-file needs to know which URI was requested in the initial request. Currently, I can only see the requestURI of the forwarded jsp-file. Any ideas? Regards

Re: Request parameter data not being recognised as UTF-8

2005-07-21 Thread Mark Thomas
Tim Koop wrote: I have a web page form that is expecting UTF-8 data, but when my code gets the data, the getParameter() methods don't return the right thing. snip In server.xml, I have added these lines to each Connector: URIEncoding=UTF-8 useBodyEncodingForURI=false (I have also tried

  1   2   3   4   5   >