filter: How to set browser encoding?

2005-10-12 Thread Mark
().println(output); } In MyFilter.doFilter() I do following: (HttpServletResponse)response).setContentType(text/html;charset=Windows-1257) I use 5.0.28 with Redhat 9. Any input is welcome. Thanks! Mark. __ Yahoo! Mail - PC Magazine

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

2005-10-12 Thread Mark
with request.setCharacterEncoding(encoding); Crossing my fingers... Mark. --- Rick [EMAIL PROTECTED] wrote: Hi Mark, Can you talk a little about what the data is.. Just form data from different locales? I store all my data in UTF-8 and just instruct the page encoding to be the same (UTF-8) and I'm able to handle

where is a text/html;charset= ?

2005-10-12 Thread Mark
=...? or I'm missing something? Thanks, Mark. __ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ - To unsubscribe, e-mail: [EMAIL

Re: where is a text/html;charset= ?

2005-10-12 Thread Mark
Thanks Jon, text/html;charset= is not there yet... Here what I've got: HTTP/1.1 200 OK Set-Cookie: JSESSIONID=95EA4260325D4C1FCBF8196773A4BED3; Path=/ Content-Length: 478 Date: Wed, 12 Oct 2005 20:34:37 GMT Server: Apache-Coyote/1.1 Connection: close htmlheadtitleHello Test4/title Mark

RE: Tomcat 5.5.12 and user-agent header

2005-10-11 Thread Mark Thomas
of Axis. Mark -Original Message- From: Richard Mixon [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 12:00 AM To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.12 and user-agent header Leon, Thank you for the test - but I still get a null user-agent right after

RE: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-11 Thread Mark Eggers
Here's a quick writeup. This is going to be a long reply, and I hope it will be useful. I am using Fedora Core 4 as a model. I hope it will be close enough to RHEL 3 to be useful. You may have to change paths in order to correspond to your environment. First of all, my environment:

Re: JSP Newbie seeking guidance

2005-10-10 Thread Mark Eggers
I am not familiar with the book. If they are recommending using Tomcat's connection pools and JNDI, then you will need to add the jar file that contains the MySQL driver to $CATALINA_HOME/common/lib. If you are connecting to the database directly from your web application then you probably need

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
anti-locking options, antiJARLocking and antiResourceLocking. Make sure you read the docs before trying to use them. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: SessionListener invoked sometimes and not others

2005-10-08 Thread Mark Thomas
and release when the web app goes away. How do I do that? Use a ServletContextListener. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem with tomcat configuration

2005-10-06 Thread Mark Eggers
https is port 443. You need to to uncomment the HTTP 1.1 connector for 8443 and change the port to 443. Uncomment the following connector in server.xml: !-- Define a SSL HTTP/1.1 Connector on port 8443 -- !-- Connector port=8443 maxHttpHeaderSize=8192 maxThreads=150

RE: mysql connection with JSP

2005-10-06 Thread Mark Benussi
jdbc:mysql://hostname:3306/database?user=usernamepassword=password However on a design front I would never personally look up a database connection in a JSP. Others may disagree. -Original Message- From: Cengiz Yazgan [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 11:46 To: 'Tomcat

Issuing HTTP requests from inside JSP under Tomcat

2005-10-06 Thread Bandak, Mark
... Many thanks ... /Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: custom session manager

2005-10-06 Thread Mark
There is one problem with this approach. Load balancing/clustering. If you have a HashMap in one tomcat JVM, how does that information get propogated to other JVM's possibly on other machines? Thank you by the way for all the inputs so far On 10/6/05, Leon Rosenberg [EMAIL PROTECTED]

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

2005-10-06 Thread Mark
selected charset. I have Tomcat 5.0.24 on redhat 9 Thank you, Mark. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL

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
? The info messages shows it starting with JK on my machine. I think we will need to see a copy of the message and your server.xml Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: mysql connection with JSP

2005-10-06 Thread Mark Thomas
ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner Cengiz Yazgan wrote: Hi everybody I want to connect a mysql database with jsp code. Can anybody help me to write

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

2005-10-06 Thread Mark Thomas
ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner Amadeo Alonso wrote: Hi all, ¿Can anyone explain it , please? I use Tomcat 5.5 as server pages html

Re: exception in session handling

2005-10-06 Thread Mark Thomas
or expired... /spec-quote Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

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

2005-10-06 Thread Mark
Hi Mark, In my case servlet generates an output, so no JSP for now... Can I do it using filters? Or define and store user's prefs with encoding outside of tomcat and in the session and use if it's exists in the session? Thanks a lot! Mark. --- Mark Thomas [EMAIL PROTECTED] wrote: Mark wrote

RE: [OT] How much RAM can java use

2005-10-06 Thread Mark Benussi
This was probably one of the best threads I have 'listened' to in ages. I am researching setting up my own Tomcat hosting. This is going to be of use. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: 06 October 2005 20:48 To: Tomcat Users List Subject: Re: [OT] How

Re: Embedded Tomcat and SSL?

2005-10-06 Thread Mark
are you using Apace with Tomcat? I have done embedded Tomcat and SSL, but it was Apache sitting in front of Tomcat. On 10/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using an embedded tomcat instance within my application. I am trying to set up a connector using SSL. When I

Re: Mod_jk + Apache on RHEL3 gives 503 for jsp only

2005-10-06 Thread Mark Eggers
--- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have jakarta-tomcat-5.5.9 installed and working properly on the new server. It is perfectly accessible from the legacy web server. By perfectly accessible you mean . . . ? The main page, home.jsp, loads fine in the servlet if no page is

Re: Context path changes in context.xml not working

2005-10-05 Thread Mark Eggers
As mentioned several times on the mailing list, path is no longer read from webapp/META-INF/context.xml. Try placing the context information in: engine-name\hostname\appname.xml under %CATALINA_HOME%\conf or %CATALINA_BASE%\conf if you're using multiple Tomcats served from one binary. If

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

sharing session information across tomcats on different machines

2005-10-05 Thread Mark
Is there any possibility for tomcats on separate machines to share session information. I am looking into load balancing a few tomcats with an apache in front of them. In other words, the setup will be internet - Apache(s) - Tomcats Is it possible for this type of scenario to exist, and sesion

Re: custom session manager

2005-10-05 Thread Mark
/05, Mark [EMAIL PROTECTED] wrote: After using tomcat since the 3.x days, I have been very impressed with the amount of flexibility and configuration options that I have available to me. One part of the tomcat design that I do not believe is very flexible is the ability to set up

Re: custom session manager

2005-10-05 Thread Mark
an intruder will simply use a patched browser and a proxy. Maybe if you tell us what you trying to achieve, we can provide you a better solution. regards leon On 10/5/05, Mark [EMAIL PROTECTED] wrote: This is about 90% of what I want. One of the features I want to put into my session

Re: Context path changes in context.xml not working

2005-10-05 Thread Mark Eggers
Did you try it in: $CATALINA_HOME/conf/engine-name/hostname/appname.xml? /mde/ --- David Kerber [EMAIL PROTECTED] wrote: Nobody has any suggestions about setting up a 2-level context path *without* putting it in the server.xml (it works fine in there)? Dave

Re: setting the context path in tomcat5.5.9?

2005-10-04 Thread Mark Thomas
ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner Mbah Tenjoh-Okwen wrote: hello i would like to know how to set the context path in tomcat5.5.9 hi I also read

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
ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner Reynir Hubner wrote: Hi, I'm trying to have one connector on tomcat open with secure=true with out it being SSL or https

Re: combining form based authentication with https

2005-10-01 Thread Mark Thomas
both and how tomcat wil help me doping this?? Providing you have an https connector configured, you can use something like this in your security-constraint user-data-constraint transport-guaranteeCONFIDENTIAL/transport-guarantee /user-data-constraint See the spec for more details. Mark

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
application and add the web.xml snippet to your application's web.xml file. Mark login.jsp html head titleLogin/title /head body form method=POST action='%= response.encodeURL(j_security_check) %' name=loginForm input type=text name=j_username size=16 id=username

Re: Running Servlet in Tomcat

2005-09-29 Thread Mark Thomas
precisely to run the first servlet in tomcat http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Webapp deploy on windows

2005-09-29 Thread Mark Thomas
if there is anything that can be done to improve things. However, please remeber that this is fundamentally an OS issue, not a Tomcat one, and the fix may well be outside of our control. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Why doesn't my context work?

2005-09-29 Thread Mark Eggers
--- Michael Sullivan [EMAIL PROTECTED] wrote: [ lots of stuff snipped ] OK, I finally got around to putting this together on my Limux (Fedora Core 4) box. My environment: 2.6.12-1.1456_FC4 running on a Dell 8200 with 768 MB java 1.5.0_04-b05 apache 2.0.54 mod_jk 1.2.14.1 tomcat 5.5.9 My

Re: Embedded Tomcat and shared objects...

2005-09-28 Thread Mark
I have done something like this. The Factory and Singleton design patters work perfectly for this type of thing. If you create an abstraction layer, then there should be no problems On 9/28/05, Leon Rosenberg [EMAIL PROTECTED] wrote: still, spring can use the same factory. If not, use a

Re: Possible Security Bug

2005-09-28 Thread Mark Thomas
to put it in the database but mark it private? Can anyone advise? Security bugs should be sent to [EMAIL PROTECTED] (who will send it on to the tomcat team). If you send it to me directly I'll take a look now. One other point, when sending a message on a new topic to the list, please

Re: Virtual hosts and Threads

2005-09-28 Thread Mark Thomas
subject. This will start a new thread. Mark tomcat-user-owner Mahesh S Kudva wrote: Hi All I have setup virtual hosts for 3 apps with virtual hosts config as follows. These virtual hosts are first handled by Apache and mod_jk. My apps have scheduler and automated mailing services. Host name

Re: Vexing Problem with Tomcat connector

2005-09-28 Thread Mark Thomas
ignore any messages that hijack another thread. The correct procedure is to create a new message with a new subject. This will start a new thread. Mark tomcat-user-owner [EMAIL PROTECTED] wrote: Hello, I have a website that I am migrating to a new server. Server is Redhat ES3 2.4.21-20.0.1

custom session manager

2005-09-28 Thread Mark
After using tomcat since the 3.x days, I have been very impressed with the amount of flexibility and configuration options that I have available to me. One part of the tomcat design that I do not believe is very flexible is the ability to set up a custom session manager. So maybe I am missing

Re: Why doesn't my context work?

2005-09-26 Thread Mark Eggers
--- Michael Sullivan [EMAIL PROTECTED] wrote: Right now I use symlinks to my individual users' website directories, but now that I've discovered Alias I'll probably switch completely to using Aliases. Good. I created a test Alias point to the ~/webspace/webapps directory in my

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 document

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
directory and using the alternateURL) is going to be less effort and less error prone that trying to keep to completely different lists of users, passwords and role assignments in sync. Mark - To unsubscribe, e-mail: [EMAIL

Re: force reload of individual class files

2005-09-24 Thread Mark Thomas
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/manager.html#Restart%20Persistence Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
) the resulting JSP page calls request.getRequestURL(). It returns /x/y/somefile.jsp (instead of action.do) Our app is broke because of this, any ideas? Read section SRV.8.4 of the Servlet specification. 5.0.28 was not following the spec. 5.5.9 is. Mark

