Re: HttpOnly

2012-06-12 Thread Paul Singleton
gs in new code In general, older software is better understood and less risky than new software, and if it meets requirements, is preferable. Paul Singleton Note that the value of the useHttpOnly attribute for the element is false in 6.0.x, but true in 7.0.x. Whether or not the attribute even e

Re: Links not resolving to their correct path in TC 7.0.27

2012-05-15 Thread Paul Singleton
On 15/05/2012 15:08, Christopher Schultz wrote: On 5/15/12 5:00 AM, André Warnier wrote: Personal opinion : tags are evil. They create all kinds of issues when you move the app, or change your server configuration. There shouldn't be any real reason to use them, if your app is structured pro

distinct HTTPS sites at distinct ports within same IP?

2012-05-08 Thread Paul Singleton
ific HTTPS app, on the optimistic assumption that no-one these days actually types e.g. https://my-secure-app.megacorp.com just my-secure-app.megacorp.com Is this a really cheesy idea? have I missed something obvious? Paul Singl

Re: Initializing webapps in a certain order

2012-03-14 Thread Paul Singleton
servlet spec implementation free to enable startup sequence to be defined? Paul Singleton - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Apache Tomcat Native library

2012-01-30 Thread Paul Singleton
Apache httpd + Tomcat? Paul Singleton - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: session id cookies

2008-01-04 Thread Paul Singleton
Bill Barker wrote: "Paul Singleton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] If I set will Tomcat ignore any JSESSIONID cookie which accompanies a request? Should it? With any of the released versions, it won't ignore the cookie if the browser

session id cookies

2008-01-03 Thread Paul Singleton
If I set will Tomcat ignore any JSESSIONID cookie which accompanies a request? Should it? Paul Singleton - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Generating a 404 response

2007-09-09 Thread Paul Singleton
t you could put this in conf/web.xml (after ) 404 /my_error_404.jsp then if you call response.sendError(404, "") when your app decides the request isn't sensible, this page will be used. I haven't tried this. Paul Singleton -

Re: Generating a 404 response

2007-09-09 Thread Paul Singleton
your app decides the request isn't sensible, this page will be used. I haven't tried this. Paul Singleton - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: SSL and non-secure items

2007-08-28 Thread Paul Singleton
is_maximum wrote: Hi experts, I have a web application configured to be secured by ssl, the problem is at some pages the browser displays a dialog box as a warning that says, this page contains both secure and non-secure items do you want to display non-secure items? and the user has two options

Re: Does anyone have an approach to checking if Tomcat instance is UP?

2007-08-21 Thread Paul Singleton
Jeff Hoffmann wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, Dan Armbrust wrote: A simple cron job that points to a URL using lynx, and greps the output for what it should see will do the trick... I would use wget instead of Lynx, but that's just me. D

Re: Does anyone have an approach to checking if Tomcat instance is UP?

2007-08-21 Thread Paul Singleton
ECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Paul Singleton Jambusters Ltd tel: 01782 750821 fax: 08707 628609 VAT: 777 3904 85 Company no. 04150146 - To start a new topic, e-mail: users@tomcat.apache.org

Re: Regarding Text field editor in JSP

2007-07-20 Thread Paul Singleton
Girish Havaldar wrote: Hello are there any text editor built in that assist us in formating input data, like Subscripting, superscripting, making bold, etc. This editor we need to embed in our jsp page. 'openWYSIWYG' and 'tinyMCE' are JavaScript rich text editors embeddable in web pages incl

Re: Configuring Cipher Suites with Tomcat 6

2007-05-16 Thread Paul Singleton
a public website accepts you can use a service at serversniff.de, or download a desktop tool called "SSLDigger" from www.foundstone.com. Paul Singleton I tried setting SSLCipherSuite="SOME_CIPHER", to only allow a single cipher but when a client connects it still uses what

starting Tomcat from Java

