Re: reloading context with manager-script

2024-03-12 Thread Greg Huber
Running it on the browser I get Content-Type : text/plain;charset=utf-8 On 11/03/2024 18:17, Christopher Schultz wrote: Mark, On 3/10/24 08:49, Mark Thomas wrote: On 10/03/2024 10:50, Greg Huber wrote: Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application

Re: reloading context with manager-script

2024-03-10 Thread Greg Huber
OK, thanks. Something I can deal with in my app. On Sun, 10 Mar 2024 at 12:49, Mark Thomas wrote: > On 10/03/2024 10:50, Greg Huber wrote: > > Hello, > > > > Using http://tomcat/manager-app/text/reload?path=/ > > > > When I reload an application (in java), I

reloading context with manager-script

2024-03-10 Thread Greg Huber
Hello, Using http://tomcat/manager-app/text/reload?path=/ When I reload an application (in java), I get a reply OK - Reloaded application at context path [/] but when the application is not present I get this reply: FAIL - No context exists named [] Is it intentional that the fail shows the

Re: Tomcat taglibs 2.0.0 release?

2024-02-05 Thread Greg Huber
I was testing struts 7 (tomcat 10) and I also use jstl for my 404,403s etc (when I have no struts context) ie thrown from web.xml: 403 /WEB-INF/jsp/errors/403.jsp Previously on this list it mentioned using the glassfish version. Think glassfish is eclipse? org.glassfish.web

Re:

2023-11-07 Thread Greg Huber
07/11/2023 08:05, Greg Huber wrote:  >> The "i.e. everything NOT under WEB-INF/lib or WEB-INF/classes" is irrespective of which resource collection it is in. So JARs >> from PostResources won't be cached. OK sorry missed the not. Although I am mapping in post resources

Re:

2023-11-07 Thread Greg Huber
all the target/classes folder which are mapped under /WEB-INF/classes in post resources. Cheers Greg On 06/11/2023 12:19, Mark Thomas wrote: On 06/11/2023 10:57, Greg Huber wrote:  >> The maximum useful size will be the total size of static resources (i.e. everything NOT under WE

Re:

2023-11-06 Thread Greg Huber
b +5mb). Thanks On 06/11/2023 09:43, Mark Thomas wrote: On 05/11/2023 17:23, Greg Huber wrote: Thanks Mark and Chris. I have not noticed any slowness yet. There are alot of jars (approx 160), but the target/classes folder are my app's classes that I am working on.  These can chan

Re:

2023-11-05 Thread Greg Huber
istopher Schultz < ch...@christopherschultz.net> wrote: > Greg and Mark, > > On 11/5/23 09:31, Mark Thomas wrote: > > On 05/11/2023 10:18, Greg Huber wrote: > >> OK thanks, the docs mention "static resource cache" but I could not > >> find info o

Re:

2023-11-05 Thread Greg Huber
2023 11:03, Greg Huber wrote: Hello, I am using the and to run tomcat for debugging my app (and it is pretty awesome).  I am getting the cache warning limit, as it is 10mb, what effect would it have if I turned off the cache ie cachingAllowed="false" rather than having to in

users@tomcat.apache.org

2023-11-04 Thread Greg Huber
Hello, I am using the and to run tomcat for debugging my app (and it is pretty awesome).  I am getting the cache warning limit, as it is 10mb, what effect would it have if I turned off the cache ie cachingAllowed="false" rather than having to increase the limit all the time? Thanks.

Re: Dealing with an insecure Struts application on Tomcat

2023-10-20 Thread Greg Huber
Remember seeing this, a maintained version of Struts 1. Might be work a look. https://github.com/weblegacy/struts1 On Thu, 19 Oct 2023 at 17:45, Alan F wrote: > I am looking at security steps to mitigate issues with a 1.x Struts based > app. > > I have recommended the following until an

Re: [ANN] Apache Tomcat 9.0.76 available

2023-06-09 Thread Greg Huber
Thanksthe apache-tomcat-9.0.76.tar.gz link is not working though.  Zip is OK. On 09/06/2023 08:51, Rémy Maucherat wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.76. Apache Tomcat 9 is an open source software implementation of the Java Servlet,

Re: [ANN] Apache Tomcat 9.0.75 available

