Upgrading Embedded Tomcat 7.x to 10.x

2023-08-30 Thread Matthew Robinson
Please may I have some assistance to upgrade a JAVA Maven project which uses embedded Tomcat 7 to use embedded Tomcat 10? I’m having extreme difficulty determining the appropriate versions of the various components such that they play nice together. I am also planning to upgrade from JAVA 7 to JA

Question about Tomcat 8.5.77 and CVE-2022-0778

2022-03-21 Thread Matthew Mellon
le to get a canonical version of Tomcat (e.g. 8.5.78) built that contains the remediation for CVE-2022-0778? Is there anything I can do to help? Matthew Mellon CISSP Chief Information Security Officer 828.265.2907 ext 5058 | www.ecrs.com<https://www.ecrs.com/> [cid:image001.png@01D83D1E.16997AA0]

RE: Proxy Apache https to Tomcat http

2016-10-06 Thread Matthew X. Economou
allow unencrypted access to this application: I redirect all HTTP requests to the HTTPS site, and I set a HSTS header that signals browsers to remember this for future connection attempts. Best wishes, Matthew P.S. If you haven't already, please review https://wiki.mozilla.org/Security/Serv

tomcat maven plugin sni

2016-07-28 Thread Matthew Broadhead
is this the right place to ask about tomcat7-maven-plugin v2.2? i am trying to run mvn tomcat:deploy to /manager/text on a host which is proxy passed from behind httpd. several virtual hosts are deployed on the server. SNI works fine through the browser and using openssl s_client server-name

