Cookie not being set

2009-03-09 Thread Andromeda Mobile
Hi all I’m running two web apps off a single instance of Tomcat 6.0.1.8 on a CentOS 64 bit OS. Tomcat is fronted with Apache 2.2 and I’m using mod_proxy_http. Both applications are wap sites. I’ve been trying to implement an analytics solution provided by Admob. The solution uses a pixel image

Re: Problem using chunked encoding - request thread cleanup

2009-03-09 Thread Santosh Gangadhar
We are sorting to a workaround specific to the implementation for now. Hopefully, the upcoming release of Tomcat will help. Thanks all. Santosh. On Sat, Mar 7, 2009 at 8:54 AM, Martin Gainty mgai...@hotmail.com wrote: _ Windows

Max Number of users

2009-03-09 Thread RBS100
Hi, Can any tell the maximum number of users can login into tomcat at the same time? Can I use tomcat to run in an online internet application used by n number of users and the application runs for 24*7? Is it reliable? Thanks RBS -- View this message in context:

Re: JavaBridge Payment Gateway Issue on Tomcat

2009-03-09 Thread Gaurav Pruthi
Thanx for ur guidance. I will remove all instances of servlet-api.jar except tomcat lib. Gaurav Pruthi On Sat, Mar 7, 2009 at 7:26 PM, Stephen Caine step...@commongrnd.comwrote: Gaurav To the best of my knowledge, JavaBridge is no longer supported. Use JNI. Stephen Caine Soft Breeze

Re: Tomcat Clustering trouble when starting up under high load

2009-03-09 Thread Mikel Ibiricu
Hi Filip Thanks for your response. We have been testing some modifications on our config, specially focusing in what you told us about limiting stateTransferTimeout, which we have limited to 180 seconds now. Actually, it does not get stuck, in the worst case, it only starts without replicating

Re: Request

2009-03-09 Thread André Warnier
Please scroll down to the very bottom of this message. Like all messages on this list, it contains an email address to unsubscribe. Just send an email there. lina.mao[XLsoft China/SHA] wrote: Hi,Sir: Please delete my e-mail address from us...@tomcat.apache.org. I don't belong to it,and I

Re: download a file inside WEB-INF use its URL on server

2009-03-09 Thread Gregor Schneider
On Mon, Mar 9, 2009 at 12:54 AM, Pid p...@pidster.com wrote: Gregor Schneider wrote: Have a beer and rethink your concept. Can we add that to Andre's list? will be a pleasure ;) Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Gregor Schneider
On Mon, Mar 9, 2009 at 3:00 AM, mitalub mita...@yahoo.com wrote: The corresponding ***jsp*** and java classes all sit within WEB-INF.  Setting the welcome page seems to work for static welcome pages only... is this true, or am I doing something wrong? JSPs in WEB-INF-folder? Well, I'm not

Re: Max Number of users

2009-03-09 Thread Gregor Schneider
All depends on your configuration, directly porpotional to n. And no, Tomcat is not reliable at all, it's more kinda toy for bored developers such as me. That's why we are using Tomcat in a 24/7-environment with a couple of 1000 users, never had any unscheduled dropouts. Rgds Gregor

Defining website name for tomcat application

2009-03-09 Thread RBS100
Currently we are accessing the same using ip address only, but we want to access it with website name. How to assign a website name to an application running in tomcat? -- View this message in context: http://www.nabble.com/Defining-website-name-for-tomcat-application-tp22409738p22409738.html

Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Tim Funk
In practice, I've found the easiest way is to do this: - Create index.jsp - Add a one line /index.jsp which does a forward to your home page like this: jsp:forward page='/whatever-/path-that-was/index.do'/ -Tim mitalub wrote: Hi, I've tried searching around for this, but I can't find a

Re: Defining website name for tomcat application

2009-03-09 Thread Gregor Schneider
Make sure that your DNS-server has the correct entry for the IP-address. You will also have to configure the Host-element in your server.xml: http://tomcat.apache.org/tomcat-6.0-doc/config/host.html Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

