Re: [OT] Some advice on apache tomcat

2009-11-20 Thread Pid
On 20/11/2009 10:32, André Warnier wrote: Pid wrote: ... (The item is illustrated by the image of a deity applying its wrath to a small, cute, helpless and furry creature, and the implication that it is the addressees fault. It is an unpleasant image.) Thanks. I think I get it now. So, it&#

Re: Tomcat / windows 2008 IIS 7 x64

2009-11-20 Thread Pid
On 20/11/2009 12:11, Sabo, Eric wrote: Still after trying some more things we are still getting an "HTTP Error 404.3 - Not Found" - error code of "0x80070032" I followed this steps: http://jspors.blogspot.com/2009/01/setting-up-64-bit-tomcat-6-on-iis7.html Configure Tomcat (this is the part

Re: Tomcat / windows 2008 IIS 7 x64

2009-11-20 Thread Pid
iginal Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 20, 2009 7:21 AM To: Tomcat Users List Subject: Re: Tomcat / windows 2008 IIS 7 x64 On 20/11/2009 12:11, Sabo, Eric wrote: Still after trying some more things we are still getting an "HTTP Error 404.3 - Not Found

Re: Tomcat / windows 2008 IIS 7 x64

2009-11-20 Thread Pid
On 20/11/2009 12:34, Sabo, Eric wrote: That step did not work, I have one file that has a simple jsp page it will not display it. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 20, 2009 7:31 AM To: Tomcat Users List Subject: Re: Tomcat / windows 2008 IIS

Re: Tomcat / windows 2008 IIS 7 x64

2009-11-20 Thread Pid
you've done; if you want help you've got to give me the info I asked for. p -----Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 20, 2009 7:46 AM To: users@tomcat.apache.org Subject: Re: Tomcat / windows 2008 IIS 7 x64 On 20/11/2009 12:34, Sabo,

Re: configure Tomcat to use a http-proxy

2009-11-20 Thread Pid
On 20/11/2009 14:53, Andreu Adrover wrote: Hi all First of all , thanks for answering this mail :) I'm not a developer, just a teleco engineer. In our company we have activated a new http-proxy to gave access to Internet to all our users (until now we gave them direct access by firewall rules).

Re: configure Tomcat to use a http-proxy

2009-11-20 Thread Pid
On 20/11/2009 15:57, André Warnier wrote: Pid wrote: http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html That, however, does not seem to handle the case where the proxy requires an authentication (the type of which was unfortunately not indicated by the OP). Any generic tips

Re: config database in Tomcat

2009-11-23 Thread Pid
On 23/11/2009 13:00, dishmily wrote: i use 3 tomcats in one PC, in each tomcat i have a webservice, for each webservice i use a mysql database. my question is: how can i write a config file in each tomcat to let tomcat1 load DB1, tomcat2 load DB2 and tomcat3 load DB3. thanks. I'm guessing

Re: Redirecting a port to a webapp

2009-11-23 Thread Pid
On 23/11/2009 13:06, Looijmans, Mike wrote: Because you want different sets of webapps served on your different connectors, I *think* you'll need two different Services in your server.xml: for port 80 for port 80 for port 80 for port 80, specifying base directory for

Re: config database in Tomcat

2009-11-23 Thread Pid
esourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) Pid

Re: Problems finding the right filepath

2009-11-23 Thread Pid
On 23/11/2009 18:41, Ludwig Magnusson wrote: Thank you, that one worked. /Ludwig May I ask what you're searching for? p -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: den 23 november 2009 19:25 To: Tomcat Users List Subject: RE: Problems finding

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Pid
On 24/11/2009 09:47, TheGrailer wrote: Hi, Im pretty new to this but have 2 friends that help me out. Though one of my friends tells me to use Apache2 infront of Tomcat and the other one tells me it's unnecessary. Single server? Tomcat alone is just fine. I'll try to explain my situation:

Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Pid
On 24/11/2009 11:57, Robert Koberg wrote: On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote: 2009/11/24 TheGrailer: The most compellig argument from the "Apache2 and Tomcat 6"-friend was indeed the static content part. http://tomcat.markmail.org/message/il33wqqjb2dok6xz might be illuminatin

[OT] Re: Tomcat 6 and Apache2 VS Tomcat 6 alone

