RE: Tomcat within Eclipse

2008-08-11 Thread Praful Sinha
You can configure users through Tomcat 6.0\conf folder there tomcat have one tomcat-users.xml file to create user group or profile. Also you can use the administrator tool to manage uses in Tomcat. Thanks and Regards, Praful Sinha. -Original Message- From: Sam Wun [mailto:[EMAIL

Re: Possible virus uploaded to Tomcat 5.5.3 - SOLVED

2008-08-11 Thread Mark Thomas
Sameer Acharya wrote: Just a couple of questions on this. 1. I read your mail exchange and it seems that the OP has mentioned no Manager app was installed, but your analysis indicates that the rogue app was uploaded through manager app ?. There were quite a few e-mails exchanged off list,

Re: Strange startorder of webapps

2008-08-11 Thread Mark Thomas
Tobias Kaefer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I have a strange problem with Tomcat 6.0.16 and the start order of my webapps. I just switched form 32bit-Windows XP to 64bit-Linux on my development system. On the Windows system everything works as expected: ROOT webapp

RE: how to make context path case insensitive

2008-08-11 Thread Peter Crowther
From: persistence k [mailto:[EMAIL PROTECTED] Can anybody tell me how to make context path of a web application case insensitve. I need a case insenstive context path for my web application. Do you need a case insensitive context path, or do you need users to be able to type in either case

Re: how to make context path case insensitive

2008-08-11 Thread persistence k
thanks for your reply. I'm using FC5 linux, tomcat 5.028 for my web app. Currently my webapp context path is in upper case, and as per the requirement we need to make the context path case insensitive just as www.google.com and WWW.GOOgle.COM point to same application. Case sensitivity

Re: DefaultServlet doesn't set charset

2008-08-11 Thread Markus Schönhaber
Markus Schönhaber wrote: Mark Thomas wrote: That said I wouldn't be against a patch that introduced a useFileEncodingInCharset parameter (although a shorter name would be better ;) Great! I'll dig into DefaultServlet's source and see what I can come up with. OK, I think I have, by and

Will tomcat handles Syn

2008-08-11 Thread Thangavel Sankaranarayanan
Hi , Does Synchronization is taken care by Tomcat itself when i call a static method from a thread...(should i use synchronized keyword or will it be taken care by Tomcat Container). is the below couple of statements right and applicable to tomcat??? And J2EE application are multithread,so its

Re: how to make context path case insensitive

2008-08-11 Thread Jens Kapitza
persistence k schrieb: thanks for your reply. I'm using FC5 linux, tomcat 5.028 for my web app. Currently my webapp context path is in upper case, and as per the requirement we need to make the context path case insensitive just as www.google.com and WWW.GOOgle.COM point to same application.

Re: Strange startorder of webapps

2008-08-11 Thread Tobias Kaefer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | There is no expected startup order. Neither the Servlet spec nor Tomcat | define one. You can't rely on the apps starting in any particular order. Yes, you're right. And I'll expected that behaviour. I missed to sync one file with the

Re: how to make context path case insensitive

2008-08-11 Thread Pierre Goupil
Hello, If what you need is to redirect any request to http://www.yoursite.com/yOuRwEbapP (yourwebapp being case insensitive) to http://www.yoursite.com/yourwebapp (yourwebapp being case sensitive and being the context path to which you have deployed your app to), what you need is a servlet

Problem with in Synchronized methods in Tomcat 4.x

2008-08-11 Thread Thangavel Sankaranarayanan
Hi , I have problem with Synchronized methods in Tomcat 4.x... Problem Details: When a user clicks the submit button: (Assume for 1st user the thread created by tomcat =thread1)...thread1 starts executing a Synchronized method. After number of session in my application has reached in some

RE: Problem with in Synchronized methods in Tomcat 4.x

2008-08-11 Thread Peter Crowther
From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] After number of session in my application has reached in some point of time. the synchronized method is not executed and the system hangs waiting to execute that method. I could'nt make a thread dump as my tomcat is started

RE: Will tomcat handles Syn

2008-08-11 Thread Peter Crowther
As far as I know... From: Thangavel Sankaranarayanan [mailto:[EMAIL PROTECTED] Does Synchronization is taken care by Tomcat itself when i call a static method from a thread No. should i use synchronized keyword Depends. If your application will fail under some circumstances if the call is

RE: Problem with in Synchronized methods in Tomcat 4.x

2008-08-11 Thread Thangavel Sankaranarayanan
Thanks peter, I am admin of the system .I connect to the system through RDC.In that case is there any way for me to start the service as command prompt.If so ...the process should be running even if i log off the system... is ter any way ?? If so,Please help me on the steps to be carried out.

Tomcat failover

2008-08-11 Thread Ofer Kalisky
Hi, I have a Tomcat that has a thread that reads entries from a DB and handles them. In each cycle, it reads all the entries (to a certain limit). I would like to set up a configuration that has a failover Tomcat, that when the first one crashes the second starts to read from the same DB (or a

RE: Problem with in Synchronized methods in Tomcat 4.x

2008-08-11 Thread Thangavel Sankaranarayanan
Sorry..I am not the admin of the system.Si i could'nt start tomcat as a dos service. Regards, Thangavel Sankaranarayanan Thangavel

Re: Tomcat within Eclipse

2008-08-11 Thread Sam Wun
Hi, I have the server.xml path defined in Eclipse (3.4): C:\Program Files\Apache Software Foundation\Tomcat 6.0 Where is the startup.bat file? I can't find this batch file. Thanks On Mon, Aug 11, 2008 at 3:27 PM, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: Sam Wun

Html tagging

2008-08-11 Thread Zico
Hi, I am Zico. I have been working on http://dspace.bracu.ac.bd/dspace Now, i want to remove the last /dspace part from my url. Here, i want to add that, i have been using Fedora-7, apache tomcat, java-1.5. At least i need to redirect my current page. It means, user will know about the *actual*

RE: Html tagging

2008-08-11 Thread Stefan Oestreicher
why don't you just deploy your application in the ROOT context? Anyway, it most likely doesn't work because you have a typo there, it should be: meta http-equiv=REFRESH content=0; url=http://dspace.bracu.ac.bd/dspace; instead of meta http-equiv=REFRESH content=0;

Re: Html tagging

2008-08-11 Thread Zico
On Mon, Aug 11, 2008 at 7:40 PM, Stefan Oestreicher [EMAIL PROTECTED] wrote: why don't you just deploy your application in the ROOT context? Thanks, but i cannot your point here. What do you want to mean here? -- Best, Z

Re: Tomcat within Eclipse

2008-08-11 Thread Johnny Kewl
Oh no... I think for some reason the bin scripts are missing in TC 6 Listen SAM... just for now... go get apache-tomcat-5.5.25.zip and apache-tomcat-5.5.25.exe Here http://archive.apache.org/dist/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.zip

Re: DefaultServlet doesn't set charset

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Markus, Markus Schönhaber wrote: | OK, I think I have, by and large, understood how the DefaultServlet | works and added code to append the charset info (if wanted and | applicable) to the Content-Type response header. | What I ended up with is the

RE: Html tagging

2008-08-11 Thread Stefan Oestreicher
-Original Message- From: Zico [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2008 3:44 PM To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Html tagging On Mon, Aug 11, 2008 at 7:40 PM, Stefan Oestreicher [EMAIL PROTECTED] wrote: why don't you just deploy your

Re: Would like to monitor memory use offline

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard, Richard S. Huntrods wrote: | Richard, | | Richard S. Huntrods wrote: | |public static Vector listLookup(String table) { | | //Connection connection = null; // connection is managed by a | | connection pool | | So, is

Re: request for enlightenment on request.getHeaders()

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | A-prioris : | - Some HTTP headers may occur several times in an HTTP request. | - According to the HTTP 1.1 RFC, HTTP headers names are | case-insensitive, and Accept-charset:, ACCEPT-CHARSET:, | Accept-Charset: are

Re: Re-opening the browser

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tokajac, Tokajac wrote: | But when i submit the (activated) username and password, i got the | -- | HTTP Status 408 - The time allowed for the login process has been exceeded. |

Re: how to make context path case insensitive

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Persistence, persistence k wrote: | Currently my webapp context path is in upper case, and as per the | requirement we need to make the context path case insensitive | just as www.google.com and WWW.GOOgle.COM point to same application. Case |

Re: how to make context path case insensitive

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pierre, Pierre Goupil wrote: | If what you need is to redirect any request to | http://www.yoursite.com/yOuRwEbapP (yourwebapp being case insensitive) to | http://www.yoursite.com/yourwebapp (yourwebapp being case sensitive and | being the context

concurrent JkMount entries? Order relevant?

2008-08-11 Thread Stephanie Wullbieter
Hi, what to do when I want generally mount a context and it's subdirectories with mod_jk to one worker/router, but a special subdirectory of it to a different worker/router? Does this work in mod_jk.conf? JkMount /app/web/indexer worker42 JkMount /app/web/indexer/* worker42 JkMount /app

Re: how to make context path case insensitive

2008-08-11 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pierre, Pierre Goupil wrote: | If what you need is to redirect any request to | http://www.yoursite.com/yOuRwEbapP (yourwebapp being case insensitive) to | http://www.yoursite.com/yourwebapp (yourwebapp being case

Newbie question about log config with JSF

2008-08-11 Thread Brian Parkinson
Hello - hoping someone can help with a (dumb?) easy log config question. I am using Tomcat 6.0.16 with JSF 1.2.9 (Mojarra) - everything is working pretty cool, but I am getting one SEVERE exception being thrown from JSF, which appears in the logs: SEVERE: JSF1054: (Phase ID: RENDER_RESPONSE 6,

RE: how to make context path case insensitive

2008-08-11 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: how to make context path case insensitive Do you mean that all requests go first through the ROOT app, no matter what ? and that thus a servlet filter placed in the ROOT app would see *all* requests ? No, just requests that do not

Possible hack tool kit on tomcat 6.0.16

2008-08-11 Thread Mehrotra, Anurag
I just came across 2 war files within tomcat6.0/webapps folder: fexcep.war and safe2.war. Both applications were deployed. I was watching the thread Possible virus uploaded to Tomcat 5.5.3 very closely so the presence of these files alerted me. Like the original thread nobody has access to the

Re: Strange startorder of webapps

2008-08-11 Thread Mark H. Wood
In particular, Unix code to walk a directory may return file names in any order. You don't often see this behavior because 'ls' typically sorts its output unless you ask it not to. OTOH I believe that Windows keeps its directories sorted and will always produce file names in lexical order. --

Re: DefaultServlet doesn't set charset

2008-08-11 Thread Markus Schönhaber
Christopher Schultz wrote: Have you rigged the servlet to add a static charset defined in, say, web.xml or something like that? In a way, yes. DefaultServlet already uses the value of the fileEncoding init-param, if set, as encoding when reading static content from disk. So, if fileEncoding is

Re: how to make context path case insensitive

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Christopher Schultz wrote: | | Oh, that's a MUCH better idea than mine (to deploy all combinations of | case as redirector apps). The trick is that you must deploy this filter | into the ROOT application specifically. |

Re: concurrent JkMount entries? Order relevant?

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephanie, Stephanie Wullbieter wrote: | Hi, what to do when I want generally mount a context and it's | subdirectories with mod_jk to one worker/router, but a special | subdirectory of it to a different worker/router? | | Does this work in

Re: Possible hack tool kit on tomcat 6.0.16

2008-08-11 Thread Mark Thomas
Mehrotra, Anurag wrote: Could there be some kind of backdoor entry happening in the code. Unlikely. This is the sixth report like this I have seen. So far, we have got to the bottom of two and in both cases the manager app was the route in. Whilst a Tomcat flaw is possible (and check out

Re: Re-opening the browser

2008-08-11 Thread Mark Thomas
Christopher Schultz wrote: Tokajac, Tokajac wrote: | But when i submit the (activated) username and password, i got the | -- | HTTP Status 408 - The time allowed for the login process has been exceeded. | If you wish to

Re: Re-opening the browser

2008-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: | If you go directly to the login page Tomcat can't tell the difference | between that situation and when you go to a protected page, are | redirected to the login page and then take so long to log in the session | times out

Load order for Global Resources

2008-08-11 Thread Dave Bender
Is the order that Tomcat 6.0.x loads/instantiates Custom Resources definable? If so, how? If not, is there a way to ensure that one custom resource is loaded prior to another one? Tomcat 4.x seemed to have the behavior that custom resources were created in the order they appear in the

Re: Re-opening the browser

2008-08-11 Thread Mark Thomas
Christopher Schultz wrote: Mark, Mark Thomas wrote: | If you go directly to the login page Tomcat can't tell the difference | between that situation and when you go to a protected page, are | redirected to the login page and then take so long to log in the session | times out (the page you need

Re: Load order for Global Resources

2008-08-11 Thread Mark Thomas
Dave Bender wrote: Is the order that Tomcat 6.0.x loads/instantiates Custom Resources definable? I am afraid not. If so, how? If not, is there a way to ensure that one custom resource is loaded prior to another one? Not that I am aware of. I think the order is going to be be defined by the

Clustering failing over with Tomcat 6.0.16

2008-08-11 Thread Gupta, Sharad
Hi, I have a cluster of Tomcat 6.0.16 using DeltaManager. Session replication works fine, failover works fine for the first time. That is, the first time I failover from, lets say, nodeA to nodeB, my session is carried over the user continues with the existing logged in session without being

RE: Load order for Global Resources

2008-08-11 Thread Dave Bender
Thanks. Some replies: I think the order is going to be be defined by the order in which the xml parser returns them. Has there been any change to the parser from version 4.x to version 6.x? If so, maybe that'll explain the problem. If not, in theory, we should be getting the same order of

redirecting stdout stderr to .exe on windows

2008-08-11 Thread De Vries, Richard
Hello everyone, long time reader, first time writer here I have the need to redirect stdout and stderr from a Tomcat 5.5 instance on a windows server to an executable. When I go into the Apache Tomcat Properties management console - logging - I can change stdout and stderr from auto to

Re: Load order for Global Resources

2008-08-11 Thread Mark Thomas
Dave Bender wrote: Thanks. Some replies: I think the order is going to be be defined by the order in which the xml parser returns them. Has there been any change to the parser from version 4.x to version 6.x? If so, maybe that'll explain the problem. If not, in theory, we should be getting

Re: Tomcat within Eclipse

2008-08-11 Thread Steve Ochani
Date sent: Mon, 11 Aug 2008 15:50:56 +0200 From: Johnny Kewl [EMAIL PROTECTED] Subject:Re: Tomcat within Eclipse To: Tomcat Users List users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org Oh

Re: Would like to monitor memory use offline

2008-08-11 Thread Richard S. Huntrods
Richard, Richard S. Huntrods wrote: | Richard, | | Richard S. Huntrods wrote: | |public static Vector listLookup(String table) { | | //Connection connection = null; // connection is managed by a | | connection pool | | So, is 'connection' a local or not? | It's part of my code (I

Tomcat v4.1 - Resource not found 500 Error - Help!

2008-08-11 Thread cfrankland
Hi, I am a bit new to Tomcat, but have a really quick question. I am trying to deploy a new single class file to an existing Tomcat 4.1 web application, however, I am using Rational Application Developer 7.0 to create and compile the class. When I deploy the new class to the Tomcat 4.1 web

Tomcat 5.5 4.1 Security Release

2008-08-11 Thread David Rees
I posted a couple messages to the user/dev lists last week asking the same question, but still haven't seen any mention of a plan to release a new 5.5.x or 4.1.x to fix the security issues posted at the beginning of the month. Is there a plan to push a new release for either 5.5.x or 4.1.x or

Re: concurrent JkMount entries? Order relevant?

2008-08-11 Thread Bill Barker
Stephanie Wullbieter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, what to do when I want generally mount a context and it's subdirectories with mod_jk to one worker/router, but a special subdirectory of it to a different worker/router? Does this work in mod_jk.conf?

Re: Clustering failing over with Tomcat 6.0.16

2008-08-11 Thread Filip Hanik - Dev Lists
nope, it should work both ways Gupta, Sharad wrote: Hi, I have a cluster of Tomcat 6.0.16 using DeltaManager. Session replication works fine, failover works fine for the first time. That is, the first time I failover from, lets say, nodeA to nodeB, my session is carried over the user