A profiler has its place. VisualVM was vital in helping us solve a Java 8
memory leak last November (although it didn't involve Tomcat). We were
moving a large, long running system from old Solaris machines with
InformixDB to Intel hardware with SELinux and OracleDB. Part of the
system's workflow
On Tue, Aug 23, 2022 at 10:18 AM Mark Thomas wrote:
> On 23/08/2022 14:12, Thad Humphries wrote:
> > I'm trying to understand a problem I'm having with Tomcat Native since
> > moving from 1.2.x to 2.0.
> >
> > For several years I have been running Tomcat 9
I'm trying to understand a problem I'm having with Tomcat Native since
moving from 1.2.x to 2.0.
For several years I have been running Tomcat 9.0.12 in Eclipse and 9.0.37
for localhost on my home and office Mac Mini's with macOS 10.15.7 Catalina.
Both use OpenJDK 8 from Amazon. To support
What is your use for SHA-1? Are you using it in your own code, like
`MessageDigest.getInstance("SHA-1")` or do you have signed JARs? Or maybe
certificates that use SHA-1? (though I don't think those have been a thing
for quite some time)
java.security.MessageDigest for Java 8 supposed to support
On Tue, Feb 18, 2020 at 6:29 PM Mark Thomas wrote:
> On 18/02/2020 23:13, Thad Humphries wrote:
> > On Tue, Feb 18, 2020 at 5:41 PM Mark Thomas wrote:
> >> On 18/02/2020 22:32, calder wrote:
> >>> On Tue, Feb 18, 2020, 14:12 Thad Humphries
>
>
>
>
On Tue, Feb 18, 2020 at 5:41 PM Mark Thomas wrote:
> On 18/02/2020 22:32, calder wrote:
> > On Tue, Feb 18, 2020, 14:12 Thad Humphries
> wrote:
> >
> >> I am trying to understand how to build and run an app from local with
> >> Tomcat 9 embedded using Ja
I am trying to understand how to build and run an app from local with
Tomcat 9 embedded using Java 8. I've started with this example written for
Tomcat 7:
https://www.oracle.com/webfolder/technetwork/tutorials/obe/java/basic_app_embedded_tomcat/basic_app-tomcat-embedded.html#overview
I am able to
On Thu, Oct 10, 2019 at 2:08 PM David Cleary wrote:
> Have a customer asking about this. I see Tomcat supports it here.
> https://tomcat.apache.org/tomcat-9.0-doc/config/cookie-processor.html
>
> We currently use defaults, so I'm looking for an XML fragment and the file
> it goes in to add the
On Sat, Aug 17, 2019 at 9:23 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Thad,
>
> On 8/17/19 17:06, Thad Humphries wrote:
> > I have installed Tomcat 8.5.43 as a server under Eclipse 2019-06
I have installed Tomcat 8.5.43 as a server under Eclipse 2019-06 (4.12.0).
I've encountered a problem with Chrome Canary Version 78.0.3886.0 which
installed today, August 17th, 2019.
When beginning the session with my server, Chrome will not honor the
JSESSIONID cookie. In the Chrome console is
On Wed, May 17, 2017 at 9:25 PM, Israel Timoteo wrote:
> Hi all,
>
> My environment is Tomcat 8.5.12, Java 1.8.0_112 running on macOS 10.12 and
> planning to update Tomcat to 8.5.15.
>
> I’m wondering if I can get comments from the community for my questions
> below?
>
>
> 1)
For the record, this problem has been fixed in Tomcat 8.5.3 (see
https://bz.apache.org/bugzilla/show_bug.cgi?id=59564).
I have also been able to upload files using Apache Commons FileUpload 1.3.1.
On Fri, May 6, 2016 at 12:32 PM, Thad Humphries <thad.humphr...@gmail.com>
wrote:
> I ha
I am getting a null returned from HttpServletRequest.getParts() HTTP/2 and
multipart (see http://bit.ly/1TzXd9k). This happens in my own code, as well
as when I try to upload a *.WAR though the manager/html web page. Other
than configuring the connector and the upgrade protocol (see below), what
I have lifted from the GlassFish tutorial a simple file upload servlet
example. When I run this with Tomcat 8.5 and HTTPS (Http11NioProtocol), it
works fine, uploading a file to the /tmp directory:
...
protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
I have lifted from the GlassFish tutorial a simple file upload servlet
example. When I run this with Tomcat 8.5 and HTTPS (Http11NioProtocol), it
works fine, uploading a file to the /tmp directory:
...
protected void processRequest(HttpServletRequest request,
HttpServletResponse response)
ions (the video was useful,
too).
So, for the record--and I hope I've labeled them correctly--I have gotten
the configurations below to come up on Mac OSX 10.10.5 with Java 1.8.0_77.
My OpenSSL is 1.0.2g 1 Mar 2016, and my Tomcat native library is 1.2.5,
both installed with Homebrew.
On Tue, Apr 5, 2016 at 4:25 PM, Rémy Maucherat <r...@apache.org> wrote:
> 2016-04-05 15:11 GMT-05:00 Thad Humphries <thad.humphr...@gmail.com>:
>
> > My primary interest in Tomcat 8.5 is HTTP/2, so I must set up HTTPS and
> > TLS.
> >
> > Since I eve
My primary interest in Tomcat 8.5 is HTTP/2, so I must set up HTTPS and TLS.
Since I eventually must demonstrate the various HTTPS approaches to others,
I have tried both the APR and the NIO implementation, as well as the
different layouts in the docs (
On Tue, Apr 5, 2016 at 2:53 AM, Mark Thomas <ma...@apache.org> wrote:
> On 04/04/2016 23:10, Thad Humphries wrote:
> > In docs/config/http.xml, lines #1430 and #1648 use
> "certificateValidation".
> > However when I go to "#SSL_Suppor
In docs/config/http.xml, lines #1430 and #1648 use "certificateValidation".
However when I go to "#SSL_Support_-_SSLHostConfig" I find the attribute
"certificateVerification", *not *"certificate*Validation*". I think one or
the other is an error (and I think "certificateVerification" is the
On Fri, Mar 25, 2016 at 6:13 PM, Mark Thomas wrote:
> Hello,
> Mark Thomas changed the time for this WebEx meeting.
>
> *Introducing Apache Tomcat 8.5*
> Wednesday, 30 March 2016
> 10:00 | GMT Summer Time (London, GMT+01:00) | 1 hr
>
> *Join WebEx meeting*
>
The servlet that gets the image is the src for the image. The servlet
should return the correct MIME type for the image (image/jpeg, image/png,
etc). Update the src attribute and the image should update. That's how I do
it. However I'm not writing straight JavaScript. You should put your
question
On Sun, Jan 11, 2015 at 10:18 AM, Felix Schumacher
felix.schumac...@internetallee.de wrote:
Am 11.01.2015 um 12:24 schrieb Christoph P.U. Kukulies:
I'm installing OpenCms 9.5.0 (www.opencms.org) under tomcat 6.0.32 and
during setup I'm getting a warning saying that
Your system uses
On Wed, Mar 27, 2013 at 6:09 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Thad,
On 3/27/13 5:20 PM, Thad Humphries wrote:
On Tue, Mar 26, 2013 at 3:56 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
Thad
On Tue, Mar 26, 2013 at 3:56 PM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Thad,
Coming a little late to the party...
On 3/24/13 4:30 PM, Thad Humphries wrote:
I have a web-app that uses a servlet for downloading files from
On Sun, Mar 24, 2013 at 4:46 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2013/3/25 Thad Humphries thad.humphr...@gmail.com:
I have a web-app that uses a servlet for downloading files from a
repository--PDF, Office, images, zip, etc. It works with desktop
browsers--IE, Firefox
On Mon, Mar 25, 2013 at 10:02 AM, Brett Delle Grazie
brett.dellegra...@gmail.com wrote:
On 25 March 2013 13:00, Thad Humphries thad.humphr...@gmail.com wrote:
On Sun, Mar 24, 2013 at 4:46 PM, Konstantin Kolinko
knst.koli...@gmail.comwrote:
2013/3/25 Thad Humphries thad.humphr
I have a web-app that uses a servlet for downloading files from a
repository--PDF, Office, images, zip, etc. It works with desktop
browsers--IE, Firefox, Chrome, and Safari--on their various platforms. It
also works fine with Firefox from Android (2.3 and 4.x tested). However
when I try with
[=FILE], but not an apxs2.
On Sun, Jun 3, 2012 at 6:01 PM, Thad Humphries thad.humphr...@gmail.com
wrote:
On Sun, Jun 3, 2012 at 2:44 AM, Sharon S Sreedh sharonkai...@gmail.com
wrote:
Hi,
I was tring to build tomcat-connectors but it doesnt come in success. I
tried a number
On Sun, Jun 3, 2012 at 2:44 AM, Sharon S Sreedh sharonkai...@gmail.comwrote:
Hi,
I was tring to build tomcat-connectors but it doesnt come in success. I
tried a number of times.. But all the time it ends up error. Please sugest
me a way to make this win.
On Thu, Mar 15, 2012 at 11:12 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thad,
On 3/15/12 9:39 AM, Thad Humphries wrote:
Thanks. I hope I did this right. (Google is my friend, correct?) If
not, please tell me what I should
Since October of last year, I have run the mod_jk connector v. 1.2.32. I
built the connector myself using Apache 2.2.15's apxs (I also built Apache
myself).
Today I downloaded, built, and installed the latest mod_jk connector, v.
1.2.33 (
Did you restart Tomcat after changing/adding the tomcat-users.xml file?
On Mon, Nov 14, 2011 at 2:18 PM, Justin Larose justin.lar...@nexweb.orgwrote:
Question: I upgraded my Tomcat version to 6.0 using the
apache-tomcat-6.0.33.exe file and I am trying to access the manager and the
status
Ask your programmer to write a servlet that reads the image and writes it to
the output stream (ServletResponse.getOutputStream()). They should call
ServletResponse.setContentType(image/jpeg) before they write (or whatever
the MIME type is--image/png, image/gif, etc.).
I recommend they also check
http://tomcat.apache.org/whichversion.html
On Thu, Jul 21, 2011 at 1:27 PM, Dark Before Dawn
dark.before.d...@gmail.com wrote:
Hi guys,
I am reading this list for a few weeks now. And I wonder where the
differences between different Tomcat versions ie 5.X , 6.X and 7.X are.
Since versions
On Sat, Jul 16, 2011 at 12:09 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thad,
On 7/15/2011 9:59 PM, Thad Humphries wrote:
If you rely on RedHat, Novell, OpenSuSE, Unbuntu, etc. you can wait
for some things until you
If you are sending binary data--say because you user is downloading a file,
or your servlet is writing a image--you need to open a
javax.servlet.ServletOutputStream (
http://download.oracle.com/javaee/6/api/javax/servlet/ServletOutputStream.html
).
On Fri, Jul 15, 2011 at 11:23 AM, Paritosh Patel
It's been my experience that it's best *not* to rely on the distro for any
mission critical piece of software. Either download the binary from a
trusted source or build it yourself. If you rely on RedHat, Novell,
OpenSuSE, Unbuntu, etc. you can wait for some things until you are old and
gray.
How large are the files in question, and how long until the timeout? My app
does *a lot* of file uploading (and downloading), and I have not run across
this in the years I've used Tomcat. That's been since v3, but maybe I've
just never hit that limit.
Also, are you using a library like the Apache
So your images are being stored to a database. As blobs? That's a difference
between our apps: I store the images to a repository and keep a short record
of the in a database.
I can't advise you on Tomcat, but if the database is the bottleneck, a
workaround might be to write your images to
André,
I believe the file upload you are talking about is the FileUpload project
from the Apache Commons: http://commons.apache.org/fileupload/
This does indeed have a disk-based implementation of an upload file. The
package is org.apache.commons.fileupload.disk and it implements the
project's
All Tomcat requires is the Java JRE. For the versions, see
http://tomcat.apache.org/whichversion.html
My recommendation is to save yourself a lot of grief by not relying on your
Linux distro for either Java or Tomcat. Pick the versions of each that you
want/require, download them from Oracle and
I'd store the image to java.io.tmpdir and retrieve it with a servlet. I
doing this now with my Ajax application.
On Thu, May 5, 2011 at 2:19 PM, alexis alz...@gmail.com wrote:
Hello all, im facing an issue, ive been testing for a while different
approaches without success.
I have a servlet
Just a guess, but maybe by adding it to
$CATALINA_HOME/webapps/ROOT/WEB-INF/web.xml and putting the error page in
$CATALINA_HOME/webapps/ROOT
On Tue, Mar 22, 2011 at 10:54 AM, Jonathan Rosenberg shmol...@gmail.comwrote:
How can I create a custom 404 error page for the case where the URL
maps
While doing some SSL research last week, I stumbled on this:
https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration
If you wish to secure the entire tomcat installation (which can be done
regardless of how you provide SSL), add the
I've been fooling around *a lot* lately with SSL, so I thought I'd give this
a try. I'm not very experienced, but I'll offer my two cents.
First of all, what version of Tomcat, Java, etc. are you running? Such a
statement is *de rigueur* for practically any question to this forum. My
system
Is listener in the proper place? I think order matters in web.xml. I load
2 listeners after my app's description and before my servlet tags.
On Wed, Nov 3, 2010 at 12:14 AM, Will Sumekar will.sume...@gmail.comwrote:
Hi
When I put these lines:
listener
listener-class
There's a Mac mini in our QA shop that is running this version of Java with
Tomcat 6.0.26 and testing my app without a problem.
On Mon, Nov 1, 2010 at 1:55 PM, Rob Tanner rtan...@linfield.edu wrote:
Hi,
While I run production on Linux servers, I do my development on my iMac.
Last week, I ran
Are you sure it's Tomcat doing the caching? I've found that both Firefox
and IE will cache CGI, JSP, servlet, and other dynamic results. This has
been true going back to when the old Mozilla 1.x had a preference for
*never* caching.
For GET calls were the results underlying content might change
What happens on the browser end is entirely up to the user. It's subject to
the browser they are using, whatever browser plug-ins they've installed, and
how they've set those plug-ins.
On Tue, Jun 29, 2010 at 3:08 PM, Dola Woolfe dolac...@yahoo.com wrote:
Hi,
I set
Comment inline below.
On Tue, Jun 29, 2010 at 3:23 PM, Zachary Valentiner
zvalenti...@gmail.comwrote:
Hi Dola,
Setting the content type to application/octet-stream will force a
download. If I recall my headers correclty, setting application/pdf is as
close as you can get to telling it to
Exactly right, Hassan. I think it is extremely unwise to leave any critical
portion of one's system--personal, development, or production--at the hands
of the distro. I've used Linux for over a decade, and install Apache, Java,
Tomcat, etc. by hand. ALWAYS. Oft times I build Apache myself.
On
Rainer,
I wasn't aware of this library, but it looks very handy. Currently I a
properties file in my WAR file. Being able to make changes to an external
file with fallback to this one would be good. My questions where one might
put that external file where it could be found by a servlet. The
On my Mac (10.5.8), I'd find it in
/Library/Tomcat/work/Catalina/localhost/[my-web-app]/org/apache/jsp
On Wed, Apr 28, 2010 at 9:41 AM, laredotornado laredotorn...@gmail.comwrote:
Hi,
I'm using Tomcat 6.0.26 on Mac 10.6.3. I'm troubleshooting a
NullPointerException occurring in one of my
That was me, but I had a different problem. (1) I was running Tomcat
6.0.26; and (2) my servlet could find the classes, but the
IteratorImageReader returned by ImageIO.
getImageReadersByFormatName(tiff) returned false for hasNext().
On Mon, Apr 26, 2010 at 6:49 PM, Stephen Souness
I agree with Pidster--remove the other JAI jars.
I use JAI and JAI ImageIO in my application. I have three JAI jar files in
my WEB-INF/lib directory: jai_codec.jar, jai_core.jar, and jai_imageio.jar
If you need JAI in $JAVA_HOME, I recommend you install a second copy of the
JDK without JAI,
This looks to be a feature of Java HotSpot, and available since v1.4:
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
On Tue, Apr 13, 2010 at 4:19 PM, Gregor Schneider rc4...@googlemail.comwrote:
On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin
jon.bris...@npcinternational.com wrote:
I believe I'm seeing the same problem that Simone (msg #210515) is having
(this after running Tomcat for YEARS without a hitch).
I use JAI and JAI-IMAGE I/O in various servlets. I'm running Java 1.5.17
without the JAI or JAI-IMAGE I/O installed. I've put jai_codec.jar,
jai_core.jar, and
19:38, Thad Humphries wrote:
I believe I'm seeing the same problem that Simone (msg #210515) is having
(this after running Tomcat for YEARS without a hitch).
I use JAI and JAI-IMAGE I/O in various servlets. I'm running Java 1.5.17
without the JAI or JAI-IMAGE I/O installed. I've put
wrote:
From: Thad Humphries [mailto:thad.humphr...@gmail.com]
Subject: Re: Problems with ImageIO
JreLeakPreventionListener ?
I believe Mark was suggesting that you try disabling the
JreMemoryLeakPreventionListener in conf/server.xml, just in case it was
interfering with the JAI registration
On Wed, Apr 7, 2010 at 4:05 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Thad Humphries [mailto:thad.humphr...@gmail.com]
Subject: Re: Problems with ImageIO
Thanks, Chuck, Mark. That fixed it.
There are several attributes that can be toggled on and off
61 matches
Mail list logo