Re: Servlet mapping issue

2009-03-13 Thread Gregor Schneider
What's in your access-log? Rgds 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 - To

Re: j_security_check SSL

2009-03-13 Thread Gregor Schneider
Chris, On Fri, Mar 13, 2009 at 3:26 PM, Christopher Schultz ch...@christopherschultz.net wrote: Just to be clear, it's the session creation that is sensitive to SSL, not the actual login (authentication step). If your session exists and is visible to non-secure communications before

Re: j_security_check SSL

2009-03-13 Thread Gregor Schneider
Hi André, first: Please forgive me my late answer also to your PM, however, I was really busy here so that I didn't find any time to answer in an appropriate (aka detailed) manner. So here we go: Customers When talking about customers, I'm actually talking about our staff from

Re: j_security_check SSL

2009-03-13 Thread Gregor Schneider
Chris, On Fri, Mar 13, 2009 at 5:14 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gregor, On 3/13/2009 11:42 AM, Gregor Schneider wrote: So would following scenario work? - login using form-based login via https - when

Re: Path problem

2009-03-13 Thread Gregor Schneider
Or the war-file doesn't get unpacked, but the app is started from within the war, and the ressource is inside the war. And please note the difference: It's not Class.getRessourceAsStream(), but ServletContext.getRessourceAsStream(); So in your example: ServletContext sctx =

Re: Path problem

2009-03-13 Thread Gregor Schneider
...and please forgive me all my typos Rgds 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: Max Number of users

2009-03-12 Thread Gregor Schneider
Chris, On Thu, Mar 12, 2009 at 3:46 PM, Christopher Schultz ch...@christopherschultz.net wrote: Kölnische Rückversicherungs-Gesellschaft AG, part of Gen Re, part of one of Jimmy Buffett's relative's companies. ...and they're running Microsoft-IIS/5.0 on their web server ;) That's our

Re: Lazy Virtual Hosting?

2009-03-12 Thread Gregor Schneider
Mark, I guess I didn't phrase properly since you seem to have misunderstood me: I want a *separation* of the hosts. Alias, as I understand it, helps to run multiple domains within the same IP-adress. Therefore, I'm using multiple host-elements (one for each IP/domain-combination) to separate

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

2009-03-12 Thread Gregor Schneider
Chris, On Wed, Mar 11, 2009 at 11:13 PM, Christopher Schultz ch...@christopherschultz.net wrote: No, he's telling you about /his/ webapp, not making a general statement. agreed - wasn't thinking of that Now I'm wondering (Mr. Servlet-Spec Chuck, you comment on that one): Aw you can

Re: SEVERE: Can't lookup new HighLowSequence for field id using sequence name SEQ_t_xx_xxx

2009-03-12 Thread Gregor Schneider
This doesn't look as if this error has anything to do with Tomcat. My best guess: You're using a MySQL. We also do have some issue here every now and then that the connection to MySQL is lost when using a db-connection-pool. I know there's a workaround for that, just can't recall exactly how

Re: Lazy Virtual Hosting?

2009-03-12 Thread Gregor Schneider
On Thu, Mar 12, 2009 at 5:29 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: Lazy Virtual Hosting? I want a *separation* of the hosts. Alias, as I understand it, helps to run multiple domains within the same IP

Re: [OT] RE: Max Number of users

2009-03-10 Thread Gregor Schneider
Chuck, On Tue, Mar 10, 2009 at 1:52 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Unfortunately, I don't drink beer, and I'm not likely to get to Amsterdam in two weeks (although it is tempting - more so if it were a bit warmer :-). Hm, I guess you'll be missing quite

Re: [OT] RE: Max Number of users

2009-03-10 Thread Gregor Schneider
On Tue, Mar 10, 2009 at 10:24 AM, André Warnier a...@ice-sa.com wrote: You might want to send him a bar of dark chocolate instead. Chuck's a sweettooth? Hm, ok, then I'll have to do some clandestine work and will try to find his adress. Since I don't want to post his private adress on this

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

