Re: JSON Logging of Tomcat Access Log.

2016-05-30 Thread Rainer Frey (Inxmail GmbH)
> On 27.05.2016, at 19:41, Christopher Schultz > wrote: > > AccessLogValve was written to conform to the age-old httpd log file > format, subject to whatever "pattern" you want to apply. > > You could sprinkle your pattern full of JSON stuff, but then > JSON-escaping wouldn't actually occur, e

Re: rotate catalina.out without restart?

2016-02-01 Thread Rainer Frey (Inxmail GmbH)
> On 01.02.2016, at 16:42, Harald Dunkel wrote: > > Hi folks, > > would it be possible to integate apache's rotatelogs > into catalina.sh to support daily rotation of catalina.out > without restart? On linux, (system) logrotate ha a “copytruncate” option that could be used. You’d need to check

Re: WebEx meeting invitation: Apache Tomcat: TLS key and certificate generation

2016-01-27 Thread Rainer Frey (Inxmail GmbH)
On 27.01.2016, at 13:31, Mark Thomas wrote: > > All, > > The recording for this is now available on the Apache Tomcat YouTube > channel: https://www.youtube.com/channel/UCpqpJ0-G1lYfUBQ6_36Au_g I don’t know whether that has s.th. to do with the WebEX sound option, but the sound of the recordin

Re: WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-09 Thread Rainer Frey (Inxmail GmbH)
Hi, > On 08.12.2015, at 11:41, Mark Thomas wrote: > The meetings are currently set up so you have to use a telephone to > connect to the audio. You can either dial in or get the system to call > you back. I am pretty sure that I have attended webex meetings with audio in the webex client. Would

Re: [PROPOSAL] Tomcat Webinar series

2015-11-13 Thread Rainer Frey (Inxmail GmbH)
h, how thoroughly these can be covered in ~10 min. I’d rather watch a longer webinar, than one that only scratches the surface. Rainer Frey Product Development - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat 7 / Java 7

2014-02-05 Thread Rainer Frey (Inxmail GmbH)
this is independent of Tomcat. So it is very likely that Tomcat *is* using the desired Java now. Others have already written how to verify for sure. > Thank you, > -Ragini Rainer Frey - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [OT] Curious difference in connection behaviour on database side DBCP vs. JDBC?

2013-11-21 Thread Rainer Frey (Inxmail GmbH)
On 22.11.2013, at 02:20, Christopher Schultz wrote: >> I also think that this is a justifiable spec violation, and all I’m >> asking is that this fact is shown more prominently, esp. as JDBC >> pool is advertised as a drop-in replacement for DBCP. > > Fair enough. Care you file a documentation b

Re: [OT] Curious difference in connection behaviour on database side DBCP vs. JDBC?

2013-11-20 Thread Rainer Frey (Inxmail GmbH)
On 20.11.2013, at 14:21, Christopher Schultz wrote: > Rainer, > FWIW, Connection.close also states this: > > " > Releases this Connection object's database and JDBC resources > immediately instead of waiting for them to be automatically released. > " > > Does that mean that all connection poo

Re: Curious difference in connection behaviour on database side DBCP vs. JDBC?

2013-11-19 Thread Rainer Frey (Inxmail GmbH)
On 19.11.2013, at 14:45, Mark Thomas wrote: > On 19/11/2013 13:32, Carl Boberg wrote: > >> I have here an example of the way we close from the application, (the devs >> have named it dispose). From my untrained non java dev eye we do not seem >> to be doing statement.Close(); and Im curious if

Re: [OT] WEB-INF

2013-07-15 Thread Rainer Frey
On 11.07.2013, at 17:36, André Warnier wrote: > Leo Donahue - RDSA IT wrote: >> You mention header/footers, which was in the back of my mind when I posted >> this. Placing headers/footers in WEB-INF doesn't allow me to re-use these >> in different webapps, without having multiple copies of th

Re: multi-tenant web app

2013-04-18 Thread Rainer Frey
On 18.04.2013, at 15:37, Jeffrey Janner wrote: >> Here's a real world example of doing this, by JFRog regarding their >> Artifactory SAAS. Spoiler: the crucial point is putting as many >> dependencies as possible into the shared classloader (where "possible" >> is not as easy as it sounds: >> >>