2009-11-24 Thread Pid
On 24/11/2009 12:34, Robert Koberg wrote: On Nov 24, 2009, at 4:30 AM, Robert Koberg wrote: On Nov 24, 2009, at 4:12 AM, Pid wrote: On 24/11/2009 11:57, Robert Koberg wrote: On Nov 24, 2009, at 3:09 AM, Peter Crowther wrote: 2009/11/24 TheGrailer: The most compellig argument from the

Re: ArrayIndexOutOfBoundsException

2009-11-24 Thread Pid
On 24/11/2009 17:17, geoff...@fileflow.com wrote: The bytesRead returns the size of the buffer (8KB) every time. I also debug and I can't find anything wrong. Input and OutputStream are not null, bytesRead is the correct size and the buffer is also filled. Any other ideas? How big is the fil

Re: ArrayIndexOutOfBoundsException

2009-11-24 Thread Pid
orway - On 24 Nov 2009, at 18:22, Pid wrote: On 24/11/2009 17:17, geoff...@fileflow.com wrote: The bytesRead returns the size of the buffer (8KB) every time. I also debug and I can't find anything wrong. Input and OutputStream are not null, bytesRead is the co

Re: ArrayIndexOutOfBoundsException

2009-11-24 Thread Pid
Nov 2009, at 18:30, Pid wrote: On 24/11/2009 17:27, geoff...@fileflow.com wrote: The files are up to 30GB so it is not a solution. When I try without the buffer it doesn't seem to work at all. What I mean is that the servlet sends some data before the error occurs when sending with the bu

Re: ArrayIndexOutOfBoundsException

2009-11-24 Thread Pid
5, 0668 Oslo, Norway - On 24 Nov 2009, at 19:18, Pid wrote: On 24/11/2009 17:37, geoff...@fileflow.com wrote: There is a different amount of data sent each time before it crashes. I also tried byte by byte and gets the same error but it seems that it is les

Re: Ethernet or configuration?

2009-11-24 Thread Pid
On 24/11/2009 23:06, Peter Crowther wrote: 2009/11/24 Guifre Bosch Fabregas: Hi people! I have an unusual problem. I recently installed apache and if I go to server browser and put: http://localhost/APP or http://127.0.0.1/app works fine but if I put into a remote server http://192.168.1.6/app

Re: ArrayIndexOutOfBoundsException

2009-11-24 Thread Pid
On 24/11/2009 20:03, Konstantin Kolinko wrote: 2009/11/24: There is a different amount of data sent each time before it crashes. I also tried byte by byte and gets the same error but it seems that it is less often. So it is random... I wonder what can trigger it. What connectors are you usi

Re: Redirecting a port to a webapp

2009-11-25 Thread Pid
On 25/11/2009 07:24, Looijmans, Mike wrote: I think so too. My personal doubt is still about how Tomcat would try map a request that comes in as "/", "" being variable and being NOT "myapp". Since it does not find a match with "/myapp", and since obviously there cannot be an infinity of

Re: ArrayIndexOutOfBoundsException

2009-11-25 Thread Pid
, Norway - On 25 Nov 2009, at 00:28, Pid wrote: On 24/11/2009 20:03, Konstantin Kolinko wrote: 2009/11/24: There is a different amount of data sent each time before it crashes. I also tried byte by byte and gets the same error but it seems that it is less

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Pid
On 25/11/2009 10:18, jkv wrote: Thanks Peter, That really helps me a lot. I got one small doubt in the last point that you said. In this environment, you only want your "public" certificate on httpd. Tomcat will not be doing anything that uses it, so don't put a copy on those machines. this

Re: Advise on configuring SSL

2009-11-25 Thread Pid
On 25/11/2009 08:43, CBy wrote: Hi, In my current working environment, Tomcat 6.0.18 is behind Apache. I don't know why they chose this setup, because Apache only acts as a proxy, it doesn't host anything. I do have experience in setting up SSL for stand-alone Tomcat, but have no experience with

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Pid
On 25/11/2009 10:28, jkv wrote: Thanks David, I would imagine that with mod_proxy you could load balance https requests so that the https request goes to httpd then its load balanced between https requests to multiple tomcats. What you'll loose over the ajp protocol i'm sure someone will let us

Re: Tomcat Https loadbalancing??

2009-11-25 Thread Pid
On 25/11/2009 11:03, David Cassidy wrote: Pid, there is no need to have a commercial grade cert between your httpd and tomcat as thats in essence a private comms channel between your 2 servers the client won't know / see / care Use a self sign - as long as httpd has your cert all shou