64 bits and allowLinking

2009-03-09 Thread Nuno Manuel Martins
Hello everyone, We have several Tomcat 6 working right now without problems and we are using allowLinking=true in our context.xml to allow for easier management. However we have been testing Java 1.6 64bits version and for some reason the allowLinking feature does not seem to work. When I put

Re: Max Number of users

2009-03-09 Thread Rainer Jung
On 09.03.2009 10:24, Gregor Schneider wrote: And no, Tomcat is not reliable at all, it's more kinda toy for bored developers such as me. :) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat Clustering trouble when starting up under high load

2009-03-09 Thread Rainer Jung
On 09.03.2009 09:24, Mikel Ibiricu wrote: So, It works OK but when starting up one of the nodes with over 500 sessions alive in the other, it doesn't replicate anything. We assume that it would not be able to replicate everything... but why it does either replicate everything or nothing? If it's

Re: download a file inside WEB-INF use its URL on server

2009-03-09 Thread André Warnier
Gregor Schneider wrote: On Mon, Mar 9, 2009 at 12:54 AM, Pid p...@pidster.com wrote: Gregor Schneider wrote: Have a beer and rethink your concept. Can we add that to Andre's list? will be a pleasure ;) Gregor I'm thinking of making it into a Wiki page in the Tomcat HowTo's. Any objection

Re: Max Number of users

2009-03-09 Thread André Warnier
Rainer Jung wrote: On 09.03.2009 10:24, Gregor Schneider wrote: And no, Tomcat is not reliable at all, it's more kinda toy for bored developers such as me. :) A statistical answer : - searching Google for tomcat problems gives approximately 2,730,000 links. - searching Google for

Re: Max Number of users

2009-03-09 Thread Leon Rosenberg
what a glorious example of self cozenage. Why do you assume that tomcat works is not included in the tomcat problems result? +tomcat +problems -works - 1,830,000 results. +tomcat -problems +works - 227,000 227/(227+1830) - 11% Reliability ... :-) of course this statement is as un-serious as

Mod_jk and SSL not working together

2009-03-09 Thread Alexander Diedler
Hello, I have a Apache 2.0.63 Webserver and Tomcat 6.0 and use mod_jk. The server don´t uses the JKMount if I use https. http://www.mysite.de shows me correctly the mounted Webapps from Tomcat. https://www.mysite.de shows me the Apache Webserver Startpage and every URL command shows me a 404….

RE: Defining website name for tomcat application

2009-03-09 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: Defining website name for tomcat application You will also have to configure the Host-element in your server.xml: http://tomcat.apache.org/tomcat-6.0-doc/config/host.html That's usually not necessary. The only time the

Re: Max Number of users

2009-03-09 Thread Gregor Schneider
Well, maybe this list helps to answer the question about Tomcat's reliablity: http://wiki.apache.org/tomcat/PoweredBy Besides, I guess a lot of companies (like us) don't advertise using Tomcat due to security-concerns. I'm just wondering if the OP could digest any information from those answers

RE: 64 bits and allowLinking

2009-03-09 Thread Caldarale, Charles R
From: Nuno Manuel Martins [mailto:nuno.mmartins_exte...@sonae.com] Subject: 64 bits and allowLinking We have several Tomcat 6 working right now without problems and we are using allowLinking=true in our context.xml to allow for easier management. However we have been testing Java 1.6

Re: Defining website name for tomcat application

2009-03-09 Thread Gregor Schneider
Chuck, as always, you're right with that, however, I always edit the Host-element to make things obvious and clear - for me that's kind if a good practice. Cheers Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2

RE: Max Number of users

2009-03-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Max Number of users From this, we can draw a number of conclusions : There are three kinds of lies: lies, damned lies, and statistics. - Benjamin Disraeli (maybe) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

Re: Max Number of users