2023-05-30 Thread Greg Huber
t;GET / xx.xx.xx.xxx - - [27/May/2023:22:16:35 +0100] "GET / xx.xx.xx.xxx - - [27/May/2023:22:16:35 +0100] "GET / xx.xx.xx.xxx - - [27/May/2023:22:16:40 +0100] "GET / Cheers On 29/05/2023 16:52, Mark Thomas wrote: On 29/05/2023 08:56, Greg Huber wrote: Hello, Looking through my lo

Re: [ANN] Apache Tomcat 9.0.75 available

2023-05-29 Thread Greg Huber
Hello, Looking through my logs I am seeing a few: org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe     at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:351) ~[catalina.jar:9.0.75]     at

Re: Updated Tomcat from 6.0.13 to 9.0.73 on IBMi, now the submitting job stays active.

2023-04-15 Thread Greg Huber
Back in the day, you could look at the job to see what the processes are. One may be a system job? On Fri, 14 Apr 2023 at 20:50, j...@nosnow.us wrote: > Hello, > > Our start process is a simple command that will submit a batch job that > will use the qshell command to run the startup.sh script.

Re: Compatibility, 32 bit ..

2022-10-26 Thread Greg Huber
...With the rising cost of electricity a new server will pay for itself, skip them.   Modern servers use 75% less energy. On 24/10/2022 02:01, John Dale (DB2DOM) wrote: Hi Everyone; I've had a few requests to refurbish some old 32 bit dell towers. So, I'm throwing ubuntu on them and

Re: [ANN] Apache Tomcat 9.0.67 available

2022-09-29 Thread Greg Huber
Hello, I am testing this release and are getting lots of these type of random errors : <%@include file="../widgets/lazyload.jsp" %> Caused by: org.apache.jasper.JasperException: /WEB-INF/jsps/core/listMe.jsp (line: [91], column: [2]) JSP file [../widgets/lazyload.jsp] not found at

Re: [External] Re: Problems deploying new .war application on Linux

2022-03-14 Thread Greg Huber
? On 14/03/2022 14:44, Scott,Tim wrote: From: Greg Huber Sent: Monday, March 14, 2022 2:23 PM To: Tomcat Users List users@tomcat.apache.org<mailto:users@tomcat.apache.org> Subject: [External] Re: Problems deploying new .war application on Linux On the sever where did tomcat come from? a rpm?

Re: Problems deploying new .war application on Linux

2022-03-14 Thread Greg Huber
On the sever where did tomcat come from? a rpm? Maybe as a test, download tomcat from tomcat.apache.org and see if it makes a difference. On 14/03/2022 10:16, Scott,Tim wrote: Hi all, I’m struggling with this and am obviously not running into the right terms to Google. I’ve put together a

Re: Configure Tomcat development using NetBeans IDE

2022-02-23 Thread Greg Huber
There have been lots of emails on this, sorry if I have missed something.. Although I don't use net beans, I use Eclipse with the venerable Sysdeo Tomcat Plugin (modified), and from my experience set reloadable = "false".  I would stop and restart tomcat for method signature changes, new

Re: manager best practice

2021-11-13 Thread Greg Huber
401 Unauthorized and not mention Tomcat. Cheers Greg On 01/10/2021 22:09, Christopher Schultz wrote: Greg, On 9/28/21 06:52, Greg Huber wrote: Hello, Are there any best practice notes for the manager app? eg, if include the app in webapps I get a context on my site, do I create a long name

Re: ROOT.xml and META-INF/context.xml

2021-11-07 Thread Greg Huber
/2021 15:15, Mark Thomas wrote: On 07/11/2021 10:44, Greg Huber wrote: Hello, I am testing CookieProcessor for SameSite stuff. In my dev environment,  I use ROOT.xml with workDir="/home/me/project/work" /> I have a context.xml file in META-INF but it seems to ignore it. When

ROOT.xml and META-INF/context.xml

2021-11-07 Thread Greg Huber
Hello, I am testing CookieProcessor for SameSite stuff. In my dev environment,  I use ROOT.xml with workDir="/home/me/project/work" /> I have a context.xml file in META-INF but it seems to ignore it. When I deploy via a war it is picked up OK. webapp/META-INF/context.xml