Re: How show CLIENT-CERT Realm

2005-09-21 Thread Mark Thomas
issue a redirect to SSL. You will need to set the clientAuth attribute on the connector to true to require all connections to present a client certificate. If you want to validate the clienbt certificate, have a look at o.a.c.authenticator.SSLAuthenticator Mark

session tracking in a context that contains JSP and servlets

2005-09-21 Thread Mark
I want to create a webapp that will contain both servlets and JSP. I will be using a login page to authenticate users. I will probably use one of the Tomcat supported authentication modules. I am wondering if it is possible for tomcat to properly manage session information when going between

Re: session tracking in a context that contains JSP and servlets

2005-09-21 Thread Mark
I would think that this is possible. I have been writing servlets for over a year, but have not written a single line of JSP. On 9/21/05, David Wall [EMAIL PROTECTED] wrote: Mark wrote: I want to create a webapp that will contain both servlets and JSP. I will be using a login page

Re: Not able to access the home page of Apache with mod-ssl

2005-09-20 Thread Mark
Could IE be configured so that it is going through a proxy? On 9/19/05, Rohit Maheshwari [EMAIL PROTECTED] wrote: Hi All, I am setting up Apache 2.0.54 with mod_ssl. I have configured virtual host as rohit.com. When I tried to access the home page of Apache with firefox I am able to