2009-03-09 Thread André Warnier
I must admit that my first statistical analysis was flawed, and furthermore lacked an element of comparison. So I refined it and created this table, applying the same objective meta-analysis criteria to a range of products : Productproblems works total reliability %

Re: Max Number of users

2009-03-09 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Max Number of users From this, we can draw a number of conclusions : There are three kinds of lies: lies, damned lies, and statistics. - Benjamin Disraeli (maybe) A statistician is a person who can

[OT] RE: Max Number of users

2009-03-09 Thread Peter Crowther
From: André Warnier [mailto:a...@ice-sa.com] A statistician is a person who can affirm that another person having one foot caught in ice and the other foot in a bucket of boiling water, is on average in a comfortable position. ... but only if they're feeling mean. - Peter

RE: Cannot create JDBC driver of class '' for connect URL 'null'

2009-03-09 Thread Stanley Wong
I know very little about UminnServer. We just pick a GIS handy. We use javascripts to interact with GoogleEarth Server. Certainly GWT can do the jobs, but we use pure javascripts instead. Mostly we interact with Google Map API. There are tons of sample codes in Google Map API website that

Re: [OT] RE: Max Number of users

2009-03-09 Thread Ken Bowen
All, Being bored and trying to avoid starting any real work on a slushy snowy morning, I organized the discussion for inclusion on Andre's list (below). BTW, GIF/WIF: http://en.wikipedia.org/wiki/Lies,_damned_lies,_and_statistics :: Lies, damned lies, and statistics is part of a phrase

Standard Manager and concurrent hashmap

2009-03-09 Thread daniel steel
hello all, we are investigating memory issues on tomcat 6 and found that nearly 20 to 25% of the heap memory is being used by StandardManager - concurrent hashmap - [attached file]. how does tomcat use standard manager / concurrent hahsmap? can this foot print be reduced in any way by

Re: Standard Manager and concurrent hashmap

2009-03-09 Thread Gregor Schneider
Please X: [_] You are aware that this userlist does not allow any attachments Rds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Unable to have unprotected and protected resources by client-cert authentication

2009-03-09 Thread Manuel Llabata
Hi everybody, I am trying to configure Apache Tomcat in https mode with two types of resources: 1. Unprotected resources anryone can visit 2. Proteceted resources, where the client have to authenticate with a certificate (issued by a known Certification Authohrity). The problem is that till

Hibernate Exception...

2009-03-09 Thread Neil B. Cohen
I hope this is a trivial problem that someone can help me with... I have been running a web app, built using Netbeans with Tomcat for months now. The system uses Hibernate for database access. This week, I erased and rebuilt my desktop system - moved it from Fedora 8 to Fedora 10. I

Re: Tuning worker MPM

2009-03-09 Thread kulbir Saini
i already got that update.. kulbir On Sun, Mar 8, 2009 at 1:39 PM, André Warnier a...@ice-sa.com wrote: kulbir Saini wrote: [...] You have just bought a Ford car, and you are calling the General Motors distributor about a problem with it. Even assuming there's still someone there to

Re: [OT] RE: Max Number of users

2009-03-09 Thread André Warnier
Ken Bowen wrote: All, Being bored and trying to avoid starting any real work on a slushy snowy morning, I organized the discussion for inclusion on Andre's list (below). BTW, GIF/WIF: http://en.wikipedia.org/wiki/Lies,_damned_lies,_and_statistics :: Lies, damned lies, and statistics is

Re: mod_jk and 304

2009-03-09 Thread Eqbal
Thanks for the tip Rainer. The version I have is 1.2.6-dev So in order to update to a newer version, do I just download the latest and copy the file over to the server? - Original Message From: Rainer Jung rainer.j...@kippdata.de To: Tomcat Users List users@tomcat.apache.org Sent:

RE: Run multiple web applications in Tomcat each as an independent windows service question

2009-03-09 Thread Joe Wallace
The setup is like this. http://host1/app0:8080 http://host1/app1:8081 http://host1/app2:8082 App0,1,2 all being the same web app deployed with a different name, and with different url. The concept being each web app serves a specific set of users with each set of users having their own