2009-03-10 Thread Gregor Schneider
Chris, On Tue, Mar 10, 2009 at 3:35 PM, Christopher Schultz ch...@christopherschultz.net wrote: because it makes your deployment easier. Hm, I guess I'll have to disagree here: Why should it make his deployment easier? Remember, the app-names are different from each other although

Lazy Virtual Hosting?

2009-03-10 Thread Gregor Schneider
Hi guys, just a quickone: I'm having a server here running 4 different domains, luckily having a bunch of IP-adresses on said host available. On my test-server, I just had one IP-adress, thus I created one HTTP-Connector (without the adress-param), below an Engine and inside the Engine 4

j_security_check SSL

2009-03-10 Thread Gregor Schneider
And another one: AFAIK, when using Form-based Authentication, the parameters for j_security_check are send in a readable manner over the wire, thus prone for an attack. Therefore, it is recommended to use SSL-encription for the Form-Loginpage. However, that means that one has to buy one of

Re: Lazy Virtual Hosting?

2009-03-10 Thread Gregor Schneider
On Tue, Mar 10, 2009 at 9:09 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Lazy Virtual Hosting? So if you have 4 Connectors, you will be having 4 independent number of min and max threads, and 4 independent settings for

Re: j_security_check SSL

2009-03-10 Thread Gregor Schneider
Mark, On Tue, Mar 10, 2009 at 8:23 PM, Mark Thomas ma...@apache.org wrote: Ditch FORM auth, use DIGEST. I'm afraid I don't see how to combine DIGEST with a Login-form - and that's a customer request. I know that SecurityFilter is quite a handy tool, however, that doesn't support Tomcat's

Re: Lazy Virtual Hosting?

2009-03-10 Thread Gregor Schneider
On Tue, Mar 10, 2009 at 10:27 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Gregor Schneider [mailto:rc4...@googlemail.com] Subject: Re: Lazy Virtual Hosting? My only concern is if some client started using an IP address rather than the name associated with that address

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

2009-03-10 Thread Gregor Schneider
On Tue, Mar 10, 2009 at 10:53 PM, Harcharan Singh charan85...@yahoo.com wrote: If i am on the wrong mailing-list. Could you please let me know which is correct mailing-list for this question. Take this one: http://httpd.apache.org/userslist.html Rgds Gregor -- just because your paranoid,

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

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:

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: 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: 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

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 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: [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

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: 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: 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 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 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: 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

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: 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: RemoteAddrValve and RemoteHostValve

2009-03-02 Thread Gregor Schneider
On Mon, Mar 2, 2009 at 11:25 AM, Zak Mc Kracken zakmc...@yahoo.it wrote: Gregor Schneider wrote: you've been asking the valve-stuff because you want to limit the access to requests coming from localhost only? Yep! why then not make tomcat listen on localhost only? configuration for that's

Re: RemoteAddrValve and RemoteHostValve

2009-03-02 Thread Gregor Schneider
Hi Chuck, On Mon, Mar 2, 2009 at 3:07 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote:  Since a working Valve setup was already provided, why not just use that? Ehem - was it? I understood that there was one open issue that Zac needed to combine a hostname and IP-adress - which was not

Re: RemoteAddrValve and RemoteHostValve

2009-03-01 Thread Gregor Schneider
On Sun, Mar 1, 2009 at 6:05 PM, Zak Mc Kracken zakmc...@yahoo.it wrote: Yes, but localhost-only is simpler in my case. ehem, still not sure if i got you right: you've been asking the valve-stuff because you want to limit the access to requests coming from localhost only? why then not make

Re: RemoteAddrValve and RemoteHostValve

2009-02-28 Thread Gregor Schneider
What in the documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html) is the part you don't understand? Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @

Re: Request not forwarded to login page with security-constraint after session time-out

2009-02-26 Thread Gregor Schneider
Marcel, On Thu, Feb 26, 2009 at 12:16 AM, Marcel Stör mar...@frightanic.com wrote: [Problem] Upon session time-out the request is not forwarded to the login page (form based auth). Nothing happens on the UI. However, forwarding to the login page does work during the initially login into the

Re: Authenticating Users

2009-02-22 Thread Gregor Schneider
To the OP: 1. May I ask what database it is you're using? 2- I'd go for the following solution: Create a JSP-page accepting the credentials. The username should be converted to uppercase. The password should be left as is so that case-sensivity here is maintained. Don't know if I'm missing

