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

2009-02-05 Thread André Warnier
Peter Crowther wrote: From: André Warnier [mailto:a...@ice-sa.com] Christopher Schultz wrote: What about forwarding X through the tunnel instead? You can't, because it is variable. It is the result of some internal "negotiation" between Jconsole and the remote JVM. Apparently, anyway. I haven'

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, 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 last answer for you - you

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: WEB-INF/classes vs WEB-INF/lib/classes.jar file

2009-02-05 Thread Mikolaj Rydzewski
epicwin...@hotmail.com wrote: Is there any advantage why I should not just jar all my class files and put them in WEB-INF/lib rather than exploding the jar file to the classes directory? I like developing with the classes and I understand it is nice to let tomcat deploy a .war file but it als

Basic IIS Authentication

2009-02-05 Thread Alexander Diedler
Hello everybody, I have a webservice created, who has to fill-out a remote form on a website to publish articles remotely. Now the Server has an IIS with Basic Authentication and in my Java File, I get 401 - Access denied. Has somebody a simple example to fill-out a form? Greetings Alexander

request for advice Tomcat-weblogic

2009-02-05 Thread Niki Diulgerov
Hello there, I need an advice about how to transfer the settings in tomcat-users.xml to weblogic. And I hope someone is familiar with both and could help. For example, in tomcat-users.xml I have roles="tomcat,admin,administrator,manager,configurator"/> And in the application, there are some

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

2009-02-05 Thread Bill Barker
ignoring the maven fanatics, Tomcat's classloader searches the WEB-INF/classes directory before the WEB-INF/lib/*.jar. This means that it is sometimes nice to use WEB-INF/classes for a development server. But for a production server you won't see much difference. wrote in message news:blu1

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 after

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

2009-02-05 Thread Peter Crowther
> From: André Warnier [mailto:a...@ice-sa.com] > "X" is not something I use regularly, so when > Chris mentioned X, I thought he was talking about the secondary > connection/port that the JVM/Jconsole agree on, not about > X-terminal and so. > > So thanks for the tip, but could you expand even more

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 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 they're not after you... gpgp-

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/4 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 >> >> 2009/2/4 Gregor Schneider : >> > what gives "uname -n" ? >> >> 2.6.27.12-170.2.5.fc10.i686 > > Is it just me, or does that look like a really, really weird result for una

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

2009-02-05 Thread André Warnier
Bill Barker wrote: ignoring the maven fanatics, Tomcat's classloader searches the WEB-INF/classes directory before the WEB-INF/lib/*.jar. This means that it is sometimes nice to use WEB-INF/classes for a development server. But for a production server you won't see much difference. Sorry t

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