Re: multi-tenant web app

2013-04-17 Thread Rainer Frey
On 12.04.2013, at 13:08, Jamie wrote: > Greetings! > > I would like some advice with regards to deploying a web app in a > multi-tenant scenario. A while back, we had a few cloud service providers ask > us if they could host our web app as a service. Under pressure to come with a > quick sol

Re: tomcat jmx disabled by default ?

2013-04-08 Thread Rainer Frey
On 07.04.2013, at 11:58, Jakub 1983 wrote: > why do I have to enable jmx with command > > *set CATALINA_OPTS=-Dcom.sun.management.jmxremote \ >-Dcom.sun.management.jmxremote.port=%my.jmx.port% \ >-Dcom.sun.management.jmxremote.ssl=false \ >-Dcom.sun.management.jmxremote.authenticate=

Re: Tomcat jdbc pool connection failover

2013-03-12 Thread Rainer Frey
On 12.03.2013, at 17:14, Christopher Schultz wrote: > On 3/12/13 7:54 AM, amit shah wrote: >> I am using Oracle. Oracle JDBC Driver provides the Oracle >> Universal Connection Pool (UCP) which includes this >> featureof >> >> >

Re: Tomcat and Sun/Oracle Java 7

2013-02-11 Thread Rainer Frey
On 04.02.2013, at 19:40, Christopher Schultz wrote: > It's a "maybe". If you use "-target 1.6" and you make sure not to use > any APIs that are Java 1.7+ (not sure if the compiler actually checks > when you use -target 1.6) It does not. -target only sets the class file format. There's an option

Re: New Library folder

2012-12-27 Thread Rainer Frey
On 27.12.2012, at 11:40, N.s.Karthik wrote: > Hi > > I have multiple web applications working perfectly on Tomcat 7.0.30 > I know that jar files of similar can be moved to Tomcat /lib folder so the > same could be shared > by multiple applications. You know that *your specific jar files* ca

Re: Tomcat 7 manager quirk?

2012-10-29 Thread Rainer Frey
On 27.10.2012, at 11:31, Pid wrote: > I don't like the idea of .war uploads via the Manager app to a > production server, myself... Out of interest: how do you do deployment to production? Rainer - To unsubscribe, e-mail: user

Re: FAIL - Application at context path /test could not be started

2012-10-17 Thread Rainer Frey
On 16.10.2012, at 15:26, majin_clo...@t-online.de wrote: > Thanks for your reply. :) > > my web.xml looks like this: > > > http://java.sun.com/xml/ns/javaee"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http

Re: Context variation problems -- localhost versus VPS

2012-08-06 Thread Rainer Frey
On 28.07.2012, at 00:01, Caldarale, Charles R wrote: >> From: David Woosley [mailto:dwoos...@appnation.com] >> Please note that I am not using any "webapps" or "ROOT" folders. > > You *must* have a webapp named ROOT - no exceptions. Excuse me, but where's that requirement coming from? I usually

Re: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Rainer Frey
On 05.03.2012, at 14:14, Philippe ROUXEL wrote: >>> When I set JAVA_OPTS= -Xmx1024m -Xss75m >> >> That means: each thread get a stack of 75MB. One of the following applies: >> * the operating system has a limit on thread stack size >> * the per process memory limit is reached before all initial

Re: Tomcat7 OutOFMemoryError

2012-03-05 Thread Rainer Frey
On 05.03.2012, at 11:30, Philippe ROUXEL wrote: > When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following applies: * the operating system has a limit on thread stack size * the per process memory limit is reached before all initial tomcat threads

Re: Overriding web.xml parameters

2011-09-27 Thread Rainer Frey
On 27.09.2011, at 11:38, Romaric wrote: > Le 27/09/2011 11:33, Rainer Frey a écrit : >> On 27.09.2011, at 11:00, Romaric wrote: >> >>> Hi, >>> >>> The problem is that the values in web.xml override those in context.xml >>> when it should be

Re: Overriding web.xml parameters

