Re: wget and Tomcat resources

2012-06-14 Thread Miguel Gonzalez
- Mensaje original - De: Darryl Lewis darryl.le...@unsw.edu.au Para: Tomcat Users List users@tomcat.apache.org CC: Enviado: Jueves 14 de junio de 2012 2:51 Asunto: RE: wget and Tomcat resources Have a look on the box running the script to see if there are a lot of these wget jobs

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-14 Thread javed ansari
Hi, Those two classes are created by myself. They implement java.security.Principal interface in order to hookup JAASRealm in tomcat. I have attached the classes. Please rename the smarts_zip to smarts.zip after downloading. Following are the entries in red color for this in the server.xml file

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-14 Thread André Warnier
javed ansari wrote: Hi, Those two classes are created by myself. They implement java.security.Principal interface in order to hookup JAASRealm in tomcat. I have attached the classes. Please rename the smarts_zip to smarts.zip after downloading. This list strips most attachments. Yours appears

RE: wget and Tomcat resources

2012-06-14 Thread Darryl Lewis
Depending on what OS you are using, if you use either ps -ef or ps -aux it will show you the processes, and you should see a few wget jobs sitting there. Being that it runs only once an hour, I doubt that a few hundred wget jobs are building up. Try moving the cron job to a little bit

Re: wget and Tomcat resources

2012-06-14 Thread Miguel Gonzalez
- Mensaje original - De: Darryl Lewis darryl.le...@unsw.edu.au Para: Tomcat Users List users@tomcat.apache.org; Miguel Gonzalez miguel_3_gonza...@yahoo.es CC: Enviado: Jueves 14 de junio de 2012 9:40 Asunto: RE: wget and Tomcat resources Depending on what OS you are using, if you

Re: wget and Tomcat resources

2012-06-14 Thread Konstantin Kolinko
2012/6/14 Miguel González Castaños miguel_3_gonza...@yahoo.es: Dear all,  Our developer has set a cronjob similar to this:  wget -T 0 http://ourserver.com/email_sender  which calls a javabean to check pending emails to send in a database and actually send them.  I'm concerned about this,

Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm

2012-06-14 Thread Mark Eggers
From: javed ansari javed@gmail.com To: users@tomcat.apache.org Sent: Thursday, June 14, 2012 12:06 AM Subject: Re: Apache tomcat (7.0.27) is not loading the user and role class for JAASRealm Hi, Those two classes are created by myself. They implement

Re: Jakarta ISAP Redirector

2012-06-14 Thread Rainer Jung
On 14.06.2012 03:03, DeMarco, Alex wrote: I have 4 servers all configured the same way.. Locally the call works fine yet remotely I get an iis 404 Maybe you get a redirect that isn't working remotely? Use a browser that allows to track traffic, like Firefox with the FireBug plugin and

Re: Jakarta ISAP Redirector

2012-06-14 Thread André Warnier
Top-posting (as I am doing here : writing every response at the top of the message), makes it difficult for others to follow the flow of the conversation. Better to put your responses under the question or paragraph to which they relate. See below. DeMarco, Alex wrote: I have 4 servers all

Re: Java process killed by oom-killer in Ubuntu

2012-06-14 Thread Pid
On 12/06/2012 14:50, Christopher Schultz wrote: Pid, On 6/12/12 5:47 AM, Pid wrote: On 11/06/2012 20:15, Christopher Schultz wrote: Also, your previously-posted configuration seems a little insane: Xms6g -Xmx6g -XX:NewSize=4G -XX:MaxNewSize=4G -XX:SurvivorRatio=6 -XX:MaxPermSize=512M

Re: Map domain names to different paths of a single webapp ?

2012-06-14 Thread Pid
On 13/06/2012 05:12, Oguz Kologlu wrote: You can do this but not in Tomcat itself. You'll need to use something like Apache web server to handle different sub domain and direct them to Tomcat. That's an imprecise potentially misleading answer. Please see the other answer in this thread. p

Accessing Tomcat Thread Pool

2012-06-14 Thread Oguz Kologlu
Hi All, I've seen this question bounce around some threads but there's really no good answer. I'd like to use the Tomcat 7 thread pool as worker threads for Quartz Scheduler. Is there a way to access the thread pool from a web app? Any other suggestions? Thanks, Oz

RE: Jakarta ISAP Redirector

2012-06-14 Thread DeMarco, Alex
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, June 14, 2012 4:16 AM To: Tomcat Users List Subject: Re: Jakarta ISAP Redirector Top-posting (as I am doing here : writing every response at the top of the message), makes it difficult for others to follow

Re: IP-based virtual hosting with useIPVHosts=true always goes to default host