Re: Remote Address Valve Lets Everything Through

2005-09-20 Thread Mark Leone
KEREM ERKAN wrote: Hi Mark, Is it possible that you may have mistyped allow=xxx.xxx.xxx.xxx as allow=xxx.xxx.xxx.xxx in your configuration? If you did not accidentally delete the () from the right hand side of allow when sending to the list, that may be your problem. Thanks

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Mark
2 notes. When using Java 1.5, StringBuilder class is supposed to be better according to documentation. Also, what has worked for me, is that if any of the strings can be generated ahead of time, do so in a static block and convert the strings to byte[]. This not only eliminates redundant

Re: Mod_jk setup problems

2005-09-20 Thread Mark Eggers
Glad I was able to help a little bit. In my experience (Linux,Solaris,Win/2K), 8080 should always work if you have the Connector configured. If you can't get to http://localhost:8080/jsp-examples/ running, then there is something else amiss. In your httpd.conf file, I still didn't see something

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
for the allow and deny patterns. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2005-09-20 Thread Mark Thomas
. Now i just need to figure out how to configure my tomcat to return values for getRemoteHost calls. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html Look for enableLookups Mark - To unsubscribe, e-mail

Re: Where to place a common jar file?

2005-09-19 Thread Mark Eggers
From the Tomcat documetation: http://localhost:8080/tomcat-docs/class-loader-howto.html * For classes and resources specific to a particular web application, place unpacked classes and resources under /WEB-INF/classes of your web application archive, or place JAR files containing those

Re: Mod_jk setup problems

2005-09-19 Thread Mark Eggers
A couple of things here. I'll try to insert comment where appropriate. --- Don Boling [EMAIL PROTECTED] wrote: I can't seem to get anything to successfully pass though the mod_jk connector to the webapp. What version of mod_jk? My mod_jk.conf , workers.properties are as follows. $ less

RE: Where to place a common jar file?