manager best practice

2021-09-28 Thread Greg Huber
Hello, Are there any best practice notes for the manager app? eg, if include the app in webapps I get a context on my site, do I create a long name for the folder (the url) to hide it? eg folder called reallylongmanager1234567890 so I get http://xxx.site/reallylongmanager1234567890 Or is

Re: version change failure

2021-04-11 Thread Greg Huber
Think you can copy/test your war by using folder webapps-javaee rather than webapps,   then migrate jakarta.* later. "Integration of the Apache Tomcat Migration Tool for Jakarta EE via the webapps-javaee directory" On 11/04/2021 10:18, dana whitelow wrote: Hi,I ran the migration tool

Re: Looking for useless information. :-)

2021-03-06 Thread Greg Huber
According to my Wrox Professional Apache Tomcat c2002, The first version of Tomcat was the 3.x series, and it served as the reference implementations of the Servlet 2.2 and JSP 1.1 specifications.  The Tomcat 3.x series was descended from the original code Sun provided to the ASF in 1999.

Re: [OT] Spring Security LDAPS authenticator won't trust TLS cert

2021-01-25 Thread Greg Huber
Maybe try removing the old cert as its not expired yet? On 25/01/2021 16:10, Christopher Schultz wrote: Alias name: letsencrypt Creation date: Dec 12, 2016 Entry type: trustedCertEntry Owner: CN=Let's Encrypt Authority X3, O=Let's Encrypt, C=US Issuer: CN=DST Root CA X3, O=Digital Signature

Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-13 Thread Greg Huber
I have found getting browsers to handle objects correctly is problematic and needs to be specific to the use case in the html link. On 13/01/2021 08:27, Jonnalagadda, Swathi (External) wrote: Thank you for the email We could see that when we try to open the xls file separately the browser

Re: Dates on Linux vs. Windows - Resolved

2020-01-08 Thread Greg Huber
>From my past experience with dates and timestamps, it helps to pass the time zone as a jvm parameter when starting tomcat -Duser.timezone=Europe/London On Wed, 8 Jan 2020 at 05:05, Jerry Malcolm wrote: > First of all, a big thank you to everyone who responded to this one. I > doubt I'd

Re: Tomcat doesn't refreshes and still gives me an old error again and again

2019-09-10 Thread Greg Huber
Eclipse works the way it works, but what you can use is https://marketplace.eclipse.org/content/eclipse-tomcat-plugin which is basically an update of the mighty http://www.eclipsetotale.com/tomcatPlugin.html I use a blank dynamic web project, with a standard plugin setup, ie default output folder

Re: helping building JSVC for Tomcat 8.5.45

2019-09-05 Thread Greg Huber
Use the previous version, it seems to work ok. The next release will include the missing script. On Thu, 5 Sep 2019 at 13:06, Goldstein, Craig A CIV DTIC ITS (USA) wrote: > I pulled down tomcat 8.5.45 in the commons-daemon-1.2.0-native-src/unix > the thedirectory is missing the necessary files

Re: building jsvc 1.2.0 for 9.0.24

2019-08-20 Thread Greg Huber
./configure be created as before in the build for ease of use? Cheers Greg On Tue, 20 Aug 2019 at 08:03, Mark Thomas wrote: > On August 19, 2019 8:24:00 AM UTC, Greg Huber wrote: > >Hello, > > > >I am trying to build commons-daemon-1.2.0 from the supplied > >commons-daemon-

building jsvc 1.2.0 for 9.0.24

2019-08-19 Thread Greg Huber
Hello, I am trying to build commons-daemon-1.2.0 from the supplied commons-daemon-native.tar.gz. There seems to be a ./configure script missing from the apache-tomcat-9.0.24/bin/commons-daemon-1.2.0-native-src/unix folder. I have checked the INSTALL.txt from v1.1.0 and they are exactly the

Re: "Tomcat 9.0.x configuration file differences" broken

2019-03-20 Thread Greg Huber
for the fortunate, you can use http://meldmerge.org/ ok its local but works well. On Wed, 20 Mar 2019 at 09:58, Mark Thomas wrote: > On 20/03/2019 06:45, Dirk Gfrörer wrote: > > Hello, > > > > before upgrading our Tomcats I usually check for any changes within the > > catalina.policy, etc.