Re: Running tomcat from my code

2009-02-12 Thread Gregor Schneider
The main question is: - Of which type is the OP's application-code? Java? C? C++? Lisp? ;) But most important. What is the OP trying to achieve? It might well be that there's a smarter solution to the original request. Rgds Gregor -- just because your paranoid, doesn't mean they're not after

Re: Weblogic library and Tomcat

2009-02-12 Thread Gregor Schneider
Just a shot from the hip: Is your Webapp using RMI to communicate with WebLogic? 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: Weblogic library and Tomcat

2009-02-12 Thread Gregor Schneider
On Thu, Feb 12, 2009 at 1:19 PM, Pieter Temmerman ptemmerman@sadiel.es wrote: Is your Webapp using RMI to communicate with WebLogic? Don't know if this will answer your question, but I see that the following class is loaded: weblogic.iiop.PortableRemoteObjectDelegateImpl

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Gregor Schneider
What's Linux /var/log/syslog saying? Anything in there? @Chuck: never heard about the OOM-killer. But what I almost can't believe is that if such a thing exists, that it doesn't carve it's footprints into syslog... Puzzled... Gregor -- just because your paranoid, doesn't mean they're not after

Re: Tomcat unexpectedly shuts down

2009-02-12 Thread Gregor Schneider
Again: Anything in /var/log/syslog? If OOMKiller was invoked, there should be somehhing like Dec 16 10:31:17 velo kernel: [611084.971774] kded invoked oom-killer: gfp_mask=0x1201d2, order=0, oomkilladj=0 Rgds Gregor -- just because your paranoid, doesn't mean they're not after you...

Re: unable to connect to mysql on remote server

2009-02-12 Thread Gregor Schneider
By default, MySQL only listens on localhost. If you have configured MySQL to listen for remote connections, happy getting hacked... However, to solve your issue: - Make sure you can connect to the remote MySQL from the server where you're running Tomcat: mysql -h YOUR_HOST_HERE - u USER -p If

Re: unable to connect to mysql on remote server

2009-02-12 Thread Gregor Schneider
Sorry, should have been mysql -h YOUR_HOST_HERE -u USER -p Rgds 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: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
To the OP: If you can hold it for a while: I'll be on the Hackation during the ApacheConEurope in March and will provide a small piece of code there, whis is basically a LoginValve doing the following: - You can customize the url Tomcat shall call if authentication times out - Since a valve can

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
On Wed, Feb 11, 2009 at 4:43 PM, lynckmeister lync...@gmx.de wrote: Hi Gregor, I didnt get it. Your writing a peace of code wich lets me custmize the url or page wich is called if a sessiontimeout occurs? Nope. What the Valve does, ist the following: If a session times out, usually nothing

Re: Tomcat Realm Auto-Relogin after Session-Timeout Problem

2009-02-11 Thread Gregor Schneider
Chris, On Wed, Feb 11, 2009 at 5:52 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Note that securityfilter implements the feature you describe, though it is separate from Tomcat's container-managed authentication and authorization.

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Gregor Schneider
Hm, this answer has been given quite a few times recently - I guess it makes sens to put it on the FAQ: http://wiki.apache.org/tomcat/FAQ Rgds Gregor On Mon, Feb 9, 2009 at 3:49 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Indicative of a broken Tomcat installation, which is

Re: WEB-INF/classes vs WEB-INF/lib/classes.jar file

2009-02-06 Thread Gregor Schneider
How about md5sum? Rgds 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 - To unsubscribe,

Re: servlet use. TC6, FC10

2009-02-06 Thread Gregor Schneider
On Fri, Feb 6, 2009 at 1:06 PM, Dave Pawson dave.paw...@gmail.com wrote: One final item before I leave this thread please. AFAIK I don't need any resource specification. Does this mean that I can dispense with the atom/META-INF directory totally? I.e. it is redundant for this usage of

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-06 Thread Gregor Schneider
Well, I'n not Chuck, but to answer your question: On Fri, Feb 6, 2009 at 11:39 AM, Dave Pawson dave.paw...@gmail.com wrote: Is a filter the right TC tool for that Charles? Yes Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: Upgrade .. a Tomcat

