Re: configuring Tomcat 9.0.85 for debugging

2024-02-26 Thread Mark Eggers
On 2/26/2024 2:18 PM, Mark Caruso wrote: If anyone has guidance for configuring Tomcat 9.0.85 for debugging please send it along. I am running the program under Ubuntu 20.04. I am not sure the guidance on the internet for modifying catalina.sh is right.  My goal is to then attach a debugger fr

Re: Nothing but 404 errors

2024-09-05 Thread Mark Eggers
On 9/5/2024 8:40 AM, David Rush wrote: Darryl: Do you have a script or something that copies the "needed files" from the previous version to the new version? Seems like you would need to copy all your webapps and any customizations in your config files (I sometimes tweak my server.xml and loggi

Re: Getting some peculiar TLS results in Tomcat 7

2021-08-13 Thread Mark Eggers
On 8/13/2021 5:27 PM, James H. H. Lampert wrote: While we've been systematically updating our customer boxes, a few of our customer boxes are still on Tomcat 7. I've got the following Connector tag set up in server.xml: compressableMimeType="text/html,text/xml,text/plain,text/css, text/ja

Re: Getting some peculiar TLS results in Tomcat 7

2021-08-16 Thread Mark Eggers
Chris, On 8/16/2021 12:56 PM, Christopher Schultz wrote: protocol="org.apache.coyote.http11.Http11Protocol" sslEnabledProtocols="TLSv1.2" ... and have no other protocol-related configuration settings. Thanks. That was my take as well. However, I figured the original author could read the

Re: 200 response and redirect for ".../test.jsp"

2021-08-24 Thread Mark Eggers
Folks, On 8/24/2021 3:55 PM, Christopher Schultz wrote: James, On 8/24/21 17:20, James H. H. Lampert wrote: I could have sworn I asked about this over a year ago, but I can't find any record of having done so. We've got a low-priority complaint about a security scan looking for "test.jsp" o

Re: Timestamp Error

2021-08-26 Thread Mark Eggers
Jerry, On 8/26/2021 6:35 PM, Jerry Malcolm wrote: I am encountering a weird problem. I'm getting the following SQL error on an INSERT command. com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect datetime value: '1969-12-31 18:00:00.0' for column... The column is a TI

Re: Timestamp Error

2021-08-27 Thread Mark Eggers
On 8/27/2021 11:16 AM, Jerry Malcolm wrote: On 8/27/2021 11:55 AM, Christopher Schultz wrote: Mark and Jerry, On 8/26/21 22:03, Mark Eggers wrote: Jerry, On 8/26/2021 6:35 PM, Jerry Malcolm wrote: I am encountering a weird problem. I'm getting the following SQL error on an INSERT co

Re: server returned HTTP response code 403 during ant install operation

2021-09-18 Thread Mark Eggers
Barry, On 9/18/2021 1:31 PM, Barry Kimelman wrote: I am running tomcat 9.0.52 on ubuntu 20.04 LTS I am able to compile my application but when I issue the "ant install" command it fails with the following error message [barry] /home/barry/tomcat/hockey3 1106 ant install Buildfile: /home/barry/

Re: Apache Tomcat/9.0.52 - New Install has 2 Tomcat Services Running?

2021-09-20 Thread Mark Eggers
Terrence, On 9/20/2021 11:49 AM, Terrence Rideau wrote: I have a new Linux install of Apache Tomcat/9.0.52.   When I start Tomcat using "/bin/systemctl start tomcat" it starts with 2 Tomcat services. My webapp runs but I have a issue importing and the application support team thinks it is rel

Re: Security Vulnerability Question

2021-10-13 Thread Mark Eggers
On 10/13/2021 11:16 AM, Kenaw, Seretseab wrote: Hello, Our IT team just notified us with a severe security vulnerability on our web application with the Tomcat version that we are using (9.0.12). What remediations can we use to quickly fix the issue? Thank you Seretseab Kenaw CONFIDENTIALITY

Re: Strange Oracle JDBC Driver error on Application Deployment

2021-11-02 Thread Mark Eggers
Jon, On 11/2/2021 3:26 PM, jonmcalexan...@wellsfargo.com.INVALID wrote: I have an application team that is getting the following stack trace while starting Tomcat 8.5.70. I've done some searching but can't find anything. In looking at their context.xml it appears that they have jmxEnabled="fal

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-17 Thread Mark Eggers
On 11/17/2021 5:28 PM, jonmcalexan...@wellsfargo.com.INVALID wrote: We export it. You have to make sure the setenv.sh is calling setenv.sh. it works fine for me.­ Thanks, Sent with BlackBerry Work (www.blackberry.com) From: Michael B Allen Sent: Nov 17, 2021

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-18 Thread Mark Eggers
Mike, On 11/17/2021 7:16 PM, Michael B Allen wrote: On Wed, Nov 17, 2021 at 9:05 PM Mark Eggers wrote: CATALINA_HOME and CATALINA_BASE are links to an appropriate Tomcat installation, and one configured for that particular service. Then to upgrade to a new Tomcat, you do the following: 1

Re: How to *properly* create and use a CATALINA_BASE installation

2021-11-18 Thread Mark Eggers
Work (www.blackberry.com) From: Mark Eggers Sent: Nov 17, 2021 8:10 PM To: users@tomcat.apache.org Subject: Re: How to *properly* create and use a CATALINA_BASE installation On 11/17/2021 5:28 PM, jonmcalexan...@wellsfargo.com.INVALID<mailto:jonmcalexan...@wellsfargo.com

Re: BasicDataSource restart()

2021-11-30 Thread Mark Eggers
Jerry, On 11/30/2021 10:06 PM, Jerry Malcolm wrote: I'm circling back to this after a few months.  I am building on a Windows 10 box with 9.0.52 TC.  But I'm running on an AWS Linux2 with 8.5.72.  This has never caused any problems so far, or at least as far as I can tell.  But I'm hitting som

Re: BasicDataSource restart()

2021-12-08 Thread Mark Eggers
Jerry, On 12/8/2021 9:18 PM, Jerry Malcolm wrote: On 12/1/2021 10:38 AM, Jerry Malcolm wrote: Mark, On 12/1/2021 12:21 AM, Mark Eggers wrote: Jerry, On 11/30/2021 10:06 PM, Jerry Malcolm wrote: I'm circling back to this after a few months.  I am building on a Windows 10 box with 9.0.

Re: [OT] BasicDataSource restart()

2021-12-09 Thread Mark Eggers
Chris, On 12/9/2021 7:35 PM, Christopher Schultz wrote: Mark, On 12/9/21 00:54, Mark Eggers wrote: Then there's clustering without multicast. Right now we don't use sessions, so I am not concerned about clustering. However, we will have some applications in the near future that wi

[OT] Re: Critical Random "Can't read cryptographic policy directory: unlimited"

2021-12-21 Thread Mark Eggers
Jerry: On 12/21/2021 4:17 PM, Jerry Malcolm wrote: Mark, Thanks for the comments.  I have somewhat of a solution.  I just want to document what I learned in case anyone else has this problem.  From what I have been able to determine, you are correct about it being an Amazon problem.  I don't

Re: Do I Need Network NameSpaces to Solve This Tomcat+Connector/J Problem?

2021-12-29 Thread Mark Eggers
Eric: On 12/29/2021 1:04 PM, Eric Robinson wrote: We want to run a large number of tomcat instances on the same server without virtualization or containerization. Each instance is executed from its own folder tree and listens on its own unique TCP port. Each instance will run code that connec

Re: Odd EL resolution issue - java.lang.NoClassDefFoundError: package/Class1 (wrong name: package/class1)

2022-02-08 Thread Mark Eggers
Just a note: On 2/8/2022 8:32 AM, Rob Sargent wrote: On 2/8/22 08:11, Robert Turner wrote: Okay. Yep, my most recent suspicion was correct -- it's related to the Docker bind to a local folder containing the webapps. As such, I believe it's a Docker issue of some sort and not Tomcat specific.

Re: AW: AW: AW: Question to possible memory leak by Threadlocal variable

2022-03-28 Thread Mark Eggers
Thomas: On 3/28/2022 2:01 PM, Thomas Hoffmann (Speed4Trade GmbH) wrote: Hello Chris, -Ursprüngliche Nachricht- Von: Christopher Schultz Gesendet: Montag, 28. März 2022 18:48 An: users@tomcat.apache.org Betreff: Re: AW: AW: Question to possible memory leak by Threadlocal variable Thom

Re: connecting tomcat server to eclipse java ee

2023-03-09 Thread Mark Eggers
Stephanie, On 3/9/2023 7:06 PM, Stephanie Panah wrote: I was able to resolve the issue. I found: https://stackoverflow.com/questions/62764029/unknown-version-of-tomcat-was-specified-with-tomcat-9-0-37 --you need to open the folder once --It will ask you for permission to enter after which its c

Re: ClassNotFound after upgrade to tomcat 10

2023-04-17 Thread Mark Eggers
https://jakarta.ee/specifications/tags/3.0/tagdocs/c/tld-summary.html . . . just my two cents /mde/ On 4/17/2023 3:34 PM, Kevin Huntly wrote: Now i'm getting these: 17-Apr-2023 18:32:03.236 INFO [main] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types d

Re: Tomcat VAPT Closure

2023-04-24 Thread Mark Eggers
Pratik, On 4/24/2023 10:09 PM, PRATIK HUMNABADKAR wrote: Hi, We need Tomcat support assistance for closure of our VAPT points for disabling SSL TLS 1.0 and 1.1 Please guide us by arranging concerned technician with us for closure. Tomcat version: 9.0.62 Operating system: Linux We tried disa

Re: Tomcat VAPT Closure

2023-04-24 Thread Mark Eggers
] org.apache.catalina.startup.Catalina.start Cannot start server, server instance is not configured Regards, Pratik -Original Message- From: Mark Eggers Sent: 25 April 2023 10:45 To: users@tomcat.apache.org Subject: Re: Tomcat VAPT Closure Pratik, On 4/24/2023 10:09 PM, PRATIK HUMNABADKAR wrote: Hi, We need Tomcat support