Re: (Cross-Posted) Does anybody have any experience with Tomcat 8 on an IBM Midrange (AS/400, iSeries, whatever they're calling it this week) box?

2016-07-27 Thread Matthew Herzog
HAHAHAHAHAHA On Wed, Jul 27, 2016 at 7:06 PM, James H. H. Lampert < jam...@touchtonecorp.com> wrote: > Ladies and Gentlemen of both Lists: > > Does anybody in either the Tomcat List or the Java 400 List have > experience running Tomcat 8 on an IBM Midrange box? > > And (just for the Java 400 list

Re: Do I need a keystore?

2016-05-07 Thread Matthew Herzog
erschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Matthew, > > On 5/5/16 9:09 PM, Matthew Herzog wrote: > > You said, "the http-bio-8443 endpoint is an HTTP connector, not an > > AJP13 connector." > > > > This is confusin

Re: Do I need a keystore?

2016-05-05 Thread Matthew Herzog
o port 443. Bad assumption on my part. On Thu, May 5, 2016 at 5:28 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Matthew, > > On 5/5/16 5:05 PM, Matthew Herzog wrote: > > when I run the startup scr

Do I need a keystore?

2016-05-05 Thread Matthew Herzog
when I run the startup script /usr/bin/java -Djava.security.egd=file:/dev/./urandom -Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=256m -XX:+UseConcMarkSweepGC -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base

API requests overloading Tomcat?

2015-08-25 Thread Matthew Madey
I use an application called Spacewalk to manage RHEL systems in an enterprise environment. The application provides an API that I use for automation purposes. While load starts to increase on the application server, we reach a breaking point where the application becomes unresponsive, and throws 50

Re: Android 5.0 SSL handshake failure

2015-01-22 Thread Matthew Mah
On 01/22/2015 04:19 AM, Mark Thomas wrote: On 22/01/2015 00:12, Matthew Mah wrote: On 01/21/2015 03:24 PM, Christopher Schultz wrote: Have you tried a plain-old HTTPS connection? No Websocket? I just tried HTTPS using HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection

Re: Android 5.0 SSL handshake failure

2015-01-21 Thread Matthew Mah
On 01/21/2015 03:24 PM, Christopher Schultz wrote: Have you tried a plain-old HTTPS connection? No Websocket? I just tried HTTPS using HttpsURLConnection urlConnection = (HttpsURLConnection) url.openConnection(); try { try { InputStream in = new BufferedInputStream(urlConnection.

Re: Android 5.0 SSL handshake failure

2015-01-21 Thread Matthew Mah
On 01/21/2015 11:26 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Matt, On 1/21/15 11:13 AM, Matthew Mah wrote: On 01/20/2015 10:08 AM, Christopher Schultz wrote: Matthew, On 1/18/15 1:54 PM, Matthew Mah wrote: I have setup a Tomcat server using spring-boot

Re: Android 5.0 SSL handshake failure

2015-01-21 Thread Matthew Mah
On 01/20/2015 10:08 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Matthew, On 1/18/15 1:54 PM, Matthew Mah wrote: I have setup a Tomcat server using spring-boot with SSL/TLS for secure websockets. Tomcat version? JVM version? Any relevant configuration

Android 5.0 SSL handshake failure

2015-01-18 Thread Matthew Mah
I have setup a Tomcat server using spring-boot with SSL/TLS for secure websockets. This works for Android 4.4, iOS, Firefox, and Chrome clients. Android 5.0 clients (Nexus 5) fail the SSL handshake. Has anyone successfully setup secure websockets with Android 5? I know there are SSL/TLS change

SSL Root Cert install

2014-11-05 Thread Matthew Smith
I'm running Apache Tomcat 7 on Windows Server 2008 R2 with Java jdk 1.8.0_25. I was able to use the keytool.exe command with the -genkey switch to create a keystore. I then used keytool.exe to create a CSR which I submitted to an issuer and received a certificate. I have to use keytool.exe to impor

Re: Is it possible to send a 'keep-alive' packet back to client session every x seconds?

2014-03-27 Thread Matthew Turany
net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Mark, > > On 3/27/14, 5:38 AM, Mark Thomas wrote: > > On 27/03/2014 03:08, Matthew Turany wrote: > >> Is it possible to configure either apache or tomcat to send a > >> packet every x

Is it possible to send a 'keep-alive' packet back to client session every x seconds?

2014-03-26 Thread Matthew Turany
Hi, Trying to figure out if this is possible; apache reverse-proxy sitting in front of a server running tomcat serving a web app. Due to the amount of data in the backend DB, when a user generated report is requested, it can take several minutes (3-4) for the report to be presented to the browser

Apache / Tomcat consultant needed?

2014-03-24 Thread Matthew Turany
Hi, Apologies if this is the wrong place to post this and if so it would be great if you could let me know where I should direct it. We're a software developer located in Australia, one of our products uses Apache as a reverse proxy to multiple tomcat instances each supporting numerous customers.

Configure Tomcat Logging Programmatically

2013-12-09 Thread Matthew Westwood-Hill
I am running Tomcat programmatically (embedded) and I wanted to configure its logging so I can track inbound request. I start Tomcat as follows: tomcat = new Tomcat(); tomcat.setBaseDir(DEFAULT_BASE_DIR); tomcat.getService().addConnector(defaultConnector); tomcat.setConnector(defaultConnec

Setting unloadDelay within embedded Tomcat

2013-12-09 Thread Matthew Westwood-Hill
*unloadDelay* property programmatically in the above example? Cheers, Matthew

Configuring Embedded Tomcat for SSL

2013-10-31 Thread Matthew Westwood-Hill
ly being started. When I try browsing to the above port using Chrome/IE all it does not connect. I thought I was following the correct process base don information I located on Google, however, it would appear I am still doing something incorrect. I have confirmed the existence of the private key in the keystore (using Keystore Explorer), so all that is fine. Please, any help would be greatly appreciated. Cheers, Matthew *Matthew Westwood-Hill ** *

Re: [OT] Re: Tomcat Linux/Windows Performance Question

2012-10-29 Thread Matthew Gillen
On 10/29/2012 03:16 PM, verlag.preis...@t-online.de wrote: >> 3. Bizarre observations when using high-resolution (or even ms-res) >> clocks and timers... seems like you can't get more than about 0.1-sec >> resolution or so reliably -- or at least plausibly -- on a win32 box. > > Hmm, I think this

Re: Odd NIO connector behavior

2012-02-23 Thread Matthew Tyson
Just a heads up to the Tomcat team - I switched all our comet handling to Jetty, and these issues are resolved. Something is definitely amiss in the NIO connector. Regards, Matt Tyson On Sat, Dec 31, 2011 at 10:23 AM, Mark Thomas wrote: > On 31/12/2011 16:35, Matthew Tyson wrote: > &g

Known Tomcat 6.0 and JDK 1.7.0_02 issues?

2012-02-14 Thread Matthew Doucette
.0.33, downloaded separately from Eclipse * Eclipse = Eclipse Java EE IDE for Web Developers., Version: Indigo Release, Eclipse Platform, Version: 3.7.0.v20110530-9gF7UHNFFt4cwE-pkZDJ7oz-mj4OSEIlu9SEv0f, Build id: I20110613-1736. * 64-bit Windows 7 machine Thank you, -- Matthew Doucette

Configuring Tomcat 6 to only start the default "manager" webapp

2012-02-10 Thread Matthew Marleau
Hi, I was wondering if anyone knew how to configure Tomcat (6.0.26) to only start the default app when the Tomcat service starts. I have many webapps deployed so that they are accessible when I need them and I don't have to re-deploy/configure them later, but I don't like that they all start up

Re: Odd NIO connector behavior

2011-12-31 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 1:04 AM, wrote: > Matthew Tyson wrote: > > >That's right, there is an f5 load balancer. The valve is used to keep > >track of whether the request was via HTTPS or not. > > What happens if you go direct to Tomcat and bypass the F5? > >

Re: single large tomcat or multiple tomcats

2011-12-30 Thread Matthew Tyson
On Fri, Dec 30, 2011 at 11:57 AM, S Ahmed wrote: > I know with other frameworks (like python/rails) people tend to run > multiple instaces of the web server and round robin requests to each using > something like haproxy. > > Is this known in the tomcat community at all? > > If I have a server wi

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Thu, Dec 29, 2011 at 12:02 PM, Tim Watts wrote: > On Thu, 2011-12-29 at 11:22 -0800, Matthew Tyson wrote: > > > > > How an empty 200 response could be generated > > without executing the logging statement here is a mystery. > > > > Do you still have tha

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Thu, Dec 29, 2011 at 11:07 AM, Pid wrote: > On 29/12/2011 17:27, Matthew Tyson wrote: > > On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson > > wrote: > > > >> On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr >wrote: > >> > >>> Am 28.12.2011

Re: Odd NIO connector behavior

2011-12-29 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 6:22 PM, Matthew Tyson wrote: > On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr wrote: > >> Am 28.12.2011 10:04, schrieb ma...@apache.org: >> >> Matthew Tyson> >>> wrote: >>> >>> That's right, there is an f5 load

Re: Odd NIO connector behavior

2011-12-28 Thread Matthew Tyson
On Wed, Dec 28, 2011 at 8:58 AM, Stefan Mayr wrote: > Am 28.12.2011 10:04, schrieb ma...@apache.org: > > Matthew Tyson> >> wrote: >> >> That's right, there is an f5 load balancer. The valve is used to keep >>> track of whether the request was via

Re: Odd NIO connector behavior

2011-12-27 Thread Matthew Tyson
On Tue, Dec 27, 2011 at 1:31 PM, Stefan Mayr wrote: > Am 24.12.2011 00:39, schrieb Matthew Tyson: > > Hello, >> >> We have been having quite a few problems with using long-polling >> connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 >> d

Re: Odd NIO connector behavior

2011-12-27 Thread Matthew Tyson
On Tue, Dec 27, 2011 at 11:11 AM, Mark Thomas wrote: > On 25/12/2011 02:17, Matthew Tyson wrote: > > >> INFO 2011-12-24 10:25:35,578 COMET REQUEST: 75.149.42.46 POST null | > >> TRACE: > >> java.lang.Throwable > >> at > org.cometd.server

Re: Odd NIO connector behavior

2011-12-24 Thread Matthew Tyson
On Sat, Dec 24, 2011 at 10:33 AM, Matthew Tyson wrote: > On Sat, Dec 24, 2011 at 1:06 AM, Mark Thomas wrote: > >> On 23/12/2011 23:39, Matthew Tyson wrote: >> > Hello, >> > >> > We have been having quite a few problems with using long-polling >> &

Re: Odd NIO connector behavior

2011-12-24 Thread Matthew Tyson
On Sat, Dec 24, 2011 at 1:06 AM, Mark Thomas wrote: > On 23/12/2011 23:39, Matthew Tyson wrote: > > Hello, > > > > We have been having quite a few problems with using long-polling > > connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 > > d

Odd NIO connector behavior

2011-12-23 Thread Matthew Tyson
Hello, We have been having quite a few problems with using long-polling connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 definitely improved things, but we are still seeing major issues. The problems only crop up after a couple minutes under some load (modest load, around

Re: Errors with NIO processor

2011-11-15 Thread Matthew Tyson
the OS and/or > user that is running Tomcat. > > - Bob > > > > From: Matthew Tyson > To: Tomcat Users List > Sent: Tuesday, November 15, 2011 4:18 PM > Subject: Re: Errors with NIO processor > > Is there more info I can provide to help diagnose this error?

Re: Errors with NIO processor

2011-11-15 Thread Matthew Tyson
Is there more info I can provide to help diagnose this error? It is killing us. Thanks, Matt On Tue, Nov 15, 2011 at 9:00 AM, Matthew Tyson wrote: > Hey Guys, > > We are seeing the following errors (in production of course, testing > didn't reveal this) after switchin

Errors with NIO processor

2011-11-15 Thread Matthew Tyson
Hey Guys, We are seeing the following errors (in production of course, testing didn't reveal this) after switching to NIO protocol. This is Tomcat 7.0.22 on CentOS 6. There is a load balancer sending only comet traffic to port 8080, where the NIO protocol is used. Nov 15, 2011 8:39:29 AM org.ap

Re: Tomcat 7, Servlet 3.0, and Non-Blocking

2011-11-09 Thread Matthew Tyson
ble. Would you give us a sense of how using a non-blocking connector would be important when doing comet? Once startAsync is called, will the standard (blocking) connector continue to hold resources (where the NIO connectors won't)? Thanks, Matt On Wed, Nov 9, 2011 at 1:24 AM, wrote: &g

Re: Tomcat 7, Servlet 3.0, and Non-Blocking

2011-11-08 Thread Matthew Tyson
, and have it be handled without blocking IO, I need to use the NIO connector? Thanks, Matt On Tue, Nov 8, 2011 at 12:27 PM, Mark Thomas wrote: > On 08/11/2011 20:15, Matthew Tyson wrote: > > Hey Guys, > > > > It has been my assumption that Tomcat 7's comet impleme

Tomcat 7, Servlet 3.0, and Non-Blocking

2011-11-08 Thread Matthew Tyson
Hey Guys, It has been my assumption that Tomcat 7's comet implementation (ie, asyncSupported=true), will automatically use NIO processing. Is that not true? Do I need to set the connector to be org.apache.coyote.http11.Http11NioProtocol explicitly? Thanks, Matt

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Matthew Tyson
sage is created by > o.a.tomcat.util.bcel.classfile.Constant#readConstant(...). There is a > switch() and default: label results in this exception being thrown. > Expected values there are from 1 to 12. Your 60 is far outside the > range. > > > 2011/7/21 Matthew Tyson : >

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Matthew Tyson
11 at 11:43 AM, Konstantin Kolinko wrote: > 2011/7/20 Matthew Tyson : > > Adding that to the skip list definitely prevented that error, but I'm > > getting many jars with the same problem. I thought I could maybe get > away > > with just skipping them all, but I'm

Re: Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-20 Thread Matthew Tyson
,dnsns.jar,jcharset.jar,pager-taglib.jar Any ideas? Thanks, Matt On Wed, Jul 20, 2011 at 12:21 AM, Mark Thomas wrote: > On 20/07/2011 03:55, Matthew Tyson wrote: > > Hey guys, > > > > tomcat 7.0.19 > > Java 1.6.0_22 > > CentOS 5.6 > > > > I just

Servlet 3.0 Specific Error: Invalid byte tag in constant pool

2011-07-19 Thread Matthew Tyson
Hey guys, tomcat 7.0.19 Java 1.6.0_22 CentOS 5.6 I just switched the web.xml to servlet 3.0 (from a app running servlet 2.4 previously without issue) and now I'm seeing the following error (turned on fine logging in the util class): FINE: Scanning JAR [file:/usr/java/jdk1.6.0_22/jre/lib/ext/jchar

Corrupt files in 6.0.29 distribution?

2010-08-25 Thread Clifton, Matthew R (AS)
Hello, Just performed a download on the 6.0.29 version of the software, and after performing a Sophos Anti-virus scan found the following four files to be corrupt: dso-dlfcn.o, locks.o, replace.o, signals.o. These files were found within the commons-daemon-native.tar.gz for the apache-tomcat-6.0.

newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
Working now. Thanks again for all your advice. The original recommendations were all that was necessary (plus I had two apache Includes in the wrong order, and there was a little matter of a typo...) Thanks so much for all your help. Matthew Fleming

newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
I appreciate all the suggestions and have implemented them all, but its still not working. Any other suggestions? Matthew Fleming

newbie question re mod_jk

2010-08-12 Thread Matthew Fleming
port 8009. I can load my servlet from http://localhost:8080/Client_Access, but I can't load it from http://localhost/Client_Access so mod_jk isn't working. What could it be? Thanks, Matthew Fleming PS, here is my whole mod_jk.conf file: LoadModule jk_module /usr/lib/apache2/modules/mod

RE: SEVERE message from DeltaManager

2010-07-25 Thread Matthew Peterson
Thankyou very much for your diagnosis here, Mark. I will investigate the proposed solution and let you know how it goes. Cheers, Matt. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Tuesday, 20 July 2010 3:07 AM To: Tomcat Users List Subject: Re: SEVERE message fro

Re: Question about BASIC Authentication

2010-07-01 Thread Matthew Mauriello
e header.jsp file might be trying to send headers, > unfortunately I am not in the same location as the server so I will have > to check this out tomorrow. > > I'll keep you posted, > > ~Matt > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >>

Re: Question about BASIC Authentication

2010-06-30 Thread Matthew Mauriello
---BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Matthew, > > On 6/30/2010 8:20 PM, Matthew Mauriello wrote: >> The behavior seems rather strange to me in fact, I've seen other >> websites >> run on what looks to be BASIC Authentication without popping the

Re: Question about BASIC Authentication

2010-06-30 Thread Matthew Mauriello
method, how do websites grant access to public sites and secure certain sections? Or is this a problem because I have two separate applications deployed and I am trying to navigate between both? Thanks again, ~Matt > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Matthew, > &

Re: Question about BASIC Authentication

2010-06-30 Thread Matthew Mauriello
MESSAGE- > Hash: SHA1 > > Matthew, > > On 6/30/2010 12:07 AM, Matthew Mauriello wrote: >> I have two directories in 'webapps' other than ROOT. ROOT redirects >> users >> to webappA. WebappA does not use tomcat's basic authentication but if >>

Re: Question about BASIC Authentication

2010-06-29 Thread Matthew Mauriello
ets the needs of the very few users on the website. Hope this clears things up. Thanks, ~Matt > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Matt, > > On 6/29/2010 5:57 PM, Matthew Mauriello wrote: >> I am having a minor problem related to Tomcat's BASI

Question about BASIC Authentication

2010-06-29 Thread Matthew Mauriello
Hello, I am having a minor problem related to Tomcat's BASIC Authentication setup. A user access my custom web application in the 'webapps' folder which is accessible to everyone in a separate sub folder. I have another 'webapps' sub folder for SOLR which is secured with BASIC Authentication. I h

RE: HTTP connector to be aware of proxied SSL requests

2010-06-17 Thread Matthew Peterson
. -Original Message- From: Cyrille Le Clerc [mailto:clecl...@xebia.fr] Sent: Friday, 18 June 2010 8:30 AM To: Tomcat Users List; Matthew Peterson Subject: Re: HTTP connector to be aware of proxied SSL requests Hello Matt, I think the RemoteIpValve does what you need : it looks at http headers filled

RE: HTTP connector to be aware of proxied SSL requests

2010-06-17 Thread Matthew Peterson
"This is *open* source..." Thx Capt. Obvious - very helpful ;-) OK, so I now understand why it was chosen to perform the redirection in the Connector rather than in a Valve; to remove unnecessary processing keeping the redirect response as efficient as possible. I might lodge an enhancemen

RE: how to calculate a memory tomcat

2010-06-15 Thread Matthew Peterson
/2010 6:42 PM, Matthew Peterson wrote: > Lambda Probe is stale. It has been forked to Psi Probe which has regular > activity: http://code.google.com/p/psi-probe/ Is Lambda Probe stale? It may not have gotten any updates for a while, but is it really lacking anything? - -chris -BEGIN PGP SIG

RE: Re: how to calculate a memory tomcat

2010-06-14 Thread Matthew Peterson
Lambda Probe is stale. It has been forked to Psi Probe which has regular activity: http://code.google.com/p/psi-probe/ -Original Message- From: Myk Bova [mailto:syste...@narod.ru] Sent: Tuesday, 15 June 2010 2:07 AM To: Tomcat Users List Subject: Re: Re: how to calculate a memory tomcat

RE: Setting scheme on catalina Requests

2010-06-14 Thread Matthew Peterson
I have discovered that the RemoteIPValve which has been shipped with Tomcat since v6.0.24 also performs the tasks am trying to perform with my valve. I had overlooked it previously due to its name. We are using v6.0.26, so I'll give it a whirl! Cheers, Matt. -Original Message- From: Ch

RE: Setting scheme on catalina Requests

2010-06-13 Thread Matthew Peterson
homas [mailto:ma...@apache.org] Sent: Monday, 14 June 2010 9:58 AM To: Tomcat Users List Subject: Re: Setting scheme on catalina Requests On 13/06/2010 23:40, Matthew Peterson wrote: > I still don't understand why the catalina.Request object doesn't implement > the convenience method se

RE: Setting scheme on catalina Requests

2010-06-13 Thread Matthew Peterson
Never mind. I found out how to do it. For anyone else interested, from a catalina.Request object you need to get the underlying coyote.Request object, access it's Scheme object (type MessageByte) and then set it's String value to "https". I still don't understand why the catalina.Request object

RE: centralized log server

2009-11-17 Thread Matthew Chambers
This application might help. Doesn't matter what versions you have. Takes a bit to get setup though. http://www.splunk.com/ From: Caldarale, Charles R [chuck.caldar...@unisys.com] Sent: Tuesday, November 17, 2009 7:23 AM To: Tomcat Users List Subject: R

Re: jk Status not showing errors

2009-06-02 Thread Matthew Laird
Rainer Jung wrote: Assuming that you did refresh the jkstatus display: what is your test client? The fact that you see OK/IDLE, but all requests go to the other node indicates, that you are using requests with associated session, so the balancer is not allowed to send them to the other node and

Re: jk Status not showing errors

2009-06-02 Thread Matthew Laird
s listening on the wrong port. worker=prod_se2 failed You should be able to trace where your config is problematic. Kind regards / Met vriendelijke groet, Lawrence Lamprecht -----Original Message- From: Matthew Laird [mailto:lai...@sfu.ca] Sent: Tuesday, June 02, 2009 8:53 PM To: Tomcat Use

Re: jk Status not showing errors

2009-06-02 Thread Matthew Laird
ner.j...@kippdata.de] Sent: Saturday, May 30, 2009 2:46 PM To: Tomcat Users List Subject: Re: jk Status not showing errors On 29.05.2009 22:50, Matthew Laird wrote: Good afternoon, I've been trying to get the jkstatus component of mod_jk running, and I'm not quite sure what I'm doin

jk Status not showing errors

2009-05-29 Thread Matthew Laird
Good afternoon, I've been trying to get the jkstatus component of mod_jk running, and I'm not quite sure what I'm doing wrong in trying to have it report dead Tomcat instances. I have two tomcat instances setup in a load balancer, as a test I've taken down one of them. However the jkstatus

Tomcat does not shut down

2009-04-22 Thread Matthew Chambers
Hey guys. Just recently, I've started to have this problem with Tomcat not shutting down if the server has handled lots of traffic. Our test servers, which have very small amount of traffic, shut down fine. I have to manually kill the Tomcat process. If I run it in the foreground, ctr-c hang

RE: Tomcat 6 unstable

2008-11-23 Thread Matthew Chambers
Where to begin? Tomcat is not unstable. If you have been editing setclaspath.sh then you should probably start with a fresh tomcat install. You don't have to edit that file and who knows what else has been changed. Go download tomcat (don't use the Ubuntu version). Untar it. Don't copy your

Re: Tomcat not using multiple cores

2008-10-16 Thread Matthew Laird
Caldarale, Charles R wrote: "The only time I began to see the other cores actually start being used is when I enabled multi-threaded GC. But that doesn't give much improvement since the threads responding the web requests are still all on the same core." The most likely cause is internal sy

Re: Tomcat not using multiple cores

2008-10-16 Thread Matthew Laird
From the OS, no. From Tomcat, as far as I understand you can only do 2GB per Tomcat instance. Please correct me if I'm wrong. Jim Cox wrote: On Thu, Oct 16, 2008 at 10:30 PM, Matthew Laird <[EMAIL PROTECTED]> wrote: [...lines snipped...] We have an in-house application runnin

Tomcat not using multiple cores

2008-10-16 Thread Matthew Laird
ores actually start being used is when I enabled multi-threaded GC. But that doesn't give much improvement since the threads responding the web requests are still all on the same core. I'm not sure how to convince the Tomcat/Java container to spread its threads among the cores.

IIS-Tomcat Integration

2008-03-25 Thread Matthew Emerson
Hello, I have recently ported a tomcat-based application from using IIS 5.1 to using IIS 6.0, and I am seeing an interesting change in the IIS configuration that I hoped someone could explain. I have an application where I want a subset of the URLs to go through Basic Authentication and the

Re: JK - welcome file displays text when mapped to servlet

2007-12-11 Thread Matthew Broadhead
Rainer Jung-3 wrote: > > Which version of JK are you using? Assuming you are using 1.2.25, could > you please provide > > - information about your platform, versions and configuration > - the JK log using log level debug, and containing the full startup of > apache and one request/response, w

RE: server mapping behaviour when directory structure mirrors mappings

2007-12-11 Thread Matthew Broadhead
Caldarale, Charles R wrote: > >> From: Matthew Thomas Broadhead [mailto:[EMAIL PROTECTED] >> Subject: server mapping behaviour when directory structure >> mirrors mappings >> >> >> Sales >> /sales >> > > If you look at the

JK - welcome file displays text when mapped to servlet

2007-12-10 Thread Matthew Thomas Broadhead
Recently upgraded Tomcat from version 4.1.31 to 6.0.14. In my web.xml - index.htm is set as the welcome file - index.htm is mapped to a servlet which produces html and there is a blank index.htm in the root of the webapp. This worked fine for 4.1.31 on port 8080 and through AJP1.3 connector. On

server mapping behaviour when directory structure mirrors mappings

2007-12-10 Thread Matthew Thomas Broadhead
Recently upgraded Tomcat from version 4.1.31 to 6.0.14. In my webapp I mapped servlets to paths without extensions e.g. Sales /sales Then in the root of the webapp there is a directory with the same name (e.g. sales) in which all the resources for that servlet are stored.

Re: Virtual Host with Different IP Address

2007-10-26 Thread Matthew A. Bockol
You could run both apps under the same domain but still on different hosts, such that: app1 is at mydomain.com app2 is at mydomain.com/app2 If you run tomcat behind apache httpd this is pretty simple to set up (via mod_proxy_ajp or mod_jk or ... ) For sub.mydomain.com you need to make a DNS c

Granting permissions to JSPs in catalina.policy

2007-09-20 Thread Munz, Matthew
Hi all, I have a JSP that calls some code that requires permissions that aren't in the default grant block in catalina.policy. Even though those permissions are granted to the code that is being called, I'm getting access exceptions when the JSP is loaded. I believe this is because the JSP (or

Tomcat manager app question

2007-09-20 Thread Matthew Boeckman
t that one, but I was hoping there is something akin to serverinfo's stripped down display. Any thoughts are appreciated! -Matthew

Re: Can we use output/extras/tomcat-juli.jar by default?

2007-08-19 Thread Matthew Kerle
ot to use log4j on tomcat, thanks! Mark Thomas wrote: Matthew Kerle wrote: let me know if I read that right... Bill Barker wrote: When you have the log4j jar in WEB-INF/lib, the it ends up being used by Tomcat for some of it's logging. As a result, it can cause memory leaks and othe

Re: Can we use output/extras/tomcat-juli.jar by default?

2007-08-19 Thread Matthew Kerle
d of this, I thought that log4j played well with others, has anyone else experienced this / are there any links that describe this problem/ cheers. -- Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863 Email : [EMAIL PROTECTED] Web : http://threebrigh

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-18 Thread Matthew Kerle
when they changed to a .jar! (around 9ir2 i think they did that..?) - -chris ps - nice web site, bet you're glad the kitchens done! -- Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863 Email : [EMAIL PROTECTED] Web : http://threebrightlights.blogspot.com/ --

Re: how to submit updates to the tomcat documentation?

2007-08-16 Thread Matthew Kerle
thanks! Mark Thomas wrote: Matthew Kerle wrote: You can send the patch to the dev list or open a bugzilla item for it. The docs are all xml files in svn. Eg: http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/webapps/docs/ Mark

how to submit updates to the tomcat documentation?

2007-08-16 Thread Matthew Kerle
might be interested in submitting some updates for consideration that clarify the different ways to specify the tag, namely specifying it outside the war so that deployment files are target-independent. cheers! -- Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863 Email

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
dicacted data-sources.xml file for the server where you configure jndi data-sources. very simple and user-friendly. thanks for your help Chris! -- Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863 Email : [EMAIL PROTECTED] Web : http://threebrightlights.blogspot.com/ ---

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
take a look at: http://commons.apache.org/dbcp/api-1.2.2/org/apache/commons/dbcp/BasicDataSource.html --David -- Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863 Email : [EMAIL PROTECTED] Web : http://threebrightligh

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
? No problem: # cd /where/you/want/tomcat/to/live # tar xzf apache-tomcat-version.tar.gz # (fix 'tomcat' symlink) # (restart apps at your convenience) No effing around with Tomcat server configuration. In fact, deploying our production applications doesn't require root access, so out deploy

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
dual webapp. Did you try it and get a failure? --David Matthew Kerle wrote: now that sounds good! the only thing is I don't see how that maps to a DataSource declaration, the element in doesn't seem to allow the full range of properties that you need to define a database

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
pe to get a good solution and I wasn't in charge of building deploys so it never happened. I'll try and dig through the archives to find a good example of that which works so we can update our procedure. cheers! Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SH

Re: NoSuchMethod shutdown error

2007-08-16 Thread Matthew Kerle
ded by HTTP connections anyway - plus we distribute to customers using all sorts of different hardware and software combinations. So the whole native thing is really a non starter for my application. Thanks for the note, however. That was going to be my next question, had I not found out how t

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
you create JDBC connections a different way? -- Matthew Kerle IT Consultant Canberra, Australia Mobile: +61404 096 863 Email : [EMAIL PROTECTED] Web : http://threebrightlights.blogspot.com/ - To start a new topic, e-mail: users@tom

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
now that sounds good! the only thing is I don't see how that maps to a DataSource declaration, the element in doesn't seem to allow the full range of properties that you need to define a database connection, eg - username/password/driverClassName/url etc... Where would you define these? Da

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
n a *lot* easier. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt, Matthew Kerle wrote: I never understood why, and personally doing things that way is a serious pain for me since it means I need to build a separate deployment descriptor for dev, test & prod, whi

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
ew exception java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) *** end *** Does this mean it's now reading the element. ? Thanks Ian Quot

Re: JDBC driver of class '' for connect URL 'null' in Tomcat 5.5.12

2007-08-16 Thread Matthew Kerle
prod database details. which I don't want. Is there a better way that the sysadmin can setup a JNDI datasource so that deployed war's don't have to contain database-specific details? the only way I've seen so far is to configure that in the server.xml... cheers! -- Matthew Kerl

Re: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Matthew Kerle
chMethodException e) { log.error(e.getLocalizedMessage(), e); } catch (IllegalAccessException e) { log.error(e.getLocalizedMessage(), e); } catch (InvocationTargetException e) { log.error(e.getLocalizedMessage(), e);

Re: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Matthew Kerle
makes sense that no web application has access to the server/lib jars. doh...! Peter Crowther wrote: From: Matthew Kerle [mailto:[EMAIL PROTECTED] the MemoryUser class is in catalina.jar, which is in the server/lib folder. would I be right in saying that web application code is barred from

  1   2   >