RE: Diagnose why Tomcat doesn't appear to deploy webapp module

2017-04-18 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Monday, April 17, 2017 5:01 PM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Diagnose why Tomcat doesn't appear to deploy webapp module > > I'm trying to set up an existing Spring webapp that ran

Diagnose why Tomcat doesn't appear to deploy webapp module

2017-04-17 Thread KARR, DAVID
I'm trying to set up an existing Spring webapp that ran on a different container before (weblogic), to run on Tomcat. Working on it in Eclipse, I've gotten all of the compile errors out, and I was able to add the webapp to my Tomcat server instance in the "Servers" view. I started the server

RE: When do I actually need to add JNDI references to web.xml?

2017-03-14 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Tuesday, March 14, 2017 1:20 PM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: When do I actually need to add JNDI references to web.xml? > > I have a small CXF/REST/Spring/JDBC app that I've ru

When do I actually need to add JNDI references to web.xml?

2017-03-14 Thread KARR, DAVID
I have a small CXF/REST/Spring/JDBC app that I've run on TomEE and Tomcat. I define datasources and environment entries and retrieve those from the application code using JNDI interfaces. This all works fine. What confuses me is that whenever I read in various unrelated docs about setting

RE: Moved app from TomEE to Tomcat, now getting Spring errors failing to go through proxy for XML validation

2017-03-10 Thread KARR, DAVID
go through proxy for XML validation > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > David, > > On 3/10/17 1:07 PM, KARR, DAVID wrote: > > I have an app using CXF/REST/Spring/JDBC that is working pretty well > > in TomEE (7.0.1). I'm trying to move it to T

RE: get NPE from NamingContextListener in app moved from TomEE to Tomcat

2017-03-10 Thread KARR, DAVID
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Friday, March 10, 2017 9:42 AM > To: Tomcat Users List <users@tomcat.apache.org> > Subject: Re: get NPE from NamingContextListener in app moved from TomEE > to Tomcat > > On 10/03

Moved app from TomEE to Tomcat, now getting Spring errors failing to go through proxy for XML validation

2017-03-10 Thread KARR, DAVID
I have an app using CXF/REST/Spring/JDBC that is working pretty well in TomEE (7.0.1). I'm trying to move it to Tomcat (8.5.11) because it doesn't need to be in TomEE, and I'm having problems adding additional features due to aspects of TomEE. I'm first testing the port by running Tomcat in

get NPE from NamingContextListener in app moved from TomEE to Tomcat

2017-03-10 Thread KARR, DAVID
I have a CXF/REST/Spring/JDBC app running in TomEE (7.0.1). I've decided to try to move it to Tomcat (8.5.11) because of some classloader conflicts (CXF classes) I'm now seeing in trying to add some new code to the app. Initially, I'm just running the server in Eclipse. When I add the apps to

Required changes to move an app from TomEE 7.0.1 to Tomcat 8.5.11

2017-03-10 Thread KARR, DAVID
I'm currently running a somewhat simple CXF/REST/Spring app in TomEE 7.0.1. It uses the CXF libraries in WEB-INF/lib, not in the container. It uses a couple of Environment strings, and some DataSource resources, all of which it gets from JNDI. I'm considering moving this app from TomEE to

Practical to write code in webapp that can return metadata from current access log?

2016-09-09 Thread KARR, DAVID
I'm considering writing a secondary diagnostics service for my CXF REST app running in Tomcat (TomEE) that can return some information about the number of calls to the main service in a particular time period. Is there an API I can use in Java that will give me access to the current access log

Any way to configure a javascript/html war with deployment-time properties?

2016-08-15 Thread KARR, DAVID
I'm using TomEE, but I think this question is Tomcat-specific, if there's any solution at all. I have a WAR that is a "pure" webapp, with only javascript, css, and html. The javascript connects to a REST service at a defined host:port. The host:port is currently hardcoded in a javascript

Define datasource, reference JDBC driver, and see init in console

2016-08-02 Thread KARR, DAVID
I'm attempting to use Tomcat(tomee) to run a REST service that will return some data from some SQL queries (Oracle). I've installed Tomee 7.0.1, which uses Tomcat 8.5.3. The JDBC driver is available from a private enterprise maven repo. I'd prefer to get it from there, as opposed to storing

Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7?