Re: Mod_jk and SSL not working together

2009-03-09 Thread Mladen Turk
Alexander Diedler wrote: Hello, I have a Apache 2.0.63 Webserver and Tomcat 6.0 and use mod_jk. The server don´t uses the JKMount if I use https. http://www.mysite.de shows me correctly the mounted Webapps from Tomcat. https://www.mysite.de shows me the Apache Webserver Startpage and every

Re: [OT] RE: Max Number of users

2009-03-09 Thread Gregor Schneider
On Mon, Mar 9, 2009 at 4:55 PM, André Warnier a...@ice-sa.com wrote: [ tons of statistic analysis] whew, a lot of stuff to read - any management-summary available? TIA Gregor ;) -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: Run multiple web applications in Tomcat each as an independent windows service question

2009-03-09 Thread André Warnier
Joe Wallace wrote: The setup is like this. http://host1/app0:8080 http://host1/app1:8081 http://host1/app2:8082 App0,1,2 all being the same web app deployed with a different name, and with different url. The concept being each web app serves a specific set of users with each set of users

Re: Run multiple web applications in Tomcat each as an independent windows service question

2009-03-09 Thread Gregor Schneider
Joe, On Mon, Mar 9, 2009 at 5:09 PM, Joe Wallace j...@andar360.com wrote: The setup is like this. http://host1/app0:8080 http://host1/app1:8081 http://host1/app2:8082 App0,1,2 all being the same web app deployed with a different name, and with different url. The concept being each web

RE: Run multiple web applications in Tomcat each as an independent windows service question

2009-03-09 Thread Joe Wallace
You hit the nail on the head. Performance being equal I see no reason to use separate jvm/tomcat instances. Thanks, Joe Wallace -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, March 09, 2009 12:47 PM To: Tomcat Users List Subject: Re: Run multiple web

RE: mod_jk and 304

2009-03-09 Thread Anthony J. Biacco
Download the latest, configure, make, make install, check for new/deprecated directives in the jk docs, modify configs accordingly, reload apache. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com

Question about writing a servlet filter in Tomcat 5.5.x

2009-03-09 Thread Ben Hu
Hi, All, I am trying to write a servlet filter to change the response content on Tomcat 5.5.x. I am a newbie to servlet filter, so I searched online for couple examples to start. For example, I found this one: http://download.oracle.com/docs/cd/A97688_16/generic.903/a97680/filters.htm. This

Re: Hibernate Exception...

2009-03-09 Thread Ken Bowen
Clearly you're missing org.hibernate.ejb.Ejb3Configuration (and friends). I'm running hibernate 3.2 (you should tell people your versions...it helps). My eclipse tells me that org.hibernate.ejb.Ejb3Configuration lives in hibernate-entitymanager.jar. I seem to recall there being an issue

Re: [OT] RE: Max Number of users