2009-02-05 Thread André Warnier
Hi. Thanks Chris and Peter and Gregor. Gregor sent me a link to an article that looks promising, and says basically the same as Peter below, using XMing as the X11 server (client?, I can never remember..). I will try that tonight. Peter Crowther wrote: From: André Warnier [mailto:a...@ice-sa

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

2009-02-05 Thread Mikolaj Rydzewski
André Warnier wrote: if I have a webapp consistig of just a couple of classes and a WEB-INF/web.xml config file, but this web.xml file contains some parameters that are "each-client-dependent", and some customers are insisting to receive the updates as a war file, how can I achieve that ? Som

Re: request for advice Tomcat-weblogic

2009-02-05 Thread Niki Diulgerov
However, figured out how to do this, if someone face the same problem. Additional file should exists in the WEB-INF folder file name weblogic.xml example which will solve the problem described below: http://www.bea.com/ns/weblogic/90"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

HTTP Status 404 - /openipmp/jsp/login.jsp

2009-02-05 Thread geethkp
Dear all, Good afternoon. I need a help. I am trying to install an open source DRM server in my system.from OPENIPMP Here they are using Tomcat server. To access the DRM server we are using JBOSS Application server.After installation I am trying to acccess the server by http://localhost:8080/open

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

2009-02-05 Thread André Warnier
Mikolaj Rydzewski wrote: André Warnier wrote: if I have a webapp consistig of just a couple of classes and a WEB-INF/web.xml config file, but this web.xml file contains some parameters that are "each-client-dependent", and some customers are insisting to receive the updates as a war file, how

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

2009-02-05 Thread Peter Crowther
> From: André Warnier [mailto:a...@ice-sa.com] > using XMing as the X11 server (client?, I can never remember..). Yeah, X's terminology is very counter-intuitive - I get comments of "you're kidding" every time I teach it. An X server serves out the keyboard, mouse and display. X11 clients conn

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

2009-02-05 Thread Peter Crowther
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > http://sourceforge.net/projects/xming > > Just a simple install, very small, convinient and works like charm. Thanks Gregor, I wasn't aware of that one. Think I may just have a new preferred X server :-). - Peter ---

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

2009-02-05 Thread Mark Thomas
Peter Crowther wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> using XMing as the X11 server (client?, I can never remember..). > > Yeah, X's terminology is very counter-intuitive - I get comments of "you're > kidding" every time I teach it. An X server serves out the keyboard, mouse

Re: HTTP Status 404 - /openipmp/jsp/login.jsp

2009-02-05 Thread Mark Thomas
geet...@tataelxsi.co.in wrote: > Dear all, > Good afternoon. > I need a help. Please don't hijack threads. Not only is it a general nuisance and makes searching of the archives confusing, many of the folks on this list will ignore any post that hijacks a thread. Mark > I am trying to install an

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

2009-02-05 Thread André Warnier
Mark Thomas wrote: Peter Crowther wrote: From: André Warnier [mailto:a...@ice-sa.com] using XMing as the X11 server (client?, I can never remember..). Yeah, X's terminology is very counter-intuitive - I get comments of "you're kidding" every time I teach it. An X server serves out the keyboar

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

2009-02-05 Thread David Smith
epicwin...@hotmail.com wrote: > Is there any advantage why I should not just jar all my class files and put > them in WEB-INF/lib rather than exploding the jar file to the classes > directory? > > > I like developing with the classes and I understand it is nice to let tomcat > deploy a .war fil

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
Moving on, reading http://tomcat.apache.org/tomcat-6.0-doc/config/printer/context.html 2009/2/5 Dave Pawson : > 2009/2/4 Caldarale, Charles R : >>> From: Dave Pawson [mailto:dave.paw...@gmail.com] >>> Subject: Re: servlet use. TC6, FC10 >>> >>> 2009/2/4 Gregor Schneider : >>> > what gives "uname -

Re: servlet use. TC6, FC10

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

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > From the docs "Context elements may be explicitly defined: > > * in individual files (with a ".xml" extension) in the > $CATALINA_BASE/conf/[enginename]/[hostname]/ directory." > > Which I interpr

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Gregor Schneider : >> Which I interpret that to have my servlet deployed (found?) I need to >> set up an XML file >> as per that web page at >> {}/conf//marge/atom.xml >> > > Nope, you don't have to. > > Within your webapp, create a folder "META-INF", and within this folder > create a

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson 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 ;) > > Is there a basic 'hello world' restlet that should just 'work' > p

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > Is there a basic 'hello world' restlet that should just 'work' > please GIYF: http://temporary.name/java/index.php/spring/restlet-spring-integration - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : > The [engine] name is whatever it's configured to be in server.xml; the > default is Catalina (case sensitive), and there's almost never a reason to > change it. The [host] name is NOT the DNS name, but rather the name of the > associated element that you want

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > Note my response to Gregors questions about uname -n? > Were I to use this method would the 'path' then be > > $CATALINA_BASE/conf/Cataline/localhost/atom/atom.xml > > for my {}/webapps/atom 'webapp' No;

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Gregor Schneider : > On Thu, Feb 5, 2009 at 3:20 PM, Dave Pawson wrote: >> Is there a basic 'hello world' restlet that should just 'work' >> please >> > > Sorry, but we can't support every kind of software claiming to work > within Tomcat. No, agreed. I was wondering if there was a two

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 > >> Is there a basic 'hello world' restlet that should just 'work' >> please > > GIYF: Indeed (Last time I tried a day without internet access I most definately realised thi

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 >> >> Note my response to Gregors questions about uname -n? >> Were I to use this method would the 'path' then be >> >> $CATALINA_BASE/conf/Cataline/localhost/atom/atom.xml

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > I was wondering if there was a two liner that implements > org.apache.catalina.Context as per the classname attribute > at http://tomcat.apache.org/tomcat-6.0-doc/config/context.html? > which I might use to

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > Not my idea of 'hello world' Charles? > (Closer to 'go write a device driver for this real time Unix mc :-) > I'm guessing you've used TC for a while... or longer? Nothing in the proffered link was Tomca

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 >> >> I was wondering if there was a two liner that implements >> org.apache.catalina.Context as per the classname attribute >> at http://tomcat.apache.org/tomcat-6.0-doc/confi

Re: [OT] servlet use. TC6, FC10

2009-02-05 Thread André Warnier
Caldarale, Charles R wrote: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: Re: servlet use. TC6, FC10 I was wondering if there was a two liner that implements org.apache.catalina.Context as per the classname attribute at http://tomcat.apache.org/tomcat-6.0-doc/config/context.html? whi

Re: [OT] servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 André Warnier : > [OT] > I was just checking that page indicated above, and happened to read the > "caseSensitive" attribute definition. > Doesn't that explanation strike anyone as weird ? > Or am I just not getting the double negatives somewhere ? > > I would expect a "caseSensitive" att

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > My interpretation, seemingly wrong is that my servlet class must > implement org.apache.catalina.Context. Definitely the wrong interpretation. Read the servlet spec. > I created a context element in META

RE: [OT] servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] servlet use. TC6, FC10 > > I was just checking that page indicated above, and happened > to read the "caseSensitive" attribute definition. > Doesn't that explanation strike anyone as weird ? Only if you're not aware that both Java

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> I created a context element in META-INF, filename atom.xml >> contents are >> >> > > O.K. > >> Nothing showing in the log. >> http://marge:8080/atom/ shows >> >> type Status report >> message /atom/ >> description The requested resource (/atom/) is not availabl

Backup of TOMCAT required

2009-02-05 Thread Randhir singh
I had a doubt that should the backup of TOMCAT be taken as we are going to swap our server to a new one with better congifuration. I will explain the environment of our system a little 1) Application server- JBOSS 2) Web server- Apache & tomcat 3) Application details- Java(1.4.2) Actually