Re: ArrayIndexOutOfBoundsException

2009-11-25 Thread Pid
On 25/11/2009 11:30, geoff...@fileflow.com wrote: On 25 Nov 2009, at 11:10, Pid wrote: On 25/11/2009 08:17, geoff...@fileflow.com <mailto:geoff...@fileflow.com> wrote: I changed the size to 4K, 50K and 1 byte without any luck. What about adding a byte counter to catch when the exc

Re: ArrayIndexOutOfBoundsException

2009-11-25 Thread Pid
On 25/11/2009 12:13, geoff...@fileflow.com wrote: On 25 Nov 2009, at 12:53, Pid wrote: On 25/11/2009 11:30, geoff...@fileflow.com wrote: On 25 Nov 2009, at 11:10, Pid wrote: On 25/11/2009 08:17, geoff...@fileflow.com <mailto:geoff...@fileflow.com> wrote: I changed the size to 4K, 5

Re: ArrayIndexOutOfBoundsException

2009-11-25 Thread Pid
On 25/11/2009 13:03, geoff...@fileflow.com wrote: On 25 Nov 2009, at 13:26, Pid wrote: On 25/11/2009 12:13, geoff...@fileflow.com wrote: On 25 Nov 2009, at 12:53, Pid wrote: On 25/11/2009 11:30, geoff...@fileflow.com wrote: On 25 Nov 2009, at 11:10, Pid wrote: On 25/11/2009 08:17

Re: ArrayIndexOutOfBoundsException

2009-11-25 Thread Pid
On 25/11/2009 14:04, geoff...@fileflow.com wrote: Hardware is different. The one working is a much older machine we use as development server (less memory, older CPU, less disk, etc). OS is the same and apache is 6.0.18 on dev and 6.0.20 on the problem server (but it doesn't work with 6.0.18

Re: ArrayIndexOutOfBoundsException

2009-11-25 Thread Pid
On 25/11/2009 14:05, geoff...@fileflow.com wrote: On 25 Nov 2009, at 14:34, Felix Schumacher wrote: Am Dienstag, den 24.11.2009, 17:57 +0100 schrieb geoff...@fileflow.com: Hi everyone. I'm stuck with a problem I don't understand. We have a tomcat server and after redeploying our war file,

Re: Preventing httpd from accessing WEB-INF contents

2009-11-25 Thread Pid
On 25/11/2009 16:13, Jonathan Mast wrote: Can someone please provide the magical httpd config-cantation that will block httpd from accessing anything in WEB-INF directories? I need something that will be apply globally and can't be overridden by VirtualHost directives. I've dug around the httpd

Re: Preventing httpd from accessing WEB-INF contents

2009-11-25 Thread Pid
ly need to just prevent httpd from accessing anything with "WEB-INF" in the url. On Wed, Nov 25, 2009 at 11:21 AM, Pid wrote: On 25/11/2009 16:13, Jonathan Mast wrote: Can someone please provide the magical httpd config-cantation that will block httpd from accessing anything in WEB

Re: Preventing httpd from accessing WEB-INF contents

2009-11-25 Thread Pid
be an improvement, and lower maintenance. Presumably the only way to be sure, is to not publish the directory in the first place then? p -Tim Pid wrote: On 25/11/2009 16:47, Nikolay Diulgerov wrote: Try AllowOverride None deny from all Probably a better solution wou

Re: Use java 1.5 apps with tomcat 6

2009-11-26 Thread Pid
On 26/11/2009 09:03, Jimmy Spam wrote: Hi! I'm new in this mailing list, my english is a bit poor, so I can't extend so much with my presentation, hehe :-) I have a doubt since I'm using Tomcat 6. I think tomcat 6 need jre 1.6 for running itself, but, Can I configure it to use jre 1.5 or 1.6

Re: How to deploy my first War in Tomcat 6?

2009-11-26 Thread Pid
On 26/11/2009 09:00, jackm wrote: Hi all, I'm newbie, I installed Tomcat 6 on Ubuntu Karmic, how should I proceed to Deploy my first war ? Best Regards Jack (We got all 3 messages) Have you read the documentation? http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html p ---

Re: Use java 1.5 apps with tomcat 6

