Re: Can we use the balance_members attribute

2008-01-15 Thread Mladen Turk
Mohan2005 wrote: Hello I saw this in http://people.apache.org/~mturk/docs/article/ftwai.html But does not see the balance_members attribute in workers.properties documentation. Is it valid ? It's a typo. It should be balance_workers. Already fixed the doc. Thanks for spotting that :) -- ™

Can we use the balance_members attribute

2008-01-15 Thread Mohan2005
Hello I saw this in http://people.apache.org/~mturk/docs/article/ftwai.html But does not see the balance_members attribute in workers.properties documentation. Is it valid ? worker.node1.type=ajp13 worker.node1.host=10.0.0.10 worker.node1.lbfactor=1 worker.node2.type=ajp13

RE: Access a config file located outsite j2ee app [SEC=UNOFFICIAL]

2008-01-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Subject: Access a config file located outsite j2ee app > [SEC=UNOFFICIAL] > > 1. The commented line > env.put(Context.PROVIDER_URL, > "file:C:\\confluence\\confluence-2.5.1-std\\conf"); Not sure this will work (or even if it's a good id

Access a config file located outsite j2ee app [SEC=UNOFFICIAL]

2008-01-15 Thread timothy . fridey
Hi I'm wanting to store a config file for my J2ee app, somewhere on a tomcat server possibly inside the conf/ directory so that I can update this config file without having to redeploy the j2ee app every time a change is made. I've been told I can use JNDI to access this file, but I can't seem to

RE: How can I get Administration-tool for tomcat 6?

2008-01-15 Thread Caldarale, Charles R
> From: higaki shoutarou [mailto:[EMAIL PROTECTED] > Subject: How can I get Administration-tool for tomcat 6? > > How can I get Administration-tool for tomcat 6? The admin webapp was not ported to Tomcat 6 for a variety of reasons. You can use Lambda Probe (www.lambdaprobe.org) for some of the i

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Caldarale, Charles R
> From: cuco2772 [mailto:[EMAIL PROTECTED] > Subject: Re: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > A final note on this thread. I'm wondering about the purpose > of having both a web.xml in DBTest/WEB-INF and a context.xml > in DBTest/META-INF. Sounds like you need t

How can I get Administration-tool for tomcat 6?

2008-01-15 Thread higaki shoutarou
Hi, How can I get Administration-tool for tomcat 6? Although I found it for tomcat 5.5, I can't find one for tomcat 6 on http://archive.apache.org/ Thanks for you help... - To start a new topic, e-mail: users@tomcat.apache.org

Re: sessions not cleaned up after expiry

2008-01-15 Thread Eqbal
Thank you for pointing me to this. Appreciate it very much! --- Len Popp <[EMAIL PROTECTED]> wrote: > There was a bug fix in 5.5.21 that may be the same > problem as yours. > Changelog: > http://tomcat.apache.org/tomcat-5.5-doc/changelog.html > (scroll down to 5.5.21) > Bugzilla: > http://issues.a

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread cuco2772
A final note on this thread. I'm wondering about the purpose of having both a web.xml in DBTest/WEB-INF and a context.xml in DBTest/META-INF. First of all, which does tomcat look at first ? If I had to guess I'd say it probably loads the web.xml first because of this: DB Connection

How can I speed up and reduce load of initialization

2008-01-15 Thread Gavan Hood
I am running embedded debian linux on an xscale processor, I am running tomcat 5.5 on java 1.4.2 as thats all that is supported. Tomcat runs fine as expected. My problem is the initialization. When I start tomcat it takes about two minutes to complete initialization and pegs my little pr

Re: comet client doesn't receive server response

2008-01-15 Thread Peter Warren
What is interesting to me is that the exact same client code only using a different url (i.e. to a normal http servlet, not a comet servlet) succeeds. Is there something in comet response headers that an antivirus app or firewall would pick up on? Why would a request to a normal servlet succeed a

RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: Problems with VirtualWebappLoader (Was RE: Tomcat > 6.0.x Classloader sequence) > > Following on an earlier thread: I am trying to place > the libraries common to a number of webapp contexts > in a common directory (${catalina.home}

Re: How can I preserve a directory on Deployment?

2008-01-15 Thread Greg Kontos
Thanks Filip. I figured I'd check for other options before moving ahead Filip Hanik - Dev Lists wrote: you answered your own question, yes, move the directory external to the webapp Filip Greg Kontos wrote: Hello, I have an application with an uploads directory located within the pr

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread cuco2772
Just a follow up. I copied the 2nd > Yes -- your on the right path now. Your email seems to have crossed > with mine. Take the element for DBTest out of > conf/context.xml and put it in one of these two places -- > conf/Catalina/localhost/DBTest.xml or > webapps/DBTest/META-INF/context.xm

Re: Question about apache - tomcat connector

2008-01-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 German, [EMAIL PROTECTED] wrote: | Now I put SSO (SiteMinder) to my app, for that I had to use apache, | because the SSO work with apache. Okay, so SiteMinder adds headers to requests that match certain criteria. | When I go there, I'm authenticate

Re: sessions not cleaned up after expiry

2008-01-15 Thread Len Popp
There was a bug fix in 5.5.21 that may be the same problem as yours. Changelog: http://tomcat.apache.org/tomcat-5.5-doc/changelog.html (scroll down to 5.5.21) Bugzilla: http://issues.apache.org/bugzilla/show_bug.cgi?id=37356 -- Len On Jan 15, 2008 1:39 PM, Eqbal <[EMAIL PROTECTED]> wrote: > Than

Re: One of my boxes, the cluster is not working anymore

2008-01-15 Thread Martin Gainty
yes you should start tc first.. then (if necessary) change VMWare port number http://www.vmware.com/support/gsx3/doc/manage_portnum_gsx.html Saludos Martin - Original Message - From: "José Manuel Molina Pascual" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, January 15, 2008 3

Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-15 Thread uma_rk
Env: JRE1.6, Tomcat 6.0.14 Following on an earlier thread: I am trying to place the libraries common to a number of webapp contexts in a common directory (${catalina.home}/myapplib) and configure the VirtualWebappLoader with the list of jarfiles for loading by each webapp context. My problem is t

Fwd: Mobicents Sip-Servlets 0.1 Released (running on top of Tomcat 5.x)

2008-01-15 Thread Jean Deruelle
Hello Tomcat, Prior to making the announcement, I would like to thank Tomcat community and contributors since Tomcat is really a pleasure to work with and nice to extend. You guys are making a great job, so keep up the good work. I hope that you won't consider this a as a spam or what not, this is

Slow Replication

2008-01-15 Thread José Manuel Molina Pascual
Hello. We use tomcat 5.5.23. We have had some problems when replicating what we have called "sleeping session", that is: sessions different from the one that you get if you ask the container for a session (by using httpRequest.getSession()). What we did is to use the session we get (we call it ca

Re: One of my boxes, the cluster is not working anymore

2008-01-15 Thread José Manuel Molina Pascual
Hello, I'm not sure that this is your case but I suffered similar issue when deploying an instance of the cluster in a machine with several interfaces, (One ethernet interface and two installed by VMWare, It was a Windows box). I disabled the VMWare interfaces and the the instance began to receiv

RE: multi-level context path

2008-01-15 Thread Edward Quick
> > > From: Edward Quick [mailto:[EMAIL PROTECTED] > > Subject: multi-level > > > context path> > > > The context path is set to deploy it to /dpm/myApp.> > > > > What context path? If you're talking about the path attribute of the> > > > element, it must not be used unless the element is> >

Re: How can I preserve a directory on Deployment?

2008-01-15 Thread Filip Hanik - Dev Lists
you answered your own question, yes, move the directory external to the webapp Filip Greg Kontos wrote: Hello, I have an application with an uploads directory located within the project root directory ( $TOMCAT_HOME/webapps/${project.dir}/uploads ) When I redeploy my .war file I want t

Re: One of my boxes, the cluster is not working anymore

2008-01-15 Thread Randy Paries
Filip So here is what i do not understand , and i appreciate your help. 1) I have completely swapped out the hardware. Entirely new box. 2) completely new OS, FC4 to centos 5 3) same version of tomcat and same config files. 4) tried two different switches. 5) no fw or iptables currently running.

RE: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Subject: Re: how to configure (server.xml) for mysql dev with > tomcat/JDBC > > Which bit do you think is broken? I don't think the doc is actually broken in this area, just a bit misleading. The examples in the JNDI Datasource HOW-TO continue t

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Mark Thomas
Christopher Schultz wrote: Cuco, cuco2772 wrote: | So it seems to be complaining about my context.xml. The offending line | looks to be : | | | | Could the path attribute be incorrect ? I followed the directions | exactly. I think those instructions have been (sadly) broken for a long time. I

Re: how to configure (server.xml) for mysql dev with tomcat/JDBC

2008-01-15 Thread Mark Thomas
Christopher Schultz wrote: Cuco, cuco2772 wrote: | So it seems to be complaining about my context.xml. The offending line | looks to be : | | | | Could the path attribute be incorrect ? I followed the directions | exactly. I think those instructions have been (sadly) broken for a long time. I

Re: sessions not cleaned up after expiry

2008-01-15 Thread Eqbal
Thanks Bill! Is there a bug report I can look at for this? I tried searching on the website but could not locate it. Also to which version should I upgrade, a minor upgrade or to major version 6? I am going to have a hard time upgrading as one of the third party proprietary package we use only sup

RE: multi-level context path

2008-01-15 Thread Caldarale, Charles R
> From: Edward Quick [mailto:[EMAIL PROTECTED] > Subject: multi-level context path > > The context path is set to deploy it to /dpm/myApp. What context path? If you're talking about the path attribute of the element, it must not be used unless the element is in server.xml (strongly discourage

Re: One of my boxes, the cluster is not working anymore

2008-01-15 Thread Filip Hanik - Dev Lists
question is, why are you using tcpdump, when you need to track down UDP packets :) the reason there is no membership established is because the machine is not receiving multicast packets (UDP), so that's what you need to track down Filip Randy Paries wrote: On Jan 7, 2008 2:49 PM, Filip Han

RE: JDBC Realm doesn't work properly

2008-01-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: JDBC Realm doesn't work properly > > I'm using Tomcat 5.5.9 and my realm-class definetly extends > the JDBC realm and not the JAAS realm. However, your stack trace shows that the authentication is going through JAAS. Looks like

RE: Tomcat 4.1.30 classloader problem

2008-01-15 Thread Caldarale, Charles R
> From: ehuard [mailto:[EMAIL PROTECTED] > Subject: Tomcat 4.1.30 classloader problem > > Both classes are in our classpath The red flag just went up. When you say "classpath", are you referring to the CLASSPATH variable? Even on 4.1 levels, you should never be setting that, nor should you add

Re: comet client doesn't receive server response

2008-01-15 Thread Leonardo Fraga
Hello, I've had problems with long http responses and some kind of antiviruses and internet firewalls (avg family, basically). They put a hook on the winsocket stack for http connections and buffer everything you are receiving, until the end (or some high amount of data), to run the checks. In

Re: comet questions

2008-01-15 Thread Peter Warren
Anyone else experiencing comet timeout problems with the nio connector and the latest 6.0.x trunk? My cometEvent.setTimeout(...) setting is ignored, but I do receive comet timeouts based on the connectionTimeout setting for the nio connector. Setting the connectionTimeout to 10 secs gives me a co

RE: SecurityException when starting TomCat

2008-01-15 Thread Caldarale, Charles R
> From: Bob the BlueBerry [mailto:[EMAIL PROTECTED] > Subject: SecurityException when starting TomCat > > Can you tell me how to fix this? > java.lang.SecurityException: Servlet of class > org.apache.catalina.servlets.InvokerServlet > is privileged and cannot be loaded by > this web applicati

SecurityException when starting TomCat

2008-01-15 Thread Bob the BlueBerry
When I start TomCat, I get something like this: Jan 15, 2008 1:06:49 PM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_03\

How can I preserve a directory on Deployment?

2008-01-15 Thread Greg Kontos
Hello, I have an application with an uploads directory located within the project root directory ( $TOMCAT_HOME/webapps/${project.dir}/uploads ) When I redeploy my .war file I want this upload directory to remain unchanged. Is there a way for me to tell Tomcat to leave this directory un

Re: Question about apache - tomcat connector

2008-01-15 Thread german . a . luisi
The problem is the next: I have a webApp (called RS) running in Tomcat; http://sscllinuxora03.santiago.cl.jpmorganchase.com:8084/RS Now I put SSO (SiteMinder) to my app, for that I had to use apache, because the SSO work with apache. So, the url that I have to use is http://sscllinuxora03.san

RE: JDBC Realm doesn't work properly

2008-01-15 Thread JasDA
I'm using Tomcat 5.5.9 and my realm-class definetly extends the JDBC realm and not the JAAS realm. But it seems that the configuration in my context element is not been found. You say that my solution isn't the correct way. Can you show me a better way to define different context in the server.x

AW: AW: tomcat connector 1.2.26 with apache httpd 2.2.3

2008-01-15 Thread Günther , Thorsten
Ok, that did it. Thanx again. Regards, Thorsten -Ursprüngliche Nachricht- Von: Rainer Jung [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 15. Januar 2008 16:17 An: Tomcat Users List Betreff: Re: AW: tomcat connector 1.2.26 with apache httpd 2.2.3 Hi Günther, Günther wrote: > Hallo Rai

RE: Context does not work

2008-01-15 Thread Chris Riekenberg
> Yes, it's very bad style - don't do it. Unless you need some special > settings for the attributes, you don't really need a > element at all. For your case just name your .war file (or the expanded > directory under webapps) "welcome" and you'll have what you want. > Hey Chuck, thanks for t

Re: Context does not work

2008-01-15 Thread Chris Riekenberg
> A second launch means a second set of servlet instances, second set of > resources, overall a higher memory footprint and they won't share data. > > Placing this stuff in server.xml does work, but if you want to change > the config you are required to bounce the tomcat service for changes to > ta

multi-level context path

2008-01-15 Thread Edward Quick
Hi I'm running tomcat 5.5.16 on jdk1.5.0_10, Redhat ES4 and having a problem when I deploy my war file myApp.war. The context path is set to deploy it to /dpm/myApp. However tomcat is deploying it to /myApp. On my localhost (with NetBeans) running Java EE 5 SDK Update 4 on tomcat 6.0.14, the

Re: mod_jk maintenance, recovery

2008-01-15 Thread Dominik Pospisil
> Indeed. It would be OK to return 503, for requests, that already have > been received by the first node, but not returned yet. New requests That's the case. All errors I am getting are from requests which were allready in processing by failing node. Why it is OK to return 503 for such requests?

Re: AW: tomcat connector 1.2.26 with apache httpd 2.2.3

2008-01-15 Thread Rainer Jung
Hi Günther, Günther wrote: Hallo Rainer, thank you for your fast reply. I guess it's an error in the opensuse 10.2 apache2-devel-2.2.3-22 rpm. MODULE_MAGIC_NUMBER_MINOR is "5" in /usr/include/apache2-prefork/ap_mmn.h and /usr/include/apache2-worker/ap_mmn.h´. The change-logs included in the f

Tomcat 4.1.30 classloader problem

2008-01-15 Thread ehuard
We've got an application in production on Tomcat 4.1.30 (SDK 1.4.2). The application works fine in test. In production, however, there seems to be some kind of degradation. When there is a certain load (not even very high), the following occurs: These 2 lines (in several classes, JasperReports as

any doubt about tomcat contexts... help me please

2008-01-15 Thread Anderson Borges Coutinho
Hi., a nice day for all,. i have four applications at my tomcat 5.5 server, those applications are 4 war files, and i need share one java object between contexts... can you help me ? thanks -- Anderson Borges Coutinho

AW: tomcat connector 1.2.26 with apache httpd 2.2.3

2008-01-15 Thread Günther , Thorsten
Hallo Rainer, thank you for your fast reply. I guess it's an error in the opensuse 10.2 apache2-devel-2.2.3-22 rpm. MODULE_MAGIC_NUMBER_MINOR is "5" in /usr/include/apache2-prefork/ap_mmn.h and /usr/include/apache2-worker/ap_mmn.h´. The change-logs included in the files also indicate that they

Re: sessions not cleaned up after expiry

2008-01-15 Thread William C. Mount
Is there a particular version number in the 5.5.X channel that fixes it? I'm running 5.5.17 for 1 application and it's doing the exact same thing. William C. Mount RHCE J2EE Web Solutions CoEx Global IT Solutions Caterpillar Inc. 812 W. Washington St. East Peoria IL, 61630 (309) 675-3031 - Des

RE: JDBC Realm doesn't work properly

2008-01-15 Thread JasDA
Hi Martin, can you give me some more information? I don't even have a jaas.config. Is it really that difiicult that it seems to be? Jason > -Ursprüngliche Nachricht- > Von: "Tomcat Users List" > Gesendet: 15.01.08 15:18:50 > An: Tomcat Users List > Betreff: RE: JDBC Realm doesn't work

RE: JDBC Realm doesn't work properly

2008-01-15 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: JDBC Realm doesn't work properly > > I'm using a self extended class of JDBC realm to realize a > user authentication. Would you care to tell us the version of Tomcat you're using, or should we guess? > So I've put this realm-confi

RE: JDBC Realm doesn't work properly

2008-01-15 Thread Martin Gainty
Jasondid you apprise login.config of the location of jaas.config e.g JAVA_OPTS=-Djava.security.auth.login.config==$CATALINA_HOME/conf/jaas.configMartin __Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the of

RE: Context does not work

2008-01-15 Thread Caldarale, Charles R
> From: Chris Riekenberg [mailto:[EMAIL PROTECTED] > Subject: Re: Context does not work > > Can you explain this a little bit more detailed? What does a secon > launch mean? It means you get two webapps started, one with the path "welcome", one with a path that's the name of the webapp .war file

Re: Context does not work

2008-01-15 Thread David Smith
A second launch means a second set of servlet instances, second set of resources, overall a higher memory footprint and they won't share data. Placing this stuff in server.xml does work, but if you want to change the config you are required to bounce the tomcat service for changes to take effe

Re: Rejecting a file upload

2008-01-15 Thread Volker Schoenefeld
Hi Martin, thanks for your response. Sorry for my unclear description, what I ment is that the TCP connection is neither closed, nor interrupted in any way. The Uploader simply continues to send data to the server, even if the servlet already written a response, closed all streams and retu

RE: Rejecting a file upload

2008-01-15 Thread Martin Gainty
Volkerwhat constitutes finished ? are you saying the connection is not closed? http://www.archivum.info/users@tomcat.apache.org/2007-05/msg02066.html ?Martin__Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to

Re: Context does not work

2008-01-15 Thread Chris Riekenberg
> So you want you make your webapp to also respond at > http://[myServer:port]/welcome. You can achieve a second launch of your > webapp just by placing welcome.xml (w/ your Context config) in > [TomcatHome]/conf/Catalina/localhost. Just know this is a second > launch, not an alias to the first r

Re: Context does not work

2008-01-15 Thread David Smith
Chris Riekenberg wrote: Hmm... might help to define "But it doesn't work." How exactly does it not work? He returns a Http error 404. Page could not find. For the record, you Context element should *not* be in conf/context.xml. That file defines defaults for all webapps. It *sh

Re: Context does not work

2008-01-15 Thread Chris Riekenberg
> Hmm... might help to define "But it doesn't work." How exactly does it > not work? > He returns a Http error 404. Page could not find. > For the record, you Context element should *not* be in > conf/context.xml. That file defines defaults for all webapps. It > *should* be in one of two place

JDBC Realm doesn't work properly

2008-01-15 Thread JasDA
Hi, I'm using a self extended class of JDBC realm to realize a user authentication. Here is the corresponding part of my server.xml: This works fine so far but I have to write four of these realm-configurations for 4 different databases. Each database will be used by a different context. So

Re: Context does not work

2008-01-15 Thread David Smith
Hmm... might help to define "But it doesn't work." How exactly does it not work? For the record, you Context element should *not* be in conf/context.xml. That file defines defaults for all webapps. It *should* be in one of two places: webapps/StrutsDemo/META-INF/context.xml in which case

Context does not work

2008-01-15 Thread Chris Riekenberg
Hey, I'm using Tomcat 5.5.12. If I created a context mapping in /conf/server.xml to cnetext /welcome. If I do it like this, it works. But I read, that you should not insert a mapping in server.xml (bad style?) You should prefer to insert it into /conf/context.xml or \conf\Catalina\localhost\.xm

Re: tomcat connector 1.2.26 with apache httpd 2.2.3

2008-01-15 Thread Rainer Jung
Hallo Günther, Günther wrote: Hi! I got a problem running jk 1.2.26 on httpd 2.2.3 and I'm not sure if this a setup problem or a bug in jk. When compiling jk it says: --- mod_jk.c: In function âinit_ws_serviceâ: mod_jk.c:671: warning: implicit declaration of function âap_get_server_descript

tomcat connector 1.2.26 with apache httpd 2.2.3

2008-01-15 Thread Günther , Thorsten
Hi! I got a problem running jk 1.2.26 on httpd 2.2.3 and I'm not sure if this a setup problem or a bug in jk. When compiling jk it says: --- mod_jk.c: In function âinit_ws_serviceâ: mod_jk.c:671: warning: implicit declaration of function âap_get_server_descriptionâ --- When trying

RE: MultiContext War

2008-01-15 Thread Peter Crowther
> From: DCVer [mailto:[EMAIL PROTECTED] > I am trying to merge 4 web applications (WARs) into 1 WAR file. Is it > possible? Yes, but it can be a lot of manual work. > Shall I have e.g. 4 web.xml files or should I > manually merge them into 1 file? One WAR = one webapp. One webapp = one web.xml,

MultiContext War

2008-01-15 Thread DCVer
Hi, I am trying to merge 4 web applications (WARs) into 1 WAR file. Is it possible? Shall I have e.g. 4 web.xml files or should I manually merge them into 1 file? I am using Maven, so I would be happy if most of the work could be done by Maven. -- View this message in context: http://www.nabble.

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-15 Thread Shiby Maria John
I was getting confused with setting the load balancer to be sticky_session and setting of lbfactor together. By session, i meant new sessions being created in the server. Are they mutually exclusive ? Can you please explain the effect of setting both those values along with method=R. Please clarif

Re: Rejecting a file upload

2008-01-15 Thread Volker Schoenefeld
Hello again, This is a follow up to my post you can see here [1]. I've tried a little more and found out something really scaring. By using chunked transfer encoding you can continously send data to _any_ tomcat servlet. Even if it would generate a 404 or another error. What I did was to si