RE: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-09 Thread Guofeng Zhang
Subject: Re: [OT] Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guofeng, On 3/7/12 5:32 AM, Guofeng Zhang wrote: > name="jdbc/iviewDS" testQuery="select count(*) from T_ROLE&q

Using tomcat7-maven-plugin- 2.0-beta-1: java.lang.RuntimeException: Name jdbc is not bound in this Context

2012-03-07 Thread Guofeng Zhang
Hi, I try tomcat7-maven-plugin/2.0-beta-1. When I use "mvn tomcat7:run" to launch my app, I got: javax.naming.NameNotFoundException: Name jdbc is not bound in this Context I configured the datatsource as global naming datasource in server.xml, The server.xml is copied to src\main\tomcatco

Web fragment - static resources is not returned (Tomcat 7.0.25)

2012-02-14 Thread Guofeng Zhang
Hi, I create a web fragment, which contains servlets and static HTML and CSS files. The following is their location in the fragement JAR file: /META-INF +---web-fragment.xml /resources +---style.css +---hello.html /com The servlet classes This jar pl

How to configure Jar scanner in context.xml

2011-04-13 Thread Guofeng Zhang
Hi, I do not find a concrete sample in the doc to demonstrate how to configure jar scanner in context.xml in tomcat 7. Could anyone give me a sample to configure the Jar scanner? I need the scanner only scan web-inf/lib and web-info/classes. I find that Tomcat scan all the jars it c

Does Tomcat 7.0 support JSR-196?

2010-07-14 Thread Guofeng Zhang
If not, which version will support it in the future? Thanks!

RE: why does mod_jk still try to send the request to a shutdown machine?

2007-08-23 Thread Guofeng Zhang
By the way, the Apache server and my application run on Windows Server 2003. -Original Message- From: Guofeng Zhang Sent: Friday, August 24, 2007 2:28 PM To: 'Tomcat Users List' Subject: RE: why does mod_jk still try to send the request to a shutdown machine? Thanks for all t

RE: why does mod_jk still try to send the request to a shutdown machine?

2007-08-23 Thread Guofeng Zhang
could lower you prepost_timeout. The Timeouts will help for unplanned downtimes. For planned downtimes you should administratively change the activation attribute of the load balancer members. Regards, Rainer Guofeng Zhang schrieb: > Hi, > > > > I use Apache as the load balancer

why does mod_jk still try to send the request to a shutdown machine?

2007-08-22 Thread Guofeng Zhang
Hi, I use Apache as the load balancer and configured mod_jk to work in failover mode. The master and slave run on separate machines. To test how the failover works, I shut down the master machine, then I access my application. But it takes about one minute for me to see the first page. I t

Will Tomcat 6 support JSR-196 (Java Authentication SPI for Containers)?

2007-06-25 Thread Guofeng Zhang
Hi, Is there any plan in Tomcat's roadmap that when Tomcat will support JSR-196? Thanks

How to customize the context paths for several web application.

2007-06-04 Thread Guofeng Zhang
Hi, We have four web applications that deployed on Tomcat 6.0 at the same time. Some special customers want to use special context paths to access them, so I think the easiest way is to use context.xml to define the context paths. I do not know how to do it? Can you kindly give me a sample?