2007-05-04 Thread Paul Singleton
been done? I really want a solution which continues to behave like startup.bat regardless of changes to the environment, Tomcat, server.xml etc. (I won't always be there to sort things out) Paul Singleton - To start a new

Re: running tomcat on a particular network interface and a particular port

2007-04-17 Thread Paul Singleton
olve any software you wouldn't have to use anyway (if someone discovers a security vulnerability in jsvc tomorrow I shall be smugly smiling) but realistically there's nothing in it and the choice is yours... Paul Singleton --David Faheem Mitha wrote: Hi, I can now get tomcat to run a

Re: How to change a cipher suite with jboss 3.2.5

2007-03-22 Thread Paul Singleton
BENTOUHAMI MB Malek (DCL) wrote: Hi, I meet a unsolvable problem (for me) : 14:54:27,221 ERROR [PoolTcpEndpoint] Le point de contact [SSL: ServerSocket[addr=/0.0.0.0,port=0,localport=8443]] a ignoré l'exception: java.net.SocketException: SSL handshake errorjavax.net.ssl.SSLException: No avai

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Caldarale, Charles R wrote: From: Paul Singleton [mailto:[EMAIL PROTECTED] Subject: Re: can a web app discover its Service? I've had a closer look at Tomcat Configuration Reference, which says you can set per-Server JNDI variables (GlobalNamingResources), and per-Context ones, but there

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Bob Hall wrote: --- Paul Singleton <[EMAIL PROTECTED]> wrote: >> I want to deploy the same war into different (5.5) >> Services (e.g. "test" and "live"), and want it to >> discover where it is and behave differently. I didn't explain *why*

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. "test" and "live"), and want it to discover where it is and behave differently. Is there a Tomcat-spe

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Mikolaj Rydzewski wrote: Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. "test" and "live"), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? JMX and MBeans come to mind.

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
ubject: Re: can a web app discover its Service? Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. "test" and "live"), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? JMX and MBeans come

Re: can a web app discover its Service?

2007-03-20 Thread Paul Singleton
Mikolaj Rydzewski wrote: Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. "test" and "live"), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? JMX and MBeans come to mind.

can a web app discover its Service?

2007-03-20 Thread Paul Singleton
I want to deploy the same war into different (5.5) Services (e.g. "test" and "live"), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? Is there a container-independent way of discovering container-specific info like t

Re: Certificate Installation Issues

2007-02-28 Thread Paul Singleton
with alias 'netrequest' before replacing it? Paul Singleton For good measure (because I wasn't sure if I had to or not) I also added them to my Java cacerts file on the pc that I'm going to use to remotely connect to the Server... OK, so my first test was to test that the cer

Re: HTTP plus

2007-02-28 Thread Paul Singleton
ed to "hand off" an initial HTTP request to a telnet conversation, which could be tricky or impossible. Are you reinventing "HTTP tunneling"? http://en.wikipedia.org/wiki/HTTP-Tunnel Paul Singleton Can you "write a server" inside a servlet ?? PK At 06:46 2/28/20

Re: reload on demand?

2007-02-27 Thread Paul Singleton
er. But it requires two manual steps: first, reload the webapp; second, access a page in the webapp. Paul Singleton - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Get rid of 8080 port in Tomcat 3.3

2007-02-23 Thread Paul Singleton
UPGRADE. Otherwise get jsvc to work for you. Regards, Steffen Paul Singleton - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: overlapped parameters between sessions

2007-02-21 Thread Paul Singleton
ncurrently, you may find it easier and safer overall to synchronise access to each session and continue to code your sessions without worrying about concurrent requests. Your users will never notice. Just don't serialise *all* requests :-) But this may not be what William is on about...

(mis)interpretation of /webapps2/ in Context.docBase

2007-02-13 Thread Paul Singleton
.. /> and got this at Tomcat startup: SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\shared\apps\jakarta-tomcat-5.5.9\webapps\2\CardiffCarshareWelsh2c does not exist or is not a readable directory where /webapps2/ was being interpreted as

Re: IPTABLES

2006-10-20 Thread Paul Singleton
possible. That's (part of) my "security posture"... Paul Singleton PS if you know how to configure iptables to also forward internal requests to localhost:8080 please pass it on! If this is true, then I say you have a very weak security posture. Might I suggest you do some ad

Re: IPTABLES

2006-10-19 Thread Paul Singleton
-)) is that web apps can't make requests to themselves at port 80, but have to use 8080 or whatever. Paul Singleton - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: AOL

2006-10-10 Thread Paul Singleton
vailable then it is broken, and if AOL don't set HTTP_X_FORWARDED_FOR then they are guilty of Bad Practice (only those dodgy anonymising services have a good reason to do that). Paul Singleton * or perhaps HTTP_CLIENT_IP --

Re: AOL

2006-10-10 Thread Paul Singleton
return a link back into the session, but this is probably good practice anyway, and all cookie-related problems go away (and testing becomes easier: you can have many independent sessions in Firefox tabs etc. :-) Paul Singleton

Re: multiple virtual hosts and ssl certificates

2006-08-25 Thread Paul Singleton
tores unless you really have to... Paul Singleton - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: performance question

2006-08-16 Thread Paul Singleton
Lambda Probe is a free+easy way to get some instrumentation Propes, Barry L wrote: I'm having some problems this morning with performance. How can I easily determine if it's servlets, or Tomcat, as opposed to possibly the database (Oracle) I'm using? I've not had this problem before. Barry

Re: Multiple browser windows sharing the same session - dirty hack solution

2006-05-11 Thread Paul Singleton
y URL rewriting. First you need to ensure that your servlet/JSP app uses response.encodeURL() wherever it returns a URL referring to one of its own pages, e.g. ">me Then use the attribute to stop session cookies being sent. This has pros and cons but that's another topic.