2012-06-14 Thread Assaf Urieli
Thanks Mark Konstantin for your replies. I'm still having no luck here. I've tried to apply all of Mark's suggestions to Ubuntu. SAN certificates are not currently an option for me (because of pricing, and also because the two domains do not officially belong to the same legal entity). My

Re: Jakarta ISAP Redirector

2012-06-14 Thread André Warnier
DeMarco, Alex wrote: ... OK Well thanks for the list etiquette lesson. Apart from the top-posting, it was not so much about list etiquette, as about expressing yourself precisely, so as to save some time to the people trying to help you. When you say my desktop, it is confusing,

Exclude url from authorized access-web.xml

2012-06-14 Thread Rahul R
Hi All, I have an issue with allowing access to a page which is secured using active directory authentication. I want some pages/content to be excluded from this. Following is my web.xml file under conf of tomcat. [code=java] security-constraint web-resource-collection

Re: Exclude url from authorized access-web.xml

2012-06-14 Thread Pid
On 14/06/2012 15:06, Rahul R wrote: Hi All, I have an issue with allowing access to a page which is secured using active directory authentication. I want some pages/content to be excluded from this. Following is my web.xml file under conf of tomcat. [code=java] security-constraint

[ANN] Apache Tomcat Native 1.1.24 released

2012-06-14 Thread Mladen Turk
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.24 stable. Please refer to the change log for the list of changes: http://tomcat.apache.org/native-doc/miscellaneous/changelog.html Downloads: http://tomcat.apache.org/download-native.cgi Thank you, -- The

Re: IP-based virtual hosting with useIPVHosts=true always goes to default host

2012-06-14 Thread Assaf Urieli
Answering my own question to a certain extent: * When an HTTP/HTTPS request is made, when and how do request.getLocalName() and request.getLocalAddr() get filled in? From v6.0.35 source code, org/apache/catalina/connector/CoyoteAdapter.java, line 489: if (connector.getUseIPVHosts())

Re: Accessing Tomcat Thread Pool

2012-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oguz, On 6/14/12 6:24 AM, Oguz Kologlu wrote: I've seen this question bounce around some threads but there's really no good answer. I'd like to use the Tomcat 7 thread pool as worker threads for Quartz Scheduler. Why would you want to dip-into

Re: IP-based virtual hosting with useIPVHosts=true always goes to default host

2012-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Assaf, On 6/8/12 11:12 AM, Assaf Urieli wrote: Ok, this is strange. I created a test.jsp page that prints request.getLocalName(), request.getServerName(), and request.getLocalAddr(). I tried various scenarios in the browser: http://domain1.com,

Re: tomcat cluster for stateless web application

2012-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 6/13/12 8:12 AM, Pid * wrote: On 12 Jun 2012, at 18:22, Albert Kam moonblade.w...@gmail.com wrote: I've noticed that in the documentation, it says a lot about session replication. I wonder what can be omitted in the configurations

Re: URL Rewriting

2012-06-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 6/13/12 12:16 AM, Kiran Badi wrote: I have bunch of functionalities which are showing up with urls as http://localhost:8080/mysite/getmyservice.do?id=17 and I just need to hide them and show some neat url something like

Modify HTTP status returned by stopped context

2012-06-14 Thread kharper2
Hello, I am running multiple web applications on a tomcat server. When a request to a context in the stopped state is made, tomcat is returning 404 not found rather than 503 unavailable. Is it possible to change this behavior in any way? Obviously I can't just modify _all_ HTTP 404 responses

Re: Modify HTTP status returned by stopped context

2012-06-14 Thread Mark Thomas
On 14/06/2012 20:37, kharp...@oreillyauto.com wrote: Hello, I am running multiple web applications on a tomcat server. When a request to a context in the stopped state is made, tomcat is returning 404 not found rather than 503 unavailable. Is it possible to change this behavior in any

Re: Modify HTTP status returned by stopped context

2012-06-14 Thread kharper2
Mark, Very slick. I wasn't aware of the longest-matching logic. I'll give this a whirl and report back. Thanks, Kyle Harper From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Date: 06/14/2012 03:19 PM Subject:Re: Modify HTTP status returned by

Re: URL Rewriting

2012-06-14 Thread André Warnier
Kiran Badi wrote: Please inline for my answers Andre. Kiran, Why does that id=17 visible in the URL bother you ? Is it because of some security aspect ? (that the user could change it, and get something else than what they should be getting ?) Thanks for reminding this aspect.I was not

Re: Accessing Tomcat Thread Pool

2012-06-14 Thread Oguz Kologlu
On 15/06/2012, at 4:35 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oguz, On 6/14/12 6:24 AM, Oguz Kologlu wrote: I've seen this question bounce around some threads but there's really no good answer. I'd like to use the Tomcat 7 thread pool as worker