Re: Tomcat Deployment scripts

2023-06-30 Thread Mark Eggers
Late to the party, as always. Anyway, I'll write up in general how we manage things. It's not ideal, but it seems to answer most everyone's questions. See at the end of this message. On 6/30/2023 12:13 PM, Christopher Schultz wrote: Alan, On 6/30/23 06:35, Alan F wrote: This is great thank

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-06 Thread Mark Eggers
James, On 4/6/2020 12:53 PM, James H. H. Lampert wrote: > Here is the situation: > > We have an existing Amazon EC2 instance, running Amazon Linux 2, with an > Apache httpd server already running our web sites (for argument's sake, > "foo.com," "bar.com," and "baz.com."), and already getting its

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-06 Thread Mark Eggers
Hi Jerry / James, On 4/6/2020 1:59 PM, Jerry Malcolm wrote: > Hi James, > > I've been using this precise setup for years, first on a dedicated > hosted server and recently on EC2/Linux2.  I use mod_jk. > > The first step is to make sure httpd recognizes all of the domain names > and subdomains. 

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-06 Thread Mark Eggers
James, On 4/6/2020 3:09 PM, James H. H. Lampert wrote: > First of all, thank you, Mr. Malcom, Herr Kreuser, and Mr. Eggers. > > One thing I will note is that near as I can tell, mod_proxy and > mod_proxy_http are already present on the system (I can find > "mod_proxy.so" and "mod_proxy_http.so"),

{[OT] Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-06 Thread Mark Eggers
On 4/6/2020 5:47 PM, James H. H. Lampert wrote: > As it happens, I'm now struggling with an issue just trying to get a new > virtual host up and running on the httpd server. I've put it on Server > Fault, at: https://preview.tinyurl.com/rr3rxwa > > While it may not be necessary to solve this probl

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
t automatically, and I've added > a security group to temporarily open 8080 to my office IP address, so > that I can reach it directly and verify that it works (it does). And > I've also verified that mod_proxy and mod_proxy_http are enabled (they > already were; I didn't have

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
On 4/8/2020 4:11 PM, James H. H. Lampert wrote: > On 4/8/20 3:52 PM, Mark Eggers wrote: >>>> >>>>     Require ip 127 >>>> > > Dear Mr. Eggers (et al.): > > I'm still not clear on what that even *does* (and the official docs > leave

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
James, On 4/8/2020 5:41 PM, James H. H. Lampert wrote: > On 4/8/20 4:57 PM, Mark Eggers wrote: >> See >> https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxy >> for some examples. > > Yes. That's the very point in the documentation that has my head spinning

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-08 Thread Mark Eggers
On 4/8/2020 6:42 PM, calder wrote: > On Wed, Apr 8, 2020, 18:11 James H. H. Lampert > wrote: > >> >> And as to vendor-supplied installations, I agree with you. I'm rather >> irritated with the "Debianism" of splitting Tomcat up so completely that >> webapp contexts can be in at least two differen

Re: Setting up Tomcat behind an existing Apache httpd server (on Amazon Linux 2)

2020-04-09 Thread Mark Eggers
James, On 4/9/2020 12:11 PM, James H. H. Lampert wrote: > On 4/6/20 2:13 PM, Mark Eggers wrote: >> # Secure your proxy - localhost for now - this is IMPORTANT >> >>    Require ip 127 >> > > Dear Mr. Eggers: > > It seems I was right about how what you s

Re: 2 questions

2020-04-09 Thread Mark Eggers
On 4/9/2020 3:45 PM, jonmcalexan...@wellsfargo.com.INVALID wrote: > Potentially off-topic, sorta, questions. > > > 1. How do we get the latest versions of mod-jk.so tomcat connector 1.2.46 > or 1.2.48? I see the binaries and such for IIS, but not .so versions. > > 2. How, on windows, do

Re: seamless restart

2020-05-12 Thread Mark Eggers
Jonathan, On 5/12/2020 8:20 AM, Jonathan Yom-Tov wrote: > The problem is that my application is running on AWS which apparently > doesn't support multicasting so I can't use Tomcat's DeltaManager. I > thought of using one of the Store implementations for PersistentManager but > that has the issues

Re: seamless restart

2020-05-12 Thread Mark Eggers
Chris, On 5/12/2020 12:55 PM, Christopher Schultz wrote: > Jonathan, > > On 5/12/20 11:20, Jonathan Yom-Tov wrote: >> The problem is that my application is running on AWS which >> apparently doesn't support multicasting so I can't use Tomcat's >> DeltaManager. > > The membership-manager is separ

Re: seamless restart

2020-05-12 Thread Mark Eggers
Chris, On 5/12/2020 1:25 PM, Christopher Schultz wrote: > Mark, > > On 5/12/20 16:14, Mark Eggers wrote: >> Chris, > >> On 5/12/2020 12:55 PM, Christopher Schultz wrote: >>> Jonathan, >>> >>> On 5/12/20 11:20, Jonathan Yom-Tov wrote: >&g

Re: Tomcat and CLoudWatch

2020-08-21 Thread Mark Eggers
Jake, On 8/21/2020 10:26 AM, Jake Orel wrote: > Hey Chris, > I've been working with Jerry on this. What I had found was to use Collectd > with the java and genericJMX plugins to gather the Mbeans i wanted to send. > After that there was the options of either using a cloudwatchPlugin >

Re: Class loader does not find class in WEB-INF/classes

2020-09-01 Thread Mark Eggers
Carles, On 9/1/2020 11:23 AM, Christopher Schultz wrote: > Carles, > > On 9/1/20 14:08, Carles Franquesa wrote: >> This message is a reply to those that asked me for uploading a >> simple version of my webapp reproducing the problem of not finding >> classes when a JSP is inside a subfolder, thu

Re: Tomcat SecurityListener

2020-10-12 Thread Mark Eggers
Shawn, On 10/12/2020 12:59 PM, Beard, Shawn wrote: Tomcat 9.0.31.0 loads a org.apache.catalina.security.SecurityListener by default in the catalina.sh file. This SecurityListener also sets the UMASK of files to 0027. This has the effect of any file tomcat creates or the app running in tomcat

Re: Strange crash-on-takeoff, Tomcat 7.0.104

2020-11-18 Thread Mark Eggers
James, On 11/18/2020 5:06 PM, James H. H. Lampert wrote: Ladies and Gentlemen: The same customer installation that required 104 (but with the 103 catalina.sh, to avoid Bug 64501) back in June is now demanding an update to 106 because of the CVE-2020-13935 vulnerability. Two questions: 1. I

Re: javadoc 404

2021-01-10 Thread Mark Eggers
Rob, On 1/10/2021 8:51 PM, Rob Sargent wrote: While trying to understand why PerUserPoolDataSource doesn't implement javax.sql.ConnectionPoolDataSource on https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/tomcat/dbcp/dbcp2/datasources/package-summary.html I get a 404 from anchor

Re: AccessLog implementation via logging subsystem?

2021-01-20 Thread Mark Eggers
Thomas, On 1/20/2021 2:59 AM, Thomas Meyer wrote: Hi, as far as I can see there seems to be no AccessLog interface implementation that is using the standard tomcat logging subsystem. Is there a reason for this? I have a use case were I want to forward access log to splunk via http event colle

Memory leak with Jersey 2.33

2021-01-31 Thread Mark Eggers
Folks, This is probably not a Tomcat issue, but any thoughts on how to resolve this would be greatly appreciated. I am running into an apparent ClassLoader leak with the following configuration: Windows 10 Professional (64 bit, latest updates) OpenJDK 11.0.10 Apache Tomcat 7.0.107 Jersey Re

Re: Memory leak with Jersey 2.33

2021-01-31 Thread Mark Eggers
On 1/31/2021 9:39 PM, Mark Eggers wrote: Folks, This is probably not a Tomcat issue, but any thoughts on how to resolve this would be greatly appreciated. I am running into an apparent ClassLoader leak with the following configuration: Windows 10 Professional (64 bit, latest updates

Re: Memory leak with Jersey 2.33

2021-02-01 Thread Mark Eggers
Mark, On 2/1/2021 1:33 AM, Mark Thomas wrote: Is the GC root above the only one? I've seen similar behaviour in the past where weak references appear to be the cause of a leak but closer inspection uncovers a strong reference. Mark Thanks for putting me on the correct track. I'm using log4j2

Re: Correct manager.xml for Tomcat 8 manager GUI

2021-02-24 Thread Mark Eggers
On 2/24/2021 9:54 AM, Patrick Baldwin wrote: Hi, I'm trying to reconfigure a pre-existing dev Tomcat 8 server so folks can use the manager GUI; so far, I just get the ERR_CONNECTION_REFUSED message. I've stripped the tomcat users file down to just: $ cat /usr/local/tomcat/conf/tomcat-users.xml

RE: Someone Please: Why Is Tomcat Looking In The Wrong Directory?

2006-08-01 Thread Mark Eggers
As an additional comment: Based on earlier comments, it looks like the vendor's application is using the system property tomcat.home to create the file path to open. As you found out this will prevent using CATALINA_BASE or creating virtual hosts under one Tomcat. The vendor might look at usin

Re: Connector Problems -

2006-08-08 Thread Mark Eggers
I just finally moved over to mod_jk from mod_jk2. Since this is a development environment on Windows/2000 Professional, I didn't have the pressure to move. Anyway, here's my environment: Windows/2000 Professional Apache 2.054 (will upgrade one of these days) Tomcat 5.5.17 JDK 1.5.0_06-b05 Since

Re: Connector Problems -

2006-08-08 Thread Mark Eggers
I just checked - it's copied exactly. Sometimes I drop characters when copying from emacs to Firefox. Please see the following link under Mandatory Directives http://tomcat.apache.org/connectors-doc/config/workers.html Also, LoadModule must be used in the server config and not in the VirtualHos

Re: tomcat JSP Servlet Apache JK2

2006-08-09 Thread Mark Eggers
There are a lot of issues here, mostly having to do with how you've structured your virtual hosts. However, I think the following should get you up and running quickly. In your VirtualHost directive, add the following line: DirectoryIndex index.html index.html.var login.jsp That should bring up

Re: Measuring traffic pr. virtualhost

2006-08-13 Thread Mark Eggers
If you want to do logging on at the Engine, Host, or Context level, then you can use the access logging valve in Tomcat. Configuration information can be found here: http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html Note that if you serve static material with a front-end Apache server, t

Re: workers.properties

2006-08-13 Thread Mark Eggers
This should be like any other web application. I just set it up as a test on my machine and it works fine. Take a look at: http://tomcat.apache.org/connectors-doc/ 1) Set up a standard workers.properties file (example) # only one worker # a better name is called for worker.list=myworker # #

Re: [SPAM ?]Error in dependencyCheck when using Connection pooling

2006-08-14 Thread Mark Eggers
>From looking for this error message with Google, it appears that there is a problem with the manifest information in your jar file. Use the following two search items in Google: java.io.IOException "invalid header field" error in dependencycheck What JDBC driver (DB and version), Tomcat version

Re: Tomcat Crashed - Please Help.

2006-08-17 Thread Mark Eggers
Are you using Tomcat 5.5.x or Tomcat 5.0.x? Tomcat 5.5.x requires either JSE 1.5 or JDK 1.4.x with the JDK compatibility pack. See the following: http://www.devlib.org/apache/tomcat/tomcat-5/v5.5.17/README.html The compatibility pack can be found here: http://tomcat.apache.org/download-55.cgi

Re: Apache 5.5 HelloWorldExample 404 error

2006-08-24 Thread Mark Eggers
If you're talking about the regular Hello World example in : http://localhost:8080/servlets-examples/servlet/HelloWorldExample I don't know why it wouldn't work. I have a very vanilla Tomcat 5.5.17 install on Windows/2000 Professional with JDK 1.5.0_08 (just rebuilt the system), and everything w

Re: how to get help if no answer from this list?

2006-02-20 Thread Mark Eggers
Dr. Exner, It helps to understand classloading in Tomcat. I just got Axis up and running on the following system. Windows/2000 Professional Java JDK 1.5.0_04 Tomcat 5.59 I will assume that this works the same on my Linux box (Fedora Core 4) since Apache is great in making cross-platform tools.

Re: users Digest 20 Feb 2006 20:29:12 -0000 Issue 6230

2006-02-21 Thread Mark Eggers
You might try using existing environment variables. %HOMEPATH% is the user's home path, but they might not like having temporary files stuffed into their Documents and Settings directory. Maybe "%HOMEPATH%\My Documents" wouldn't be too bad. Or, you could use the TMP or TEMP environment variable.

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Mark Eggers
> enableLookups="true" redirectPort="8443" /> Why enableLookups="true" ??? Also, Cocoon can be very resource-intensive depending on which blocks you've built. JSP under Cocoon 2.1.7 and JDK 1.5 is also problematic, see for example: http://issues.apache.org/jira/browse/COCOON-1457 I have so

Re: Sad: Tomcat 5.5.x crashes almost every single day.

2006-02-28 Thread Mark Eggers
e hit. /mde/ --- Tomasz Nowak <[EMAIL PROTECTED]> wrote: > Mark Eggers <[EMAIL PROTECTED]> wrote: > > > > > enableLookups="true" redirectPort="8443" /> > > > > Why enableLookups="true" ??? > > I use request.getRem

RE: Invoker servlet

2006-03-08 Thread Mark Eggers
For a general view: http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html For an example web.xml file: http://tomcat.apache.org/tomcat-5.5-doc/appdev/web.xml.txt For the specification: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ Basically you need to define your servl

Re: Upgrade to Tomcat 5.5 has broken my jndi

2006-03-08 Thread Mark Eggers
Document link: http://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html >From the document: The resources defined in this element are not visible in the per-web-application contexts unless you explicitly link them with elements. If you use a GlobalNamingResource element, you will th

Re: Tomcat taking too long to cycle through and come back up

2006-03-15 Thread Mark Eggers
More detail is definitely needed. In particular, you might look at what has changed in the application (not just the context file). Also, what else has changed in the environment? Typically, questions such as 1) "this used to work, but now it doesn't" and 2) "there must be a bug in Tomcat" don't

Re: How to reduce bandwidth (meaning message size) with Axis

2006-03-15 Thread Mark Eggers
XML-RPC and SOAP serve two different areas, but you might be able to cajole XML-RPC to accomplish what you want. . . . just some random thoughts while reading other documentation. /mde/ --- David Kerber <[EMAIL PROTECTED]> wrote: > Are there any adjustments I can do to my Axis > settings to re

RE: TomCat + mod_jk performance

2006-03-17 Thread Mark Eggers
There are lots of reasons to run Apache in front of Tomcat, and lots of reasons not to. This just depends on your use cases and web site. At any rate, here's one way to find out in your case if the Apache --> ajp13 --> Tomcat process is your bottleneck. 1. Get jmeter at http://jakarta.apache.org

Re: help please?

2006-03-27 Thread Mark Eggers
http://www.wickedlysmart.com/HeadFirst/HeadFirstDesignPatterns/HeadFirstPatternsIndex.html Grab the examples. I think the last ones have a full blown MVC example. One uses Spring and one is coded plain. Of course, any prof worth his or her salt is going to both read this mailing list and know t

Re: Site Configuration on 5.5.15 Pt 2

2006-05-08 Thread Mark Eggers
There are probably a couple of things going on here. On the name, do you really need Tomcat to respond to the host name of www? You probably just want Tomcat to respond to www.theuniquepear.com and theuniquepear.com. I don't think the www is necessary. It looks like www.theuniquepear.com is a C

Re: SSL not working on Tomcat

2006-11-07 Thread Mark Eggers
Did you try this with Firefox? IE has some problems with no-cache in the header or as a pragma. Later versions of Tomcat 5.5 set this. There is a mailing list thread concerning this: http://marc.theaimsgroup.com/?t=11180675668&r=1&w=2 along with some solutions. Hope this helps. /mde/ jus

RE: Virtual Hosts [mostly solved]

2006-12-28 Thread Mark Eggers
You may find that the default host loads all of the web applications. In order to solve this, make sure that each of the contexts are not some subdirectory of another context. You can use an absolute path to place this structure outside of your Tomcat installation. For large structures I th

RE: Newbie Installation Question

2005-10-19 Thread Mark Eggers
Tomcat comes as a binary. Just download the binary distribution. See: http://tomcat.apache.org/download-55.cgi#5.5.12 On linux, I normally create a special user for Tomcat and make it a mamber of the same group that the user that runs Apache is under. This is www for Fedora Core 4. I usually

Re: DST Issue

2007-03-18 Thread Mark Eggers
It's odd that you would have this issue on one server and not the other. By one hour off, do you mean the OS (as reported in the task bar) or some application running in Tomcat? If it's an application, then there is an issue with tzupdater that was announced on the Sun site just a few days before

Re: TCNative installation failed

2010-01-21 Thread Mark Eggers
I basically followed the same set of instructions for Tomcat 5.5.28 on Fedora 11 for compilation. I use the stock Sun JRE / JDK (1.6.0_18 32 bit), and the stock Apache Tomcat 5.5.28 downloaded from tomcat.apache.org. Compilation went normally, and I put the libraries (with symbolic links) into

Re: TCNative installation failed

2010-01-21 Thread Mark Eggers
2010, 7:12 PM > 2010/1/22 Mark Eggers : > >(...) > > In all four cases, the tcnative library failed to > load. In the first two cases, the INFO message indicated > that the library was not found in > /home/mdeggers/Apache/apache-tomcat-5.5.28/bin. In the last > two

Re: Tomcat dies suddenly

2010-02-03 Thread Mark Eggers
Carl, A couple of random thoughts . . . I'm not familiar with the Slackware monitoring tools, but I am with the various tools that come with Fedora / Redhat. One of the things that I've noticed with those GUI tools is that they add cache and buffers to the free memory total. Tools like top and

Re: Mod_JK connector configuration Error

2010-02-03 Thread Mark Eggers
apxs gets configuration information for apr and apr-utils, and httpd among other things. It does this by using pkg-config to find the libdir for apr, then prefixing that to httpd/build. For example, pkg-config --variable=libdir apr-1 on my system returns /usr/lib Then apxs looks in /usr/lib/ht

RE: Parameters disappear from PUTs

2010-02-03 Thread Mark Eggers
As a quick check, can you go into /etc/init.d/tomcat6 and at around line 68 you'll see: TOMCAT_SECURITY=yes If you're allowed to, change that line to: TOMCAT_SECURITY=no Then restart tomcat with: ../tomcat6 restart Of course, you have to be root to do this. On first glance, I don't see a se

RE: Tomcat dies suddenly

2010-02-04 Thread Mark Eggers
--- On Thu, 2/4/10, Caldarale, Charles R wrote: > > 6. Carl was using 32-bit Linux, which he isn't :( > > Correct, which made the whole point moot, so I'm not sure > why Dan even brought it up. > I just mentioned the 32-bit Linux behavior for completeness. I did state that I realized 32-bit L

Re: Tomcat dies suddenly

2010-02-06 Thread Mark Eggers
--- On Fri, 2/5/10, Carl wrote: Carl, > 1. The application runs fine on an older system. Do we have > the glibc and kernel versions for all systems? > > The old system: P4.  1GB memory, 1.3GB swap.  > Uses swap on a regular basis.  kernel is 2.4.25.  > Java is 1.5.0_01-b08.  Tomcat is 5.5.23. 

Re: tomcat install/testing help.

2009-07-18 Thread Mark Eggers
Tom, I tried responding to you off-line, but alaska.gov does not seem to like your mail address. Basically, it sounds like you have a permissions problem with the account under which Tomcat runs. By default, the Tomcat service runs as the Local System account, so that account needs appropria

Re: Trouble setting up virtual host

2009-07-27 Thread Mark Eggers
As usual, late to the thread. I'll use C) then: > > C) on another workstation : > > > >     - close the browser and re-open it. > >     - in the browser, find the place where you can "clear the cache". > >     - do it (clear the cache) > >     - request the URL : > >                >   http://a

Re: Frustrating refusal to serve *some* pages, scripts, images.

2009-06-08 Thread Mark Eggers
--- On Mon, 6/8/09, Zaq Rizer wrote: > WARNING: Unable to find configured definition > '/WEB-INF/tiles.xml' > Jun 8, 2009 3:35:00 PM > org.apache.tiles.factory.TilesContainerFactory > initializeContainer Just a random thought, which you've alluded to from your iPhone-posted message: Could the

Re: tc 7 out-of-box won't run localhost issue on 8005 a vulnerability?

2011-07-12 Thread Mark Eggers
> From: André Warnier > David Brown wrote: >> Hello, I have found a situation that kills tc on startup within about 3 >> seconds on a 64-bit cloud running Ubuntu server. localhost resolves >> correctly via dig but if we ping localhost it resolves to localhost.com. > > Sorry, but this sounds li

Re: mod_jk under RedHat ?

2011-07-14 Thread Mark Eggers
- Original Message - > From: André Warnier > To: Tomcat Users List > Cc: > Sent: Thursday, July 14, 2011 7:34 AM > Subject: Re: mod_jk under RedHat ? > > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> >> On 7/14/2011 8:06 AM, André Warnier

Re: Binary of mod_jk.so for Apache 2.2.x

2011-07-14 Thread Mark Eggers
- Original Message - > From: "Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2" > > To: Tomcat Users List > Cc: > Sent: Thursday, July 14, 2011 10:08 AM > Subject: RE: Binary of mod_jk.so for Apache 2.2.x > > Chris, something DID just dawn on me... > > I have my own account on that Linux

Re: Binary of mod_jk.so for Apache 2.2.x

2011-07-14 Thread Mark Eggers
- Original Message - > From: Christopher Schultz > To: Tomcat Users List > Cc: > Sent: Thursday, July 14, 2011 11:36 AM > Subject: Re: Binary of mod_jk.so for Apache 2.2.x > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jonathan, > > On 7/14/2011 1:08 PM, Leffingwell, Jonatha

Re: Binary of mod_jk.so for Apache 2.2.x

2011-07-15 Thread Mark Eggers
- Original Message - > From: "Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2" > > To: Tomcat Users List ; Mark Eggers > > Cc: > Sent: Friday, July 15, 2011 7:53 AM > Subject: RE: Binary of mod_jk.so for Apache 2.2.x > > There is no "apxs"

Re: mod_jk under RedHat ?

2011-07-15 Thread Mark Eggers
- Original Message - > From: Christopher Schultz > To: Tomcat Users List > Cc: > Sent: Friday, July 15, 2011 7:53 AM > Subject: Re: mod_jk under RedHat ? > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > André, > > On 7/15/2011 3:37 AM, André Warnier wrote: >> For both threads

Re: RedHat and mod_jk

2011-07-15 Thread Mark Eggers
I find it a bit odd as well. It appears that mod_jk was never really a part of Fedora. jpackage.org maintained an RPM for Apache 2.0 and RedHat platforms until about Fedora 3 or Fedora 4, and then it was dropped. I don't find a package in Fedora 14, RHELS 4, or RHELS5. I guess this could be ask

Re: Why we have duplicate JSESSIONIDSSO cookies ?

2011-07-15 Thread Mark Eggers
- Original Message - > From: Mathan Karthik > To: users > Cc: > Sent: Friday, July 15, 2011 11:51 AM > Subject: Why we have duplicate JSESSIONIDSSO cookies ? > > Why tomcat maintaining duplicate JSESSIONIDSSO cookies for the same hostname > and > context path? Is it a bug? > > Due t

Re: How can i change JSESSIONIDSSO cookie name?

2011-07-15 Thread Mark Eggers
- Original Message - > From: Mathan Karthik > To: users@tomcat.apache.org > Cc: > Sent: Friday, July 15, 2011 5:08 AM > Subject: How can i change JSESSIONIDSSO cookie name? > > Hi Guys, > > I have JSESSIONIDSSO cookie related problem. > > Currently I'm running two web applications i

Re: RedHat and mod_jk

2011-07-15 Thread Mark Eggers
- Original Message - > From: Rainer Jung > To: users@tomcat.apache.org > Cc: > Sent: Friday, July 15, 2011 12:24 PM > Subject: Re: RedHat and mod_jk > > On 15.07.2011 20:54, Mark Eggers wrote: >> I find it a bit odd as well. It appears that mod_jk was never

Re: How can i change JSESSIONIDSSO cookie name?

2011-07-15 Thread Mark Eggers
- Original Message - > From: Mathan Karthik > To: Tomcat Users List > Cc: > Sent: Friday, July 15, 2011 1:30 PM > Subject: Re: How can i change JSESSIONIDSSO cookie name? > > Hi Mark > > Thanks for your swift response. Sorry i missed to mention my tomcat version. > One > of my appli

Re: RedHat and mod_jk

2011-07-15 Thread Mark Eggers
- Original Message - > From: Christopher Schultz > To: Tomcat Users List > Cc: > Sent: Friday, July 15, 2011 12:55 PM > Subject: Re: RedHat and mod_jk > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mark, > > On 7/15/2011 2:54 PM, Mark Egg

Re: RedHat and mod_jk

2011-07-15 Thread Mark Eggers
- Original Message - > From: Christopher Schultz > To: Tomcat Users List > Cc: > Sent: Friday, July 15, 2011 9:09 PM > Subject: Re: RedHat and mod_jk > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Thad, > > On 7/15/2011 9:59 PM, Thad Humphries wrote: >> If you rely on RedHa

Re: How can i change JSESSIONIDSSO cookie name?

2011-07-16 Thread Mark Eggers
- Original Message - > From: Mathan Karthik > To: Tomcat Users List > Cc: > Sent: Saturday, July 16, 2011 12:49 AM > Subject: Re: How can i change JSESSIONIDSSO cookie name? > > Hi Mark > > Thanks for the response. > > > I have added > org.apache.catalina.authenticator.Constants.S

Re: RedHat and mod_jk

2011-07-18 Thread Mark Eggers
- Original Message - > From: André Warnier > To: Tomcat Users List > Cc: > Sent: Monday, July 18, 2011 8:33 AM > Subject: Re: RedHat and mod_jk > > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Mar

Re: URL/ URI/ TC(?) puzzle -- wrong non-error?

2011-07-22 Thread Mark Eggers
- Original Message - > From: Dennis de Champeaux > To: Tomcat Users List > Cc: > Sent: Friday, July 22, 2011 3:22 PM > Subject: Re: URL/ URI/ TC(?) puzzle -- wrong non-error? > >T his is the 2nd response with  >                      "You have a broken configuration". > Why are you guys

Re: Fwd: Re: Invalid command 'SHUTDOW' received

2011-07-23 Thread Mark Eggers
Replies inline: > From: Frederick Ouimet > Hi, > > Sorry for the delay in responding.  I think I managed to find the culprit. > > To answer your questions Konstantin: > 1- Windows 7, JDK and Tomcat are 32-bit > 2- from command prompt, chcp return code page 850 > 3- I change the shutdown string t

  1   2   3   4   5   6   7   8   >