2009-02-06 Thread Gregor Schneider
Besides, it's Debian, and, if I'm not mistaken, it's a packaged installation. Rgds 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: Steps to build mod_jk.so

2009-02-05 Thread Gregor Schneider
Rhandir, after you've downloaded the source of mod_jk and extracting them, you'll find a file there BUILD.txt. = [ extract ] === For the impatient Apache admins: $ cd native $ ./configure --with-apxs=/usr/sbin/apxs (or where ever the apxs/apxs2 is) $ make $ su -c 'make install'

Re: Location of download of mod_jk-1.2.26-httpd-2.2.4.so

2009-02-05 Thread Gregor Schneider
On Wed, Feb 4, 2009 at 11:39 PM, randhir.si...@elitecore.com wrote: I wanted to know of the site or place to download mod_jk-1.2.26-httpd-2.2.4.so that I can rename it to mod_jk.so to include it in the $APACHE_HOME/libexec path as my httpd.conf is having the line:- Ok, Randir, this is my

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Gregor Schneider
http://solaris.reys.net/english/2006/04/x11_forwarding Works pretty much the same on any other Linux Rgds 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: request for advice Tomcat-weblogic

2009-02-05 Thread Gregor Schneider
Niki, you seriously expect help for weblogic on a *Tomcat*-userlist? Guess you'll be more happy with a Weblogic-mailinglist. Anyways, mybe this helps for a start: http://edocs.bea.com/wls/docs61/adminguide/cnfgsec.html#1052257 Gregor -- just because your paranoid, doesn't mean they're not

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to create new native thread

2009-02-05 Thread Gregor Schneider
On Thu, Feb 5, 2009 at 11:11 AM, Peter Crowther peter.crowt...@melandra.com wrote: OK. If you don't want to put Cygwin on http://sourceforge.net/projects/xming Just a simple install, very small, convinient and works like charm. Rgds Gregor -- just because your paranoid, doesn't mean

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
Hi Dave, On Thu, Feb 5, 2009 at 2:52 PM, Dave Pawson dave.paw...@gmail.com wrote: From the docs Context elements may be explicitly defined: snip/ * in individual files (with a .xml extension) in the $CATALINA_BASE/conf/[enginename]/[hostname]/ directory. Which I interpret that to

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson dave.paw...@gmail.com wrote: I note that Charles says I don't need this unless I need to define a realm or other resources. it's a wise decision to believe almost anything what Chuck mentions ;) aside Is there a basic 'hello world' restlet that

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
Just had a quick view, but if I'm not mistaken: Change servlet-mapping servlet-nameatom/servlet-name url-pattern/atom/*/url-pattern /servlet-mapping to servlet-mapping servlet-nameatom/servlet-name url-pattern/*/url-pattern /servlet-mapping Rgds Gregor

Re: No URL rewriting when cookies are disabled

2009-02-05 Thread Gregor Schneider
It's a known bug in Tomcat, if I'm not mistaken: https://issues.apache.org/bugzilla/show_bug.cgi?id=43839 Rgds 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: Backup of TOMCAT required

2009-02-05 Thread Gregor Schneider
On Thu, Feb 5, 2009 at 8:44 PM, Randhir singh randhir.si...@elitecore.com wrote: Thanks, for your answer. But, my real question is whether we need to copy the latest copy of $TOMCAT_HOME from the old server to the new server as it is just a web server and not our application code. hey - why

Re: tomcat only query localhost database

2009-02-04 Thread Gregor Schneider
On Wed, Feb 4, 2009 at 8:28 AM, Mihamina Rakotomandimby (R12y) miham...@lab.vectoris.fr wrote: So, my deduction is the Linux tomcat6 has a setting that avoid reading Catalina/localhost/webappName.xml can you specify the Linux-distribution / version? In case you are using package-distribution

Re: servlet use. TC6, FC10

2009-02-04 Thread Gregor Schneider
what gives uname -n ? 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 - To unsubscribe, e-mail:

Re: Meaning of LoadModule jk_module libexec/mod_jk.so in httpd.conf