2009-11-26 Thread Pid
ut crash? Are you using some kind of OpenSuse packaging system, or are you installing from JREs downloaded from Sun's website & Tomcat from tomcat.apache.org? Why do you need jre1.5? As I said, in most cases jre1.6 is better - faster at least. p Thank you very much. Pid escr

Re: How to deploy my first War in Tomcat 6?

2009-11-26 Thread Pid
file system is all you need to do. The Manager app, (also in the docs), supplied with Tomcat provides information and a web UI for uploading and deploying applications. p On Thu, 2009-11-26 at 09:24 +0000, Pid wrote: > On 26/11/2009 09:00, jackm wrote: > > > > Hi all, &g

Re: Use java 1.5 apps with tomcat 6

2009-11-26 Thread Pid
the OS. The Tomcat Documentation is comprehensive: http://tomcat.apache.org/tomcat-6.0-doc/setup.html there's also the README file in the download itself. If you are having trouble after reading these, get back to us explaining what the problem is and what you've already tried. p Rega

Re: Logging to one file

2009-11-26 Thread Pid
On 26/11/2009 13:26, Thomas Zastrow wrote: Hello, I'm new to this list and I have a simple question. I activated the Aapche-HTTPD-style logging in Tomcat 6 with the line in the server.xml. It works fine, but Tomcat creates every day a new log file. I was wondering, if there is a possibility

Re: 404 error message

2009-11-27 Thread Pid
On 27/11/2009 04:18, ennidhi wrote: Hi, I am getting this 404 error on the second request to the same page. First time its is working fine. hwta might be the reason? Thanks Hard to tell from the limited information you supplied. p -

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
On 27/11/2009 11:16, Peter Crowther wrote: 2009/11/27 Dan Bagley: Server version: Apache Tomcat/5.5.20 That's 2.5 years old and has a number of known security vulnerabilities. Given that the issue is the client's security review process, have they reviewed later 5.5.x releases and verified th

Re: Tomcat Native with Apr not initializing on 8443 with SSL

2009-11-27 Thread Pid
On 27/11/2009 11:15, occup_hazard wrote: Nov 27 02:28:19 emr jsvc.exec[14439]: Nov 27, 2009 2:28:19 AM org.apache.coyote.http11.Http11AprProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Nov 27 03:27:07 emr jsvc.exec[14439]: Nov 27, 2009 3:27:07 AM org.apache.coyote.http11.Http11AprP

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
performed correctly? p Pid wrote: On 27/11/2009 11:16, Peter Crowther wrote: 2009/11/27 Dan Bagley: Server version: Apache Tomcat/5.5.20 That's 2.5 years old and has a number of known security vulnerabilities. Given that the issue is the client's security review process, have they

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
cat 6 instance on Linux and it works. It works on the same Linux server in Tomcat 6, or a different one? p Pid wrote: On 27/11/2009 12:16, Dan Bagley wrote: Indeed that would be ironic, :-) I've just checked version 5.5.28, and unfortunately we have the have the same problem. I'm ju

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
achine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6db65cd7, pid=2420, Thanks, rocsca - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional command

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 15:17, Pid wrote: On 27/11/2009 15:00, Rocco Scappatura wrote: On 27/11/2009 14:00, Rocco Scappatura wrote: Thanks Peter, -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Friday, November

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 15:27, Peter Crowther wrote: 2009/11/27 Rocco Scappatura: So I think that I will update the jave VM soon.. Maybe an opinion of Chuck would be useful? I would try updating the VM anyway. You have one of three possible outcomes: 1) It fixes the bug, and we can all go home happy

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 15:41, Rocco Scappatura wrote: Peter, -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 27, 2009 4:17 PM To: Rocco Scappatura Subject: Re: Tomcat 5.17 crashes too often On 27/11/2009 15:00, Rocco Scappatura wrote: On 27/11/2009 14:00, Rocco

Re: Char Encoding text streams on Tomcat 5.5 and Linux