Re: Tomcat 9.0.14 startup fails

2018-12-29 Thread Greg Huber
I used your startup script as a test, there does seem to be some differences between v13 and v14. v13 starts OK but v14 fails, I can see the temp/tomcat.pid being created but then disappears. systemctl status -l tomcat ● tomcat.service - Apache Tomcat Web Application Container Loaded: loaded

Re: lingering mysql connections

2018-12-14 Thread Greg Huber
I resolved the same using this link https://stackoverflow.com/questions/11872316/tomcat-guice-jdbc-memory-leak I created the ContextFinalizer to cleanup on shut down. Also, I had loads of strange sql issues which were resolved by switching to maria db. Cheers Greg On Thu, 13 Dec 2018 at

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
t; > > defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status > > > [Sun Nov 25 18:00:36.280163 2018] [mpm_prefork:notice] [pid 26421] > > AH00163: > > > Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_jk/1.2.46 configured -- > > > resuming normal

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
color and monochrome terminals and allows horizontal : scrolling. On Sun, 25 Nov 2018 at 17:07, Lou Wallace wrote: > How can I do that from the command line shell? I tried it from browser and > it timed out using http://IP:8080/index.jsp > > > On Sun, Nov 25

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
s/mod_jk.so to work when > loaded? > > And I just added > > #Options Indexes FollowSymLinks > #No folders/files listed > Options -Indexes -FollowSymLinks > > to httpd.conf > > Thanks for the continued help!! > > Lou > > > On Sun, Nov 25, 2018 at 5:28 AM Greg Hube

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
oxy_connect_module (shared) > proxy_express_module (shared) > proxy_fcgi_module (shared) > proxy_fdpass_module (shared) > proxy_ftp_module (shared) > proxy_http_module (shared) > proxy_scgi_module (shared) > proxy_wstunnel_module (shared) > ssl_module (shared) > syst

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-25 Thread Greg Huber
There's the problem, make sure you have copied mod_jk.so to /etc/httpd/modules/mod_jk.so My file size 1,556,816 bytes permission owner root and execute ls -l /etc/httpd/modules/mod_jk.so -rwxrwxr-x 1 root root also check the x executable And apachectl -M (sorry not -S) ... jk_module (shared)

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-22 Thread Greg Huber
ntrol process exited, > code=exited status=1 > Nov 21 18:32:37 server2 systemd[1]: Failed to start The Apache HTTP Server. > Nov 21 18:32:37 server2 systemd[1]: Unit httpd.service entered failed > state. > Nov 21 18:32:37 server2 systemd[1]: httpd.service failed. > > > >

Re: help installing mod_jk on Centos 7 on a Google Cloud server

2018-11-21 Thread Greg Huber
For my centos/mod._jk I use : /etc/httpd/conf.d/my.conf : ... JkWorkersFile "/etc/httpd/conf.d/workers.properties" JkLogFile "/etc/httpd/logs/mod_jk.log" JkShmFile "/etc/httpd/logs/jk-runtime-status.log" JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" JkMount / worker1 JkMount

Re: mod_jk endpoints

2018-10-21 Thread Greg Huber
> So I'm using the 2016 1.2.40 version. Think you have to build mod_jk to use the latest and greatest, this is what I have in my notes (also from the website docs): mod_jk.so build yum install httpd-devel download tomcat-connectors-x.x.xx-src.tar.gz extract and cd into the native

Re: Weird problem: slow upload via Manager

2018-07-06 Thread Greg Huber
If you are not remote, can you just copy them to the IFS folder? On 6 July 2018 at 00:23, James H. H. Lampert wrote: > Earlier this week, on a customer AS/400 installation (Tomcat 7.0.67), we > experienced the slowest WAR file upload we've ever encountered: several > HOURS to install a roughly

Re: How do we prevent directory access in apache

2018-05-29 Thread Greg Huber
In httpd.conf, uncomment: Options -Indexes -FollowSymLinks Cheers Greg On 29 May 2018 at 08:33, Olaf Kock wrote: > On 29.05.2018 05:07, Jins Raju Abraham wrote: > >> How do we prevent a directory access in apache. Tried searching this and >> there are a lot of suggestion about doing it in the

