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
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
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-
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'
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
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
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
--
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
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
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-
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
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.
>>
>>
>> -----
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
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 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
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
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
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
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
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
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
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
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
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
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
__
> 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
-
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,
>
>
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
-
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
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
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
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
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
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
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
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
-
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
-
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
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...@
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
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
>
>
>
>
>
>
>
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...@
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
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
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
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
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
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
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
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-
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
-
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
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]
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
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
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
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 \
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
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
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
60 matches
Mail list logo