RE: [dbcp] Call Oracle stored procedure via DBCP?

2004-12-02 Thread Phillip Qin
If you need to get the underlying connection, ((BasicDataSource) dataSource).setAccessToUnderlyingConnectionAllowed(true); Before you can getConnection. -Original Message- From: Shankar Unni [mailto:[EMAIL PROTECTED] Sent: December 1, 2004 5:32 PM To: [EMAIL PROTECTED] Subject: Re:

RE: Error Preventing upgrade to Tomcat 5

2004-11-30 Thread Phillip Qin
I thought it is a nice feature of Tomcat 5 since it hides the index.jsp from http://localhost/index.jsp so that =the main link becomes http://localhost. -Original Message- From: Chris Cherrett [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 8:30 PM To: Tomcat Users List Subject: Re:

RE: What Connector Should I Use?

2004-11-29 Thread Phillip Qin
I think the other reason cited in the news does not apply to me. I use jk2. I like it because it is easy to configure. Of course, if people already have the jk configure in production, why would they bother upgrading to jk2 and creating a new learning curve? Look at how many sites still use Apache

RE: What Connector Should I Use?

2004-11-29 Thread Phillip Qin
- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 11:39 AM To: Tomcat Users List Subject: Re: What Connector Should I Use? Phillip Qin wrote: I think the other reason cited in the news does not apply to me. I use jk2. I like it because it is easy to configure. You

RE: EJB in tomcat

2004-11-29 Thread Phillip Qin
EJB needs EJB container. Tomcat is a servlet/jsp container. However, you can find enterprice beans through naming lookup. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 2:55 PM To: 'Tomcat Users List' Subject: RE: EJB in tomcat Can EJB's be

RE: Tomcat automatically serializes session on shutdown and start up on Unix

2004-11-29 Thread Phillip Qin
You can also start tomcat in your rc.d init script. -Original Message- From: Pek Lee [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 4:37 PM To: Tomcat Users List Subject: RE: Tomcat automatically serializes session on shutdown and startup on Unix Hi Shapira, In Windows, I ran

RE: [OT] SCWCD Exam 1.4

2004-11-26 Thread Phillip Qin
So it looks more like Dummies for GMAT? I once saw a guy read that Dummies book before he took the GMAT. -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: November 26, 2004 5:31 AM To: Tomcat Users List Subject: RE: [OT] SCWCD Exam 1.4 lol, thanks for that,

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Phillip Qin
Wrong suggestion. It will cause NoClassDefFoundException since Tomcat has it in common/lib. -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: November 26, 2004 6:21 AM To: Tomcat Users List Subject: RE: help on JDNI , DBCP with oracle check for

RE: Tomcat not starting using startup.bat

2004-11-26 Thread Phillip Qin
For tomcat 5, you should try startup-using-launcher.bat -Original Message- From: Quinton Delpeche [mailto:[EMAIL PROTECTED] Sent: November 26, 2004 10:29 AM To: Tomcat Users List Subject: Re: Tomcat not starting using startup.bat On Friday 26 November 2004 17:17, Roman D wrote:

RE: help on JDNI , DBCP with oracle

2004-11-26 Thread Phillip Qin
-collections in our web-inf/lib, and we use jndi datasources without problem. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: 26 November 2004 15:05 To: 'Tomcat Users List' Subject: RE: help on JDNI , DBCP with oracle Wrong suggestion. It will cause

RE: tomcat 5 directory layout Q.

2004-11-26 Thread Phillip Qin
TC4.1 and TC5.0 have almost the same directory structure, except in TC5.0, ${your.app}.xml is under ${catalina_home}/conf/${engine}/${host}. Oin order to deploy your web app, put your war or expanded war into ${catalina_home}/webapps/${host}. If you use struts, drop off struts.jar to WEB-INF/lib.

GlobalNamingResources

2004-11-25 Thread Phillip Qin
I setup a GlobalNamingResoruces entry in server.xml Resource name=mail/whatever auth=Container scope=Shareable type=javax.mail.Session/ ResourceParams name=mail/whatever parameter namemail.smtp.host/name valuemail.whatever.com/value

RE: GlobalNamingResources

2004-11-25 Thread Phillip Qin
I think I figured out what was wrong. The global should be mail/whatever. I can still use context lookup. Problem solved. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: November 25, 2004 12:46 PM To: '[EMAIL PROTECTED]' Subject: GlobalNamingResources I setup

RE: web.xml / struts-config.xml

2004-11-25 Thread Phillip Qin
By using context.getResourceAsStream you can always read any file in your app directory. -Original Message- From: Brij Naald [mailto:[EMAIL PROTECTED] Sent: November 25, 2004 4:02 PM To: [EMAIL PROTECTED] Subject: web.xml / struts-config.xml Hi is it possible for a filter,a servlet or

RE: How to disable directory listing

2004-11-24 Thread Phillip Qin
Do it in your app's web.xml -Original Message- From: Lee Chin Khiong [mailto:[EMAIL PROTECTED] Sent: November 24, 2004 1:29 AM To: 'Tomcat Users List' Subject: RE: How to disable directory listing Is there any better way to configure Tomcat 5 to no Directory listing just like IIS ?

RE: Tomcat 5 and Mail...

2004-11-23 Thread Phillip Qin
In 4.1.30, I set these policies grant codeBase file:${catalina.home}/webapps/- { // email permission java.io.FilePermission ${catalina.home}/common/lib/activation.jar,read; permission java.io.FilePermission ${catalina.home}/common/lib/mail.jar,read; permission java.io.FilePermission

RE: problem with simultaneous query submissions

2004-11-23 Thread Phillip Qin
Your problem shouldn't occur unless you use instance variables in your servlet. A quick fix would be put synchronized (session) { } Block outside your code. -Original Message- From: Satish Plakote [mailto:[EMAIL PROTECTED] Sent: November 22, 2004 10:10 PM To: Tomcat Users List

RE: Logging and Deployment best practices

2004-11-23 Thread Phillip Qin
Hi, I don't think the log will go to system32 directory. Try something like this log4j.rootLogger=INFO, fatalconsole, file | | log4j.appender.file=org.apache.log4j.DailyRollingFileAppender

RE: jstl.jar and standard.jar causes Digester, taglib error on st artup

2004-11-23 Thread Phillip Qin
Where did you use digester and jstl? I mix jstl and struts tags on my pages and they worked fine. -Original Message- From: Morten Andersen [mailto:[EMAIL PROTECTED] Sent: November 23, 2004 10:38 AM To: [EMAIL PROTECTED] Subject: jstl.jar and standard.jar causes Digester, taglib error on

RE: CGI Again...Servlet.service() for servlet cgi threw exception

2004-11-22 Thread Phillip Qin
Remove -wT from your script. -Original Message- From: Sergey Kamshilin [mailto:[EMAIL PROTECTED] Sent: November 22, 2004 3:51 PM To: Tomcat Users List Subject: RE: CGI Again...Servlet.service() for servlet cgi threw exception Hello Mark, Servlet mapping: - !--

RE: CGI Again...Servlet.service() for servlet cgi threw exception

2004-11-22 Thread Phillip Qin
: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, November 22, 2004 1:11 PM To: 'Tomcat Users List' Subject: RE: CGI Again...Servlet.service() for servlet cgi threw exception Remove -wT from your script. -Original Message- From: Sergey Kamshilin [mailto:[EMAIL PROTECTED] Sent

RE: help with out of memory error

2004-11-22 Thread Phillip Qin
Have you looked at this page? http://jakarta.apache.org/tomcat/faq/memory.html -Original Message- From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] Sent: November 22, 2004 4:50 PM To: Tomcat User Subject: help with out of memory error Is this just a really ambiguous error

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-18 Thread Phillip Qin
=Germany.pdf expires: Thu, 01 Jan 1970 00:00:00 GMT Connection: close Thanks, Aman Raheja Phillip Qin wrote: Where do you generate the pdf? In servlet? The link has to be end with .pdf (but before any query string) in order for acrobat reader active-x to kick

RE: Errors in mod_jk2 log

2004-11-18 Thread Phillip Qin
There are tons of these messages appeared in my log. I've asked this question before, no one seems bother answering it. Shall we post it to connector's dev list? -Original Message- From: Lars George [mailto:[EMAIL PROTECTED] Sent: November 17, 2004 7:31 PM To: Tomcat Users List Subject:

RE: tomcat/apace

2004-11-17 Thread Phillip Qin
Not true in tc5. -Original Message- From: Steven Lister [mailto:[EMAIL PROTECTED] Sent: November 17, 2004 9:33 AM To: Tomcat Users List Subject: tomcat/apace Just a quick question. Does apache2 need to be restarted if connected using mod_jk2 to tomcat5? I know that I was told that

RE: tomcat/apace

2004-11-17 Thread Phillip Qin
- From: Phillip Qin To: 'Tomcat Users List' Subject: RE: tomcat/apace Date: Wed, 17 Nov 2004 09:37:28 -0500 Not true in tc5. -Original Message- From: Steven Lister [mailto:[EMAIL PROTECTED] Sent: November 17, 2004 9:33 AM To: Tomcat Users List Subject: tomcat/apace

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread Phillip Qin
: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in We did set the Security level to low on IE. More suggestions? Thanks Aman Raheja Phillip Qin wrote: There are security and privacy settings in IE affect PDF generation. BTW, ensurethe link before query string ends

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread Phillip Qin
developed a couple of applications that spit back PDF files from within Struts. One thing I did have to do was make sure the generated PDF's response content type was application/pdf I don't think I've had to do anything with filename extensions. -Original Message- From: Phillip Qin [mailto

RE: JDBC transactions using MySQL / DBCP in Tomcat 5.0.28

2004-11-16 Thread Phillip Qin
Shouldn't jdbc 3.0 do the trick? -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: November 16, 2004 3:35 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: JDBC transactions using MySQL / DBCP in Tomcat 5.0.28 Prior to your first insert, do you need to execute

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-15 Thread Phillip Qin
There are security and privacy settings in IE affect PDF generation. BTW, ensurethe link before query string ends with .pdf -Original Message- From: Aman Raheja [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 1:40 PM To: [EMAIL PROTECTED] Subject: Problem displaying PDF in IE6 from

RE: Location: redirection

2004-11-15 Thread Phillip Qin
Please refer to my previous post regarding hack into the CGIServlet. -Original Message- From: Lisa Soto [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 3:24 PM To: [EMAIL PROTECTED] Subject: Location: redirection Hi, We're using perl within tomcat 4.1.27. The perl scripts run all

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Phillip Qin
I found that logrotate is the easiest. -Original Message- From: Carlos Oliva [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 3:28 PM To: 'Tomcat Users List' Subject: RE: Rotating catalina.out with Webmin Hi Filip, I set-up the Webmin Log Rotation entry to the following: 1) Re-create

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Phillip Qin
? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 3:31 PM To: 'Tomcat Users List' Subject: RE: Rotating catalina.out with Webmin I found that logrotate is the easiest. -Original Message- From: Carlos Oliva [mailto:[EMAIL PROTECTED

RE: Location: redirection

2004-11-15 Thread Phillip Qin
The redirect has to be done in inner class CGIRunner of servlet CGIServlet. Tomcat 4.1.30/5.0.28 do not handle redirect. You have to modify method run, in while (isRunning) add your own handling. Our cgi scripts have Status 302 for redirection, so I added header check below

RE: Tomcat 4.1.27 ana apache 2.0.47 with mod_jk

2004-11-15 Thread Phillip Qin
I think you have to use package. -Original Message- From: Venkat Reddy Valluri [mailto:[EMAIL PROTECTED] Sent: November 15, 2004 4:04 PM To: Tomcat Users List Subject: Tomcat 4.1.27 ana apache 2.0.47 with mod_jk Hi I installed tomcat4.1.27 apache 2.0.47 on two diffrenet servers

RE: Tomcat 4.1.27 ana apache 2.0.47 with mod_jk

2004-11-15 Thread Phillip Qin
with tomcat 4.0.4 with out using any package Do you think is there nat option to set for this Thks --Venkat -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Mon 11/15/2004 4:15 PM To: 'Tomcat Users List' Cc: Subject: RE: Tomcat 4.1.27 ana apache

RE: Rotating catalina.out with Webmin

2004-11-15 Thread Phillip Qin
to truncate it? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 3:53 PM To: 'Tomcat Users List' Subject: RE: Rotating catalina.out with Webmin I don't know how to use webadmin. I did it in command line (Debian) /etc/logrotate.d /usr/local

Catalina-ant manager tasks ZipException

2004-11-10 Thread Phillip Qin
I encounter this problem after every 20 to 30 deployments using catalina-ant Manager tasks (update=true). A normal one takes less than 1 minute. While this abnormal deployment takes 10 minutes. My war file is fine. My app is still deployed. However, after roughly 10 abnormal deployments, tomcat

RE: problem in accessing / instead of /index.jsp

2004-11-10 Thread Phillip Qin
Have you set your welcome file in web.xml? -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: November 10, 2004 2:33 PM To: [EMAIL PROTECTED] Subject: problem in accessing / instead of /index.jsp very odd. very. if I access the page with

RE: problem in accessing / instead of /index.jsp

2004-11-10 Thread Phillip Qin
-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file /welcome-file-list application web.xml welcome-file-list welcome-fileindex.jsp/welcome-file welcome-fileindex.html/welcome-file /welcome-file-list From: Phillip Qin [EMAIL

RE: Apache/Tomcat problem

2004-11-10 Thread Phillip Qin
jk2_module is correct. Have you link the libapr-0.so.0? What is your LoadModule in httpd.conf? -Original Message- From: Guillaume Alleon [mailto:[EMAIL PROTECTED] Sent: November 10, 2004 4:01 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Apache/Tomcat problem Hi, I have a

RE: problem in accessing / instead of /index.jsp

2004-11-10 Thread Phillip Qin
=ajp13:localhost:8009 From: Phillip Qin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: problem in accessing / instead of /index.jsp Date: Wed, 10 Nov 2004 16:46:30 -0500 How about your mod_jk2 mapping in workers2.properties

RE: Apache/Tomcat problem

2004-11-10 Thread Phillip Qin
Yup LoadModule jk2_module modules/mod_jk2.so -Original Message- From: Guillaume Alleon [mailto:[EMAIL PROTECTED] Sent: November 10, 2004 5:07 PM To: Tomcat Users List Subject: Re: Apache/Tomcat problem Phillip Qin wrote: jk2_module is correct. Have you link the libapr-0.so.0? What

RE: Session invalidation problem

2004-11-08 Thread Phillip Qin
Have you tried session.isNew()? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: November 8, 2004 2:52 PM To: [EMAIL PROTECTED] Subject: Session invalidation problem Hello all. I'm cross-posting this to the Tomcat and Struts lists because I'm not sure where

RE: Connection Timeout

2004-11-05 Thread Phillip Qin
My guess is the request was serviced by Tomcat, and took that much time. What did your request column tell? A huge request, file upload? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: November 5, 2004 4:24 AM To: Tomcat Users List Subject: Connection Timeout Dear

RE: Connection Timeout

2004-11-05 Thread Phillip Qin
Byte recv and byte sent? -Original Message- From: Andrew Miehs [mailto:[EMAIL PROTECTED] Sent: November 5, 2004 10:18 AM To: Tomcat Users List Subject: Re: Connection Timeout Hi Phillip, The request is for example a 10K image. Regards Andrew On 05.11.2004, at 16:11, Phillip Qin

RE: Why need Apache since we got Tomcat?

2004-11-05 Thread Phillip Qin
After my boss decideded to run ROOT applications on Tomcat, I had to switch my perl apps to Tomcat using CGIServlet. However, this servlet is still under development and I hacked a little bit in order for my perl redirect work. -Original Message- From: Frank Peng [mailto:[EMAIL PROTECTED]

RE: How to set up Tomca t5.0.28 to work with Apache2 on Slackwar e Linux?

2004-11-05 Thread Phillip Qin
Why don't you post error message? -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: November 5, 2004 1:40 PM To: Tomcat Users List Subject: Re: How to set up Tomca t5.0.28 to work with Apache2 on Slackware Linux? Before you spend too much time and energy with the

RE: CGI ...yeah, I know (Tomcat 4.1.29)

2004-11-05 Thread Phillip Qin
Enable cgiservlet log (I usually set debug to 6) and see what's output in the log (very detail). -Original Message- From: Mark Claassen [mailto:[EMAIL PROTECTED] Sent: November 5, 2004 5:07 PM To: 'Tomcat Users List' Subject: CGI ...yeah, I know (Tomcat 4.1.29) I know that Tomcat is

RE: mod_jk error flushing ...

2004-11-04 Thread Phillip Qin
I kept these messages too although I only installed Tomcat 5. It happened in Tomcat 4.1 as well. -Original Message- From: Clara Ines Pena de Carrillo [mailto:[EMAIL PROTECTED] Sent: November 4, 2004 9:21 AM To: Tomcat Users List Subject: mod_jk error flushing ... Hi everybody, I

RE: mod_jk error flushing ...

2004-11-04 Thread Phillip Qin
, Phillip Qin wrote: I kept these messages too although I only installed Tomcat 5. It happened in Tomcat 4.1 as well. ok, thank you. I will try to change my tomcat version. Clara -Original Message- From: Clara Ines Pena de Carrillo [mailto:[EMAIL PROTECTED] Sent: November 4, 2004

RE: Where can I get mod_jk2.dll

2004-11-03 Thread Phillip Qin
You don't need .dll. Always use .so on Windows. -Original Message- From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED] Sent: November 3, 2004 9:56 AM To: Tomcat Users List Subject: RE: Where can I get mod_jk2.dll I succeeded in building the mod_jk2 after copying the required files from

RE: refresh problem

2004-11-02 Thread Phillip Qin
I know Tomcat 5 hides index.jsp so that the home page appears as www.mydomain.com. I don't if it affects your links. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: November 2, 2004 2:22 PM To: [EMAIL PROTECTED] Subject: refresh problem Dear hassan, pls see

RE: Apache, Tomcat and mod_jk2 - question about layout

2004-10-28 Thread Phillip Qin
didn't change it, could you please post your jk2.properties? Don't need the httpd.conf- it's pretty straightforward. Thanks again, allen -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 10:23 AM To: 'Tomcat Users List' Subject: RE: Apache

RE: problems with apache-tomcat connection ...

2004-10-28 Thread Phillip Qin
It took a while to figure out that broken pipe. It's not that fancy. It usually happens when use visits a page and stop/cancel during page loading. -Original Message- From: Clara Ines Pena de Carrillo [mailto:[EMAIL PROTECTED] Sent: October 28, 2004 9:12 AM To: [EMAIL PROTECTED] Subject:

RE: Servlet gateway to legacy cgi application

2004-10-28 Thread Phillip Qin
The only issue I can see that he will have is the path in web.xml with CGIServlet. I have to move all cgi scripts to a directory under my ${catalina_home}/webapps/${host} -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: October 28, 2004 10:33 AM To: 'Tomcat Users

RE: problems with apache-tomcat connection ...

2004-10-28 Thread Phillip Qin
I can't represent other people. My observation is it has no impact on performance. -Original Message- From: Clara Ines Pena de Carrillo [mailto:[EMAIL PROTECTED] Sent: October 28, 2004 12:06 PM To: Phillip Qin Cc: 'Tomcat Users List' Subject: RE: problems with apache-tomcat connection

RE: Apache, Tomcat and mod_jk2 - question about layout

2004-10-27 Thread Phillip Qin
This is my workers2.properties (not workers.properties). You don't need to touch jk2.properties or httpd.conf. # shared memory handling. [shm] file=C:\Program Files\Apache Group\Tomcat 4.1\work\jk2.shm size=1048576 # Defines a load balancer named lb. Use even if you only have one machine.

RE: Interesting discoveries about catalina GUI manager deploy (5. 0.28 and 5.0.29)

2004-10-27 Thread Phillip Qin
System.getProperty? -Original Message- From: Igor [mailto:[EMAIL PROTECTED] Sent: October 27, 2004 12:52 AM To: [EMAIL PROTECTED] Subject: Re: Interesting discoveries about catalina GUI manager deploy (5.0.28 and 5.0.29) Hello! Another question is: how do I get the JNDI enviroment

RE: How to put context.xml into ant war target

2004-10-26 Thread Phillip Qin
zipfileset dir=${basedir}/conf includes=**/context.xml prefix=META-INF/ ${basedir}/conf is where my context.xml is stored. -Original Message- From: David Lee [mailto:[EMAIL PROTECTED] Sent: October 26, 2004 2:24 PM To: [EMAIL PROTECTED] Subject: How to put context.xml into ant war

RE: Interesting discoveries about catalina GUI manager deploy (5. 0.28 and 5.0.29)

2004-10-26 Thread Phillip Qin
Q1: you have to look into Manager.java deploy method. But if you take a look at the message on top of manager/html/list page, you will see OK - Deployed application from context file file:${catalina_home}/conf/${engine}/${host}/onlinestore.xml Q2: yes, use JNDI lookup. -Original

RE: Interesting discoveries about catalina GUI manager deploy (5. 0.28 and 5.0.29)

2004-10-26 Thread Phillip Qin
I personally have never tried environment variables. Do what Yoav recommends. BTW, why do you need to use environemtn variables? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: October 26, 2004 3:56 PM To: Tomcat Users List Subject: RE: Interesting discoveries

RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?

2004-10-25 Thread Phillip Qin
What arr your Resource and ResourceParams? -Original Message- From: Adrian Harrison [mailto:[EMAIL PROTECTED] Sent: October 23, 2004 12:28 PM To: [EMAIL PROTECTED] Subject: Does Oracle 9i thin jdbc driver work in Tomcat 5? using tomcat 5.0.28, oracle 9.2.1.0 on windows 2000 (sp4)

RE: modify web deployment descriptor at runtime

2004-10-25 Thread Phillip Qin
Have you tried admin application? -Original Message- From: Saravanan Veerappan [mailto:[EMAIL PROTECTED] Sent: October 25, 2004 10:34 AM To: [EMAIL PROTECTED] Subject: modify web deployment descriptor at runtime Is there a way to modify web deployment descriptor (web.xml) at runtime

RE: Does Oracle 9i thin jdbc driver work in Tomcat 5?

2004-10-25 Thread Phillip Qin
) contains this - resource-ref descriptionOracle Datasource example/description res-ref-namePRDConnectionPool/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref Hope this helps? Thanks harry -Original Message- From: Phillip Qin [mailto:[EMAIL

RE: Why mail/session always being set to localhost even Context.x ml says otherwise?

2004-10-25 Thread Phillip Qin
What is in your web.xml? -Original Message- From: David Lee [mailto:[EMAIL PROTECTED] Sent: October 25, 2004 3:51 PM To: [EMAIL PROTECTED] Subject: Why mail/session always being set to localhost even Context.xml says otherwise? Tomcat: 5.0.29 OS: XP JAVA: 1.5.0 Context.xml:

RE: Why mail/session always being set to localhost even Context.x ml says otherwise?

2004-10-25 Thread Phillip Qin
-name mail/Session /res-ref-name res-type javax.mail.Session /res-type res-auth Container /res-auth /resource-ref Thanks for the help! David Lee -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, October

RE: Why mail/session always being set to localhost even Context.x ml says otherwise?

2004-10-25 Thread Phillip Qin
Add use plain email address, e.g. [EMAIL PROTECTED] -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 25, 2004 4:34 PM To: 'Tomcat Users List' Subject: RE: Why mail/session always being set to localhost even Context.x ml says otherwise? Assume your Resource

RE: Why mail/session always being set to localhost even Context.x ml says otherwise?

2004-10-25 Thread Phillip Qin
) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:157) Thanks a million David -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent

RE: Webapp don't start after shutdown

2004-10-22 Thread Phillip Qin
Also, have you tried starting it from Manager? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 9:58 AM To: Tomcat Users List Subject: RE: Webapp don't start after shutdown Hi, Then I run the bin/shutdown.sh script and bin/startup.sh Are you

RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Phillip Qin
If your pattern is /*.jsp, then your filter applies to all jsps. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 22, 2004 1:19 AM To: Tomcat Users List Subject: RE: adding HTTP headers for all responses in web application question: will the filter applied to

RE: adding HTTP headers for all responses in web application

2004-10-22 Thread Phillip Qin
To: Tomcat Users List Subject: Re: adding HTTP headers for all responses in web application Actually the pattern is *.jsp - not /*.jsp -Tim Phillip Qin wrote: If your pattern is /*.jsp, then your filter applies to all jsps. -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent

RE: Threads in application

2004-10-21 Thread Phillip Qin
Were you able to stop thread in the destroy method? -Original Message- From: Ren Huva [mailto:[EMAIL PROTECTED] Sent: October 21, 2004 10:33 AM To: [EMAIL PROTECTED] Subject: Re: Threads in application I have created class, which is registered in web.xml as listener. This class

RE: Threads in application

2004-10-21 Thread Phillip Qin
it, but tomorrov. BTW: My application run in a apache SOAP So I don't restart my application, but apache SOAP. My application is deployed in SOAP. renhu = Original Message = Od (From): Phillip Qin [EMAIL PROTECTED] Komu (To): 'Tomcat Users List' [EMAIL PROTECTED

RE: Threads in application

2004-10-21 Thread Phillip Qin
Or notify your thread that it should stop and quit. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 21, 2004 12:21 PM To: 'Tomcat Users List' Subject: RE: Threads in application Destroy method should destroy not start your thread. -Original Message

RE: filter config cause startup crash on Tomcat 5

2004-10-20 Thread Phillip Qin
no likie :) not sure what it is, any other suggestions. From: Phillip Qin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: filter config cause startup crash on Tomcat 5 Date: Tue, 19 Oct 2004 16:48:09 -0400 Try url-pattern /s

RE: Deployment with tomcat 5

2004-10-20 Thread Phillip Qin
} path=${path} / /target target name=undeploy description=Remove web application undeploy url=${url} username=${username} password=${password} path=${path} / /target /project --- Phillip Qin [EMAIL PROTECTED] a écrit : If you use Tomcat Manager or catalina

RE: adding HTTP headers for all responses in web application

2004-10-20 Thread Phillip Qin
Have you thought of filter? -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 20, 2004 10:40 AM To: [EMAIL PROTECTED] Subject: adding HTTP headers for all responses in web application Hi, It there any easy way to add few HTTP headers to ALL responses within one web

RE: adding HTTP headers for all responses in web application

2004-10-20 Thread Phillip Qin
responses in web application Sound like a good idea! Can you please point to a good filters-HOWTO? --- Phillip Qin [EMAIL PROTECTED] wrote: Have you thought of filter? -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: October 20, 2004 10:40 AM To: [EMAIL PROTECTED

Tomcat Manager Status

2004-10-20 Thread Phillip Qin
Could any insider confirm StatusServlet doesn't render /manager/status page using xform.xsl? There are xform.xml and status.xsd but I couldn't find any reference to them in the servlet. It still uses PrintWriter. Regards, PQ Going to war for peace is like having sex for virginity

RE: Tomcat Manager Status

2004-10-20 Thread Phillip Qin
Don't bother. It's in Constants. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 20, 2004 11:57 AM To: '[EMAIL PROTECTED]' Subject: Tomcat Manager Status Could any insider confirm StatusServlet doesn't render /manager/status page using xform.xsl

RE: filter config cause startup crash on Tomcat 5

2004-10-19 Thread Phillip Qin
Check the order in web.xml. -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: October 19, 2004 4:19 PM To: [EMAIL PROTECTED] Subject: filter config cause startup crash on Tomcat 5 I have created a DetectBrowser servlet to not allow certain browsers into the

RE: Deployment with tomcat 5

2004-10-19 Thread Phillip Qin
If you use Tomcat Manager or catalina-ant.jar, package context into META-INF in the war file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: October 19, 2004 3:44 PM To: [EMAIL PROTECTED] Subject: Deployment with tomcat 5 How can I indicate to tomcat 5 for

RE: filter config cause startup crash on Tomcat 5

2004-10-19 Thread Phillip Qin
Try url-pattern /s.../* -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: October 19, 2004 4:31 PM To: [EMAIL PROTECTED] Subject: RE: filter config cause startup crash on Tomcat 5 What order should it come in. Its near the top of the list. From: Phillip Qin

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
This is my ant task deploy url=${dev.manager} username=${username} password=${password} path=${context.path} war=${war.url} update=true/ No need to define config. On *nix box, war.url is file:/your/path/to/war, on win32 box, war.url is

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
context config to get deployed as well. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:08 AM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks This is my ant task deploy url=${dev.manager} username=${username

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 11:16 AM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks Pack your context into war, as META-INF/context.xml using ant jar command. -Original Message- From: Gregg Bolinger [mailto:[EMAIL

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
Or documented in tomcat doc? Sorry, I forgot. -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 18, 2004 12:31 PM To: 'Tomcat Users List' Subject: RE: Tomcat Ant Tasks I think it is part of sub's jar spec. -Original Message- From: Gregg Bolinger

RE: Tomcat Ant Tasks

2004-10-18 Thread Phillip Qin
, It's not part of the JAR or WAR specs, it's a tomcat-specific feature, and it's in our docs. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Monday, October 18, 2004 12:32 PM To: 'Tomcat Users List' Subject: RE: Tomcat Ant

RE: Connection Pooling using JNDI DataSource

2004-10-15 Thread Phillip Qin
I guess the issue is with compilation or JNI. -Original Message- From: Marot Laurent [mailto:[EMAIL PROTECTED] Sent: October 15, 2004 5:13 AM To: Tomcat Users List Subject: RE: Connection Pooling using JNDI DataSource uh ... it works fine from our side. But as i saw so many posts

Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Phillip Qin
I am testing Tomcat 5.0.28 on Windows 2000 Pro. I use catalina-ant deploy task to deploy my webapp war. Where did this exception come from? My web application runs fine. stdout.log 15-Oct-2004 3:25:48 PM org.apache.catalina.startup.HostConfig deployWARs WARNING: Exception while expanding web

RE: Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Phillip Qin
/undeploy task Hi, Looks like you already have an app deployed at the context path. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 3:46 PM To: '[EMAIL PROTECTED]' Subject: Tomcat 5.0.28 + Ant deploy

RE: Tomcat 5.0.28 + Ant deploy/undeploy task

2004-10-15 Thread Phillip Qin
You are right. I copied config from my Tomcat 4.1 server.xml. After I changed autoDeploy to false, my deployment no longer throws exception. One quick question regarding Tomcat Manager application, I noticed that in Tomcat 4, war is deployed to work dir while in Tomcat 5 war is in webapps, are you

RE: mod_jk2 Ready/Recommended For Production?

2004-10-14 Thread Phillip Qin
Dangerous. You should run tomcat as a non-root user, no login, no shell. The reason Apache is involved is because we want Apache to serve static pages. -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED] Sent: October 14, 2004 9:58 AM To: Tomcat Users List Subject: Re:

RE: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Phillip Qin
Sorry, but what is jsvc? -Original Message- From: Horacio de Oro [mailto:[EMAIL PROTECTED] Sent: October 14, 2004 1:47 AM To: Tomcat Users List Subject: Re: Sun J2SE JVM + tomcat + Debian?? Hi! Just to add some info: I've found some problem with Debian Woody + Sun 1.4.2 JDK... at

RE: Sun J2SE JVM + tomcat + Debian??

2004-10-14 Thread Phillip Qin
Find out jsvc. It's new, not in 4.1. Why don't you use startup.sh instead? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: October 14, 2004 10:16 AM To: 'Tomcat Users List' Subject: RE: Sun J2SE JVM + tomcat + Debian?? Sorry, but what is jsvc? -Original

RE: Can apache deal with static content in packed application(war ,ear) with jk2 and jboss/tomcat

2004-10-13 Thread Phillip Qin
Sure you can let Apache handle static files. Just setup httpd.conf. The problem that I have is when I deploy ROOT application in Tomcat, Apache is useless, any static files, cgi scripts etc. will be handled by Tomcat. -Original Message- From: Kurt Zhou [mailto:[EMAIL PROTECTED] Sent:

RE: DataSourceRealm vs. Administration Tool - A bug?

2004-10-13 Thread Phillip Qin
4.1.x is still a very stable release. I reluctantly upgrade to 5.x until recently that I am having OutOfMemory issues with Tomcat Manager. I extended Manager by myself and patch my CGIServlet to handle 302 redirect. It will be a bug pain for me to upgrade. -Original Message- From:

RE: Locked jar during Ant undeploy on Tomcat 5.5.3

2004-10-13 Thread Phillip Qin
Are you doing undeploy or remove? -Original Message- From: Derek Mahar [mailto:[EMAIL PROTECTED] Sent: October 13, 2004 3:20 PM To: [EMAIL PROTECTED] Subject: Locked jar during Ant undeploy on Tomcat 5.5.3 After executing several Ant undeploys, I've noticed that Tomcat 5.5.3 is locking

RE: Sun J2SE JVM + tomcat + Debian??

2004-10-13 Thread Phillip Qin
My config Dual-cpu Debian 3.0-woody Kernel 2.4.x Sun jdk 1.4.2_05 Tomcat 4.1.30 Apache 2.0.52 Our servers are running pretty well. -Original Message- From: Jeff Bowden [mailto:[EMAIL PROTECTED] Sent: October 13, 2004 4:34 PM To: [EMAIL PROTECTED] Subject: Sun J2SE JVM + tomcat +

<    1   2   3   4   >