2011-09-27 Thread Rainer Frey
On 27.09.2011, at 11:00, Romaric wrote: > Hi, > > The problem is that the values in web.xml override those in context.xml when > it should be the other way around. > Do you have any idea what the problem might be ? Which exact version? The behavior sounds like a bug that was present from (AFAI

Re: Tomcat 6 not working with JDBC driver for MySQL

2011-07-26 Thread Rainer Frey
Please stop top posting. On 26.07.2011, at 12:02, A Df wrote: >> On 25.07.2011, at 22:40, A Df wrote: >> >>> Dear All: >>> >>> I have read numerous posts and documentation and now I really need help. >>> >>> >>> I am using the following: >>> >>> Product Version: NetBeans IDE 7.0 (Build 201104

Re: Tomcat 6 not working with JDBC driver for MySQL

2011-07-25 Thread Rainer Frey
On 25.07.2011, at 22:40, A Df wrote: > Dear All: > > I have read numerous posts and documentation and now I really need help. > > > I am using the following: > > Product Version: NetBeans IDE 7.0 (Build 20110408) > > I performed the steps below as follows: > > I have added the MySQL Con

Re: Problem with SSL certificate

2011-06-29 Thread Rainer Frey
On 29.06.2011, at 20:09, D'Anna, Rich (PHH) wrote: > I'm guessing > we are using the native APR connector based on the configuration we > selected for the server.xml. > > When I looked in the logs I did find this entry: > > Jun 29, 2011 1:56:31 PM org.apache.catalina.core.AprLifecycleListener >

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread Rainer Frey
On Thursday 07 April 2011 22:17:22 Christopher Schultz wrote: > >> Could you be missing a shared > >> library from your java.library.path? Sometimes, missing shared libs can > >> cause CNFEs. > > > > The folder where the .dlls are located is on the windows %path%. Is > > that part of the java.li

Re: Problem with overriding parameters via context.xml

2011-02-28 Thread Rainer Frey
On Monday 28 February 2011 16:53:00 Mark Thomas wrote: > On 28/02/2011 14:51, Rainer Frey wrote: > > On Friday 25 February 2011 17:21:07 Mark Thomas wrote: > >> 6.0.33 is likely to be several months away. I don't see anything in the > >> change log that is lik

Re: Problem with overriding parameters via context.xml

2011-02-28 Thread Rainer Frey
On Friday 25 February 2011 17:21:07 Mark Thomas wrote: > On 25/02/2011 16:14, chris derham wrote: > > Oliver said that the defect I was asking about was 50700. This appears to > > have been fixed now. So when is the next release of tomcat scheduled? I > > searched the tomcat pages, but can't see a

Re: How to serve .net and java websites on Windows 2008 with IIS7 and Tomcat

2011-02-02 Thread Rainer Frey
On Wednesday 02 February 2011 01:51:51 Jordan Michaels wrote: Please don't top post. > On 02/01/2011 04:38 PM, Conway Liu wrote: > > It seems like the Tomcat service only serves applications from one > > location ($CATALINA_HOME) No. you can have * webapps with a document path outside $CATALINA_

Re: Any tools to detect tomcat services failure, and start it again automatically?

2010-11-05 Thread Rainer Frey
On Friday 05 November 2010 12:51:25 Bill Wang wrote: > Hi All, > > I am searching the tool (or script) to be used for my tomcat env, that it > can keep running as daemon in background, detect the tomcat services > (several versions of tomcat). If it found the services don't run, or have > failure,

Re: running tomcat6 under a different user than root (debian)

2010-10-29 Thread Rainer Frey
On Friday 29 October 2010 15:34:29 Mark Thomas wrote: > If Tomcat has access to a database and the attacker has access to a > shell prompt (or similar) with the same privileges as Tomcat then the > attacker has access to the database and there is absolutely nothing you > can do to prevent that. In

Re: SSL Certificate : Unable to configure Tomcat "server.xml"

2010-10-26 Thread Rainer Frey
On Tuesday 26 October 2010 08:24:53 Richard da Silva wrote: > (a) Exists in certificate store 'cacerts' (bad idea btw). > > Yes it does exist. > > But, I took your advice, and created a separate keystore. Then imported the > certificate there Did you create a new private key and request a new ce

Re: Best practice to upgrade (redeploy) .war files

2010-09-08 Thread Rainer Frey
On Wednesday 08 September 2010 22:49:20 Christopher Schultz wrote: > Rainer, > > On 9/3/2010 2:53 AM, Rainer Frey wrote: > > And if you use cold deployment only, how do you avoid downtime for other > > apps? Do you really use one Tomcat instance per app? > > I use one

Re: Best practice to upgrade (redeploy) .war files

2010-09-02 Thread Rainer Frey
On Monday 30 August 2010 12:55:19 Rainer Frey wrote: > Hi, It's not normally my style, but is there really no feedback on this topic? Does anyone use explicit hot deployment with Tomcat Manager in production? How do you actually upgrade deployed applications? And if you use cold de

Re: Best practice to upgrade .war files

2010-08-30 Thread Rainer Frey
On Monday 30 August 2010 13:13:03 Ozgur Ozdemircili wrote: > On Mon, Aug 30, 2010 at 12:55 PM, Rainer Frey wrote: > > Hi, > > > > what is the best practice to replace a webapp with a newer version in > > production? > > > > I'm using Tomcat 6.0.29, wi

Best practice to upgrade .war files

2010-08-30 Thread Rainer Frey
Hi, what is the best practice to replace a webapp with a newer version in production? I'm using Tomcat 6.0.29, with unpackWARs="true" autoDeploy="false". All Webapps reside in appBase, some have a machine-specific context descriptor, that I manually copy to conf/Catalina/localhost. I use the

Re: multiple instances on a server

2010-08-30 Thread Rainer Frey
On Saturday 28 August 2010 00:11:11 Rainer Jung wrote: > On 27.08.2010 21:58, Wesley Acheson wrote: > > On Fri, Aug 27, 2010 at 9:41 PM, Pid wrote: > >> On 27/08/2010 18:51, Wesley Acheson wrote: > >>> I think the reason for doing this in ruby is that ruby is single > >>> threaded, I've been told.

JMX access with SSL

2010-07-26 Thread Rainer Frey
Hi, per Java SE Monitoring and Management Guide, JMX access with SSL needs a keystore with certificate which is configured with the Java System property javax.net.ssl.keyStore. Is it safe to set this property for Tomcat (current 6.0) to use SSL for JMX, or might this interfere with the SSL conf

Re: setenv.sh and CATALINA_BASE

2010-07-20 Thread Rainer Frey
On Thursday 15 July 2010 20:26:14 Christopher Schultz wrote: > Rainer, Hi, and sorry for the late reply. [I changed the order of some parts of your mail to reply > On 7/12/2010 9:14 AM, Rainer Frey wrote: > > I understand that, but would it be possible/good/not causing problems t

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
On Monday 12 July 2010 14:44:19 Konstantin Kolinko wrote: > 2010/7/12 Rainer Frey : > > Hi, > > > > in the default case (just one instance, supplied start scripts), > > CATALINA_BASE is set to CATALINA_HOME. But this assignment, > > > > if [ -z "

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
On Monday 12 July 2010 12:17:40 André Warnier wrote: > Rainer Frey wrote: > > On Monday 12 July 2010 10:56:19 André Warnier wrote: > >> Rainer Frey wrote: > >>> Hi, > >>> > >>> in the default case (just one instance, supplied start scripts),

Re: setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
On Monday 12 July 2010 10:56:19 André Warnier wrote: > Rainer Frey wrote: > > Hi, > > > > in the default case (just one instance, supplied start scripts), > > CATALINA_BASE is set to CATALINA_HOME. But this assignment, in catalina.sh > >

setenv.sh and CATALINA_BASE

2010-07-12 Thread Rainer Frey
Hi, in the default case (just one instance, supplied start scripts), CATALINA_BASE is set to CATALINA_HOME. But this assignment, if [ -z "$CATALINA_BASE" ] ; then CATALINA_BASE="$CATALINA_HOME" fi is done *after* reading setenv.sh. Is this for a specific reason, or just accidently? The reas

Re: mod_jk file not found

2010-05-17 Thread Rainer Frey
On Sunday 16 May 2010 19:18:47 Caldarale, Charles R wrote: > > From: Markus Mehrwald [mailto:mmehrw...@gmx.at] [...] > > Additionally we can use mod_security to precheck requests > > delivered to tomcat to remove use- and sensless requests > > and minimise the risk of attacks. > > Why do you thi

Re: HttpServletRequest.getParameter() inside a valve

2010-03-04 Thread Rainer Frey
On Thursday 04 March 2010 17:41:17 Christopher Schultz wrote: > It does: calling request.getParameter will consume the request body if > the following are true: > > 1. The protocol is HTTP or HTTPS > 2. The method is POST > 3. The Content-Type is application/x-www-form-urlencoded > [4. A call to r

Re: [Fwd: Re: Parameters disappear from PUTs]

2010-02-08 Thread Rainer Frey (Inxmail GmbH)
On Saturday 06 February 2010 03:27:23 c...@munat.com wrote: > Are you serious? [...] > I'm certain you're not suggesting that browsers be forced to insert a name > before the parameter string in every POST request. [...] > What does *any* of this have to do with a simple > post to the list explai

Re: How to solve the problem "java.lang.OutOfMemoryError: unable to create new native thread" in Tomcat5.5.26

2009-11-30 Thread Rainer Frey (Inxmail GmbH)
On Monday 30 November 2009 10:57:04 Peter Chen wrote: > Hi, > > I meet one problem of OutOfMemoryError when I am running the > Tomcat5.5.26. The OS is Solaris 10 sparc, and the JVM version is > 1.5.0.12, and following is the detail of stack information. > > Nov 29, 2009 12:41:16 AM > > org.apache.t

Re: Deployment specific configuration - best practice

2009-11-17 Thread Rainer Frey
On Tuesday 17 November 2009 16:04:48 Mark Thomas wrote: > Rainer Frey (Inxmail GmbH) wrote: > > On Tuesday 17 November 2009 01:15:52 Mark Thomas wrote: > >> Rainer Frey wrote: > > Thanks for the info, will do that. The actual problem is described in > > Message-Id

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-17 Thread Rainer Frey
On Monday 16 November 2009 14:24:37 Rainer Frey wrote: > Hi, > > I found a problem when using DriverManager.getConnection() with a build > from current 6.0 SVN [...] As requested, added a bugzilla entry: https://issues.apache.org/bugzilla/show_bug.cgi?id=4

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-17 Thread Rainer Frey
On Monday 16 November 2009 14:24:37 Rainer Frey wrote: > Hi, > The error originally occured in a much more complicated application with a > home-grown DB connection pool, but the servlet I mentioned above exhibits > this behavior. For anyone willing to test: here is a .war fi

Re: Deployment specific configuration - best practice

2009-11-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 November 2009 01:15:52 Mark Thomas wrote: > Rainer Frey wrote: > > * settings in /META-INF/context.xml > > This one please. > > Tomcat will extract it on first deployment. OK that will fail but we can > then edit the extracted version and Tomcat will use th

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey (Inxmail GmbH)
On Monday 16 November 2009 15:00:32 Pid wrote: > On 16/11/2009 13:54, Rainer Frey wrote: > > I forgot a very important information: the JDBC driver is in tomcat/lib > > because our server usually runs several instances of the same webapp, and > > the customers have t

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey
On Monday 16 November 2009 14:24:37 Rainer Frey wrote: > Hi, > > I found a problem when using DriverManager.getConnection() with a build > from current 6.0 SVN (this morning). [...] > Everything works fine with Tomcat 6.0.20. I forgot a very important information: the JDBC driv

Re: Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey
On Monday 16 November 2009 14:32:41 Mikolaj Rydzewski wrote: > Rainer Frey wrote: > > I found a problem when using DriverManager.getConnection() with a build > > from current 6.0 SVN (this morning). Basically I have a Servlet that's > > loaded on startup and does foll

Webapp reload and DriverManager in Tomcat 6.0 trunk

2009-11-16 Thread Rainer Frey
Hi, I found a problem when using DriverManager.getConnection() with a build from current 6.0 SVN (this morning). Basically I have a Servlet that's loaded on startup and does following in its init() method: try { Class.forName( driver ); } catch( ClassNotFoundException x ) { log

Deployment specific configuration - best practice

2009-11-16 Thread Rainer Frey
Hi, I'm preparing a sample webapp for this list to illustrate a problem that I have with JDBC driver loading in a servlet. Anyone who'd try this would need to edit the jdbc connection data to test with a local DB. What is the easiest method for you to configure a webapp that I'll provide? * s

Re: Tomcat6 does not shutdown

2009-10-22 Thread Rainer Frey
On Thursday 22 October 2009 12:07:29 NabiL wrote: > Hi, > > I use tomcat 6 installed on Linux RedHat5. I enabled JMX as follows > JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=10.97.242.177 > -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=2099 > -Dcom.sun.management.jmxremote

Re: Tomcat behind Apache reverse proxy

2009-08-11 Thread Rainer Frey
On Tuesday 11 August 2009 16:10:07 Mark Thomas wrote: > Rainer Frey wrote: [...] Mark, thanks for your patient help with my questions. I really appreciate this. > > Also, properties from catalina.properties and from Java System Properties > > are expanded, but it seems that cata

Re: Tomcat behind Apache reverse proxy

2009-08-11 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 11 August 2009 15:37:54 Rainer Frey wrote: > Also, properties from catalina.properties and from Java System Properties > are expanded, but it seems that catalina.properties takes precedence. I > find this surprising, because system properties are in my perception more >

Re: Tomcat behind Apache reverse proxy

2009-08-11 Thread Rainer Frey
On Tuesday 11 August 2009 10:40:48 Mark Thomas wrote: > Rainer Frey wrote: > > Some customers (with varying degree of experience) want to use this > > behind Apache HTTPD as reverse proxy and ask us for instructions. > > What would you recommend to describe in a general

Tomcat behind Apache reverse proxy

2009-08-10 Thread Rainer Frey
We develop an application that is heavily using different kind of web services (SOAP, Hessian) and only has few JSPs that are used with a browser. We bundle Tomcat (6.0.20) as server runtime. Some customers (with varying degree of experience) want to use this behind Apache HTTPD as reverse prox

Re: Setting maxThreads from outside tomcat

2009-07-30 Thread Rainer Frey
On Thursday 30 July 2009 22:44:47 Roger Powers wrote: > --- On Thu, 7/30/09, Roger Powers wrote: > > From: Roger Powers > > Subject: Setting maxThreads from outside tomcat > > To: users@tomcat.apache.org > > Date: Thursday, July 30, 2009, 4:35 PM > > Hi, > > > > I am making tomcat 6 work on diff

Re: Context.xml not updating dataSource

2009-07-20 Thread Rainer Frey
On Monday 20 July 2009 17:08:15 Mike Frohme wrote: > > > >> Edit the copy of the context.xml file and all will work as you > > > >> expect. > > > > > > 1. In production, the operations folks don't have to unpack the app, > > > edit the context file and re-pack the app to edit the configuration. >

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

2009-07-14 Thread Rainer Frey
On Tuesday 14 July 2009 15:56:07 Caldarale, Charles R wrote: > > From: Neil Youngman [mailto:neil.young...@wirefast.com] > > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > > URL 'null' > > > > As an experiment I removed the WSAM directory and several restarts have > > not

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

2009-07-14 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 14 July 2009 10:42:19 Neil Youngman wrote: > I'm having trouble getting Oracle access from Axis2 to work under > Tomcat 6. I've spent a lot of time Googling and prodding and poking > the application and I haven't found a solution that works for me. > > Oddly the configuration I'm using s

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

2009-07-14 Thread Rainer Frey
On Tuesday 14 July 2009 14:31:06 Caldarale, Charles R wrote: > > From: Neil Youngman [mailto:neil.young...@wirefast.com] > > Subject: RE: [ERROR] Cannot create JDBC driver of class '' for connect > > URL 'null' > > > > That's $CATALINA_BASE/conf, not $CATALINA_HOME/conf > > Regardless, the lack of

Re: Context.xml not updating dataSource

2009-06-23 Thread Rainer Frey
On Monday 22 June 2009 13:53:47 Mark Thomas wrote: > >> Edit the copy of the context.xml file and all will work as you expect. > > > 1. In production, the operations folks don't have to unpack the app, > edit the context file and re-pack the app to edit the configuration. > > 2. When a new version

Re: Context.xml not updating dataSource

2009-06-22 Thread Rainer Frey
On Monday 22 June 2009 13:53:47 Mark Thomas wrote: > Rainer Frey wrote: > > On Monday 22 June 2009 12:02:49 Mark Thomas wrote: > >> You are editing the wrong file. When a web application is first > >> deployed, any META-INF/context.xml is copied to > &g

Re: Context.xml not updating dataSource

2009-06-22 Thread Rainer Frey
On Monday 22 June 2009 12:02:49 Mark Thomas wrote: > You are editing the wrong file. When a web application is first > deployed, any META-INF/context.xml is copied to > CATALINA_BASE/conf// (usually > CATALINA_BASE/conf/Catalina/localhost) and renamed to appName.xml. Eg > for a war file named myap

JMX remote access in Tomcat 5.0

2009-05-20 Thread Rainer Frey (Inxmail GmbH)
Hi, [Disclaimer: I know well that Tomcat 5.0 is obsolete, an update is planned but not possible until later this year, and I don't want to leave the monitoring issues unaddressed until then.] I use Tomcat 5.0 with Java 6. In Java 6, local JMX access with jconsole is active by default. But when

Re: Change thread name of HTTP worker threads at Runtime

2009-05-18 Thread Rainer Frey (Inxmail GmbH)
On Friday 15 May 2009 16:58:55 Caldarale, Charles R wrote: > > From: Rainer Frey (Inxmail GmbH) [mailto:rainer.f...@inxmail.de] > > Subject: Re: Change thread name of HTTP worker threads at Runtime > > > > I just read this up. It says "should ensure". How strong t

Re: Change thread name of HTTP worker threads at Runtime

2009-05-15 Thread Rainer Frey (Inxmail GmbH)
On Friday 15 May 2009 16:07:11 Christopher Schultz wrote: > Rainer, > > On 5/15/2009 2:37 AM, Rainer Frey (Inxmail GmbH) wrote: > > is the assumption that one request is processed by one thread (and never > > passed to another during processing) true for all connectors, inclu

Re: Change thread name of HTTP worker threads at Runtime

2009-05-14 Thread Rainer Frey (Inxmail GmbH)
On Wednesday 06 May 2009 12:42:09 Ronald Klop wrote: > Op woensdag, 6 mei 2009 11:58 schreef "Rainer Frey (Inxmail GmbH)" :> > > > Hi, > > > > I occassionally have to analyse thread dumps of tomcat servers which > > serve up to 25 instances of the same

Change thread name of HTTP worker threads at Runtime

2009-05-06 Thread Rainer Frey (Inxmail GmbH)
Hi, I occassionally have to analyse thread dumps of tomcat servers which serve up to 25 instances of the same (quite complex) web service application. All custom threads have names that contain the instance id, but it is impossible to see which HTTP processor threads serve which application ins

Re: StandardServer.await: Invalid command 'GET / HTTP/1.1' received

2009-05-05 Thread Rainer Frey
On Tuesday 05 May 2009 12:01:24 balachandra maddina wrote: > Hi All, > 5 May, 2009 3:24:11 PM org.apache.catalina.core.StandardServer await > WARNING: StandardServer.await: Invalid command 'GET / HTTP/1.1' received > > im using eclipse ganymede and the the server configuration is set to use > t

Re: Surprising auto-(un)deploy behavior

2009-03-31 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 31 March 2009 09:42:58 Mark Thomas wrote: > Rainer Frey (Inxmail GmbH) wrote: > > In Tomcat 6.0 deployment works the same, but when I delete the war file, > > the application is undeployed and the expanded directory is deleted. Is > > this change documented somewh

Surprising auto-(un)deploy behavior

2009-03-30 Thread Rainer Frey (Inxmail GmbH)
stion regards development, so there is no need to convince me that autodeployment should not be used in production :-) Regards Rainer Frey - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: us

Re: not valid Tomcat installation

2009-03-23 Thread Rainer Frey (Inxmail GmbH)
On Monday 23 March 2009 03:22:05 Martin Gainty wrote: > you'll need to install the sysdeo tomcat plugin available from > http://www.eclipsetotale.com/tomcatPlugin.html > > (step by step instructions available at the site) sigh. development of the sysdeo plugin has stopped, the last release is for

Re: [OT] Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 March 2009 15:23:03 André Warnier wrote: > +1 (confirming what Rainer says above). [...] > I also do not really see the interest in running a separate Tomcat on > the physical Linux server, since one can easily define a Virtual host > and run a Tomcat in there. To avoid misunderst

[OT] Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 March 2009 15:44:19 Alan Chaney wrote: > >> What do you mean with "the other end"? I use VMWare Server 2 on Ubuntu > >> (original tar.gz install from vmware.com), also found that it blocks the > >> said ports, and simply changed the server.xml of the VMWare Tomcat. > > And how did the

[OT] Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Tuesday 17 March 2009 14:46:35 Christopher Schultz wrote: > Rainer, > > > There is no special management instance. VMWare Server is an application > > that runs on a regular host operating system instance (it installs linux > > kernel modules though, and probably also Windows drivers). > > Inter

Re: Vmware Server 2 web interface uses tomcat but hogs 8005 and 8009

2009-03-17 Thread Rainer Frey (Inxmail GmbH)
On Monday 16 March 2009 22:42:27 Christopher Schultz wrote: > > I spent some time looking to see whether these were configurable, but I > > found nothing, apart from a rather snotty message on the vmware bulletin > > boards stating that they didn't think that you should run a server on > > the same

Re: Recurrent OutOfMemoryError during Eclipse publish operation to test environment

2008-12-18 Thread Rainer Frey
Error: Requested array size exceeds VM limit Searching for this error message brought me to: http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/memleaks.html#gbyvi In short: an array larger than the entire heap is requested. HTH Rainer Frey -

Re: Tomcat 6 and javamail

2008-11-27 Thread Rainer Frey
he Javamail jars in WEB-INF/lib. If this is not successful, I guess it's impossible to help unless you post more code, complete exception messages and perhaps the output of Javamail with mail.debug=true. As I think it is not directly related to tomcat, I'd recommend asking on the Javamail

Re: Tomcat 6 and javamail

2008-11-26 Thread Rainer Frey
On Wednesday 26 November 2008 08:37:14 Rainer Frey wrote: > > In the MailServer constructor I do the following > > > > properties = System.getProperties(); > > ... > > properties.put("mail.smtp.auth", "false"); > > > > so it looks l

Re: Tomcat 6 and javamail

2008-11-25 Thread Rainer Frey
On Tuesday 25 November 2008 15:09:54 Lyallex wrote: > Hello again > > 2008/11/19 Don Millhofer <[EMAIL PROTECTED]>: > > Are you sure that the mail server, serving the host you are deploying to > > does not require authentication? I got this same error trying to go > > through the Google Mail Serve

Re: All threads are busy

2008-11-25 Thread Rainer Frey
On Monday 24 November 2008 16:15:19 Martin Spinassi wrote: > Hi to all again! > Nov 24, 2008 1:51:54 PM org.apache.tomcat.util.threads.ThreadPool > logFull > SEVERE: All threads (200) are currently busy, waiting. Increase > maxThreads (200) or check the servlet status > maxThreads="400"

Re: Question regarding Tomcat memory

2008-11-18 Thread Rainer Frey (Inxmail GmbH)
large, and most apps don't need this much, unless they use deeply recursive algorithms. Setting Xss to a lower value reduces memory footprint of a single thread, and thus allows for more threads and/or larger heap with same amount of physical memory. Regards Rainer Frey --

Re: JSP compile error - required library in tomcat/shared/lib

2007-08-16 Thread Rainer Frey
the JSP tries to use? There are many more libraries in shared/lib, and none is listed in the classpath of the error message. Rainer > > En l'instant précis du 16/08/07 09:44, Rainer Frey s'exprimait en ces > > termes: > > Hi all, > > > > after moving a jar file fr

JSP compile error - required library in tomcat/shared/lib

2007-08-16 Thread Rainer Frey
all libraries that contain classes used in JSPs be in tomcat/common/lib (or WEB-INF/lib), or is this a bug in tomcat, or is this an error in our installation/configuration? Thanks, Rainer Frey P.S.:Here is the stack trace, showing no tomcat/shared/lib/anything in classpath: SEVERE: Javac except

HTTPS client connection from JSP

2006-06-23 Thread Rainer Frey
do HTTPS with self-signed certificates. But it does not work on server with CA signed SSL certificates. Any ideas what the problem might be? Rainer Frey -- Software Development -- Inxmail GmbH Kaiser-Joseph-Str. 274, 79098 Freiburg, G