2009-03-09 Thread Ken Bowen
Ah, too bad...here I thought were going to get a really artistic visual presentation of the data (http://www.gregorschneider.de/:-) Cheers...Ken On Mar 9, 2009, at 12:45 PM, Gregor Schneider wrote: On Mon, Mar 9, 2009 at 4:55 PM, André Warnier a...@ice-sa.com wrote: [ tons of statistic

using derby.jar with tomcat 6

2009-03-09 Thread Robert K. Vanderhoek
I am receiving the following error in the catalina.out log file: /Class Not Found: java.lang.ClassNotFoundException: jdbc:derby/. This is generated in the log when the webapp is accessed. I have set the classpath locally with derbys setEmbeddedCP command. I am thinking I also have to

Re: [OT] RE: Max Number of users

2009-03-09 Thread Gregor Schneider
Ken, On Mon, Mar 9, 2009 at 6:19 PM, Ken Bowen kbo...@als.com wrote: Ah, too bad...here I thought were going to get a really artistic visual presentation of the data (http://www.gregorschneider.de/    :-) Unfortunately, this guy is quite a famous artist, however, he has occupied all domains I

Re: Question about writing a servlet filter in Tomcat 5.5.x

2009-03-09 Thread Gregor Schneider
To give you a start, a small real-world-example: package com.cr.manuals.filter; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import

Re: Question about writing a servlet filter in Tomcat 5.5.x

2009-03-09 Thread Gregor Schneider
PS.: forget about all the j_security-stuff - that was copy paste from some other filter. Rgds Gegor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Fwd: Cookie not being set

2009-03-09 Thread Andromeda Mobile
Does anyone have any idea on the query below? -- Forwarded message -- From: Michael Farah andromedamob...@gmail.com Date: Mon, Mar 9, 2009 at 7:58 AM Subject: Cookie not being set To: users@tomcat.apache.org Hi all I’m running two web apps off a single instance of Tomcat

Re: How to set Java Memory heap size on Linux?

2009-03-09 Thread dOE
What is the syntax of the setenv.sh script? Is it just line by line setting environmental variables? JAVA_OPTS=-Xms256m -Xmx768m CATALINA_OPTS= I am correct in assuming this is all I would need to populate the file with? On Wed, Mar 4, 2009 at 12:26 AM, Caldarale, Charles R

Re: Security issues sending broadcast traffic.

2009-03-09 Thread dOE
Anyone have anything on this?? On Tue, Mar 3, 2009 at 10:35 PM, dOE doep...@gmail.com wrote: Does anyone know of any security issues when sending broadcast traffic from a high security zone (firewall DMZ's) to a tomcat server located in a lower security zone? It is the higher security

Re: Question about writing a servlet filter in Tomcat 5.5.x

2009-03-09 Thread Ben Hu
Thanks a lot for the example, Gregor. The filter I am working on needs to change the content of response, so I think I need to write customized ServletResponseWrapper and ServletOutputStream. And this is where I encountered the problem, the customized filter I wrote does not behavior as it says on

RE: Standard Manager and concurrent hashmap

2009-03-09 Thread Caldarale, Charles R
From: daniel steel [mailto:sec...@yahoo.com] Subject: Standard Manager and concurrent hashmap how does tomcat use standard manager / concurrent hahsmap? There are no references to ConcurrentHashMap in StandardManager. (Yes, you are being graded on proper case and spelling.) The

Re: Security issues sending broadcast traffic.

2009-03-09 Thread Gregor Schneider
I think that simply nobody understands your problem here, Broadcast? You mean network-broadcasts? I don't think that this is a Tomcat-issue at all (may somebody please correct me if I'm wrong since I'm not the networking-expert), but afaik a broadcast always goes to s specific IP-adress, i.e.

RE: Security issues sending broadcast traffic.

2009-03-09 Thread Caldarale, Charles R
From: dOE [mailto:doep...@gmail.com] Subject: Re: Security issues sending broadcast traffic. Does anyone know of any security issues when sending broadcast traffic from a high security zone (firewall DMZ's) to a tomcat server located in a lower security zone? How many issues would you

RE: How to set Java Memory heap size on Linux?

2009-03-09 Thread Caldarale, Charles R
From: dOE [mailto:doep...@gmail.com] Subject: Re: How to set Java Memory heap size on Linux? What is the syntax of the setenv.sh script? It's whatever syntax your shell supports. The export command is often needed for Linux shells. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

[OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Len Popp
On Mon, Mar 9, 2009 at 05:13, Gregor Schneider rc4...@googlemail.com wrote: JSPs in WEB-INF-folder? Well, I'm not familiar with Spring, however, *that* concept is completely new to me... Really? That's how I write all my apps! Requests are handled by servlets, which forward to JSPs to format

Re: Question about writing a servlet filter in Tomcat 5.5.x

2009-03-09 Thread Gregor Schneider
Ben, On Mon, Mar 9, 2009 at 7:15 PM, Ben Hu benzhe...@gmail.com wrote: I am not sure whether or not Tomcat has its own way to implement Servlet Spec. Tomcat implements the ServletSpecs as does any other Servlet-Container - there is not Tomcat-way. Don't have an example using

RE: [OT] RE: Max Number of users

2009-03-09 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: [OT] RE: Max Number of users That means even in times of Web 2.0 I've got my sweet own privacy ;) Nah, you just think you do... we know where you are. BBIWY. just because your paranoid, doesn't mean they're not after

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Gregor Schneider
Len, On Mon, Mar 9, 2009 at 7:47 PM, Len Popp len.p...@gmail.com wrote: Really? That's how I write all my apps! Requests are handled by servlets, which forward to JSPs to format their output. Since the JSPs are not intended to be served to clients directly, they must reside under WEB-INF.

Re: [OT] RE: Max Number of users

2009-03-09 Thread Gregor Schneider
Chuck, On Mon, Mar 9, 2009 at 7:59 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Nah, you just think you do...  we know where you are.  BBIWY. No way - let's do a little bet: Are you able to name the company I'm working for? I've just checked it: I've you google my name

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Ken Bowen
I don't /know/ what best practice is here (I do more or less what you do), but I suspect the theory is that if a user url could arrive at a page, then it should be comprehensible to the user. I don't think I support that. If users go poking around were they don't belong, they get what

Hibernate Exception

2009-03-09 Thread Neil B. Cohen
Hi Ken - I forgot to include the version - it is Hibernate 3.2. I did include hibernate-entitymanager.jar... Turns out, when I rebuilt my machine, I downloaded Netbeans, including Tomcat 6.0.18. On my Fedora 8 system, I had downloaded Tomcat separately, direct from apache.org. After trying

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Len Popp
What I mean is, clients *never* access a .jsp file by URL, e.g. http://www.example.com/app/foo.jsp;. All URLs seen by the client are mapped to servlets, not JSP files. All client requests are handled by servlets, not JSP files. The servlets call various other Java objects to do their jobs, and at

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Hassan Schroeder
On Mon, Mar 9, 2009 at 12:23 PM, Len Popp len.p...@gmail.com wrote: What I mean is, clients *never* access a .jsp file by URL, e.g. http://www.example.com/app/foo.jsp;. All URLs seen by the client are mapped to servlets, not JSP files. The reason for doing it this way is to separate app logic

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Gregor Schneider
Len, agreed to the most of what you said, however, I still do not see why JSPs have to go (or should go) into WEB-INF. Even in this tutorial (linked directly fom java.sun.com) http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ the JSP-file goes directly into the app-dir where also the static

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Ken Bowen
I agree with everything in both posts, but I just don't see what the / location/ of the jsp files (inside/outside WEB-INF) has to do with it. All that controls is whether a user/client can find a way to look inside the file. One can (as I do) follow the separation of concerns quite strictly

Re: [OT] RE: Max Number of users

2009-03-09 Thread André Warnier
Jeppesen GmbH ? Gregor Schneider wrote: Chuck, On Mon, Mar 9, 2009 at 7:59 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Nah, you just think you do... we know where you are. BBIWY. No way - let's do a little bet: Are you able to name the company I'm working for? I've just

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread David Smith
Gregor Schneider wrote: Len, agreed to the most of what you said, however, I still do not see why JSPs have to go (or should go) into WEB-INF. Even in this tutorial (linked directly fom java.sun.com) http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ the JSP-file goes directly into the

RE: [OT] RE: Max Number of users

2009-03-09 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: [OT] RE: Max Number of users Are you able to name the company I'm working for? Jeppesen? (I have used Jepp Charts when flying IFR, but not lately.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: [OT] Re: Default Tomcat Page w/o Redirect What I mean is, clients *never* access a .jsp file by URL, e.g. http://www.example.com/app/foo.jsp;. This is definately wrong. When you call a jsp directly from within a

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Gregor Schneider
Dave, On Mon, Mar 9, 2009 at 9:16 PM, David Smith d...@cornell.edu wrote:  Just use the jstl tag c:import url=/WEB-INF/jsps/myJspFile.jsp / and it's done. Thanks - I guess that's what I was wondering about. Rgds Gregor -- just because your paranoid, doesn't mean they're not after you...

Re: [OT] RE: Max Number of users

2009-03-09 Thread Gregor Schneider
On Mon, Mar 9, 2009 at 9:09 PM, André Warnier a...@ice-sa.com wrote: Jeppesen GmbH ? Nope :) -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Len Popp
On Mon, Mar 9, 2009 at 15:58, Gregor Schneider rc4...@googlemail.com wrote: Len, agreed to the most of what you said, however, I still do not see why JSPs have to go (or should go) into WEB-INF. Just to hide them from the user, because in this case they're not intended to be accessed directly

Re: [OT] RE: Max Number of users

2009-03-09 Thread Gregor Schneider
To be fair: I'll provide my business-card in Amsterdam so that you believe me that it's *not* Jeppesen Big grin Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Exception while configuring JDBC realm

2009-03-09 Thread Ramya Raghukumar
I am trying to configure jdbc realm on Tomcat 6, by connecting to Oracle 11g that runs on Ubuntu.I tried doing it with Realm inside Engine but got the exception Network adapter unable to establish connection. However when I tried to connect to the database through a JNDI resource using

Re: Question about writing a servlet filter in Tomcat 5.5.x

2009-03-09 Thread Ben Hu
Thanks a lot, Gregor. The example in that discussion does give me some ideas, but the requirements in that example is different. I need to change the content of original response either from JSP page or HTML page. I am trying to read servlet examples within Tomcat distribution. There is a

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Gregor Schneider
No I got it. Guess I'll spent some time of the coming weekend reading up those concepts. Cheers Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Len Popp
On Mon, Mar 9, 2009 at 16:03, Ken Bowen kbo...@als.com wrote: I agree with everything in both posts, but I just don't see what the /location/ of the jsp files (inside/outside WEB-INF) has to do with it. All that controls is whether a user/client can find a way to look inside the file. One can

Syntex error in http.conf with 'Include conf/mod_jk.conf'

2009-03-09 Thread Harcharan Singh
Hi There, I got the 'syntex error' and 'file not find error' when i use the include directive  for mod_jk in httpd.conf file. I have created 'mod_jk.conf' in the 'conf' directory of Apache installation. It tried various triks, but the error doesn't go away. As soon as , i comment the

Re: [OT] Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread Ken Bowen
On Mar 9, 2009, at 4:46 PM, Len Popp wrote: So, I'm a disciplined developer? :-) I think it'd be a pretty good bet on this list :-) Yeah, it's basically because in this setup the JSP pages are part of the app's implementation, not part of the exposed URL space. So I put them under WEB-INF

Re: [OT] RE: Max Number of users

2009-03-09 Thread André Warnier
Gregor Schneider wrote: On Mon, Mar 9, 2009 at 9:09 PM, André Warnier a...@ice-sa.com wrote: Jeppesen GmbH ? Nope :) Nokia ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Support for JSF 2.0

2009-03-09 Thread Martin Dubuc
I am wondering if there are plans to support JSF 2.0 when it is released. I assume that support for JSF 2.0 will require support for new servlet/JSP specs (somehting like servlet 3.0/JSP 2.2). Would this be done in version 7.0 of Tomcat? Martin

Re: [OT] RE: Max Number of users

2009-03-09 Thread Gregor Schneider
On Mon, Mar 9, 2009 at 10:15 PM, André Warnier a...@ice-sa.com wrote: Gregor Schneider wrote: On Mon, Mar 9, 2009 at 9:09 PM, André Warnier a...@ice-sa.com wrote: Jeppesen GmbH ? Nope :) Nokia ? Would I be using an iPhone then? Besides, Nokia closed down all German locations moving them

RE: Syntex error in http.conf with 'Include conf/mod_jk.conf'

2009-03-09 Thread Caldarale, Charles R
From: Harcharan Singh [mailto:charan85...@yahoo.com] Subject: Syntex error in http.conf with 'Include conf/mod_jk.conf' I got the 'syntex error' and 'file not find error' Marco A already answered your first two attempts at misspelling syntax:

Re: mod_jk and 304

2009-03-09 Thread Rainer Jung
On 09.03.2009 18:07, Anthony J. Biacco wrote: Download the latest, configure, make, make install, check for new/deprecated directives in the jk docs, modify configs accordingly, reload apache. +1 Rainer - To unsubscribe,

Re: How to set Java Memory heap size on Linux?

2009-03-09 Thread Rainer Jung
On 09.03.2009 19:30, Caldarale, Charles R wrote: From: dOE [mailto:doep...@gmail.com] Subject: Re: How to set Java Memory heap size on Linux? What is the syntax of the setenv.sh script? It's whatever syntax your shell supports. The export command is often needed for Linux shells. The

Re: tomcat w/apr data lost in http post request?

2009-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylan, On 3/5/2009 5:45 AM, Taylan Develioglu wrote: Can the wget clone do this without modification, or do I need to change it? No, you'd need to modify the source. It's not particularly useful in most scenarios to intentionally stall an HTTP

Re: tomcat w/apr data lost in http post request?

2009-03-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taylan, On 3/6/2009 4:05 AM, Taylan Develioglu wrote: James, thank you very much. I suspected IE to be guilty because it was happening only with IE clients. Chris, I guess we don't need to try and reproduce this anymore now we know the

RE: [OT] RE: Max Number of users

2009-03-09 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: [OT] RE: Max Number of users I'll provide my business-card in Amsterdam so that you believe me that it's *not* Jeppesen Kölnische Rückversicherungs-Gesellschaft AG, part of Gen Re, part of one of Jimmy Buffett's relative's

Re: [OT] RE: Max Number of users

2009-03-09 Thread Rainer Jung
On 10.03.2009 00:05, Caldarale, Charles R wrote: From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: [OT] RE: Max Number of users I'll provide my business-card in Amsterdam so that you believe me that it's *not* Jeppesen Kölnische Rückversicherungs-Gesellschaft AG, part of Gen

Tracking down OOM - PermGen using jmap and jhat

2009-03-09 Thread Darryl Pentz
I'm using this article: http://blogs.sun.com/fkieviet/entry/how_to_fix_the_dreaded to try and isolate an apparent memory leak in our web application. It has been functioning fine until a new release which we deployed over this last weekend. Now suddenly we're hitting PermGen OOM's within the

Re: [OT] RE: Max Number of users

2009-03-09 Thread Ken Bowen
BigBrother will be calling at: +49-221-9738-982 On Mar 9, 2009, at 7:05 PM, Caldarale, Charles R wrote: Kölnische Rückversicherungs-Gesellschaft

RE: [OT] RE: Max Number of users

2009-03-09 Thread Caldarale, Charles R
From: Rainer Jung [mailto:rainer.j...@kippdata.de] Subject: Re: [OT] RE: Max Number of users Uh-oh, if things haven't changed, it seems you won the prize - and Gregor lost his privacy ;) Unfortunately, I don't drink beer, and I'm not likely to get to Amsterdam in two weeks (although it

RE: Tracking down OOM - PermGen using jmap and jhat

2009-03-09 Thread Caldarale, Charles R
From: Darryl Po force a entz [mailto:djpe...@yahoo.com] Subject: Tracking down OOM - PermGen using jmap and jhat in both cases when I run jmap/jhat the resulting output shows the memory to still be littered with the application classes. Which is likely the exact memory leak you're looking

Re: Default Tomcat Page w/o Redirect

2009-03-09 Thread mitalub
Thanks a lot, I hadn't thought of the difference between redirect and forward, but this did the trick! In practice, I've found the easiest way is to do this: - Create index.jsp - Add a one line /index.jsp which does a forward to your home page like this: jsp:forward