Re: Tomcat 9 ;jsessionid

2018-04-27 Thread Greg Huber
va:245) Had to go with defaulting to COOKIE as suggested, rather than overriding Spring defaults. Cheers Greg On 27 April 2018 at 13:23, Berneburg, Cris J. - US <cberneb...@caci.com> wrote: > Hi Greg > > -Original Message- > From: Greg Huber [mailto:gregh3...

Re: Tomcat 9 ;jsessionid

2018-04-26 Thread Greg Huber
:11, Christopher Schultz <ch...@christopherschultz.net > wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Greg, > > On 4/26/18 4:53 AM, Greg Huber wrote: > > Hello, > > > > One thing I have noticed with Tomcat 9.0.x I get alot > > ;jsess

Tomcat 9 ;jsessionid

2018-04-26 Thread Greg Huber
Hello, One thing I have noticed with Tomcat 9.0.x I get alot ;jsessionid=xxx appended to my urls. This did not happen with 8.5.x. /images/image_32x32.png;jsessionid=BF27C604B287CCF6DF3DBDB180C2CBEB 500 Internal Server Error /images/image_32x32.png;jsessionid= ... 23784378307846F: 1

Tomcat 9 empty log files

2018-04-12 Thread Greg Huber
Hello, For my tomcat 9 there are now two additional log files (which are always empty) : host-manager.2018-04-11.log manager.2018-04-11.log Where do these come from as my webapps directory is empty and does not have any applications? Cheers Greg

Re: Instances of org.apache.coyote.RequestInfo accumulate in RequestGroupInfo.processors and eventually result in OOME

2018-03-01 Thread Greg Huber
I found tomcat was being killed randomly by oom when it should have been the virus scanner stuff, I had to reduce the threads as it was consuming too much memory. /etc/clamd.d/scan.conf #MaxThreads 20 MaxThreads 5 I found this by monitoring the output from 'top' command. Cheers Greg On 1

Fwd: logging on shutdown

2018-01-23 Thread Greg Huber
The log4j2 Log4jServletContextListener contextDestroyed seems to be shutting down first, before my stuff, hence no logging. Will look into this, more a log4j2 issue. Cheers Greg -- Forwarded message -- Subject: logging on shutdown To: Tomcat Users List

logging on shutdown

2018-01-23 Thread Greg Huber
Hello, I tried the latest version 9.0.4, one thing I have noticed that it does not log any output when I shut down the server. Also Rechecking version 8.5.24 and also now does not log any output. The server is shutting down correctly as its calling my context finalise listener

Re: Ajp Nio-thread stuck in loop and consuming a lot of cpu

2018-01-18 Thread Greg Huber
Following this thread, I run the same setup, apache/mod_jk/ tomcat. There was a problem a while back where the cpu went to max for me, as my server is slow and thread blocking more of a possibility. https://bz.apache.org/bugzilla/show_bug.cgi?id=58151 Although this was in version 8.0.23, are

Re: Service killed by signal 9

2017-11-11 Thread Greg Huber
USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1292 user20 03435632 476088 6560 S 0.3 15.7 4:43.96 jsvc Cheers Greg On 10 November 2017 at 15:06, Coty Sutherland <csuth...@redhat.com> wrote: > On Fri, Nov 10, 2017 at 4:31 AM, Greg Hube

Service killed by signal 9

2017-11-10 Thread Greg Huber
Since switching to jsvc, randomly I am getting tomcat restarting, looking at the logs I see that the jsvc is using alot of memory total-vm: and being killed by the system. Nov 9 13:11:11 prodbox kernel: Out of memory: Kill process 1287 (jsvc) score 121 or sacrifice child Nov 9 13:11:11 prodbox

Re: Apache Tomcat 4.1.30 - not working with OS400 after upgrading the OS to V7R3 which uses Java 7/Java 8

2017-09-14 Thread Greg Huber
ased on Oracle > jdk7u141-b11 > > $ > > > > And JAVA_HOME is pointing to '/QOpenSys/QIBM/ProdData/JavaVM/jdk70/64bit' > > I hope it is pointing to right data. > > On Fri, Sep 8, 2017 at 8:31 PM, Greg Huber <gregh3...@gmail.com> wrote: > > > Do

Re: Apache Tomcat 4.1.30 - not working with OS400 after upgrading the OS to V7R3 which uses Java 7/Java 8

2017-09-08 Thread Greg Huber
SEVERE: Parse Error at line 6 column 19: Document is invalid: no grammar > found. > org.xml.sax.SAXParseException: Document is invalid: no grammar > found. > > Aug 23, 2017 9:36:49 AM org.apache.commons.digester.Digester > error > SEVERE: Parse Error at line 6 column 19:

Re: Apache Tomcat 4.1.30 - not working with OS400 after upgrading the OS to V7R3 which uses Java 7/Java 8

2017-09-08 Thread Greg Huber
Java 1.4 should still be available, check your software resources and 5761-JV1 options and the environment variable JAVA_HOME. https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzaha/rzahainstalljdk.htm On 7 September 2017 at 15:56, André Warnier (tomcat) wrote: > On

Re: Struts Vulnerability

2017-09-07 Thread Greg Huber
>2) Does Apache Struts only run on Apache Webserver and Tomcat? Should run on java based servers Glassfish, Websphere etc >3) Is there a simple way to determine if a server has Struts installed, >instead of logging into each of the servers and checking the programs >list? You could try and

Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-07 Thread Greg Huber
Check /tmp for any dumps, hs_err_pid.log if there is a jdk issue. Sometimes jsvc restarts for me : V [libjvm.so+0x98f752] oopDesc* PSPromotionManager::copy_to_survivor_space(oopDesc*)+0x162 On 7 July 2017 at 02:22, 李员外 <281170...@qq.com> wrote: > Will try that. The RAM of machine is 8