Re: Creating Virtual Hosts

2006-05-08 Thread Paul Singleton
Jorge Isaac Martínez Hatch wrote: SEVERE: Error starting endpoint java.net.BindException: Cannot assign requested address: JVM_Bind:443 Probably the port is already in use, perhaps by a task left over from your previous attempts. Can you reboot and try again? Or do you have another web serve

Re: Creating Virtual Hosts

2006-05-08 Thread Paul Singleton
7;t match. If it gets the first cert, then it must be using the first Connector, which I guess is because, without "address" attributes, both are using all addresses? Paul Singleton Any help on this is welcome, thank you. Isaac Martínez Hatch ---

Re: Tomcat and Sysdeo Eclipse Plugin

2006-04-14 Thread Paul Singleton
me" is set incorrectly in these preferences. cheers Paul Singleton Asad Habib wrote: Hello. I am experiencing a problem trying to start Tomcat from Eclipse using the Sysdeo Plugin. The error I get is as follows: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/catal

Re: error-page for nonexistent context

2006-02-28 Thread Paul Singleton
Mark Thomas wrote: Paul Singleton wrote: (I am required to anonymiee a Tomcat 5.5 server from hackers trying to discover its version etc.) If I put this in conf/web.xml 404 /anon_error.jsp *and* put an anon_error.jsp in every web app, then I can replace the built-in error page. But

error-page for nonexistent context

2006-02-24 Thread Paul Singleton
when a (page within a) nonexistent context is requested? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 268.0.0/268 - Release Date: 23/Feb/2006 - To

Re: How to deploy my webapp as root context webapp without tomcat loading it twice?

2005-12-01 Thread Paul Singleton
deploy) * set docBase in Context to an absolute path to your app regards Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.362 / Virus Database: 267.13.10/189 - Release Date: 30/Nov/2005 ---

Re: SSL Certificate Beginner Question

2005-12-01 Thread Paul Singleton
David Wall wrote: ...if the user accesses your site with http://, the port 80 Connector (or 8080 if testing or using a non-standard port) has a "redirectPort" element that causes Tomcat to automatically issue a redirect using https:// Are you sure? I thought redirectPort was only u

IncompatibleClassChangeError handling

2005-11-25 Thread Paul Singleton
pages as out of date, and recompile them as they are encountered? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.362 / Virus Database: 267.13.7/182 - Release Date: 24/Nov/2005

Re: Could do with some guidance/help

2005-11-10 Thread Paul Singleton
I only use Tomcat standalone, and have no hunches about your particular problem, but sometimes IE hides the sordid details of error msgs and I find that Firefox gives them to you straight; also there's a LiveHTTPHeaders plugin which can be useful when troubleshooting? good luck :-/

Re: Tomcat 5.0 : howto make a webapp the ROOT webapp the proper way

2005-11-08 Thread Paul Singleton
oyment on startup from explicit contexts while suppressing implicit deployment from the appBase? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.362 / Virus Database: 267.12.8/162 - Release Date: 5/Nov/2005

replacing the error page(s)

2005-11-07 Thread Paul Singleton
e.jsp and what error codes must I do this for? Is there a compact way of specifying *all* codes? Is it a bad idea to define a page for java.lang.Throwable? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.362 / Virus Database: 267.12.

Re: security question for this group

2005-11-06 Thread Paul Singleton
r; if you construct SQL queries from text supplied by the user, they may be able to "inject" commands to do things you don't want them to be able to do RTFM for various techniques for authorizing users Paul Singleton -- No virus found in this outgoing message. Checked by AVG

Re: Unable to open Tomcat Manager?

2005-10-21 Thread Paul Singleton
rw-rw-r-- 1 tomcat tomcat 439 Oct 2 20:01 tomcat-users.xml Since it contains a plaintext password this is a security risk. Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.4/143 - Release Date: 19/Oct

Re: Pre compilation of JSP

2005-10-19 Thread Paul Singleton
precompile"; // can be "jsp_precompile=true" }; }; int ok = compileAllJsps(pageContext, out, req, response, "/", false); %> <%= ok %> JSPs (now) appear to be compiled Paul Singleton -- No virus found in this outgoing message. Checked by AVG

Re: Detecting Session Timeout in Tomcat

2005-10-19 Thread Paul Singleton
d share their collections of issued session ids via a database I guess this isn't Tomcat-specific: the (next?) API could do a little more to help you in these circumstances? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Data

Re: How to PreCompile JSPs

2005-10-16 Thread Paul Singleton
to a Lifecycle listener or whatever so that it runs as soon as an app is started? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date: 15/Oct

Re: How to PreCompile JSPs

2005-10-16 Thread Paul Singleton
very large value, will the pages be checked straightaway (then not for ages) or just not for ages? Paul Singleton -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date: 15/Oct