Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-24 Thread Christopher Schultz
James, On 7/24/24 18:07, James H. H. Lampert wrote: So what jobs are in the subsystem? You said "the Catalina job and its associated JVM job" but to me those are just a single job/process. Are they separate things in the IBM world? Thanks for your insights, Mr. Schultz. And yours, too, Herr H

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-24 Thread James H. H. Lampert
So what jobs are in the subsystem? You said "the Catalina job and its associated JVM job" but to me those are just a single job/process. Are they separate things in the IBM world? Thanks for your insights, Mr. Schultz. And yours, too, Herr Hoffmann. On an IBM Midrange box (AS/400, iSeries, wha

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-24 Thread Christopher Schultz
James, On 7/23/24 16:54, James H. H. Lampert wrote: On 7/23/24 1:25 PM, Christopher Schultz wrote: Thomas, Uh, "James." Thomas was someone who answered earlier. :| 2. What has to fit into that 7GiB private memory pool? Does it include any OS, or is it just the JVM itself? On an IBM Midr

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-23 Thread James H. H. Lampert
On 7/23/24 1:25 PM, Christopher Schultz wrote: Thomas, Uh, "James." Thomas was someone who answered earlier. 2. What has to fit into that 7GiB private memory pool? Does it include any OS, or is it just the JVM itself? On an IBM Midrange box, a private memory pool simply provides jobs in a

Re: Problems with the most problematic of our Tomcat installations on IBM Midrange (cross-posted to Midrange and Tomcat Lists)

2024-07-23 Thread Christopher Schultz
Thomas, On 7/23/24 13:44, James H. H. Lampert wrote: Ladies and Gentlemen: We still have a chronic Tomcat crashing problem at one of our installations. The weirdest thing about this is that while this is certainly *one* of our heaviest-usage installations, it's not *the* heaviest. We alre

Re: problems with partitioned cookies

2024-03-19 Thread Christopher Schultz
Holger, On 3/19/24 04:46, info@klawitter.de wrote: dang! I missed that while checking the changelog. Thanks for pointing out. I'm curious about CHIPS. It's still considered experimental and, honestly, every web browser on the planet is poised to use the equivalent of "partitioned cookies

Re: problems with partitioned cookies

2024-03-19 Thread info . asf
Hi Mark, dang! I missed that while checking the changelog. Thanks for pointing out. Regards, Holger Mark Thomas wrote (at 2024-03-18 17:03 +): > On 18/03/2024 15:16, info@klawitter.de wrote: > > > What am I doing wrong here? (Tomcat 9.0.82) > > https://tomcat.apache.org/tomcat-9.0-doc/

Re: problems with partitioned cookies

2024-03-18 Thread Mark Thomas
On 18/03/2024 15:16, info@klawitter.de wrote: What am I doing wrong here? (Tomcat 9.0.82) https://tomcat.apache.org/tomcat-9.0-doc/changelog.html Search for "partitioned" The problem is you are using Tomcat 9.0.82. Support for a default partitioned attribute wasn't added until 9.0.85.

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-16 Thread Christopher Schultz
Aryeh, On 1/11/24 15:07, Aryeh Friedman wrote: TL;DR (see inline for details): Problem found and worked around (root cause still unknown but likely a bug in OpenJDK 21's standard lib [see below]) On Thu, Jan 11, 2024 at 8:43 AM Christopher Schultz wrote: Aryeh, On 1/10/24 17:48, Aryeh Fried

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-15 Thread Michael Osipov
Aryeh, a general advice: The current Tomcat ports on FreeBSD are a bit unfortunate since they don't motivate to use separate catalina bases. I do not recommend using it as-is. Leverage the multi-instance options provided by its rc script to split out and the do: > tomcat_{name}_enable="YES" > t

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-11 Thread Konstantin Kolinko
чт, 11 янв. 2024 г. в 23:08, Aryeh Friedman : > [...] > Original code: > > Decode form > Save file to /tmp/[sessId]/[filename] > Move file from above to images app and rename the file from > /tmp/[sessId][filename] to [webapp dir]/images/[doc]/1.jpg (simelar if > it is org policy or a system wide o

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-11 Thread Aryeh Friedman
TL;DR (see inline for details): Problem found and worked around (root cause still unknown but likely a bug in OpenJDK 21's standard lib [see below]) On Thu, Jan 11, 2024 at 8:43 AM Christopher Schultz wrote: > > Aryeh, > > On 1/10/24 17:48, Aryeh Friedman wrote: > > After upgrading the machine (b

Re: Problems with cross app uploads (migrating from 9.0.35 to 9.0.84)

2024-01-11 Thread Christopher Schultz
Aryeh, On 1/10/24 17:48, Aryeh Friedman wrote: After upgrading the machine (brand new VM) from FreeBSD 12.X to 14.0-RELEASE, OpenJDK 8 to OpenJdk 21 and Tomcat 9.0.35 to 9.0.84 (copied the existing server.xml over) I am having problems with a servlet that has worked in the past that uploaded ima

Re: Problems with tomcat-users.xml

2023-10-10 Thread Mark Thomas
On 10/10/2023 13:03, Mark Linton wrote: Hello Tomcat users. Is there a forum (like a webpage that we can search for previous questions?)... lists.apache.org I am experiencing an issue with logging on to the manager and hosts webpage(s). What issue? Please see the tomcat-users.xml attache

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Mark Thomas
On 12/01/2023 10:50, Simon Matter wrote: On 12/01/2023 05:08, Fedor Makarov wrote: lundase and vvsguiden webapps used on different domains My recommendation would be to configure Tomcat for virtual hosting as well. [1] For example, configure the following hosts in the local hosts file: lund

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Simon Matter
> On 12/01/2023 05:08, Fedor Makarov wrote: >> >> lundase and vvsguiden webapps used on different domains > > My recommendation would be to configure Tomcat for virtual hosting as > well. [1] > > For example, configure the following hosts in the local hosts file: > > lundase-local > vvsguiden-local

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-12 Thread Mark Thomas
On 12/01/2023 05:08, Fedor Makarov wrote: lundase and vvsguiden webapps used on different domains My recommendation would be to configure Tomcat for virtual hosting as well. [1] For example, configure the following hosts in the local hosts file: lundase-local vvsguiden-local Then the http

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-11 Thread Fedor Makarov
lundase and vvsguiden webapps used on different domains   <-->ServerName new.vvsguiden-dev.gridnine.com <-->ServerAlias localhost <-->ServerAdmin webmaster@localhost <-->DocumentRoot /var/www/html   <-->RewriteEngine on   <-->ProxyPreserveHost on                       Ord

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-10 Thread Mark Thomas
On 10/01/2023 04:37, Fedor Makarov wrote: Also I tried to write a filter to manually redirect, but tomcat intercepts the request before it gets into the filter. Can I disable this behavior for tomcat and do it manually? That isn't the way to solve this problem. The problem is in the reverse

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread Fedor Makarov
Also I tried to write a filter to manually redirect, but tomcat intercepts the request before it gets into the filter. Can I disable this behavior for tomcat and do it manually?   >Понедельник, 9 января 2023, 11:43 +03:00 от Fedor Makarov >: >  > > >We have to webapps lundase and vvsguiden th

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread Christopher Schultz
Fedor, On 1/9/23 03:43, Fedor Makarov wrote: We have to webapps lundase and vvsguiden therefore, the options you have suggested do not look applicable Why not? on debug I saw that RequestURI in request looks like lundase/lundase/... Probably because of this: >>> RewriteRule ^(.*)$ http://

Re: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread Fedor Makarov
We have to webapps lundase and vvsguiden therefore, the options you have suggested do not look applicable on debug I saw that RequestURI in request looks like lundase/lundase/...   >Вторник, 27 декабря 2022, 22:06 +03:00 от Christopher Schultz >: >  >Fedor, > >On 12/27/22 05:55, Fedor Makarov

RE: Problems with requests without trailing slash Tomcat 9.0.65

2023-01-09 Thread alik alikov
We have to webapps lundase and vvsguiden therefore, the options you have suggested do not look applicable on debug I saw that RequestURI in request looks like lundase/lundase/... 27.12.2022, 22:07, Christopher Schultz < mailto:ch...@christopherschultz.net ch...@christopherschultz.net > Fedor, O

Re: Problems with requests without trailing slash Tomcat 9.0.65

2022-12-27 Thread Christopher Schultz
Fedor, On 12/27/22 05:55, Fedor Makarov wrote: proxy for local environment we use the js conf: proxy: {     '/api/': {       target: 'http://localhost:8080/',       changeOrigin: false,     },     '/': {       target: 'http://localhost:8080/lundase',       changeOrigin: false     }   }

Re: Problems with requests without trailing slash Tomcat 9.0.65

2022-12-27 Thread Fedor Makarov
proxy for local environment we use the js conf: proxy: {     '/api/': {       target: 'http://localhost:8080/',       changeOrigin: false,     },     '/': {       target: 'http://localhost:8080/lundase',       changeOrigin: false     }   },   for normal lunch we use apache2.conf: RewriteCond %{RE

Re: Problems with requests without trailing slash Tomcat 9.0.65

2022-12-27 Thread Mark Thomas
On 27/12/2022 06:25, Fedor Makarov wrote: Tomcat 9.0.65 Hello I have some problems with redirects by requests without trailing slashes. When I try to get to the page for example: "about/page" tomcat understands that it is necessary to add a slash and adds it, however, he also adds the n

Re: problems with tomcat 8.5.5

2018-02-23 Thread Lou DeGenaro
ok, i rebooted the linux box and no more exceptions. before that, maybe the service stop didn't stop the 8.5.5 tomcat? so when i tried to service start the 8.5.28 tomcat there were problems? i didn't go hunting for processes to see. nevertheless, all seems well now. thx! Lou. On Fri, Feb 23,

Re: problems with tomcat 8.5.5

2018-02-23 Thread logo
Lou, Am 2018-02-23 09:25, schrieb Lou DeGenaro: I've replaced tomcat 8.5.5 with 8.5.28. Now I see these exceptions in catalina.out: 22-Feb-2018 21:45:42.988 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal

Re: problems with tomcat 8.5.5

2018-02-23 Thread Lou DeGenaro
I've replaced tomcat 8.5.5 with 8.5.28. Now I see these exceptions in catalina.out: 22-Feb-2018 21:45:42.988 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not foun

Re: problems with tomcat 8.5.5

2018-02-22 Thread M. Manna
Can you please check the changelog for 8.5.x and see if this was fixed? Regards, On Thu, 22 Feb 2018 at 23:11, Lou DeGenaro wrote: > From catalina.out, NPE seems bad. Other log files have NPEs too. Need a > never version of tomcat? > > Thanks. > > Lou. > > - > > 22-Feb-2018 16:37:28.599 S

Re: Problems with tomcat 9 http/2 configuration

2017-01-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 1/25/17 5:14 PM, Mark Thomas wrote: > On 25/01/2017 22:11, Zigarelli, Michael wrote: >> Hi, >> >> >> I am unable to configure tomcat 9.0.0.M17 for http/2 support. My >> connector for port 8443 has been uncommented and the necessary >> cer

Re: Problems with tomcat 9 http/2 configuration

2017-01-25 Thread Mark Thomas
On 25/01/2017 22:11, Zigarelli, Michael wrote: > Hi, > > > I am unable to configure tomcat 9.0.0.M17 for http/2 support. My connector > for port 8443 has been uncommented and the necessary certificates were added > to it. I am receiving this error when I start my tomcat: Jan 25, 2017 4:28:21 >

Re: Problems with SSL configuration

2016-11-15 Thread Mark Thomas
On 16/11/2016 00:47, Steve Willett wrote: > I am trying to set up a stand-alone Tomcat server (apparently 7.0.53). > When I set up a simple Connector on port 8443 (no specified ciphers, and > a simple sslProtocol="TLS") using a DigiCert Certificate I can connect. > > However, if I test it with Qu

RE: Problems with SSL configuration

2016-11-15 Thread John.E.Gregg
Enable verbose SSL. Start Tomcat with -Djavax.net.debug=ssl. That will print a lot of info to catalina.out. You could also do the same thing on the client side if you used a java client, or something similar with OpenSSL, curl, etc. -Original Message- From: Steve Willett [st...@your

Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-27 Thread Falco Schwarz
On Wed, Aug 26, 2015 at 8:13 PM, Rainer Jung wrote: > I added a configure check in > > http://svn.apache.org/viewvc?view=revision&revision=1697985 > > and documented the problem in > > https://bz.apache.org/bugzilla/show_bug.cgi?id=58285 > > You might want to cross check. After successfully

Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-26 Thread Rainer Jung
Am 26.08.2015 um 08:00 schrieb Falco Schwarz: On Tue, Aug 25, 2015 at 5:13 PM, Rainer Jung wrote: Am 25.08.2015 um 14:58 schrieb Falco Schwarz: If I try to startup httpd though the following error occurs: httpd: Syntax error on line 88 of /opt/apache/conf/alles/httpd.conf: Cannot load /opt/

Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-25 Thread Falco Schwarz
On Tue, Aug 25, 2015 at 5:13 PM, Rainer Jung wrote: > Am 25.08.2015 um 14:58 schrieb Falco Schwarz: > >> If I try to startup httpd though the following error occurs: >> >> httpd: Syntax error on line 88 of /opt/apache/conf/alles/httpd.conf: >> Cannot >> load /opt/apache/modules/mod_jk.so into ser

Re: Problems with tomcat-connectors-1.2.41 on 32bit linux

2015-08-25 Thread Rainer Jung
Am 25.08.2015 um 14:58 schrieb Falco Schwarz: Hi there, I tried to update the connectors to the most recent update but I am stuck with error messages. Just a few background information on the infrastructure used: httpd: 2.2.31 OpenSSL: 1.0.2.d mod_jk: 1.2.41 Kernel: 3.0.101-0.47.52-pae OS: SLE

Re: Problems with enabling SSL with GoDaddy cert with Tomcat 7.0.57

2015-02-09 Thread nicksemai...@juno.com
We just ended up re-keying this cert through GoDaddy with the same repository files and the new domain file and it worked as it should have. Thanks for all the replies. How Old Men Tighten Skin 63 Year Old Man Shares DIY Skin Tightenin

Re: Problems with enabling SSL with GoDaddy cert with Tomcat 7.0.57

2015-02-09 Thread nicksemai...@juno.com
On 2/6/15 2:44 PM, nicksemai...@juno.com wrote: > I have a SHA2 certificate for a RHEL 6 server using tomcat 7.0.57. That's an x509 certificate for SSL/TLS, using a SHA2-based signature algorithm, right? Yes, it is a SHA-2 algorithm from GoDaddy. > Port 8443 is listening, selinux is disabled, a

Re: Problems with enabling SSL with GoDaddy cert with Tomcat 7.0.57

2015-02-09 Thread Sean Dawson
On Mon, Feb 9, 2015 at 10:13 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Sean, > > On 2/9/15 9:46 AM, Sean Dawson wrote: > > We've had customers who have had issues with Java and GoDaddy > > certs. > > > > > http://stackove

Re: Problems with enabling SSL with GoDaddy cert with Tomcat 7.0.57

2015-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sean, On 2/9/15 9:46 AM, Sean Dawson wrote: > We've had customers who have had issues with Java and GoDaddy > certs. > > http://stackoverflow.com/questions/18746565/godaddy-ssl-cert-not-working-with-java > > > http://tozny.com/blog/godaddys-ssl-c

Re: Problems with enabling SSL with GoDaddy cert with Tomcat 7.0.57

2015-02-09 Thread Sean Dawson
We've had customers who have had issues with Java and GoDaddy certs. http://stackoverflow.com/questions/18746565/godaddy-ssl-cert-not-working-with-java http://tozny.com/blog/godaddys-ssl-certs-dont-work-in-java-the-right-solution/ On Mon, Feb 9, 2015 at 9:30 AM, Christopher Schultz < ch...@chri

Re: Problems with enabling SSL with GoDaddy cert with Tomcat 7.0.57

2015-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nick, (The formatting was awful on the message and made it difficult to read. I've adjusted it to make it readable and reply-able). On 2/6/15 2:44 PM, nicksemai...@juno.com wrote: > I have a SHA2 certificate for a RHEL 6 server using tomcat 7.0.57.

Re: Problems with excessive connection timeouts

2014-06-17 Thread Martin Knoblauch
Hi Konstantin, yeah, found out two hours after posting. Embarassing, isn't it. Thanks Martin On Tue, Jun 17, 2014 at 7:14 PM, Konstantin Kolinko wrote: > 2014-06-16 19:44 GMT+04:00 Martin Knoblauch : > > Hi, > > > > my environment is: > > > > OS SuSE SLES11/SP2 64-bit > > HTTP frontend: Apa

Re: Problems with excessive connection timeouts

2014-06-17 Thread Konstantin Kolinko
2014-06-16 19:44 GMT+04:00 Martin Knoblauch : > Hi, > > my environment is: > > OS SuSE SLES11/SP2 64-bit > HTTP frontend: Apache2-2.2.21 (64-bit) > mod_jk: 1.2.37 > > > Problem short: excessive connection timeouts with weird socket ids > Problem long: we frontend 4 Tomcats (7.0.42) using Apache2(2

Re: Problems with Clustering / Session Replication

2013-10-29 Thread Daniel Mikusa
On Oct 25, 2013, at 11:11 AM, Nicholas Violi wrote: > On Tue, Sep 24, 2013 at 5:21 PM, Daniel Mikusa wrote: >> >> A couple general thoughts... >> >> 1.) When looking at log statements at the FINE & lower levels, recognize >> that these are not reporting problems. They just give you the ability

Re: Problems with Clustering / Session Replication

2013-10-25 Thread Nicholas Violi
On Tue, Sep 24, 2013 at 5:21 PM, Daniel Mikusa wrote: > > A couple general thoughts... > > 1.) When looking at log statements at the FINE & lower levels, recognize > that these are not reporting problems. They just give you the ability to > trace the flow of what is happening in the code. If it w

Re: Problems with Clustering / Session Replication

2013-09-24 Thread Daniel Mikusa
On Sep 23, 2013, at 4:49 PM, Nicholas Violi wrote: > On Thu, Sep 19, 2013 at 9:03 AM, Daniel Mikusa wrote: > >> Here's what I've been using: >> >> >> WEB-INF/web.xml: >> >> >> http://java.sun.com/xml/ns/javaee"; >>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>xsi:schemaLoc

Re: Problems with Clustering / Session Replication

2013-09-23 Thread Nicholas Violi
On Thu, Sep 19, 2013 at 9:03 AM, Daniel Mikusa wrote: > Here's what I've been using: > > > WEB-INF/web.xml: > > > http://java.sun.com/xml/ns/javaee"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/

Re: Problems with Clustering / Session Replication

2013-09-19 Thread Daniel Mikusa
On Sep 18, 2013, at 9:00 AM, Nicholas Violi wrote: > Thanks Daniel. > > On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: >> >> Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go >> to one Tomcat instance's port in chrome, it increments the counter in my >> app. Refre

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
alternatively try an explicit address in the Receiver configuration instead of address="auto" try address="192.168.1.43" this should alter the log displayed at start-up and I would be very interested if you still had a problem. On Thu, Sep 19, 2013 at 10:35 AM, Vince Stewart wrote: > Hi Nicho

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
Hi Nicholas, I'm am a bit of a novice but I did have a very similar problem when I started using the clustering modules. My Tomcat output was referring to localhost (10.x.x.x) addresses while my netstat was reporting LISTEN on network addresses (192.x.x.x:400?). You have the same disparity. My sys

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Mark Eggers
On 9/18/2013 6:00 AM, Nicholas Violi wrote: Thanks Daniel. On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go to one Tomcat instance's port in chrome, it increments the counter in my app. Refresh a few times. Open a

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Nicholas Violi
Thanks Daniel. On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: > > Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go > to one Tomcat instance's port in chrome, it increments the counter in my > app. Refresh a few times. Open a second tab, go to the second Tomcat > in

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 4:18 PM, Daniel Mikusa wrote: > On Sep 17, 2013, at 3:39 PM, Nicholas Violi wrote: > >> On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: >> >>> What is your purpose with this configuration and with this setup? It's a >>> legit setup, but may not be doing what you want

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 4:33 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa > wrote: > >> I would disagree with this conclusion. In your test setup you >> absolutely need this. In production, you don't need HTTPD >> becau

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa wrote: > I would disagree with this conclusion. In your test setup you absolutely > need this. In production, you don't need HTTPD because you have a > dedicated hardware load balancer. Unless you have one of those on your > desk, you need HTTPD to

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 3:39 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa > wrote: > >> What is your purpose with this configuration and with this setup? >> It's a legit setup, but may not be doing what you want. >> >> T

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: > What is your purpose with this configuration and with this setup? It's a > legit setup, but may not be doing what you want. > > Typically you would use mod_proxy & mod_proxy_balancer (or mod_jk) to > front a cluster of Tomcat servers. In p

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 3:39 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: > >> What is your purpose with this configuration and with this setup? It's a >> legit setup, but may not be doing what you want. >> >> Typically you would use mod_proxy & mod_proxy_balan

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 3:08 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa wrote: > >> How do you have HTTPD configured? It's important to get this right. >> > > The tomcats are running on 8081 and 8083 and apache is listening on 8080 > and 8082, with each one proxied

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa wrote: > How do you have HTTPD configured? It's important to get this right. > The tomcats are running on 8081 and 8083 and apache is listening on 8080 and 8082, with each one proxied to the corresponding tomcat instance. I think these are the relev

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 1:21 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 1:16 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >>> telnet connects fine... >> >> ??? Previously, you stated: "telnet reports Connection refused". Which is >> it? > > > Apologies for not speci

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 1:16 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > telnet connects fine... > > ??? Previously, you stated: "telnet reports Connection refused". Which is > it? Apologies for not specifying. My first test was "telnet localhost 4000", which refused the c

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> From: Nicholas Violi [mailto:nvi...@globalgiving.org] > Subject: Re: Problems with Clustering / Session Replication > telnet connects fine... ??? Previously, you stated: "telnet reports Connection refused". Which is it? > > Are you sure you don't have a firew

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Problems with Clustering / Session Replication > While the above is true, OP originally said that everything was on > localhost. Note the IP address reported by the OP's netstat: 192.168.1.243.

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 12:08 PM, Daniel Mikusa wrote: > Good! Since Tomcat is listening on the ports, you just need to figure out > why you can't connect to them. You should be able to telnet to the ports. > Try: telnet 192.168.1.243 4000 and telnet 192.168.1.243 4001. > telnet connects fine

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 9/17/13 12:25 PM, Caldarale, Charles R wrote: >> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Subject: Re: >> Problems with Clustering / Session Replication > >> Are you sure you don't have a firewall? >

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] > Subject: Re: Problems with Clustering / Session Replication > Are you sure you don't have a firewall? Remember that a firewall could be on the server, the client, or anywhere in between. The OP should first see if a connecti

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 11:32 AM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa wrote: > >> >> Please don't top post. Either reply at the bottom or reply inline. That >> is the convention we try to follow on this list. >> > > Sorry & thanks. > > Can your run netstat a

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa wrote: > > Please don't top post. Either reply at the bottom or reply inline. That > is the convention we try to follow on this list. > Sorry & thanks. Can your run netstat and see if anything is listening on those ports? > "netstat -tln" should

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 11:10 AM, Nicholas Violi wrote: > Hi Daniel, Please don't top post. Either reply at the bottom or reply inline. That is the convention we try to follow on this list. > Thanks for the response. It seems that the ports (you're correct, 4000 and > 4001) aren't open; telnet r

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 9:59 AM, Nicholas Violi wrote: > Hello, > I'm setting up clustering/replication on Tomcat 7 on my local machine, to > evaluate it for use with my environment/codebase, and sessions don't appear > to be replicating. Hopefully I've provided enough information below, but > please

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
Hi Daniel, Thanks for the response. It seems that the ports (you're correct, 4000 and 4001) aren't open; telnet reports Connection refused and nmap lists the ports as closed. Shouldn't tomcat be opening them? I'm not running a firewall or anything. I'll come back to your questions about my apache

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 9:59 AM, Nicholas Violi wrote: > Hello, I'm setting up clustering/replication on Tomcat 7 on my > local machine, to evaluate it for use with my environment/codebase, > and sessions don't appear to be replicating. Hopefully I've

Re: problems with import in jsp file

2013-04-18 Thread caio lima
Hi, my index.jsp is inside webapps/ROOT i have the same folder structure in my local machine and it works. 2013/4/18 Konstantin Kolinko > 2013/4/18 caio lima : > > hi, > > sorry for my english. > > i just publish my web site made with java, jsp, and i'm stuck with a > > problem. > > > > my "

Re: problems with import in jsp file

2013-04-18 Thread Konstantin Kolinko
2013/4/18 caio lima : > hi, > sorry for my english. > i just publish my web site made with java, jsp, and i'm stuck with a > problem. > > my ".class" files is in the directory "WEB-INF/classes/..." > and i have the class Diversos in > "WEB-INF/classes/ferramentas/Diversos.class" > > when i use a im

Re: Problems with Realm

2012-09-29 Thread sohsoh
I resolved it by changing the column of login from "name" to user_name ,,, thanks to all those who want to help me -- View this message in context: http://tomcat.10.n6.nabble.com/Problems-with-Realm-tp4987265p4987275.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Problems with Realm

2012-09-29 Thread sohsoh
from log file 29 sept. 2012 08:50:36 org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() 29 sept. 2012 08:50:36 org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() 29 sept. 2012 08:51:52 org.apache.catalina.realm.JDBCR

Re: Problems with Realm

2012-09-29 Thread Konstantin Kolinko
2012/9/29 sohsoh : > Hello Tomcatters, > > I am beginner in development, I wanted to do the user authentication, I am I > followed a tutorial for it to the letter, but in the final step I fell into > a problem that I did not arrive for a week of web search to solve it > -- after login he goes searc

RE: Problems with Realm

2012-09-29 Thread Martin Gainty
Jose is correct did you implement these steps from the documentation: http://tomcat.apache.org/tomcat-7.0-doc/funcspecs/fs-jdbc-realm.html Acquire the one and only connection [Current] or acquire a connection from the connection pool [Requested]. MG>do you have a valid connection handle?

Re: Problems with Realm

2012-09-29 Thread Jose María Zaragoza
Have a look at Tomcat log files 2012/9/29 sohsoh : > I tried and the same problem ! > > > > -- > View this message in context: > http://tomcat.10.n6.nabble.com/Problems-with-Realm-tp4987265p4987268.html > Sent from the Tomcat - User mailing list archive at Nabble.com. > > ---

Re: Problems with Realm

2012-09-29 Thread sohsoh
I tried and the same problem ! -- View this message in context: http://tomcat.10.n6.nabble.com/Problems-with-Realm-tp4987265p4987268.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

Re: Problems with Realm

2012-09-29 Thread Jose María Zaragoza
Maybe the web page requested (under /pages/protected/admin/*) is allowed to visit after you login, but that page could need to access to resources stored under others folders non-authorized Try to access a simple web page ( a blank page ) stored under /pages/protected/admin/ to test if realm mecha

Re: problems with mod_jk 1.2.32 and Jetty 6.1.26

2012-08-21 Thread Veit Guna
Well, what can I say - thank you :)! Your tip worked like a charm. Am 21.08.2012 16:22, schrieb Rainer Jung: > On 21.08.2012 10:34, Veit Guna wrote: >> Hi. >> >> I'm using Atlassian Fisheye 2.7.15 (uses Jetty 6.1.26) under Ubuntu >> 12.04 >> with mod_jk 1:1.2.32-1 and Apache 2.2.22-1ubuntu1. >>

Re: problems with mod_jk 1.2.32 and Jetty 6.1.26

2012-08-21 Thread Rainer Jung
On 21.08.2012 10:34, Veit Guna wrote: Hi. I'm using Atlassian Fisheye 2.7.15 (uses Jetty 6.1.26) under Ubuntu 12.04 with mod_jk 1:1.2.32-1 and Apache 2.2.22-1ubuntu1. After I upgraded mod_jk from 1.2.31 to 1.2.32 Jetty isn't working anymore throwing the exception below. Any ideas why that is

RE: problems with performance with IIS 7.5 and Tomcat Connector

2012-02-03 Thread Alex Samad - Yieldbroker
[snip] > > > > 1) IIS reports 200 connection starting up just about instantly > > IIS reports or the redirector reports? Connections from client to IIS or from > IIS to > JBoss? Performance monitor on W shows 200 Conncetion to IIS, netstat shows number of connections to JBOss [snip] > > But

Re: problems with performance with IIS 7.5 and Tomcat Connector

2012-02-02 Thread Rainer Jung
On 02.02.2012 10:04, Alex Samad - Yieldbroker wrote: I have 2 x W2k8r2 + NLB (Network load balancing) + IIS 7.5 + Tomcat Plugin => 2 x RHEL 6.1 + Jboss 7 (I think). (not setup in JBoss cluster mode) We have a .net client that talks to the IIS and then onto Jboss. We have been running some t

Re: Problems with forwaring HTTP to HTTPS

2011-12-01 Thread Gregor S.
Marc, thanks for your comment and thanks for pointing me to the right direction. I guess this one is the matching excerpt from the specs: = [snip ] The combination of user-data-constraints that apply to a common urlpattern and http-method shall yield the union of connection types ac

RE: Problems with forwaring HTTP to HTTPS

2011-12-01 Thread markt
Jeffrey Janner wrote: >I might be a little off You are a long way off and also need to read the Servlet 2.5 spec. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h.

RE: Problems with forwaring HTTP to HTTPS

2011-12-01 Thread Jeffrey Janner
I might be a little off (and I'm sure Pid or Chuck will correct me), but security-constraints are applied based on matching url-patterns, and you're using the same pattern in both places. Therefore, the webapp's definition will take precedence over the global. Looks like it is best to bite the b

Re: Problems with forwaring HTTP to HTTPS

2011-12-01 Thread Mark Thomas
On 30/11/2011 18:32, Gregor S. wrote: > My understanding was, that in the global web.xml > ($catalina.home/conf/web.xml) the defaults are specified and promoted > to all webapps. But it seems as the webapp doesn't inherit the element > from the global web.xml if it specifies it's > own - my expec

Re: Problems with mod_jk 1.2.31

2011-10-13 Thread Jorge Medina
Thanks Rainer, now I know where to direct the troubleshooting efforts. Seems I have some networking issue. On Thu, Oct 13, 2011 at 6:30 AM, Rainer Jung wrote: > On 13.10.2011 06:16, Jorge Medina wrote: >> I have Apache (2.2.20) in front of a single Tomcat (6.0.32) instance >> using mod_jk (1.2.31

Re: Problems with mod_jk 1.2.31

2011-10-13 Thread Rainer Jung
On 13.10.2011 06:16, Jorge Medina wrote: > I have Apache (2.2.20) in front of a single Tomcat (6.0.32) instance > using mod_jk (1.2.31) with the AJP protocol. > I am getting errors like the sample below frequently (a few hundred > times a day). The server does not have a heavy load, it serves abou

Re: Problems with mod_jk 1.2.31

2011-10-12 Thread Jorge Medina
and another piece of information: Tomcat and Apache are running in the same machine. On Thu, Oct 13, 2011 at 12:24 AM, Jorge Medina wrote: > Correcting some information: > I am using Apache 2.2.13, mod_jk 1.2.30, Tomcat 6.0.32 > > On Thu, Oct 13, 2011 at 12:16 AM, Jorge Medina > wrote: >> I have

Re: Problems with mod_jk 1.2.31

2011-10-12 Thread Jorge Medina
Correcting some information: I am using Apache 2.2.13, mod_jk 1.2.30, Tomcat 6.0.32 On Thu, Oct 13, 2011 at 12:16 AM, Jorge Medina wrote: > I have Apache (2.2.20) in front of a single Tomcat (6.0.32) instance > using mod_jk (1.2.31) with the AJP protocol. > I am getting errors like the sample bel

Re: Problems with ImageIO

2011-09-29 Thread Nubile
I saw this problem while loading a TGA reader. I was able to first resolve the problem by disabling JreMemoryLeakPreventionListener, but a better solution seems to be to put a static initializer in my webapp code that forces the container to re-scan for reader implementations once the webapp class

Re: Problems with manager app under Tomcat 6.0.29

2011-08-30 Thread Konstantin Kolinko
2011/8/30 : > Thanks for the info, I checked it. There are many entries for > Manager > in webapps/manager/WEB-INF/web.xml. And what about conf/web.xml ? > Von: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > > Check that you do not have Manager > 1. elsewhere in manager/WEB-INF/web.xml >

Re: Problems with manager app under Tomcat 6.0.29

2011-08-30 Thread Konstantin Kolinko
2011/8/30 : > java.lang.IllegalArgumentException: addChild:  Child name 'Manager' is not > unique >        at > org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2806) >(...) > 30.08.2011 09:19:41 org.apache.catalina.startup.ContextConfig > applicationWebConfig > SEVERE:

  1   2   3   4   5   >