2005-09-19 Thread Mark Eggers
I think so. If you use global naming resources and a resource link (accessing your jdbc database via jndi), then you might only need to place the jdbc drivers in server/lib. Reading some other online documentation, this appears to be the preferred method. /mde/ --- David Thielen [EMAIL

Remote Address Valve Lets Everything Through

2005-09-19 Thread Mark Leone
really basic about how this valve is supposed to work? -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Remote Address Valve Lets Everything Through

2005-09-19 Thread Mark Leone
The asterisks in the valve below are an artifact of the way I did my cut and paste. The actual valve appears as follows in server.xml valve className=org.apache.catalina.valves.RemoteAddrValve allow=xxx..xxx.xxx.xxx/ // actual IP address not shown -Mark Mark Leone wrote: I'm trying

Re: tomcat url connections

2005-09-17 Thread Mark Thomas
though. The simpler you keep the test case, the greater the chances of me looking at it. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Broken links on the Tomcat 5.5 Docs pages

2005-09-17 Thread Mark Thomas
://jakarta.apache.org/tomcat/tomcat-5.5-doc/engine.html Fixed in CVS. Thanks for the report. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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

2005-09-17 Thread Mark Thomas
http://www.apache.org/dev/version-control.html#https-svn The next and final stage of the SVN migration will be to move tomcat5, catalina, jasper and the connectors. A detailed plan for this migration will be published on the dev list. Mark

Re: Why doesn't my context work?

2005-09-16 Thread Mark Eggers
Here are the contents of home.xml: Context path=/user appBase=/home docBase=michael/webspace/webapps debug=0 privileged=true /Context From the documentation for Tomcat 5.5.9 at http://localhost:8080/tomcat-docs/config/context.html: The Document Base (also known as the Context

Re: Why doesn't my context work?

2005-09-16 Thread Mark Eggers
--- Michael Sullivan [EMAIL PROTECTED] wrote: OK. For clarification I am running tomcat-5.0.27-r6. I want user's tomcat files to be read from /home/*/webspace/webapps. My personal account is michael so my personal tomcat directory would be /home/michael/webspace/webapps . Just for

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

Re: Issue with the admin webapp

2005-09-14 Thread Mark Thomas
a chance. Yes it does include the fix. More generally, any x.y.z+1 release contains all the fixes in x.y.z Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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
the request, particularly the body content, is *very* Tomcat specific. Mark Ajay Arjandas Daryanani wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi everyone, this is my first mail to this list, forgive me for any mistake I may make... I'm developing a authorization filter for Tomcat 5; in some

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

2005-09-13 Thread Mark Thomas
client.cer file but I am not able to pinpoint it. Your help will be very much appreciated. Hong You need to import the client cert as a user cert, not as a trusted root certificate. Mark - To unsubscribe, e-mail: [EMAIL

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

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

2005-09-13 Thread Mark Thomas
using CLIENT-CERT auth. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Case-insensitive URLs for serving HTML

2005-09-13 Thread Mark Leone
That looks like just what I needed. Thanks. -Mark Hassan Schroeder wrote: [EMAIL PROTECTED] wrote: I have a webb app in Tomcat that serves only HTML, and I'd like to make the path component of the URL case-insensitive. ... I guess I'd like to match the URL pattern to a regular

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
deployed application, but we don't have it on production machine. Sorry, this can't be done. Tomcat and all the apps run within a single JVM. You would have to have multiple Tomcat instances. Mark - To unsubscribe, e-mail: [EMAIL

RE: Memory leak in Tomcat

2005-09-12 Thread Mark
Hi, Can you share how much memory do you have and how much used by tomcat and what JAVA_OPTs do you have. Thanks a lot, Mark. --- Michael Oliver [EMAIL PROTECTED] wrote: Ingrid, I am not on the tomcat developer committer list so my reply is just an FYI from my own experience. I saw

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: How to re-direct the default Tomcat home page

2005-09-11 Thread Mark Shifman
From the tomcat wiki.. How do I override the default home page loaded by Tomcat? http://wiki.apache.org/jakarta-tomcat/HowTo#head-e82228c43a0ce77f71ebe64fc99ced33c9506ffe Bruno Georges wrote: Hi Ben Someone already reply to this question in the list very recently. In a nutshell, name your

issue with Filter

2005-09-09 Thread Mark
that a filter was executed and the proper value has been set. Thanks a lot, Mark. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

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

expirationtime on images( ico, gif)

2005-09-07 Thread Mark
files somewho are not cached and I see it in tomcat access log files that they was requested and return status for them is 304 (not changed) Thanks, Mark. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http

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: What's better, having one large servlet or many small ones?

2005-09-06 Thread Mark Benussi
Many small ones. -Original Message- From: Raueber Hotzenplotz [mailto:[EMAIL PROTECTED] Sent: 06 September 2005 10:50 To: tomcat-user@jakarta.apache.org Subject: What's better, having one large servlet or many small ones? Hello Should I have one handler with many methods or more

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

  1   2   3   4   5   6   7   8   9   10   >