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

2015-06-08 Thread Mark Shifman
I even tried the virginal context.xml 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. P

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 : 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_status&d=AwIBaQ&c=-dg2m7zWuuDZ0MUc

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_status&d=AwIC-g&c=-dg2m7zWuuDZ0MUcV7Sdqw&r=oZj4zInar3jeBECJ7OuBEMWJwBrzGeex-

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

2015-02-26 Thread Mark Shifman
he.org/xml tomcat-users.xsd" version="1.0"> 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'

Re: Connection pooling issue on Tomcat

2014-03-28 Thread Mark Shifman
So the DB itself is working. Both my DEV/UAT and PROD regions use the same DBCP classes. 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

Re: tomcat jdbc

2012-10-19 Thread Mark Shifman
identifier, 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 even

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 a

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

2011-08-23 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

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 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappC

Data source is closed before contextDestroyed is executed. tomcat 7.0.11

2011-03-28 Thread Mark Shifman
problem 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-

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

2011-03-24 Thread Mark Shifman
gt; I honestly don't know what to do and am at a loss right now. I think it > might have to do with the jdk, but I installed it straight from the package > manager. > > I'm pretty sure only the JDK comes with javac, and using javac -version > produces 1.6.0_24. So. I'm p

Re: IPv6 Issue with Tomcat

2011-02-11 Thread Mark Shifman
ISE PROPRIETARY >> MATERIAL and is thus for use only by the intended recipient. If you received >> this in error, please contact the sender and delete the e-mail and its >> attachments from all computers. >> >> >> -----

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" 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 change your appli

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-user&m=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 wo

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 co

Re: FW: Mascot Server update now available

2010-08-04 Thread Mark Shifman
bit filename in the above > commands) > > A list of the changes made can be found at > http://www.matrixscience.com/mascot_support.html#2.3. > > Please don't hesitate to contact me if you have any questions. > > Best regards, > > Richard Jacob > -- > Richard Jacob

Re: JAXBContext leaks memory

2010-05-17 Thread Mark Shifman
juli logging work but didn't get rid of the leak. Any ideas would be appreciated. mas On 05/15/2010 04:58 AM, Pid wrote: > 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 stru

Re: JAXBContext leaks memory

2010-05-14 Thread Mark Shifman
e how 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

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: &g

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 >>>> JreMemoryLeakPrevention

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

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.runt

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: Re-direct webpage from HTTP to HTTPS

2010-04-15 Thread Mark Shifman
__ > Hotmail: Trusted email with powerful SPAM protection. > https://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 -

Re: Connection pool stats

2010-03-15 Thread Mark Shifman
use a javax.sql.DataSource object to get connections and call > 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, > >

Re: Commons DBCP in Tomcat 6.x

2010-03-09 Thread Mark Shifman
gt; > Is there any way I can force Tomcat 6.x to load my commons dbcp jar instead > 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 -

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 6

Re: jaxb unmarshal breaks after webapp redeploy

2010-02-10 Thread Mark Shifman
xac502370> (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 Shifm

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

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 created

Re: Graphing packages

2009-10-01 Thread Mark Shifman
cost. > > Any recommendations? > > TIA! > D > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > -- Mark Shif

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 * Resources - JNDI directory context enabling access to static * resources, enabling custom linkages

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 java

Re: Can't access Tomcat from outside the LAN

2009-09-15 Thread Mark Shifman
nters (_not_ of the int* variety :P ) here. > -- 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

Re: Problem closing datasource when used as JNDI resource

2009-08-25 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: catalina.sh and java_opts question

2009-08-17 Thread Mark Shifman
ts question >> > >> > Hello all, >> > I've searched around on the net and have found differing opinions about >> > where to actually place the java_opts env var for tomcat. >> > Should this variable be in /tomcat/bin/catalina.sh? When I set it in >> > this fi

Re: Right way to close database connection pool

2009-08-05 Thread Mark Shifman
e pool when the context is being destroyed? > > > Thanks in advance, > Kirill. > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@

Re: Tomcat6 CentOS runlevel startup issue

2009-07-22 Thread Mark Shifman
ava version "1.6.0_06" > Java(TM) SE Runtime Environment (build 1.6.0_06-b02) > Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing) > > > After a "kill -9 " and a "service tomcat5 start" tomcat is running > as usual. > > > Something went wro

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

2009-07-14 Thread Mark Shifman
tch under tomcat6. Maybe if I try to create a minimal app from > scratch, I'll get a little more insight into what is actually needed. > > Neil Youngman > > > > > > >

Re: canonical hostnames for tomcat server

2009-06-12 Thread Mark Shifman
are simpler solutions. can tomcat do this by > itself via configuration? > > thanks for help!! > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@

Re: Logging configuration in Tomcat

2009-01-13 Thread Mark Shifman
ntact the sender and delete the e-mail and its > attachments from all computers. > > --------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apach

Problem with Beta candidate for Tomcat connection pool

2008-11-14 Thread Mark Shifman
connections hang around? I old dbcp pool worked fine. Thanks in advance. Mark Shifman java.lang.reflect.UndeclaredThrowableException at $Proxy0.getConnection(Unknown Source) at org.apache.commons.dbutils.QueryRunner.prepareConnection(QueryRunner.java:189) ... Caused by

Re: redeploy/delete issue with tomcat6

2008-08-27 Thread Mark Shifman
ld? Any thoughts or ideas > would 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.or

[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 da

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: 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 wrote

Re: RESIDENTIAL MEMORY 100%

2008-03-31 Thread Mark Shifman
cribe, 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 PROTECTED] - To start a new topic, e-mai

Re: Null datasource trying to connect to JNDI connection.

2007-12-06 Thread Mark Shifman
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 PROTECTED] - To start a new topic, 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 playing

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 PROTECTED

Defining loggers "best" approach?

2006-09-29 Thread Mark Shifman
oader 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 ca

undeploy/deploy memory leak

2006-05-31 Thread Mark Shifman
Hi: I am using tomcat 5.5.16 , struts 1.2.9, jstl , castor and a bunch of stuff from jakarta commons. I can watch my perm gen memory fill up with jconsole when I deploy->run for a while -> undeploy->deploy. I have read the wiki page http://wiki.apache.org/tomcat/OutOfMemory and I am not

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

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
mmand line. The VM just stops 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

Tomcat is dying unpredictably

2005-10-26 Thread Mark Shifman
ror report file has been saved as /tmp/hs_err_pid5855.log. # Please refer to the file for further information. # jsvc.exec error: Service did not exit cleanly -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL