Re: where to put jars used by several apps

2017-11-26 Thread Ray Holme
I see by your paths that you are an MS person. Your solution is clever but has the distribution problem that a war file may not be enough. For Unix based folks (MAC, Linux), there is a much easier solution. Put your common jars in some directory that you like (for me /opt/web_jars/acquired).

Re: Skip resource path in TLD scanner?

2017-11-17 Thread Ray Holme
I use JSP and there are taglibs used.But you can cut the scan time way down by not scanning any libraries that don't have TLDs (nested files with name => .tld)You can find this by using "jar t" or "unzip -l" on each library (thanks Chris). If you are a Unix (Linux or MAC) user you may cheat a

Re: stopping scanning of TLDs

2017-11-10 Thread Ray Holme
Thanks for your help Chris. Here is my final script to do this right. -/local/bin/tld_scan:#!/bin/bash - #    find tldS -    Ray Holme 2017 #      embedded spaces in filenames wreak havoc if [ $# -eq 0 ]; then   echo " usage $0 list-of-jar-files"   exit 1 fi VERBOSE=0 LIST= WORK=/

Re: stopping scanning of TLDs

2017-11-08 Thread Ray Holme
On 11/8/17 11:24 AM, Ray Holme wrote: > In a prior post, I asked if there was a way to see if a jar uses  a > tag library. Chris responded - look for ".tld" in the files. To clarify, I was responding to a question as to whether a JAR file *contained* a tag library, not that it u

Re: stopping scanning of TLDs

2017-11-08 Thread Ray Holme
atches Binary file tomcat-util-scan.jar matches I am just trying to find a reliable way to see if there is TAG library. On Wednesday, November 8, 2017 10:29 AM, Mark Thomas <ma...@apache.org> wrote: On 08/11/2017 12:59, Ray Holme wrote: > The following three are interestin

stopping scanning of TLDs

2017-11-08 Thread Ray Holme
Using Chris's algorithm, I searched for ".tld" in all jars used by both tomcat and my application extending it. The following two were in my .../WEB-INF/lib directory and needed to NOT be in the list of NOT-TO_SCAN   i.e. ...  they need to be scanned:  jasperreports-5.1.0.jar matches; 

Re: taglibs

2017-11-07 Thread Ray Holme
excluded. Nice! Thanks. Ray On Monday, November 6, 2017 10:54 AM, Mark H. Wood <mw...@iupui.edu> wrote: On Mon, Nov 06, 2017 at 10:13:42AM -0500, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Ray, > > On 11/6/17

Re: taglibs