No URL rewriting when cookies are disabled

2009-02-05 Thread nlif
Hi all, I am using Tomcat 6.0.18, with Firefox 3.0.6. I have a simple servlet, which calls request.getSession(true), and expects to create a session only on the first request, and resume an existing session on all subsequent requests. As far as I know, according to the servlet-spec, servlet conta

Re: servlet use. TC6, FC10

2009-02-05 Thread Gregor Schneider
Just had a quick view, but if I'm not mistaken: Change atom /atom/* to atom /* Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pc

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Gregor Schneider : > Just had a quick view, but if I'm not mistaken: > > Change > > > atom > /atom/* > > > to > > > atom > /* > :-) Thanks Chaz. Now works. Are you going to tell me why please? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ

RE: Backup of TOMCAT required

2009-02-05 Thread Martin Gainty
Good Morning Singh- any technical reasons for staying with an outdated 1.4 JVM..as you wont be able to take advantage of advanced gc and generics in JVM 6 ? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > Thanks Chaz. Now works. That was Gregor, not me, that gave you the answer. (Our corporate e-mail server hasn't passed your previous message through yet - must be a Homeland Security thing. :-) > Are yo

tomcat memory leak problem

2009-02-05 Thread fcxjp
My system environment is: Windows 2000 Server. JDK 1.5, tomcat 5.5, Oracle 9 The problems are: 1. After tomcat was started, the memory of the tomcat was normal, about 200M-300M. But after a certain time(this time was not set), the memory began to grow, and the growing speed was so fast that in abo

Re: tomcat memory leak problem

2009-02-05 Thread Piller Sébastien
Are you sure you don't have any thread or task (I mean, quartz or so) that is running and consume memory? I agree, this sounds quite strange (our app is running for several weeks and don't have any major issue, we sometimes need to restart tomcat because it "hangs", but our memory is under con

Re: No URL rewriting when cookies are disabled

2009-02-05 Thread André Warnier
nlif wrote: Hi all, I am using Tomcat 6.0.18, with Firefox 3.0.6. I have a simple servlet, which calls request.getSession(true), and expects to create a session only on the first request, and resume an existing session on all subsequent requests. As far as I know, according to the servlet-spec,

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: Tomcat 6: How to tell a Context/Webapp where to look for files?

2009-02-05 Thread Steve Mysterious
From: "Caldarale, Charles R" >>Tomcat: 6.0 >>Tomcat Installation Directory: C:\Program Files\Apache Software >>Foundation\Tomcat 6.0 >>OS: Windows XP ( Windows 5.1 service pack 2 ) >>Java: JDK 1.6.0_10-beta snip.. >> I noticed that if I don't give my JSPs and my servlet a >> path that they

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 >> >> Thanks Chaz. Now works. > > That was Gregor, not me, that gave you the answer. (Our corporate e-mail > server hasn't passed your previous message through yet - must be

mod_jk

2009-02-05 Thread Mohit Anchlia
Couple of questions regarding mod_jk: 1. Does apache read worker.properties dynamically? So if I change worker.property would it be dynamically read by mod_jk. 2. Does mod_jk check if the system is up and running before forwarding that request to the server configured in worker.properties file?

Re: comet loop after webapp re-start

2009-02-05 Thread Peter Warren
Thanks for the pointer. That bug does look related, as does this one: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403933 -- fixed against java 7. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additiona

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > I want to start looking at restricting access now, but I'll start a > new thread for that! Read section 12 of the servlet spec first. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: comet loop after webapp re-start

2009-02-05 Thread Caldarale, Charles R
> From: Peter Warren [mailto:tomcat.subscript...@gmail.com] > Subject: Re: comet loop after webapp re-start > > Thanks for the pointer. That bug does look related, as does this one: > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403933 -- fixed > against java 7. Or maybe not (comment from

RE: Tomcat 6: How to tell a Context/Webapp where to look for files?

2009-02-05 Thread Caldarale, Charles R
> From: Steve Mysterious [mailto:tinker...@gmail.com] > Subject: Re: Tomcat 6: How to tell a Context/Webapp where to > look for files? > > Unfortunately I don't have the option of altering the part of the code > where the context(web application) reads in the file it needs. Then you're pretty much

RE: mod_jk

2009-02-05 Thread Jorge Medina
1) As far as I know, no, mod_jk does not read workers.properties dynamically. 2) Yes and no, it will not send a request unless communication has been established with the worker, it may happen that the worker fails, or someone shut it down. Depending on how you configure the workers and the number

RE: No URL rewriting when cookies are disabled

2009-02-05 Thread Caldarale, Charles R
> From: Gregor Schneider [mailto:rc4...@googlemail.com] > Subject: Re: No URL rewriting when cookies are disabled > > It's a known bug in Tomcat, if I'm not mistaken: > https://issues.apache.org/bugzilla/show_bug.cgi?id=43839 That bug was fixed over a year ago, and the fix is in the version the OP

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

2009-02-05 Thread Pieter Temmerman
The disadvantage of running these tools on the server that also runs Tomcat is that these tools generate certain load, which under some circumstances is not wanted as it might influence the stats. On Thu, 2009-02-05 at 14:15 +0100, André Warnier wrote: > Mark Thomas wrote: > > Peter Crowther wrote

Re: servlet use. TC6, FC10

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: Re: servlet use. TC6, FC10 > >> I want to start looking at restricting access now, but I'll start a >> new thread for that! > > Read section 12 of the servlet spec first. Different kind of restriction

RE: tomcat memory leak problem

2009-02-05 Thread Jorge Medina
The problem may be in your web application and not in Tomcat itself. Duplicate your environment and use a memory profiler. (like the one included with Netbeans) Or use the extended JVM options to produce a HeapDump -Original Message- From: fcxjp [mailto:fc...@163.com] Sent: Thursday, F

RE: servlet use. TC6, FC10

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: servlet use. TC6, FC10 > > I meant to application/xml rather than ... https type! I'm confused; what kind of access restrictions are you referring to? And whom do you want to restrict? (Perhaps this would be better under a new th

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

2009-02-05 Thread Dave Pawson
I want to 'reject' (if that's the right word) any http get with mime type != application/xml I see in web.xml in the conf directory xml application/xml Is this the right place to do it please? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.u

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

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place > to constrain the mime type? > > I want to 'reject' (if that's the right word) any http get > with mime type != application/xml Do you mean .html and .jsp are not valid? That might m

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

2009-02-05 Thread Dave Pawson
2009/2/5 Caldarale, Charles R : >> From: Dave Pawson [mailto:dave.paw...@gmail.com] >> Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place >> to constrain the mime type? >> >> I want to 'reject' (if that's the right word) any http get >> with mime type != application/xml > > Do you mean .h

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

2009-02-05 Thread Robert Koberg
On Feb 5, 2009, at 1:28 PM, Caldarale, Charles R wrote: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? I want to 'reject' (if that's the right word) any http get with mime type != application/xml The c

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

2009-02-05 Thread Robert Koberg
On Feb 5, 2009, at 1:36 PM, Dave Pawson wrote: 2009/2/5 Caldarale, Charles R : From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? I want to 'reject' (if that's the right word) any http get with mime type !=

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

2009-02-05 Thread Dave Pawson
Hi Rob 2009/2/5 Robert Koberg : > > On Feb 5, 2009, at 1:28 PM, Caldarale, Charles R wrote: > >>> From: Dave Pawson [mailto:dave.paw...@gmail.com] >>> Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place >>> to constrain the mime type? >>> >>> I want to 'reject' (if that's the right word)

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

2009-02-05 Thread epicwin...@hotmail.com
Thanks for all the replies. Nice to know i can do this without any side effects. I think I will have to look into maven and see if that fits my deployment needs. _ Windows Live™: E-mail. Chat. Share. Get more ways to connect. h

Re: Tomcat 6: How to tell a Context/Webapp where to look for files?

2009-02-05 Thread André Warnier
Caldarale, Charles R wrote: From: Steve Mysterious [mailto:tinker...@gmail.com] [...] Well, if you really really need this, I suppose you could run several Tomcats, each sharing CATALINA_HOME (and thus the basic Tomcat code etc..), but each having its own CATALINA_BASE. Then, if you want to ma

Re: mod_jk

2009-02-05 Thread André Warnier
Mohit Anchlia wrote: Couple of questions regarding mod_jk: 1. Does apache read worker.properties dynamically? So if I change worker.property would it be dynamically read by mod_jk. 2. Does mod_jk check if the system is up and running before forwarding that request to the server configured in wo

JConsole with fixed ports

2009-02-05 Thread André Warnier
I posted this question previously, but it was OT in another thread, and I got the impression it's now buried a bit deep, so new more on-topic thread. referring to : About the possibilities to run JConsole remotely, through a firewalled connection. Mark Thomas wrote : You might also want to

RE: Backup of TOMCAT required

2009-02-05 Thread Randhir singh
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. regards -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Thurs

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

2009-02-05 Thread Caldarale, Charles R
> From: Dave Pawson [mailto:dave.paw...@gmail.com] > Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the > place to constrain the mime type? > > Unless the client requests application/xml I want to refuse the > request. I don't think you quite appreciate the situation yet. An HTTP client d

Re: Backup of TOMCAT required

2009-02-05 Thread David Smith
Quick answer: No. Copy over your app and configure the new tomcat to match the old one. I highly recommend hand configuring tomcat rather than just copying config files though. The review is good practice and config files -- particularly server.xml -- have changed over time. The thing that woul

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

2009-02-05 Thread André Warnier
Dave Pawson wrote: Hi Rob 2009/2/5 Robert Koberg : On Feb 5, 2009, at 1:28 PM, Caldarale, Charles R wrote: From: Dave Pawson [mailto:dave.paw...@gmail.com] Subject: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type? Just to clear up your question above : no. I

Re: Backup of TOMCAT required

2009-02-05 Thread Gregor Schneider
On Thu, Feb 5, 2009 at 8:44 PM, Randhir singh 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 not copying the whole OS?

Re: Backup of TOMCAT required

2009-02-05 Thread André Warnier
Gregor Schneider wrote: On Thu, Feb 5, 2009 at 8:44 PM, Randhir singh 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. What the heck

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

2009-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the > place to constrain the mime type? > (*) Of course if the browser is IE, it doesn't matter anyway, > because IE will not believe what the server tells it and do > its own thing. Now that p

RE: Backup of TOMCAT required

2009-02-05 Thread Martin Gainty
theoretically if you're mirroring you should see no difference (although you might see different behaviour from the JVM binaries..but that *should be* negated by having same JVM version) specifically I would check OS specific binaries at.. %JRE_HOME%\bin\server %JRE_HOME%\bin\client %JRE_HOME%\b

Re: Apache/mod_jk serves random files from tomcat

2009-02-05 Thread JohnHardin
LukeK wrote: > > > yuvalperlov wrote: >> >> I am having the exact same symptoms with the latest versions of >> everything: >> Fedora 10 >> Tomcat 6.0.18 >> Apache Apache/2.2.10 >> mod_jk-1.2.27 (and the same problem with the built-in mod_proxy_ajp). >> >> It takes a day or so for the problem

Upgrade .. a Tomcat

2009-02-05 Thread André Warnier
Hi. Now I'm going to ask a question, sotto-voce, humbly, and don't get upset. There happens to be this Tomcat 5.5.20 you see, running under Linux Debian Etch. It wasn't me who installed it, it was the sysadmin, and he's a really difficult guy to relate to, and he has the power switch. But supp

Re: Apache/mod_jk serves random files from tomcat

2009-02-05 Thread LukeK
JohnHardin wrote: > > * Have others (that now seem to be "fixed") gotten things to work by > updating to the latest mod_jk (1.2.27)? I suspect that it's related to 1.2.27 - I have been playing around with older versions. .24 and .25 have had issues forwarding certain request headers, but so far

RE: Upgrade .. a Tomcat

2009-02-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Upgrade .. a Tomcat > > And if so, any idea of which are the relevant bits for that Listener ? >From looking at the changelog, I think all you need is the one class file: org.apache.catalina.mbeans.JMXAdaptorLifecycleListener However, this

RealmBase's 'Container' requirement (revisited)

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Back in July, I asked about RealmBase requiring a Container object in order to function properly. This has to do with using securityfilter with Tomcat's built-in Realms. Here is a reference to the original thread: http://marc.info/?t=12175132310

Re: Location of properties file for web app in Tomcat

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Flavius, Flavius wrote: > My ultimate goal is to give these instructions to a network admin: > > 1. Download and install Tomcat > 2. Place war file in /webapps > 3. Put the app.properties file at __ and set your database and > email server

RE: RealmBase's 'Container' requirement (revisited)

2009-02-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: RealmBase's 'Container' requirement (revisited) > Should I continue down this road of trying to prop-up a > Tomcat skeleton server inside the webapp's space I'm confused (seems to be happening a lot lately): Tomcat alrea

Re: running tomcat with root user.....umask in jsvc?

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, I know I'm a bit late, but... André Warnier wrote: > André Warnier wrote: >> epicwin...@hotmail.com wrote: >>> You are correct, I found a setting that relaxes the group access >>> permissions on the jailkit. Now I just have one more problem.

Re: Tomcat 6 on Linux - session - DB connections and other shared resources

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ray, Ray Holme wrote: > I have a few web applications being moved to tomcat. They all share some > commonality - I use Firebird not MySQL; I built my own ConnectionManager > long ago [snip] > Perhaps due to lack of knowledge, I try get the session's

Re: Tomcat resets the connection during load

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark Thomas wrote: > There is a proposal to log a message when [the thread pool is > exhausted and accept queue is full] but with current versions you > won't see anything in the logs. Can Java even detect the second of those two conditions? I

RE: Backup of TOMCAT required

2009-02-05 Thread Randhir singh
thanks, for your answer. I do not understand what you are trying to say. regards -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, February 06, 2009 1:38 AM To: Tomcat Users List Subject: Re: Backup of TOMCAT required Gregor Schneider wrote: > On Thu, Feb 5,

RE: Backup of TOMCAT required

2009-02-05 Thread Randhir singh
the java and tomcat version is same in the old and the new. We had copied $JAVA_HOME also from the old to the new. I guess, then, copying the tomcat again is not required? regards -Original Message- From: David Smith [mailto:d...@cornell.edu] Sent: Friday, February 06, 2009 1:31 AM To:

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

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ramesh, peterramesh wrote: > On reading Tomcat help doc > http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html, it > recommends to place the MySQL JDBC driver in both places (CATALINA_HOME/lib > and WEB-INF/lib folder of the app). I do

RE: Backup of TOMCAT required

2009-02-05 Thread Randhir singh
what are you trying to say, can the OS be copied ever? regards -Original Message- From: Gregor Schneider [mailto:rc4...@googlemail.com] Sent: Friday, February 06, 2009 1:37 AM To: Tomcat Users List Subject: Re: Backup of TOMCAT required On Thu, Feb 5, 2009 at 8:44 PM, Randhir singh wro

RE: Backup of TOMCAT required

2009-02-05 Thread Randhir singh
the jvm version is same as the old $JAVA_HOME was copied to the new one. I guess, then, copying the tomcat again is not required? regards -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Friday, February 06, 2009 2:23 AM To: Tomcat Users List Subject: RE: Backup

Re: AJP vs HTTP connectors?

2009-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: > So if you are using something that is working, don't even consider > switching just cause some dude on a webinar told you so. Yeah, especially some dude named ... oh, wait. ;) Care to comment on an as-yet-unco

  1   2   >