2013-01-16 Thread KARR, DAVID
We're running Bamboo 3.4.3 in Tomcat 6.0.20. It mostly apparently works fine, but yesterday I tried to get the Bamboo Sonar plugin working, and when I tried to add a server connection, I got the following stack trace: Caused by: java.lang.IllegalAccessException: Class

RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7?

2013-01-16 Thread KARR, DAVID
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, January 16, 2013 10:10 AM To: Tomcat Users List Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7? From: KARR, DAVID [mailto:dk0...@att.com

RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7?

2013-01-16 Thread KARR, DAVID
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, January 16, 2013 10:58 AM To: Tomcat Users List Subject: RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7? From: KARR, DAVID [mailto:dk0...@att.com

RE: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7?

2013-01-16 Thread KARR, DAVID
-Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Wednesday, January 16, 2013 11:42 AM To: Tomcat Users List Subject: Re: Is error with Bamboo Sonar plugin because of Tomcat 6 instead of Tomcat 7? On 1/16/2013 2:38 PM, KARR, DAVID wrote: -Original

RE: Any way to make tomcat send the disable caching headers on all responses?

2008-03-24 Thread Karr, David
- From: Karr, David Sent: Sunday, March 16, 2008 10:27 AM To: Tomcat Users List Subject: Any way to make tomcat send the disable caching headers on all responses? When I'm debugging javavascript code, it's really annoying when Firefox caches the javascript file (even when I've modified

Any way to make tomcat send the disable caching headers on all responses?

2008-03-16 Thread Karr, David
When I'm debugging javavascript code, it's really annoying when Firefox caches the javascript file (even when I've modified it). I'm familiar with the headers for disabling caching, but it's a little more annoying to emit those headers on javascript files. Unless I'm missing something, is there

Sometimes have to completely remove app from webapps for it to update

2008-03-05 Thread Karr, David
Tomcat 6.0.14, JDK 1.5.0_06, WinXPSP2. I sometimes run Tomcat from startup.bat, and I sometimes run it from Eclipse. Several times I've seen a situation where I will change my app and restart the server, and my test indicates that my change didn't get deployed. This isn't an HTML caching issue,

RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2

2008-01-28 Thread Karr, David
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 4:56 AM To: Tomcat Users List Subject: RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2 From: Karr, David [mailto:[EMAIL PROTECTED

RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2

2008-01-28 Thread Karr, David
: Re: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2 You could edit the startup/shutdown scripts to locally define a JAVA_HOME or JRE_HOME environment variable for the tomcat instance only. It's not pretty, but it works :-). --David Karr, David

RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2

2008-01-27 Thread Karr, David
: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Sunday, January 27, 2008 5:29 PM To: Tomcat Users List Subject: RE: Problems installing Tomcat 6 along existing Tomcat 5, and JAVA_HOME points to 1.4.2 From: Karr, David [mailto:[EMAIL PROTECTED] Subject: Problems installing Tomcat 6

Tomcat 5.5 won't start up anymore after adding/removing webapps

2008-01-22 Thread Karr, David
I installed v5.5.25. I installed the admin app (although the instructions on doing this seem uncertain). I used it for a few hours, deploying and undeploying some experimental apps using MyFaces and RichFaces. Now, for some reason, I'm finding that Tomcat won't start up at all, and I've

RE: Tomcat 5.5 won't start up anymore after adding/removing webapps

2008-01-22 Thread Karr, David
: Tomcat 5.5 won't start up anymore after adding/removing webapps To manually undeploy a webapp, when tomcat is stopped, remove webapps/webappname* remove work/Catalina/localhost/webappname remove conf/Catalina/localhost/webappname.xml Karr, David a écrit : I installed v5.5.25. I installed

Tomcat blew up (stack overflow error) deploying an app with MyFaces/RichFaces

2008-01-22 Thread Karr, David
Tomcat 5.5.25, JDK 1.5.0_11, WinXPSP2. I copied a war file to webapps and it auto-deployed it, but it failed autodeploy, which I expected. I then copied in several jars into the exploded WEB-INF/lib directory. At that point, in a fraction of a second the log file was filled up with a stack

Need help diagnosing 500 error in 5.0.28

2007-10-25 Thread Karr, David
I'm trying to deploy a simple SOAP service handler (written by someone else) to an ancient version of Tomcat (5.0.28). This app is also running on a production server with the same Tomcat version. I have a command-line tool that I use to send a test message to the server. When I send it, it