Re: security-constraint blocks welcome file with 403

2017-06-20 Thread Greg Huber
Marks, Thanks for the info, originally I was using just index.jsp, but this also gets blocked with a 403: index.jsp I will look into the servlet suggestion. Cheers Greg On 19 June 2017 at 10:39, Mark Thomas <ma...@apache.org> wrote: > On 19/06/17 08:24, Greg Huber wrote:

security-constraint blocks welcome file with 403

2017-06-19 Thread Greg Huber
Hello, If I add a security constrait to block direct access to jsp outside of /WEB-INF/ it blocks the welcome-file with a 403. Is there a caveat for using this here? No direct JSP access No-JSP *.jsp no-users

Re: Error 404 - The requested resource is not available

2017-01-12 Thread Greg Huber
Check in the apache-tomcat-x.x.x/logs for any errors in catalina.out or yourapp.log files. On 12 January 2017 at 06:19, fonsin2008 . wrote: > Hi! > > The url is: http://somehost/evaluacion/login_formaLogin.action > > The problem is that it used to run without problems. > >

Re: Upgrade to 8.5.8/9

2016-12-27 Thread Greg Huber
--- > Hash: SHA256 > > Greg, > > On 12/19/16 4:47 AM, Greg Huber wrote: > > I am currently running tomcat 8.0.32 and have tried to upgrade to > > 8.5.8 and 8.5.9 without success. I use mod_jk to connect apache to > > tomcat running on centos 5.11 with Apache 2.2.3.

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
On 24 December 2016 at 12:07, Mark Thomas <ma...@apache.org> wrote: > On 24/12/2016 08:49, Greg Huber wrote: > > ...Well its not hibernate, will look at switching to commons-dbcp2 if > > possible. > &

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
9 waiting on condition JNI global references: 383 Heap PSYoungGen total 74240K, used 20126K [0xf000, 0xf550, 0x0001) eden space 61440K, 16% used [0xf000,0xf0a03450,0xf3c0) from space 12800K, 77% used [0xf488,0

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
instance(s) to be deallocated for Servlet [PageServlet] Cheers Greg On 22 December 2016 at 20:26, Mark Thomas <ma...@apache.org> wrote: > On 22/12/2016 17:50, Greg Huber wrote: > > Chris, > > > > Thanks, I have been running this setup for ages, 8 plus years and various

Re: Upgrade to 8.5.8/9

2016-12-24 Thread Greg Huber
...Well its not hibernate, will look at switching to commons-dbcp2 if possible. Cheers On 22 December 2016 at 20:26, Mark Thomas <ma...@apache.org> wrote: > On 22/12/2016 17:50, Greg Huber wrote: > > Chris, > > > > Thanks, I have been running this setup for age

Re: Upgrade to 8.5.8/9

2016-12-23 Thread Greg Huber
but cannot see any connection pool related mods. Maybe I will wait a couple of days and if its fixed, log a hibernate issue or try 5.2.6. Thanks for your help! Cheers Greg On 22 December 2016 at 20:26, Mark Thomas <ma...@apache.org> wrote: > On 22/12/2016 17:50, Greg Huber wrote:

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
) Cheers Greg On 22 December 2016 at 16:24, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Greg, > > On 12/22/16 5:18 AM, Greg Huber wrote: > > Here is the first dump and I cannot send all three. It

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
Mark, Its locked up now and I have the dump but it wont let me email it. Can I email the whole file somewhere? Cheers Greg On 22 December 2016 at 09:17, Mark Thomas <ma...@apache.org> wrote: > On 22/12/2016 08:55, Greg Huber wrote: > > I installed exactly the same versions on

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
OK, will see if I can do the dumps. Think i did something similar a while back when tomcat got into a random loop/high cpu a while back. Cheers Greg. On 22 December 2016 at 09:17, Mark Thomas <ma...@apache.org> wrote: > On 22/12/2016 08:55, Greg Huber wrote: > > I installed e

