I changed the context.xml for manager and now manager will not start

2015-06-08 Thread Mark Shifman
each time restarting tomcat with no luck in starting the manager. I don't see anything in my logs but maybe there is some log somewhere I haven't found like in /var/logs. any help would be appreciated. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif

tomcat 8.0.20 can't make manager run HTTP Status 404 - /manager/status etc

2015-02-26 Thread Mark Shifman
-users The file permissions are show below: ls -lrt /home/apache-tomcat-8.0.20/conf -rw--- 1 mas mas 1893 Feb 26 09:49 tomcat-users.xml There is obviously something egregious I have done or missed but I can't find it. any help appreciated. mas -- Mark Shifman MD. Ph.D. Yale Center

Re: tomcat 8.0.20 can't make manager run HTTP Status 404 - /manager/status etc

2015-02-26 Thread Mark Shifman
On 02/26/2015 11:26 AM, Mark Shifman wrote: This is truly embarrassing since I have the manager running fine on tomcat 7. https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_manager_statusd=AwIC-gc=-dg2m7zWuuDZ0MUcV7Sdqwr=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-klf3JCRGssm

Re: tomcat 8.0.20 can't make manager run HTTP Status 404 - /manager/status etc

2015-02-26 Thread Mark Shifman
On 02/26/2015 12:52 PM, Konstantin Kolinko wrote: 2015-02-26 19:26 GMT+03:00 Mark Shifman mark.shif...@yale.edu: This is truly embarrassing since I have the manager running fine on tomcat 7. https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost-3A8080_manager_statusd=AwIBaQc

Re: Connection pooling issue on Tomcat

2014-03-28 Thread Mark Shifman
. Could something have gotten corrupted for one and not the other? Any feedback is welcomed. Let me know, please, if I neglected to add anything pertinent to this. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Re: tomcat jdbc

2012-10-19 Thread Mark Shifman
, logon_time There is also a simple way to see the connections in mysql but I can't remember it i.e. assuming I have can keep track of these counters, is there a way to monitor these events in the library or would the jdbc library itself need to be modified to expose these events? -- Mark

Re: Downloading an entire website from a specific URL?

2011-12-28 Thread Mark Shifman
wget On 12/28/2011 2:19 AM, Craig Burlock wrote: Hello smart-people, This isn't strictly a Tomcat question, however I thought you were the people to ask: *Can anyone recommend a utility for downloading an entire website (including links and child pages) from a specific URL?* I need to get

Re: Moving init params from web.xml to context.xml

2011-08-23 Thread Mark Shifman
er or telephone (512) 343-9100 and delete this transmission from your system. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark

problem upgrading to Apache Commons Lang 3.0 and Tomcat.7 (

2011-07-20 Thread Mark Shifman
This morning I upgraded my webapp to Apache Commons Lang 3.0. When I redeployed the webapp I got Servlet.service() for servlet jsp threw exception java.lang.ClassNotFoundException: org.apache.commons.lang.UnhandledException at

Data source is closed before contextDestroyed is executed. tomcat 7.0.11

2011-03-28 Thread Mark Shifman
is tomcat 6. Is there someplace else I should do this cleanup? When is the DataSource closed? Shouldn't/couldn't the DataSource be closed after contextDestroyed has run. -- Mark Shifman - To unsubscribe, e-mail: users-unsubscr

Re: Cannot set JAVA_HOME for jsvc/Tomcat 7.0.11... i've tried EVERYTHING

2011-03-24 Thread Mark Shifman
. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: IPv6 Issue with Tomcat

2011-02-11 Thread Mark Shifman
. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif

Re: Placing JARs in ..../tomcat/shared/lib causes leaks when stopping apps?

2010-11-17 Thread Mark Shifman
On 11/17/2010 02:43 AM, Mikolaj Rydzewski wrote: On Tue, 16 Nov 2010 22:55:10 -0500, Brian bbprefix-m...@yahoo.com wrote: I have two identical apps running at the same time. I mean, they use exactly the same WAR, but each one runs in a different web domain. [...] You should rather

Re: Tomcat log files

2010-11-09 Thread Mark Shifman
you need to look at http://tomcat.apache.org/tomcat-6.0-doc/logging.html and do what it says for log4j On 11/09/2010 01:48 PM, Timothy Lam wrote: I'm trying to clean up Tomcat logging to use log4j. I've read the Tomcat logging guide that comes with my version of Tomcat 6.0.28. I'm really

jsvc takes a really long time to start tomcat

2010-10-08 Thread Mark Shifman
jsvc used to stop and start my tomcat server very quickly (15-30 seconds). Recently, I noticed it stops right away but takes about 3 minutes to start. (I of course don't know what I changed.) I have tried: 1.recompiling jsvc, 2.using the newest native commons-daemon-1.0.3-bin-linux-x86_64.tar.gz

Re: WARNING: Parameters : Invalid Chunk xxxx ignored

2010-08-11 Thread Mark Shifman
google is your friend! http://marc.info/?l=tomcat-userm=118662577608193 Probably means somebody made a query-string that tomcat doesn't like. mas On 08/11/2010 08:28 AM, Richard da Silva wrote: Hi all, I am running an IDM application on Tomcat (I'm using version 6). Everything is working

Re: FW: Mascot Server update now available

2010-08-04 Thread Mark Shifman
. 225 Franklin St., 26th fl., Boston, MA 02110, USA Tel: (800) 716 6702 Fax: (800) 716 6704 richa...@matrixscience.com http://www.matrixscience.com -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Re: FW: Mascot Server update now available Disregard this message

2010-08-04 Thread Mark Shifman
Mea culpa, Mea Culpa mas On 08/04/2010 03:26 PM, Mark Shifman wrote: I just installed the new patch for Mascot. and mascot is running. ... - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands

Re: JAXBContext leaks memory

2010-05-17 Thread Mark Shifman
: On 14/05/2010 19:21, Mark Shifman wrote: After playing around I don't think the leak is from JAXBContext. My web app is running under struts 1.3.10. I tested the blank web apps that comes with struts 1.3.10 and it showed a memory leak on undeploying and redeploying. (so did the blank web app

Re: JAXBContext leaks memory

2010-05-14 Thread Mark Shifman
done something really stupid with my tomcat/jvm configuration that goofs up garbage collection. mas On 05/03/2010 12:15 PM, Mark Shifman wrote: I have a web app running under tomcat-6.0.26 with JreMemoryLeakPreventionListener, java jdk1.6.0_18. Using jmap -histo pid, I can watch

Re: JAXBContext leaks memory

2010-05-04 Thread Mark Shifman
On 05/03/2010 02:53 PM, Pid wrote: On 03/05/2010 18:30, Mark Shifman wrote: On 05/03/2010 12:48 PM, Pid wrote: On 03/05/2010 17:15, Mark Shifman wrote: I have a web app running under tomcat-6.0.26 with JreMemoryLeakPreventionListener, java jdk1.6.0_18. Using jmap -histo pid, I can watch

Re: JAXBContext leaks memory

2010-05-04 Thread Mark Shifman
Thanks. I'll try Jconsole. mas On 05/04/2010 12:28 PM, Pid wrote: On 04/05/2010 14:10, Mark Shifman wrote: On 05/03/2010 02:53 PM, Pid wrote: On 03/05/2010 18:30, Mark Shifman wrote: On 05/03/2010 12:48 PM, Pid wrote: On 03/05/2010 17:15, Mark Shifman wrote: I have a web app running under

JAXBContext leaks memory

2010-05-03 Thread Mark Shifman
I have a web app running under tomcat-6.0.26 with JreMemoryLeakPreventionListener, java jdk1.6.0_18. Using jmap -histo pid, I can watch com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number after running my unmarshal action, followed by undeploy and redeploy. Find Leaks

Re: JAXBContext leaks memory

2010-05-03 Thread Mark Shifman
On 05/03/2010 12:48 PM, Pid wrote: On 03/05/2010 17:15, Mark Shifman wrote: I have a web app running under tomcat-6.0.26 with JreMemoryLeakPreventionListener, java jdk1.6.0_18. Using jmap -histo pid, I can watch com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl, etc increase in number

Re: JAXBContext leaks memory

2010-05-03 Thread Mark Shifman
On 05/03/2010 02:18 PM, Caldarale, Charles R wrote: From: Mark Shifman [mailto:mark.shif...@yale.edu] Subject: Re: JAXBContext leaks memory This is also in the webapp in WEB-INF/classes/org/blablabla When you say also, does that mean the class is in more than one place? (That would

Re: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Mark Shifman
://signup.live.com/signup.aspx?id=60969 -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Connection pool stats

2010-03-15 Thread Mark Shifman
connection.close() to return connections. How do I get stats on the connection pool? I would like to check how many connections are active/idle at any point in time. Thanks, Dhiren -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Mark Shifman
of the tomcat_dbcp.jar which comes with the distro? Thanks! Dhiren -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: users-unsubscr

Re: DB connection error -Tomcat 6 config

2010-03-02 Thread Mark Shifman
Propes, Barry L wrote: I wonder now...should I perhaps be using this jar? ojdbc6.jar ? Has anyone upgraded their Oracle drivers that's using TC 6 and JDK 1.6? If anyone has used these environments together and needed to make the change, please apprise. I am using ojdbc6.jar with tomcat

jaxb unmarshal breaks after webapp redeploy

2010-02-10 Thread Mark Shifman
I have a webapp that unmarshalls xmls prior to storing in my database. I have recently noted that after a redeploy, the unmarshalling of a dateTime element is null while the rest of the elements in my object seem to be unmarshalled fine. If I restart tomcat things seem to work again. I

Re: jaxb unmarshal breaks after webapp redeploy

2010-02-10 Thread Mark Shifman
Mark Thomas wrote: On 10/02/2010 16:05, Mark Shifman wrote: I have a webapp that unmarshalls xmls prior to storing in my database. I have recently noted that after a redeploy, the unmarshalling of a dateTime element is null while the rest of the elements in my object seem

Re: jaxb unmarshal breaks after webapp redeploy

2010-02-10 Thread Mark Shifman
(a java.util.TaskQueue) at java.util.TimerThread.mainLoop(Timer.java:509) - locked 0xac502370 (a java.util.TaskQueue) at java.util.TimerThread.run(Timer.java:462) Mark Shifman wrote: Mark Thomas wrote: On 10/02/2010 16:05, Mark Shifman wrote: I have a webapp that unmarshalls xmls prior

Re: Graphing packages

2009-10-01 Thread Mark Shifman
recommendations? TIA! D - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737

Re: debugging model classes tied to Tomcat datasources

2009-09-27 Thread Mark Shifman
Hi: This is what I do for testing. I made a class for creating a jndi directory and I create this in my main, then I can get a datasource from the jndi directory just like I do it when running tomcat. jndi.properties java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory

Re: debugging model classes tied to Tomcat datasources

2009-09-27 Thread Mark Shifman
Martin Gainty wrote: Mark have you been able to implement JNDI (standalone) in TC? No, I never tried. i see craig's comment on implementing JNDI in org.apache.catalina.Container.java * libResources/b - JNDI directory context enabling access to static * resources, enabling custom

Re: Can't access Tomcat from outside the LAN

2009-09-15 Thread Mark Shifman
. -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Problem closing datasource when used as JNDI resource

2009-08-25 Thread Mark Shifman
...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: catalina.sh and java_opts question

2009-08-17 Thread Mark Shifman
- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Re: Right way to close database connection pool

2009-08-05 Thread Mark Shifman
...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: users-unsubscr

Re: Tomcat6 CentOS runlevel startup issue

2009-07-22 Thread Mark Shifman
-mail: users-h...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands

Re: [ERROR] Cannot create JDBC driver of class '' for connect URL 'null'

2009-07-14 Thread Mark Shifman
- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark Shifman MD

Re: canonical hostnames for tomcat server

2009-06-12 Thread Mark Shifman
!! - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif

Re: Logging configuration in Tomcat

2009-01-13 Thread Mark Shifman
-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 mark.shif...@yale.edu

Problem with Beta candidate for Tomcat connection pool

2008-11-14 Thread Mark Shifman
from dual testOnBorrow=true/ Have I done something stupid that lets stale connections hang around? I old dbcp pool worked fine. Thanks in advance. Mark Shifman java.lang.reflect.UndeclaredThrowableException at $Proxy0.getConnection(Unknown Source

Re: redeploy/delete issue with tomcat6

2008-08-27 Thread Mark Shifman
be appreciated! Thanks! -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED

[OT] fail2ban and tomcat access logs

2008-08-18 Thread Mark Shifman
I was wondering if anyone has any experience using fail2ban http://www.fail2ban.org/ with tomcat access logs generated by access log valve. Specifically I would like to jail all attempts at accessing the manager, or perhaps php or cgi on my server. The problem I have is that the logs have

Re: Java application getting tomcat's home directory.

2008-04-15 Thread Mark Shifman
You could try http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet/ServletContext.html#getResource(java.lang.String) or http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet/ServletContext.html#getResourceAsStream(java.lang.String) mas Ar5eNiC

Re: Java application getting tomcat's home directory.

2008-04-15 Thread Mark Shifman
Actually you asked for the home directory so you could use http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet/ServletContext.html#getContextPath() Mark Shifman wrote: You could try http://java.sun.com/products/servlet/2.5/docs/servlet-2_5-mr2/javax/servlet

Re: RESIDENTIAL MEMORY 100%

2008-03-31 Thread Mark Shifman
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To start a new topic, e-mail: users

Re: Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Mark Shifman
] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

Re: JDBC connection issue

2007-08-16 Thread Mark Shifman
I just upgraded from 5.5 to 6.0 without any problems. My webapp was deployed as a war file with the config.xml in the META-INF (the exact config for 5.5). The deployment does the correct thing with the config.xml. Make sure your jdbc library is in the CATALINA_HOME/lib dir. I also was

Re: Tomcat jsvc: shutting down

2007-05-17 Thread Mark Shifman
- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL

Defining loggers best approach?

2006-09-29 Thread Mark Shifman
cannot be garbage collected? -- Mark Shifman [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JDBC Realm error

2006-07-13 Thread Mark Shifman
The oracle driver library that seems to work is ojdbc14.jar http://download.oracle.com/otn/utilities_drivers/jdbc/9205/ojdbc14.jar I just set up a JDBCRealm the other day using it following the realm howto http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html and it worked like a charm. You

Re: jsvc creates LOTS of processes

2006-04-25 Thread Mark Shifman
. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: Mark Shifman [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent

jsvc creates LOTS of processes

2006-04-24 Thread Mark Shifman
I noticed that jsvc creates about 68 processes on one of my servers. I start it using an init.d script under redhat 9. I don't think I have done anything egregious. ...snip CATALINA_OPTS= -Djava.awt.headless=true -Xmx750m -Xms750m ...snip start(){ $DAEMON_HOME/jsvc \ -user $TOMCAT_USER \

Re: how to use datasource in a non-tomcat project?

2006-02-02 Thread Mark Shifman
You can use jakarta commons dbcp http://jakarta.apache.org/commons/dbcp/. There is a basic datasource and examples on how to create it. mas Rick Col wrote: Hi, guys: I am stuck here with this problem. I created a Java project on Eclipse, the reason is I have to use my own framework that won't

Re: Tomcat is dying unpredictably

2005-10-27 Thread Mark Shifman
dead without reporting anything. That was on the last released build of RHL9 (2.4.20) -Original Message- From: Mark Shifman [mailto:[EMAIL PROTECTED] Sent: Wednesday 26 October 2005 17:40 To: Tomcat Users List Subject: Tomcat is dying unpredictably Recently tomcat has started