2009-11-27 Thread Pid
On 27/11/2009 16:12, Gatos wrote: It might solve your problems: charsetFilter org.springframework.web.filter.CharacterEncodingFilter encoding ISO-8859-1 charsetFilter /* ... it might, but only if you're using Spring. p On Fri, Nov 27, 2009 at 6:05 PM, André

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 17:22, Rocco Scappatura wrote: Sorry one trivial question.. I have set up JDK build 1.6.0_17-b04. I have set the JAVA_HOME env variable. Bu tomcat still uses old version of jvm installed on the server. How I have to do to address Tomcat to use the new version of JDK? It's in the

Re: Tomcat 5.17 crashes too often

2009-11-27 Thread Pid
On 27/11/2009 16:14, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Tomcat 5.17 crashes too often Hopefully the request that caused the crash will be logged and you'll see which one it is. I don't think so - the AccessLogValve doesn't write anythin

Re: Deploy a .class file when tomcat is running

2009-11-28 Thread Pid
On 28/11/2009 12:06, André Warnier wrote: Stefano Tranquillini wrote: the tomcat is 6.0 under linux (ubuntu) but the OS is not mandatory. It often is, such as for example when you want information about the correct paths for things. Providing some minimal information together with your questio

Re: Tomcat does not respect the HTTP RFCs !

2009-11-28 Thread Pid
On 28/11/2009 12:56, André Warnier wrote: ;-) I just wanted, once, to use a subject line with capitals and an exclamation mark. It seems however that in this particular case, neither Tomcat nor Apache httpd follow the rules, when they default to the .. default virtual host in the case where they

Re: Tomcat 5.17 crashes too often

2009-11-29 Thread Pid
On 29/11/2009 19:04, Rocco Scappatura wrote: On Dom, 29 Novembre 2009 19:14, Pid wrote: On 29/11/2009 11:02, Rocco Scappatura wrote: Hello PID, On Ven, 27 Novembre 2009 16:50, Pid wrote: On 27/11/2009 15:41, Rocco Scappatura wrote: Peter, -Original Message- From: Pid [mailto:p

Re: Tomcat 5.17 crashes too often

2009-11-29 Thread Pid
On 29/11/2009 22:51, Rocco Scappatura wrote: On Dom, 29 Novembre 2009 21:29, Pid wrote: snip Why aren't you using mod_php? Because I need to apply a JSP filter to the PHP page too.. If I demand the processing of php page to HTTPD I can't apply the JSP filter to that page. &g

Re: Call for help about the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Pid
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 2009年11月30日 6:55 To: Tomcat Users List Subject: Re: Tomcat 5.17 crashes too often Rocco Scappatura wrote: ... >> Pid wrote... Wait, so you're running HTTPD + Tomcat? And you have PHP running inside Tom

Re: Call for help about the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Pid
On 30/11/2009 09:39, Peter Chen wrote: Hi everyone, I meet one problem of OutOfMemoryError when I am running the Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is 1.5.0.12, and following is the detail of stack information. Nov 29, 2009 12:41:16 AM org.apache.tomcat.util.threads.T

Re: How to access JNDI resources on Tomcat level

2009-11-30 Thread Pid
On 30/11/2009 13:46, vramanaj wrote: Hi, I am facing problem with configuring JNDI DataSources for Josso project in Tomcat 6. Getting the following errors in tomcat log when i am trying to access the application. Defined resource in conf/Catalina/localhost/webapp.xml. And res-reference in the a

Re: Easy Way to Upgrade Tomcat Versions?

2009-11-30 Thread Pid
On 30/11/2009 16:02, Thomas Moorer wrote: Hi All, I have been thinking about upgrading my Tomcat 6.0.16 instance to the latest 6.0.20. I have been thinking about the best way to do that. I have modified several config and shell files and suppose I could just copy those to the 6.0.20 instance, bu

Re: How to access JNDI resources on Tomcat level

2009-12-01 Thread Pid
s JOSSO that can't see the DS. p -------- Pid Ster wrote: On 30/11/2009 13:46, vramanaj wrote: Hi, I am facing problem with configuring JNDI DataSources for Josso project in Tomcat 6. Getting the following errors in tomcat log wh

Re: How to access JNDI resources on Tomcat level

2009-12-01 Thread Pid
false" crossContext="true"> ---- Pid Ster wrote: On 01/12/2009 05:13, vramanaj wrote: Still getting the same error after changing Data Source name to 'jdbc/DefaultDS'. Added resource link i

Re: How to access JNDI resources on Tomcat level

2009-12-01 Thread Pid
} return _datasource; } So, you are confirming that the DataSource isn't working? p Pid Ster wrote: On 01/12/2009 10:36, vramanaj wrote: Full Stack Trace: Dec 1, 2009 1:46:58 AM org.josso.gateway.identity.service.store.db.DataSourceIdentityStore getDataSource SEVERE

Re: How to access JNDI resources on Tomcat level

2009-12-01 Thread Pid
On 01/12/2009 12:37, vramanaj wrote: I have passed through this DataSource look up problem. I altered context.xml/web.xml of josso webapp. And also used short JNDI names at tomcat/web.xml/context.xml level (e.g. jdbc/DefaultDS), and full JNDI name at Josso configuration level (e.g. java:comp/env

Re: How to get java process id of a user running tomcat

2009-12-02 Thread Pid
On 02/12/2009 06:30, raj kumar wrote: Hi friends, When i ran tomcat and shut it down my java process is not closing along with shutdown.i need to kill it explicitly. So I would like to know how to identify the java process of the logged in user who started the server. so that i can kill the pro

Re: SSL only working on localhost

2009-12-02 Thread Pid
On 02/12/2009 12:41, Michael Dockery wrote: I have gotten ssl w/self-signed cert working on tomcat 6 a few times in the past. I am trying it again on a different server I am using port 443 when i attempt https://localhost via a browswer on the server itself the browser is prope

Re: Basic and Form Authentication

2009-12-02 Thread Pid
On 02/12/2009 17:34, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/1/2009 6:57 AM, André Warnier wrote: Peter Crowther wrote: 2009/12/1 Anthony Jay: As for cross application communication I will have to revisit our own code to see if there are static/s

Re: ssl

2009-12-02 Thread Pid
On 02/12/2009 18:25, Jeffrey Janner wrote: Unfortunately, the ssl-howto.html does not cover the use of the SSLCertificateChainFile connector directive, which he will need to add if using the native APR library, since GoDaddy is a secondary CA. In fact, it doesn't mention anything about interm

Re: Schema or DTD for the context.xml

2009-12-03 Thread Pid
On 03/12/2009 15:43, Campbell, Lance wrote: Is there a schema or DTD for the context.xml file? Nope. It's possible to use custom classes for various parts of Tomcat's internals, each of which may utilise custom attributes as specified by the author. Thus a schema becomes problematic to writ

Re: How to get java process id of a user running tomcat

2009-12-03 Thread Pid
D(Optional) Path of the file which should contains # the pid of catalina startup java process, when # start (fork) is used Try setting this environment variable to something like "/var/run/tomcat.pid" and you should get a file in that location

Re: tomcat not accepting requests

2009-12-04 Thread Pid
On 04/12/2009 15:42, Rodrigo Asensio wrote: Hello, my config Ubuntu 9.10 Server AMD 64 RAM 512 Tomcat 6 running with native libraries and XMX=400M Sub version Tomcat 6.0.?? Maybe once a day, or each 2 days tomcat stops handling requests. Permanently, or temporarily? Error 101 (net::ERR_

Re: tomcat not accepting requests

2009-12-04 Thread Pid
is just offline 4. 100% ubuntu package Are you able to take a thread dump when it appears to stop accepting connections? p On Fri, Dec 4, 2009 at 12:48, Pid wrote: On 04/12/2009 15:42, Rodrigo Asensio wrote: Hello, my config Ubuntu 9.10 Server AMD 64 RAM 512 Tomcat 6 running with

Re: tomcat not accepting requests

2009-12-04 Thread Pid
o.com "To err is human, but to really screw up requires the root password." On Fri, Dec 4, 2009 at 13:46, Pid wrote: On 04/12/2009 15:53, Rodrigo Asensio wrote: 1. Apache Tomcat/6.0.20 JVM 1.6.0_0-b16 Sun Microsystems Inc.Linux 2.6.31-302-rs amd64 2. seems permanently (i

Re: Can service output be redirected to the terminal window?

2009-12-05 Thread Pid
On 05/12/2009 12:08, André Warnier wrote: Vadim Letitchevski wrote: I am working under Linux actually. Ok, then what kind of Linux ? Also, tell us the version of Tomcat you are talking about, and whether you installed it from the pre-packaged version offered by your Linux version, or directly

Re: tomcat server start up without looking dependency jars

2009-12-07 Thread Pid
On 06/12/2009 17:10, ahmed kasim wrote: Hi thanks a lot for your response and valuable inputs. I want to avoid looking of that classes during server startup, my requirement is, specified classes/properties should lookup only when my war file deployed. If the app is not deployed before start

Re: Control character in cookie value

2009-12-07 Thread Pid
On 06/12/2009 21:51, itay sahar wrote: Hi Andre, please see below input and output of: protected String encodeToken(String username, String value) { StringBuilder sb = new StringBuilder(); sb.append(username); sb.append(":"); sb.append(value); return Base64

Re: the Tomcat generates more than one session id with the same http request, please help me

2009-12-07 Thread Pid
On 07/12/2009 08:22, Peter Chen wrote: Hi, all I am testing a website with the server Tomcat. I am using Tomcat 5.5.26, and I found one problem. The website is used to display audio files. After I log in the website, I can see the icon of the audio file. But after I press the button "play"

Re: Apache Tomcat Windows Installer Insecure Password Vulnerability

2009-12-07 Thread Pid
On 07/12/2009 04:53, Saw Chee Hong wrote: I seen this at one of apache website. *[Summary]* Apache Tomcat is prone to an insecure-password vulnerability in the Windows installer. The administrative password defaults to a blank password during the install process. Attackers may exploit this iss

Re: Tomcat, out of memory and hot reployment

2009-12-07 Thread Pid
On 07/12/2009 10:53, Malcolm Warren wrote: Dear All, I've seen that using hot deploy too often for apps on my production server (more than seven or eight times) without restarting Tomcat causes an Out of memory exception. Whereas it doesn't happen on my mac test machine, presumably because it ha

Re: About the problem "Task com.mchange.v2.resourcepool.basicresourcepool$acquiret...@1386abc (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt()."

2009-12-09 Thread Pid
On 09/12/2009 08:57, Hadole, Nishant IN BOM SISL wrote: Not sure whether this is applicable here... but encountered similar issue with Tomcat and XAPOOL... When DB server fails, connection pool has maximum connection initialised (but not working). Thus with restart of DB server, Tomcat need to

Re: Tomcat 6.0.16 + mod_jk 1.2.19 - request threads hanging up

2009-12-09 Thread Pid
On 09/12/2009 11:00, Alessandro Bahgat wrote: Nishant, that didn't quite work, actually. After some struggle with our outsourcers, we added a new machine running Tomcat 6.0.20 *without tcnative* (they misplaced the .so files). That eventually resulted in a worse behaviour: within a few minutes

Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Pid
On 09/12/2009 14:12, Peter Crowther wrote: 2009/12/9 Karthik Nanjangude Same Tomcat 6.0.20 from http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip OK. RAM is 2 GB on Linux on Windows is 1.5 GB No extra applications are running when the same was

Re: Tomcat Config Question

2009-12-09 Thread Pid
On 09/12/2009 14:52, Neil Aggarwal wrote: The global conf/context.xml file should have a element for WEB-INF/web.xml; Tomcat should automatically restart the webapp unless you've removed that or disabled deployOnStartup in the element. In my experience, Tomcat has problems reloading webapps

Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Pid
On 09/12/2009 18:01, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/9/2009 9:15 AM, Pid wrote: [r...@teleglb bin]# uname -a Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux So you appear to have 2

Re: Contexts and Path and Authentication

2009-12-10 Thread Pid
On 09/12/2009 21:07, Anthony Jay wrote: Hi All, I am having tremendous difficulty configuring contexts on tomcat. I've had to split my perfectly working application into two applications as the jsp now requires Form based authentication and the XML components require Http Basic authentication

Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-10 Thread Pid
On 09/12/2009 19:26, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 12/9/2009 1:22 PM, Pid wrote: On 09/12/2009 18:01, Christopher Schultz wrote: Pid, On 12/9/2009 9:15 AM, Pid wrote: [r...@teleglb bin]# uname -a Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP

Re: About the http requests cache of Tomcat 5.5.26

2009-12-10 Thread Pid
On 10/12/2009 08:31, Peter Chen wrote: Hi, I first start the DB Mysql 5.0, then start Tomcat 5.5.26. The Tomcat can connect to the DB correctly. Then I start LoadRunner to send lots of HTTP request. During the period, I killed the process of MYSQL, so the tomcat can't connect to DB. And t

Re: URL Redirect in Tomcat 6

2009-12-10 Thread Pid
On 10/12/2009 05:38, bharati wrote: Hi, Iam using Tomcat 6. In my applicaion, when Users entered any url like 'www.google.com' then it will check for the status of the User. > If he is Inactive, then it will send a http packet to redirect to the particular URL: like "http://192.168.100.125

Re: Context Chicken & Egg Problem

2009-12-10 Thread Pid
On 10/12/2009 15:15, Scot Hatt wrote: Hello, I have spent a great deal of time scouring the bug list and trying to put together the right set of terms to find resolution for this but have been unsuccessful. I am dealing with a situation where webapp A is calling a servlet in webapp B during A's

Re: Context Chicken & Egg Problem

2009-12-10 Thread Pid
On 10/12/2009 15:22, Pid wrote: On 10/12/2009 15:15, Scot Hatt wrote: Hello, I have spent a great deal of time scouring the bug list and trying to put together the right set of terms to find resolution for this but have been unsuccessful. I am dealing with a situation where webapp A is

Re: Context Chicken & Egg Problem

2009-12-10 Thread Pid
heck of an extrapolation. You asked about a reference, the Servlet Spec is the best one. I've found it helpful when I couldn't get Tomcat to behave how I wanted it to. p -Scot -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, December 10, 2009 10:52 AM To: S

Re: Contexts and Path and Authentication

2009-12-10 Thread Pid
On 10/12/2009 17:56, Hassan Schroeder wrote: On Thu, Dec 10, 2009 at 8:24 AM, Hassan Schroeder wrote: ... cross-context forwarding ... works fine in Tomcat 6.0.20 using the Tuckey URLRewriteFilter. mmm. I think I have to retract that -- could have sworn I used this before, but it doesn't se

Re: Rerouting Traffic when number of connection increases

2009-12-10 Thread Pid
On 10/12/2009 21:44, Arunkumar Janarthanan wrote: We have a 4 Apache& Tomcat instances running on and trying to setup a custom message by redirecting user to different Apache instance with "currently we are expereincing HIGH traffic, please visit later" How this can be achieved ? Is there anywa

Re: New to Tomcat -- SSL

2009-12-11 Thread Pid
On 11/12/2009 11:47, Adria Stembridge wrote: I'm setting up a standalone instance of Tomcat with SSL. Tomcat5 is installed on the RHEL5 box and the sample pages load fine. I created a csr using keytool and requested a certificate from Verisign. After this is imported (I'm waiting on deliver

Re: compiling tomcat6020 from source on modern amd64-bit linux

2009-12-13 Thread Pid
-java-heap.html very helpful On Sunday 13 December 2009 01:35:54 pm Pid Ster wrote: Out of curiosity, why are you compiling Tomcat? is copulation just for making babies? Oh. What wit. I was intrigued to know if you had some unannounced but interesting reason. p

Re: remote monitoring JVM by VisualVM

2009-12-14 Thread Pid
On 14/12/2009 10:04, Paolo Santarsiero wrote: Thanks for answer, but don't solve. I executed jconsole in debug mode and the eception stack is this: Firewall settings interfering? Is the server actually listening on the port you set? p java.rmi.ConnectException: Connection refused to host:

Re: Why does only one server.xml

2009-12-14 Thread Pid
On 14/12/2009 12:26, Andrew Harvey wrote: I'm loadbalancing my tomcat 5.5.27 servers and have discovered that if I put the following line The advised server.xml line is causing the following fatal server errors (We don't advise putting Context definitions in server.xml.) Where exactly ar

Re: How to access JNDI resources on Tomcat level

2009-12-14 Thread Pid
ava:447) at java.lang.Thread.run(Thread.java:619) vramanaj wrote: User name and password are correct only. Pid Ster wrote: On 01/12/2009 12:37, vramanaj wrote: I have passed through this DataSource look up problem. I altered context.xml/web.xml of josso webapp. And also used short

Re: Please help: Setting up an environment with Apache as webserver and JBoss as the application server

2009-12-14 Thread Pid
On 14/12/2009 18:25, Smithan John wrote: Hi All, To all the geeks out there :), > I'm pretty new to server level configurations. I have a task in hand to migrate a set of applications from one server to another. The requirement is an AS-IS migration. The requirement is to migrate a setup which

Re: Tomcat Config Question

2009-12-14 Thread Pid
On 14/12/2009 18:46, steflik wrote: Markus, Do I just move the statements out of server.xml and into context.xml? or is there something else I have to do. If thats all I have to do do I place them before or after the watched element tag that is already in the context.xml file? There should be

<    2   3   4   5   6   7   8   9   10   11   >