Re: Upgrade to 8.5.8/9

2016-12-22 Thread Greg Huber
net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Greg, > > On 12/20/16 3:21 AM, Greg Huber wrote: > >> If you are using httpd + mod_jk, why are you bothering with APR > >> and tcnative on the Tomcat side? > > > > It complains

Re: Upgrade to 8.5.8/9

2016-12-20 Thread Greg Huber
(centos 7) which I will also update to 8.5.9 and see if I get the same issue which will allow more testing also. Cheers. Greg On 20 December 2016 at 14:10, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Greg, &g

Re: Upgrade to 8.5.8/9

2016-12-20 Thread Greg Huber
.destroy Destroying ProtocolHandler ["http-nio-8080"] 17-Dec-2016 15:59:52.605 INFO [Thread-7] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"] Cheers Greg On 19 December 2016 at 18:11, Christopher Schultz < ch...@christopherschultz.net&g

Re: Upgrade to 8.5.8/9

2016-12-20 Thread Greg Huber
ate number of threads available for httpd to > proxy to? Do you see any errors in your tomcat logging? If you do have > sufficient threads in the pool, then maybe there is something (like GC > pauses) hanging your requests that wasn't before and therefore > exhausting the pool causing rejection

Upgrade to 8.5.8/9

2016-12-19 Thread Greg Huber
Hello, I am currently running tomcat 8.0.32 and have tried to upgrade to 8.5.8 and 8.5.9 without success. I use mod_jk to connect apache to tomcat running on centos 5.11 with Apache 2.2.3. I have installed openSSL 1.0.2.j to compile the native tomcat-native-1.2.10 using apr-1.5.2 and

Re: Also having issue on high CPU Usage on Tomcat 8

2015-06-10 Thread Greg Huber
Ari, No, I could not find the cause. I checked the source and there does not look like there was any changes in the polling code, so it maybe something else. I changed to 7.0.62 with exactly the same startup scripts/jdk and the problem goes away. It sometimes also happens on my dev box running

Re: High cpu on Tomcat 8

2015-05-09 Thread Greg Huber
Hello, This is a follow up from last week, the server seemed to have the same issue, where it was over running to 75%. Using top (centos 6) there seemed a lot of java threads, the the top thread was 15209 0x3b69 These are the start options. I increased -Xmx buy 256m to 768m since last week.

Re: High cpu on Tomcat 8

2015-05-06 Thread Greg Huber
2015 at 12:48, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Greg Huber [mailto:gregh3...@gmail.com] Subject: Re: High cpu on Tomcat 8 Have you set a pollerThreadCount? I have had a look and I cannot find where this is set. Is there any documentation

Re: High cpu on Tomcat 8

2015-05-05 Thread Greg Huber
the server actually slow down? I do not think so, it makes the server slowdown (and all the fans come on) Cheers Greg On 4 May 2015 at 15:13, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 5/4/15 7:13 AM, Greg Huber wrote