2009-02-04 Thread Gregor Schneider
well, well, well, seems you're becoming a running gag here in the list. did your read http://tomcat.apache.org/connectors-doc/ as I suggested previously? if so, did you *understand* it? if even so, did you find the link within the document pointing to

Re: Display URL without port

2009-02-04 Thread Gregor Schneider
Randhir, I presume that both Apache HTTPD and Tomcat are located on the same machine? Note that the default port for HTTP-protocol is port 80. As I've written in one of my previous posts, only one application can be bound to a port, meaning when Apache HTTPD and Tomcat are both located on the

Re: Meaning of LoadModule jk_module libexec/mod_jk.so in httpd.conf

2009-02-04 Thread Gregor Schneider
On Wed, Feb 4, 2009 at 6:01 PM, randhir.si...@elitecore.com wrote: Thanks, for your answer. But, I could not understand how to make the module mod_jk.so so that it gets placed in the path $APACHE_HOME/libexec as the documents you mentioned are not very clear on that. In your 1st post above

Re: Performance of APR

2009-02-04 Thread Gregor Schneider
On Wed, Feb 4, 2009 at 6:45 PM, André Warnier a...@ice-sa.com wrote: You should all just switch to perl. *yuck* - coding in perl always make my eyes squint and my hair stick out =8| You could go to ApacheCON, skip half the sessions with a clear conscience and have good beer instead. well,

Re: servlet use. TC6, FC10

2009-02-04 Thread Gregor Schneider
Dave, On Wed, Feb 4, 2009 at 8:50 PM, Dave Pawson dave.paw...@gmail.com wrote: 2009/2/4 Caldarale, Charles R chuck.caldar...@unisys.com: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: servlet use. TC6, FC10 2009/2/4 Gregor Schneider rc4...@googlemail.com: what gives uname -n

Re: tomcat only query localhost database

2009-02-03 Thread Gregor Schneider
Sorry, but you're providing too few informations. - please post the file /etc/tomcat6/Catalina/localhost/webappName.xml (masquerade the user-id / password!) - please post the piece of code where the said webapp tries to create the database-connection. should looke similar to code

Re: Copy Apache

2009-02-03 Thread Gregor Schneider
I'm sorry, but the whole question is rediculous and needs a rephrasing at least. - What does the OP want to copy? The whole of Apache? HTML only? To me it seems as if the OP doesn't have *any* clue when it comes to Apache / Tomcat (please also refer to his previous posts). I may appear rude,

Re: mod_jk vs mod_proxy

2009-02-03 Thread Gregor Schneider
Hi Andrew, we've just been duscussing this topic a few days ago. You'll might want to read the whole thread @ http://www.nabble.com/AJP-vs-HTTP-connectors--td21797851.html Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: No workers.properties file in $TOMCAT_HOME/conf

2009-02-03 Thread Gregor Schneider
On Tue, Feb 3, 2009 at 11:00 AM, randhir.si...@elitecore.com wrote: I downloaded tomcat, intalled it but there is no file workers.properties correct in $TOMCAT_HOME/conf. I tried 2 downloads, the tomcat 4.1 and 5.5 series. try it with at least 5.5 or, better, with the latest 6.x-version

Re: Error, source unknown

2009-02-03 Thread Gregor Schneider
Dave, On Tue, Feb 3, 2009 at 2:24 PM, Dave Pawson dave.paw...@gmail.com wrote: from catalina.out log. Feb 3, 2009 12:14:23 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.BindException: Address already in usenull:8080 that means that some

Re: Copy Apache

2009-02-03 Thread Gregor Schneider
André, just a quick one, since this becomes OT, but if you like, we can continue this discussion via personal email. André, if I'm not mistaken, you're quite new to the list. I've seen lots of similar posts here, which I consider being a complete neglet of respect to the people contributing to

Re: Documentation on the working of tomcat and architecture

2009-02-03 Thread Gregor Schneider
tomcat.apache.org rgds 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 - To unsubscribe,

Re: Error, source unknown

