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).
The
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 li
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=/
this makes it easy in linux or mac land
for i in *.jar; do echo scanning $i; jar tf $i | grep "\.tld"; sleep 1; done
On Wednesday, November 8, 2017 3:27 PM, Christopher Schultz
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Ray,
On 11/8/17 11:24 AM, Ray Holme wro
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
wrote:
On 08/11/2017 12:59, Ray Holme wrote:
> The following three are interesting as they are in the tomcat d
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; jstl-impl
excluded.
Nice! Thanks.
Ray
On Monday, November 6, 2017 10:54 AM, Mark H. Wood 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 9:48 AM, Ray Holme wrote:
> >
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.2.jar &
> jstl-i
Thanks Chris.
On Monday, November 6, 2017 9:27 AM, Mark Thomas 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 a
> tacked on .INVA
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
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
2017 7:53 AM, Mark Thomas 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 .../WEB-INF/ lib to t
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 do
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 catalina.pro
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
> it needs to pull from wha
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" mac
GMT+03:00 André Warnier (tomcat) :
> 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 server I use is using Ubuntu 16.4.3
>>
>
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 en
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 sc
>> 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 acr
>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 ha
; and all hard links remain. It is ONLY when 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
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Ray,
On 6/2/15 6:42 PM, Ray Holme wrot
is OK
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 wrote:
On 02/06/2015 14:52, David kerber wrote:
> On 6/2/2015 9:11 AM, Ray Holme wrote:
>
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 wrote:
On 02/06/2015 12:42, Ray Holme wrote:
> I have been using tomcat for a while and have several applications. Some
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
On Friday, January 24, 2014 9:46 AM, "Caldarale, Charles R"
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 original,
> does it
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 nor
On Thursday, January 23, 2014 3:41 PM, Mark Eggers
wrote:
Reply at the bottom . . . and one in-line for fun.
> On Thursday, January 23, 2014 12:22 PM, Ray Holme wrote:
> > Unfortunately that will mean that all folks who use yahoo need to copy and
> > paste
> all mes
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.
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
wrote:
On Jan 23, 2014, at 11:38 AM, Randeep wrote:
> Hi all,
> Thanks a lot for valuable points. Here the
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
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
wrote:
On Jan 13, 2014, at 8:37 AM, Ray Holme wrote:
> OK, that makes perfect sense. We are NOT talking ab
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
wrote:
>IS THERE A WAY TO STOP WARNINGS AND TELL TOMCAT NOT TO
anuary 13, 2014 8:38 AM, Ray Holme 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
ting warnings in the log file when I don't
mark them as serialisable.
IS THERE A WAY TO STOP WARNINGS AND TELL TOMCAT NOT TO SERIALIZE A BEAN?
Right now, I have stopped warnings but caused other problems.
On Monday, January 13, 2014 8:08 AM, Daniel Mikusa
wrote:
On Jan 12, 2014, at
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
,
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 to shut-down or 30 minutes to start-
On Thursday, December 26, 2013 6:10 PM, Mark Thomas 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 r
On Thursday, December 26, 2013 6:10 PM, Mark Thomas 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 r
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
aliases as they may work on a MS OS.
Thanks again.
On Wednesday, December 18, 2013 12:41 PM, Ray Holme 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 programmer). I am
d shutdown 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 wrote:
OK, the init.d script was probably very old and it looks like I nee
: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 there is a particular r
, Ray Holme 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 tags A
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 t
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 for
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)
.../w
at the end:
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 h
:
> Date: Sun, 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.
> >
> > Apach
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"
wrote:
> From: Ray Holme [mailto:rayho...@yahoo.com]
> Subject: slim and trim tomcat - which java is needed
> So do we need th
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
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
ma
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
(sle
OK, now it all makes sense. Thanks for opening my eyes. The comments in the
.java file say it ALL.
From: Konstantin Kolinko
To: Tomcat Users List
Sent: Tuesday, February 12, 2013 10:57 AM
Subject: Re: Strange compilation dates for JSPS
2013/2/12 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.
ject: 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 pretty
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 wh
> (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
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 6.
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 Ja
ou almost always have a flaw in your code.
>
> Cheers,
> Kees de Kooter
> http://www.boplicity.net
>
>
>
> On Mon, Feb 2, 2009 at 13:59, Ray Holme wrote:
> > I run tomcat 6 on Linux and have multiple applications in development
> > mode. From my testing I have
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 applicati
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
63 matches
Mail list logo