Re: High cpu on Tomcat 8

2015-05-04 Thread Greg Huber
Thanks, I am going to up the memory. The profiler I used only highlighted the ajp-apr-8009-Poller as active. Terminating the thread stopped the high cpu. Cheers Greg On 4 May 2015 at 10:18, Mark Thomas ma...@apache.org wrote: On 03/05/2015 11:25, Greg Huber wrote: Hello, After

High cpu on Tomcat 8

2015-05-03 Thread Greg Huber
Hello, After an upgrade to Tomcat 8.0.21 and (Oracle jdk1.8.0_40) I seem to be having an erratic high cpu issue, often when the server gets busy. The application was OK tomcat 7 and has not been modified since the upgrade. I use mod_jk / apache # # workers.properties # # Define 1 real worker

Re: High cpu on Tomcat 8

2015-05-03 Thread Greg Huber
:35, Felix Schumacher felix.schumac...@internetallee.de wrote: Am 3. Mai 2015 12:25:53 MESZ, schrieb Greg Huber gregh3...@gmail.com: Hello, After an upgrade to Tomcat 8.0.21 and (Oracle jdk1.8.0_40) I seem to be having an erratic high cpu issue, often when the server gets busy

Re: Fwd: Tomcat 8 and Java 8

2015-04-17 Thread Greg Huber
. https://bz.apache.org/bugzilla/show_bug.cgi?id=57823 Cheers Greg On 17 April 2015 at 06:48, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg, On 4/16/15 12:06 PM, Greg Huber wrote: ..To follow on, for others going grey also

Re: Tomcat 8 and Java 8

2015-04-16 Thread Greg Huber
) On 15 April 2015 at 14:19, Mark Thomas ma...@apache.org wrote: On 15/04/2015 03:28, Greg Huber wrote: Hello, I am trying to upgrade my app to Tomcat 8 and Java 8 (1.8.0_40) on centos 7 Did you use the packaged version of Tomcat or did you download a distribution from the ASF? I have

Re: Tomcat 8 and Java 8

2015-04-16 Thread Greg Huber
on this? Or should I log a jira report? Cheers Greg On 15 April 2015 at 14:19, Mark Thomas ma...@apache.org wrote: On 15/04/2015 03:28, Greg Huber wrote: Hello, I am trying to upgrade my app to Tomcat 8 and Java 8 (1.8.0_40) on centos 7 Did you use the packaged version of Tomcat or did you

Fwd: Tomcat 8 and Java 8

2015-04-16 Thread Greg Huber
any one help on this? Or should I log a jira report? Cheers Greg On 15 April 2015 at 14:19, Mark Thomas ma...@apache.org wrote: On 15/04/2015 03:28, Greg Huber wrote: Hello, I am trying to upgrade my app to Tomcat 8 and Java 8 (1.8.0_40) on centos 7 Did you use the packaged version

Re: Tomcat 8 and Java 8

2015-04-15 Thread Greg Huber
, capacity 1472K, committed 1536K, reserved 1048576K Cheers Greg. On 15 April 2015 at 14:19, Mark Thomas ma...@apache.org wrote: On 15/04/2015 03:28, Greg Huber wrote: Hello, I am trying to upgrade my app to Tomcat 8 and Java 8 (1.8.0_40) on centos 7 Did you use the packaged version

Re: Tomcat 8 and Java 8

2015-04-15 Thread Greg Huber
/logging.properties \ org.apache.catalina.startup.Bootstrap But our jenkins stuff does not seem to like the jsvc (won't restart itself). Cheers Greg. On 15 April 2015 at 14:19, Mark Thomas ma...@apache.org wrote: On 15/04/2015 03:28, Greg Huber wrote: Hello, I am trying to upgrade my app to Tomcat

Tomcat 8 and Java 8

2015-04-15 Thread Greg Huber
Hello, I am trying to upgrade my app to Tomcat 8 and Java 8 (1.8.0_40) on centos 7 I have a startup in /etc/rc.d/init.d script that uses the daemon eg: daemon --user $tomcatuser --pidfile=$pidfile $command start When I run the script using the command line it runs as expected, but when it