2009-02-03 Thread Gregor Schneider
Dave, On Tue, Feb 3, 2009 at 2:38 PM, Dave Pawson dave.paw...@gmail.com wrote: [r...@marge apps]# netstat -lnp | grep 8080 tcp0 0 :::8080 :::* LISTEN 4014/java (Not very informative ?) informative enough: ps -lf 4041 gives you a bit more of

Re: AJP vs HTTP connectors?

2009-02-02 Thread Gregor Schneider
hm, since I'd like to avoid to browse through the whole webinar: what are the benefits / advantages / disadvantages? actually we've been quite happy with mod_jk, that's why I'm wondering Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: AJP vs HTTP connectors?

2009-02-02 Thread Gregor Schneider
What I do now is that mod_proxy is not all that easy to configure and offers quite some possibilities to open a leak if you don't know exactly what you're doing. Besides, I'm not aware that mod_proxy offers any loadbalancing features, but maybe I'm missing something here. And, last not least:

Re: AJP vs HTTP connectors?

2009-02-02 Thread Gregor Schneider
argl... - 4gimme my typos - I need an after-editor for this mailinglist - duuuh...! -- 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: package javax.servlet does not exist import javax.servlet.* ;

2009-02-02 Thread Gregor Schneider
if you're compiling from the console-window: javac -help take a look at -classpath if you're using an ide, check out your ide's documentation rgds gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available

Re: Why tomcat 6.0.18 looks for MySQL JDBC driver to be placed in CATALINA_HOME/lib folder?

2009-02-02 Thread Gregor Schneider
Within the docs I do not see a recommendation to place the JDBC-driver both in ${CATALIN_HOME}/lib *AND* WEB-INF: == 1. Install Your JDBC Driver Use of the JDBC Data Sources JNDI Resource Factory requires that you make an appropriate JDBC driver available to both Tomcat internal

Re: Indicator APR is loaded - TC 5.5

2009-01-30 Thread Gregor Schneider
Charles, thanks a bunch, that's explaining my observations. Do I understand your statement correctly in that sense, that *if* an APRLifeCycleListener has been configured within TC 5.5, but no APR is found due to mis-configuration, a message then will show up in the logs? Cheers Gregor --

Re: Performance of APR

2009-01-30 Thread Gregor Schneider
Well, if you don't want to deal with the APR (which I don't think is all that complicated), maybe new NIO-connector is worth a try: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html However, I haven't seen any benchmarks comparing NIO with APR, especially when it comes to SSL Btw., a

Slightly OT: ApacheCon Europe 2009

2009-01-30 Thread Gregor Schneider
Hi guys, I'm just wondering if anyone of this list will be joining the ApacheCon in Amsterdam this year? If so, maybe we could set up kid of a userlist-meeting and see the faces behind those posts? Cheers Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp:

Re: Excel file in Tomcat Virtual Dir has junk data in it.

2009-01-30 Thread Gregor Schneider
Server version: Apache Tomcat/6.0.18 Server built: Jul 22 2008 02:00:36 Server number: 6.0.18.0 mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping hth Gregor -- just because your paranoid, doesn't mean they're not after

Re: Slightly OT: ApacheCon Europe 2009

2009-01-30 Thread Gregor Schneider
Hi Mark, knowing those conferences, I know how hard it is to get hands on the speaker ;) I've registered for the 3 conference days only plus tuesday hackaton. I've got actually no idea how the hackaton works, but I'm curious to meet some of you guys. So if you have any information on what's

Re: commons-logging problem

2009-01-30 Thread Gregor Schneider
On Fri, Jan 30, 2009 at 7:45 PM, Rusty Wright rusty.wri...@gmail.com wrote: John Holman wrote: Also is it a supported configuration to use commons-logging and log4j in WEB-INF/lib? Where else would you put them? i.e. ${CATALINA_HOME}/common/lib Saves the hazzle to put them into each

Re: commons-logging problem

2009-01-30 Thread Gregor Schneider
On Fri, Jan 30, 2009 at 8:33 PM, Rusty Wright rusty.wri...@gmail.com wrote: Does that work reliably now? I was under the impression that it caused problems, but that may have been with a previous version of tomcat. That's why I asked my where else question; I was wondering if that's what he

<    1   2   3   4   5   >