2017-11-06 Thread Ray Holme
ESSAGE- Hash: SHA256 Ray, On 11/6/17 8:49 AM, Ray Holme wrote: > So according to Mark, taglibs must NOT be listed in the > catalina.properties file under > tomcat.util.scan.StandardJarScanFilter.jarsToSkip Mark informed us > that the below jstl... jars are both taglibs:  (jstl-api-1

Re: second INVALID email

2017-11-06 Thread Ray Holme
Thanks Chris. On Monday, November 6, 2017 9:27 AM, Mark Thomas <ma...@apache.org> wrote: On 06/11/17 13:55, Ray Holme wrote: > Whenever I submit an email to this group, I get a second email back > immediately from the group (or maybe myself) with my full email address AND

second INVALID email

2017-11-06 Thread Ray Holme
Whenever I submit an email to this group, I get a second email back immediately  from the group (or maybe myself) with my full email address AND a tacked on .INVALID i.e. the source is rayho...@yahoo.com.invalid Is this standard for everyone, or did something happen when the daemon configured my

taglibs

2017-11-06 Thread Ray Holme
So according to Mark, taglibs must NOT be listed in the catalina.properties file under  tomcat.util.scan.StandardJarScanFilter.jarsToSkip Mark informed us that the below jstl... jars are both taglibs:   (jstl-api-1.2.jar & jstl-impl-1.2.jar) Sooo - how do we determine if a jar we want to add is

Re: Peculiar problem (and solution) but WHY?

2017-11-06 Thread Ray Holme
2017 7:53 AM, Mark Thomas <ma...@apache.org> wrote: On 04/11/17 22:26, Ray Holme wrote: > We have a working application running under tomcat 8.5.13 > I have been trying to reduce start up time and reduce TLD scanning which was > taking too long. > By adding the jars in my ...

Peculiar problem (and solution) but WHY?

2017-11-04 Thread Ray Holme
We have a working application running under tomcat 8.5.13 I have been trying to reduce start up time and reduce TLD scanning which was taking too long. By adding the jars in my .../WEB-INF/ lib to the NO scan line in the catalina.properties file I got this under control ( a couple minutes went

Re: configuring jarscanner in 8.5 to ignore entire directory

2017-11-01 Thread Ray Holme
Andre: cute! As for jar scanning, I have been playing with that. I don't think you need full pathnames in the pattern (perhaps in the context file, but not in the properties file), but not sure. I did two things and am very pleased with the result.  a) in conf/context.xml:    b) in

Re: TLD scanning performance question

2017-10-25 Thread Ray Holme
And haveged works GREAT! Thanks Markus. On Wednesday, October 25, 2017 10:53 AM, "i...@flyingfischer.ch" wrote: > > Yes, it's the SecureRandom initialization that is killing you. Being a > virtual server, it likely has no direct source of true randomness so >

TLD scanning performance question

2017-10-25 Thread Ray Holme
I asked this question before (differently) and got some answers but now I think I understand what is really happening. I just want to confirm that I have finally understood what is happening. Given two Linux boxes running the same application, one is much slower starting  (think that  "slower"

Re: TLD startup issues

2017-10-24 Thread Ray Holme
wrote: 2017-10-23 23:17 GMT+03:00 André Warnier (tomcat) <a...@ice-sa.com>: > On 23.10.2017 21:30, Ray Holme wrote: >> >> I have two systems running Tomcat 8.5.13 on Linux >> >>    my development machine runs fully patched Fedora 26 >> >>    the

TLD startup issues

2017-10-23 Thread Ray Holme
I have two systems running Tomcat 8.5.13 on Linux    my development machine runs fully patched Fedora 26    the server I use is using Ubuntu 16.4.3 Both have identical catalina.properties files as well as context.xml files   The context file has a one line addition towards the end before the

Re: systemd tomcat script for Linux EL7

2015-06-05 Thread Ray Holme
That looks OK, but I would suggest the following. Put all the real stuff in a standard bash script with 3 parameters   start, stop, restart- pretty much like the OLD system 5 way fo doing things.This has the advantage of allowing you to add other things you might want to add AND executing the

Re: [OT] jar files - where - please explain

2015-06-04 Thread Ray Holme
For instance, most UNIX filesystems have symlinks and case-sensitive filesystems, and these checks would not be necessary. Plus, users in those environments are quite used to using symlinks in place of real files. Using Unix and Linux for a LONG time, love symlinks as they work across file

Re: [OT] jar files - where - please explain

2015-06-04 Thread Ray Holme
Inside the WAR or having the WAR as a symlnk? OK, I did a test and YES inside a WAR file  ${CATALINA_HOME}/webapps/Application/WEB-INF/lib/*.jarfiles ARE expanded if they are symbolic links to real files. (My bad for not testing before).Now I am really in trouble. I have an application which

Re: jar files - where - please explain

2015-06-03 Thread Ray Holme
you move a file over one of the links that the hard links are unlinked. Curious!   On Wednesday, June 3, 2015 8:47 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ray, On 6/2/15 6:42 PM, Ray Holme wrote: I have not seen

Re: jar files - where - please explain

2015-06-02 Thread Ray Holme
as all Microsoft versions I support only have one application running. Many thanks - I understand better why things are as they are. :=] On Tuesday, June 2, 2015 10:10 AM, Mark Thomas ma...@apache.org wrote: On 02/06/2015 14:52, David kerber wrote: On 6/2/2015 9:11 AM, Ray Holme wrote

jar files - where - please explain

2015-06-02 Thread Ray Holme
I have been using tomcat for a while and have several applications. Some jar files are specific to an application and make sense to be in .../webapps/APPLICATION/WEB-INF/lib and some are used in multiple applications so they need to appear in each applications lib. One shared jar file is my own

Re: jar files - where - please explain

2015-06-02 Thread Ray Holme
Currently using apache-tomcat-7.0.35. Not sure that matters as no behavior has changed in prior releases. On Tuesday, June 2, 2015 8:56 AM, Mark Thomas ma...@apache.org wrote: On 02/06/2015 12:42, Ray Holme wrote: I have been using tomcat for a while and have several applications

information: fedora/firefox/tomcat brain melt

2014-01-24 Thread Ray Holme
I run fedora and use firefox. I also update my system weekly using yum. Recently I was testing something (directory linking) on my own local web using tomcat and one application. I kept getting a total white screen with a particular test popup (using any of the 3 linking style and then even

Re: [OT] Out of memory exception - top posting

2014-01-24 Thread Ray Holme
On Friday, January 24, 2014 9:46 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris derham Subject: Re: [OT] Out of memory exception - top posting As long as you can visually distinguish the reply from the

Re: Out of memory exception

2014-01-23 Thread Ray Holme
Doing anything as root conceals the errors. Tomcat is no exception and changing it to a real user makes your testing complete. On Thursday, January 23, 2014 12:36 PM, Daniel Mikusa dmik...@gopivotal.com wrote: On Jan 23, 2014, at 11:38 AM, Randeep randeep...@gmail.com wrote: Hi all,

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Ray Holme
Unfortunately that will mean that all folks who use yahoo need to copy and paste all messages. I have tried reply and reply to conversation but with the new yahoo paradigm (a couple months ago, they changed things) - it no longer allows me to post inside of an email as it did in the past. I

Re: [OT] Out of memory exception - top posting

2014-01-23 Thread Ray Holme
On Thursday, January 23, 2014 3:41 PM, Mark Eggers its_toas...@yahoo.com wrote: Reply at the bottom . . . and one in-line for fun. On Thursday, January 23, 2014 12:22 PM, Ray Holme rayho...@yahoo.com wrote: Unfortunately that will mean that all folks who use yahoo need to copy

Re: serialization and newest tomcat

2014-01-18 Thread Ray Holme
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ray, On 1/12/14, 8:45 AM, Ray Holme wrote: [S]erialization causes some problems in apache-tomcat-7.0.35 I have several applications and run on fedora linux. I have used many releases of fedora and tomcat. My applications are characterized

Re: serialization and newest tomcat

2014-01-13 Thread Ray Holme
, Ray Holme rayho...@yahoo.com wrote: I haven't been following this thread, but I wanted to clarify a couple comments here just to make sure someone reading this in the future doesn't get the wrong ideas. serialization causes some problems in apache-tomcat-7.0.35 No.  What causes problems is when

Re: serialization and newest tomcat

2014-01-13 Thread Ray Holme
:38 AM, Ray Holme rayho...@yahoo.com wrote: OK, that makes perfect sense. We are NOT talking about SESSION objects (where I am defining session as login to logout of a USER as I mentioned before, perhaps you are defining this as while tomcat is up - I can see either def.). These type beans

Re: serialization and newest tomcat

2014-01-13 Thread Ray Holme
I have (in the past) dealt with transient so OK, makes sense. Not familiar with putting in container to shield from Apache serialization. Will look for writeup. Thanks. On Monday, January 13, 2014 10:12 AM, Johan Compagner jcompag...@servoy.com wrote: IS THERE A WAY TO STOP WARNINGS AND

Re: serialization and newest tomcat

2014-01-13 Thread Ray Holme
Nice, I do that for many things, but not all of it. You are right, I probably could do that. Nice food for thought! :=] On Monday, January 13, 2014 11:31 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Jan 13, 2014, at 8:37 AM, Ray Holme rayho...@yahoo.com wrote: OK, that makes

serialization and newest tomcat

2014-01-12 Thread Ray Holme
erialization causes some problems in apache-tomcat-7.0.35 I have several applications and run on fedora linux. I have used many releases of fedora and tomcat. My applications are characterized by    a) all use a DB (firebird)    b) all use both jsp and java servlets    c) all use transient java

Fw: apache tomcat serialization

2013-12-28 Thread Ray Holme
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ray, On 12/26/13, 12:14 PM, Ray Holme wrote: It appears new revisions of tomcat (current for sure) are much more sensitive to keeping serialized data BETWEEN restarts. I have to wait at least 30 minutes to properly restart my applications. 30 minutes

Fw: apache tomcat serialization

2013-12-27 Thread Ray Holme
On Thursday, December 26, 2013 6:10 PM, Mark Thomas ma...@apache.org wrote: On 26/12/2013 17:14, Ray Holme wrote: It appears new revisions of tomcat (current for sure) are much more sensitive to keeping serialized data BETWEEN restarts. I have to wait at least 30 minutes to properly

Fw: apache tomcat serialization

2013-12-27 Thread Ray Holme
On Thursday, December 26, 2013 6:10 PM, Mark Thomas ma...@apache.org wrote: On 26/12/2013 17:14, Ray Holme wrote: It appears new revisions of tomcat (current for sure) are much more sensitive to keeping serialized data BETWEEN restarts. I have to wait at least 30 minutes to properly

apache tomcat serialization

2013-12-26 Thread Ray Holme
It appears new revisions of tomcat (current for sure) are much more sensitive to keeping serialized data BETWEEN restarts. I have to wait at least 30 minutes to properly restart my applications. In the OLD days $CATALINA_HOME/work/Catalina/localhost/appName/*.ser was where things were kept and

Re: timing is everything when starting - a 32 bit question

2013-12-19 Thread Ray Holme
scripts with a lot of local cleaning and some other required processes coming up and down as needed. Posting the tomcat.service script for those interested. On Sunday, December 15, 2013 5:55 PM, Ray Holme rayho...@yahoo.com wrote: OK, the init.d script was probably very old and it looks like I

Re: linking (limiting???)

2013-12-19 Thread Ray Holme
aliases as they may work on a MS OS. Thanks again. On Wednesday, December 18, 2013 12:41 PM, Ray Holme rayho...@yahoo.com wrote: Chris, You may have hit the nail on the head. While I have 4 working tomcat applications, I am a C/Java/SQL programmer and Unix admin person (ex IBM system BAL

Re: linking (limiting???)

2013-12-18 Thread Ray Holme
Holme rayho...@yahoo.com wrote: I think I found out how to reply inline usine yahoo. I hope. Trying anyway - NO, it will not let embed replies. BS.. I will copy paste. Inline - per my usual: Yes Doc. On 12/17/2013 10:23 AM, Ray Holme wrote: First: Thanks for clarifying my understanding of XML

Re: linking (limiting???)

2013-12-18 Thread Ray Holme
: SHA256 Ray, On 12/17/13, 1:23 PM, Ray Holme wrote: HTTP Status 404 - /appName/appName_tour/appNamev3.html type Status report message /appName/appName_tour/appNamev3.html description The requested resource is not available. Apache Tomcat/7.0.35 you're a few versions behind. Unless

Re: linking (limiting???)

2013-12-17 Thread Ray Holme
or at the end, so people late to the party (or those of us with short / fragmented memory :-p) can remember what's going on. On 12/16/2013 1:00 PM, Ray Holme wrote: I have been trying three scenarios. So far one works (least security and not good for all OS versions). Again thanks to both Marks

Re: linking (limiting???)

2013-12-17 Thread Ray Holme
I think I found out how to reply inline usine yahoo. I hope. Trying anyway - NO, it will not let embed replies. BS.. I will copy paste. Inline - per my usual: Yes Doc. On 12/17/2013 10:23 AM, Ray Holme wrote: First: Thanks for clarifying my understanding of XML tags AND FIXING my typo

Re: linking (limiting???)

2013-12-16 Thread Ray Holme
I have been trying three scenarios. So far one works (least security and not good for all OS versions). Again thanks to both Marks for the pointers, but I am afraid they are not working yet. My goal is to enable one directory to be used which is outside the application (and tomcat too)   

timing is everything when starting - a 32 bit question

2013-12-15 Thread Ray Holme
I have a rc.local file setup to auto start tomcat and httpd under fedora 18 boot. It works fine on my 64 bit system (and a couple others for a friend)   but there MUST BE a sleep before bringing up httpd (for some reason I forgot). start routine in /etc/init.d/rc.local    S95tomcat start   

linking (limiting???)

2013-12-15 Thread Ray Holme
I am a Linux user and love linking things to reduce copies. Apache/Tomcat (by default) does not allow symbolic linking (nice as it can cross mounted file systems) except in the top apache/lib directory. I use hard links in the Application/WEB-INF/lib directories to reduce copying and help me

slim and trim tomcat - which java is needed

2013-12-15 Thread Ray Holme
I have discovered that under the conf/localhost and webapps directories, all of the release directories and xml files can be removed, leaving just the application(s) you want running. I could b wrong but I think this also closes some possible security issues, besides keeping a smart-cookie from

Re: slim and trim tomcat - which java is needed

2013-12-15 Thread Ray Holme
Thanks Chuck for hitting the nail on the head - I should have read that first. On Sunday, December 15, 2013 11:56 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ray Holme [mailto:rayho...@yahoo.com] Subject: slim and trim tomcat - which java is needed So do we need

Re: linking (limiting???)

2013-12-15 Thread Ray Holme
, 15 Dec 2013 12:41:55 -0800 From: its_toas...@yahoo.com To: users@tomcat.apache.org Subject: Re: linking (limiting???) On 12/15/2013 8:34 AM, Ray Holme wrote: I am a Linux user and love linking things to reduce copies. Apache/Tomcat (by default) does not allow symbolic linking (nice

Re: timing is everything when starting - a 32 bit question

2013-12-15 Thread Ray Holme
: Note, this is almost all off-topic, since it concerns system administration and not Tomcat. Note, I'm also comparing this to Fedora 19. Fedora 18 should be EOL in about 5 weeks. On 12/15/2013 7:51 AM, Ray Holme wrote: I have a rc.local file setup to auto start tomcat and httpd under fedora 18

Re: Strange compilation dates for JSPS

2013-02-12 Thread Ray Holme
compilation dates for JSPS 2013/2/12 Ray Holme rayho...@yahoo.com: While debugging a problem in Tomcat 7.0.35 (just upgraded), I noted OLD files in the work/Catalina/localhost/APP/org/apache/jsp directory. I thought I had cleaned things out to make sure all was rebuilt. So I manually stopped

Re: upgraded fedora and mod_jk will not work

2012-03-24 Thread Ray Holme
, 2012 1:33 PM Subject: Re: upgraded fedora and mod_jk will not work Ray Holme wrote: I have recently upgraded from Fedora 14 to Fedora 16. I am testing 4 tomcat applications on the local web (and one plain apache app.) on one box (no other tricks like multiple servers ...). The below should

Re: upgraded fedora and mod_jk will not work

2012-03-24 Thread Ray Holme
PS - the answer to my original question about which linux ports had to be enabled is: 80   (if you want another machine to get at the port) - the other four ports are internal and do not need firewall access   (8005, 8009, 8080, 8443) over and out on this one.

upgraded fedora and mod_jk will not work

2012-03-23 Thread Ray Holme
I have recently upgraded from Fedora 14 to Fedora 16. I am testing 4 tomcat applications on the local web (and one plain apache app.) on one box (no other tricks like multiple servers ...). The below should pretty well describe everything I think matters. I was running Tomcat 6.0.29 and then

Re: upgraded fedora and mod_jk will not work

2012-03-23 Thread Ray Holme
(had to strip final binary to make it work at all - not mentioned) What do you mean? I mean that the built binary was NOT stripped and would not work (apache complained about loading it - sorry I forgot the message). I simply did strip mod_jk.so and the size went down by a factor of 4 and

Re: upgraded fedora and mod_jk will not work

2012-03-23 Thread Ray Holme
Andre - good information. Thanks but still in the weeds here. Depends how long Tomcat and your applications need to start up and be ready to answer requests. makes sense. since httpd is NOT coming up on boot as it should, I will make it second   with a preceding sleep and background the

Re: tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
thanks - removed On Mon, 2009-02-02 at 14:46 +0100, Felix Schumacher wrote: Hi Ray, On Mon, February 2, 2009 1:59 pm, Ray Holme wrote: I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications

Re: tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
http://www.boplicity.net On Mon, Feb 2, 2009 at 13:59, Ray Holme rho...@roadrunner.com wrote: I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications and with ALL methods as static SEEMS

tomcat 5 and the JVM

2009-02-02 Thread Ray Holme
I run tomcat 6 on Linux and have multiple applications in development mode. From my testing I have discovered that a Java bean shared by all applications and with ALL methods as static SEEMS to have a separate instance for each appliction - i.e. getDebugLevel() returns 0 from the 2nd

Tomcat 6 on Linux - session - DB connections and other shared resources

2009-02-01 Thread Ray Holme
I have a few web applications being moved to tomcat. They all share some commonality - I use Firebird not MySQL; I built my own ConnectionManager long ago; and all three have an Application wide bean for shared resources. Each user has a UserInfo bean (whether or not they log in is important and