Re: Connection Pool setup.

2004-03-26 Thread Gordon Luk
very useful at hard times. Antonio Fiol Gordon Luk wrote: Hi Doug, Thank for your advise, indeed my project state at begining. So every thing is simple right now. BTW, i already experience on connection pool on my previus ejb project. I will take care on it. As a simple mind, take and go. :-)

Re: Connection Pool setup.

2004-03-26 Thread Gordon Luk
onnection >hanging. > >Doug >- Original Message - >From: "Gordon Luk" <[EMAIL PROTECTED]> >To: "Tomcat Users List" <[EMAIL PROTECTED]> >Sent: Friday, March 26, 2004 2:31 AM >Subject: Re: Connection Pool setup. > > > >

Re: Connection Pool setup.

2004-03-25 Thread Gordon Luk
true removeAbandonedTimeout 60 To reclaim abandoned connections. If it drops you back to the min then you have a leak in you app. Check that connections, resultsets and statements are all closed. Doug - Original Message - From: "Gordon Luk" <[EMAIL PROTECTED]> To

RE: Connection Pool setup.

2004-03-25 Thread Gordon Luk
-->8 Regards, Gordon Luk -Original Message- From: D'Alessandro, Arthur [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 7:03 PM To: Tomcat Users List; Tomcat Users List Subject: RE: Connection Pool setup. May help if you post your resource snipplet (replacing any host /

Connection Pool setup.

2004-03-25 Thread Gordon Luk
Hi All, May be I missing understand the DBCP configuration. Anyone could help ? I want my connection pool are Max 100 connection, 10 conn. At start-up, max idle 10, when idle for 10 min then kill it. Something like that. Thanks. Regards, Gordon Luk --- Outgoing mail is certified

Re: How to setup VM opt when running Tomcat as windows service?

2004-03-17 Thread Gordon Luk
Finally, i got the solution by google, answer also come from tomcat-user. Take a look here when you got same problem. http://mdsh.com/notes/tomcat5OnWindowsNT.jsp On Wed, 2004-03-17 at 16:41, Gordon Luk wrote: > Hi All, > > I got a problem on setup Tomcat 5.0.19 on my win

How to setup VM opt when running Tomcat as windows service?

2004-03-17 Thread Gordon Luk
Hi All, I got a problem on setup Tomcat 5.0.19 on my windows 2000 enterprise server. I have installed java 1.4.x on it. I want change the java vm option to instead the default setting. for example with opt. -server -Xms64m -Xmx128m.. i already try few methods as following : - stop service, r

RE: restart tomcat everytime I make change to servlet [solved]

2003-09-03 Thread Clive Luk
: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: restart tomcat everytime I make change to servlet Did you apply the hotfix, that is specifically for class reloading issues in 4.1.27 ? > -Original Message- > From: Clive Luk [mailto:[EMAIL PROTECTED] > Sent: Tu

restart tomcat everytime I make change to servlet -- after experiment

2003-09-03 Thread Clive Luk
OK. seems i am asking a hard question here. But I did some experiment myself. just to give out more hints to the list to help solving my problem and I am hoping someone maybe able to help. I am sure someone in the world will have the same problem and been solved. here is what i have done. aft

RE: restart tomcat everytime I make change to servlet

2003-09-02 Thread Clive Luk
- Original Message - From: "Clive Luk" <[EMAIL PROTECTED]> To: "Filip Hanik" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 02, 2003 6:55 PM Subject: RE: restart tomcat everytime I make change to servlet Filip, But the servlet i

RE: restart tomcat everytime I make change to servlet

2003-09-02 Thread Clive Luk
Sent: Wednesday, September 03, 2003 11:38 AM To: [EMAIL PROTECTED] Subject: Re: restart tomcat everytime I make change to servlet using ANT or the admin webapp will let you do that. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html - Original Message - From: "Clive Lu

RE: Any contractors from HK, S.E.Asia or India in this forum ?

2003-09-02 Thread Clive Luk
I am from HK but i am working in australia... but i am still after help i can be a hk team if you don't mind... Cheers, Clive -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 9:37 AM To: Tomcat Users L

RE: restart tomcat everytime I make change to servlet

2003-09-02 Thread Clive Luk
you truly want this functionality, put your servlet code in a JSP Filip - Original Message - From: "Clive Luk" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, September 02, 2003 5:13 PM Subject: restart tomcat everytime I make ch

restart tomcat everytime I make change to servlet

2003-09-02 Thread Clive Luk
Hi list, I have come up another problem with making changes on servlet. Hope someone can give me a hand on that. This is how I do it. 1. make changes to servlet1.java 2. javac servlet1.java 3. copy the servlet1.class to //WEB-INF/classes The problem is I don't have any problem running tomcat. Un

Virtual host and mod_jk2 connector setup questions

2003-09-02 Thread Clive Luk
HI all, I am only newbie to tomcat. I really need help on setting up tomcat 4.1.27 with mod_jk2 connector with a virtual host on apache 2.0.47. I have digged through the mail-list and the jarkata doco page. still no help. Here are my configuration files and the output of the catalina.out file. Wh

RE: Virtual host and mod_jk2 connector setup questions

2003-09-02 Thread Clive Luk
t webapp Test webapp HelloWorld HelloWorld HelloWorld /HelloWorld Cheers, Clive -Original Message- From: Clive Luk [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 2:56 PM To: Tomcat Users List Subject: Virtual

restart tomcat after making changes

2003-09-01 Thread Clive Luk
Hi list, I am newbie in Tomcat. I just setup a tomcat on a RH9 not long ago. But I have problem when I made changes on the .class file(after compile) under //WEB-INF/classes/ I have to restart TOMCAT or i will get the following error message or saying JDBCChinese not found. I had a look at th

RE: mod_jk2.so w/redhat9

2003-08-14 Thread Clive Luk
: Tomcat Users List Subject: RE: mod_jk2.so w/redhat9 does that build the connector directly into apache? -Original Message- From: Clive Luk [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:27 PM To: Tomcat Users List Subject: RE: mod_jk2.so w/redhat9 Hi Steve, That's

RE: mod_jk2.so w/redhat9

2003-08-14 Thread Clive Luk
Hi Steve, That's how i build my mod_jk2.so i used jakarta-tomcat-connectors-4.1.26-src you may want to do a goole search and look for jakarta-tomcat-connectors-4.1.26-src but i aslos complied apache2 from source using httpd-2.0.47. chmod +x buildconf.sh ./buildconf.sh ./configure --with-apxs2=

RE: Problem building Tomcat Connector mod_jk2.so

2003-07-30 Thread Clive Luk
nnector using configure in >cd jk/native2/ like: >./configure --with-apxs2=/usr/sbin/apxs2-prefork > >select the proper apxs2 for your mpm model. > > >A bit of searching located the module in some hidden location: >jk/native2/server/apache2/.libs/mod_jk2.so > > >Could

RE: Problem building Tomcat Connector mod_jk2.so

2003-07-30 Thread Clive Luk
E: Problem building Tomcat Connector mod_jk2.so This may be a silly question but can't you just download a binary. -Original Message----- From: Clive Luk [mailto:[EMAIL PROTECTED] Sent: 30 July 2003 10:41 To: Tomcat Users List Subject: RE: Problem building Tomcat Connector mod_jk2.so Hi

RE: Problem building Tomcat Connector mod_jk2.so

2003-07-30 Thread Clive Luk
ocated the module in some hidden location: jk/native2/server/apache2/.libs/mod_jk2.so Could this be the same for you btw? At 19:16 +1000 30/07/03, Clive Luk wrote: >Hi all, > >I am new to the list. Has anybody had problem building mod_jk2.so. I have no >error message on building mod_

Problem building Tomcat Connector mod_jk2.so PART 2

2003-07-30 Thread Clive Luk
Sorry for the second post. I am trying to build from jakarta-tomcat-connectors-4.1.26-src.tar.gz. Please let me know if you need more information. apache2 works fine on port 80. Tomcat works fine on port 8080. Cheers, Clive -Original Message- From: Clive Luk [mailto:[EMAIL PROTECTED

Problem building Tomcat Connector mod_jk2.so

2003-07-30 Thread Clive Luk
Hi all, I am new to the list. Has anybody had problem building mod_jk2.so. I have no error message on building mod_jk2.so. But after i finished the following steps. I counldn't find and *.so file. I am useing RedHat 9 I have installed: openssl-0.9.7b libtool-1.5 httpd-2.0.47 j2sdk-1_4_2-linux-i5

Re: HTTPS --> HTTP redirecting

2003-01-28 Thread luk
Quoting Bill Barker <[EMAIL PROTECTED]>: > AFAIK, using absolute URLs is the only supported way to go. However, it > would be easy enough to write a Filter that does the redirect for you: > > public class MyFilter implements Filter { > public void init(FilterConfig conf) {} > public void de

HTTS --> HTTP redirecting

2003-01-27 Thread luk
Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of resources ("/non_secure_resources/* and "/secure_resources/* respectively) and web.xml

HTTPS --> HTTP redirecting

2003-01-27 Thread luk
Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of resources ("/non_secure_resources/* and "/secure_resources/* respectively) and web.xml

Where to config the jsp(html outputsteam) output size....

2002-04-01 Thread Gordon Luk
Hi all, I got a problem, that is my jsp(with struts) all the way threw exception (java.lang.NullPointerExcepton), i trace around my jsp code, but hadn't found any problem. When i view the problem output(html), found exception point is not consistence, and i feel that not problem on my code, bec

Monitor tomcat....

2002-03-04 Thread Gordon Luk
Hi all, I would like to ask any GUI tools that can monitoring the tomcat server stauts at runtime, for example : it could know how many session opened, how many servlet instance activated etc... Please point me where can i find it. Thanks. Gordon _

tomcat -- SSL

2001-08-24 Thread brian luk
I am now using apache web server with SSL already setup. that means I can connect to HTTP server using SSL: https://10.0.0.105:443/ or I can connect to HTTP server w/o SSL http://10.0.0.105:80 I can make a request to servlet using SSL: https://10.0.0.105:443/admin/servlet/com.app.Admin or I can

request to servlet through SSL

2001-08-23 Thread brian luk
I am now using apache web server with SSL already setup. that means I can connect to HTTP server using SSL: https://10.0.0.105:443/ or I can connect to HTTP server w/o SSL http://10.0.0.105:80 I can make a request to servlet using SSL: https://10.0.0.105:443/admin/servlet/com.app.Admin or I can

Newbie - Multi IP

2001-07-13 Thread Patrick Luk
Hi there,       I’m using Borland Application Server 4.5 for which it comes with Tomcat 3.2. How can I set Tomcat so that I can direct a particular IP to a specified WAR? This is like a configuration for an ISP for which I need a different web context for each domain.  

test

2001-07-13 Thread Patrick Luk
Sorry, this is only a test.

AddModule mod_jk.c

2001-04-14 Thread brian luk
Hi, can any one tell me what's difference between the 2: LoadModule jk_module libexec/mod_jk.so AddModule mod_jk.c i must load the jk module before i can connect to tomcat. I think tomcat works without AddModule mod_jk.c, what's AddModule mod_jk.c use for? No use? thanks. P.S. part

RE: tomcat classpath -- \tomcat\lib

2001-03-29 Thread brian luk
tup.bat > > You might want to look at the wrapper.properties > file. > > > > > -Original Message- > From: brian luk [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 29, 2001 3:35 PM > To: [EMAIL PROTECTED] > Subject: tomcat classpath -- \tomcat\li

tomcat classpath -- \tomcat\lib

2001-03-29 Thread brian luk
Hi all, tomcat documentation told me to put all my JAR files in c:\tomcat\lib\. but when i put my JAR files there, the classpath semes didn't find the JARs in c:\tomcat\lib dir. It works on unix but not WIN32. and i was forced to put my JAR files inside JDK/JRE's lib\ext directory. Anyone has

Modify startup script – allocate more memory

2001-03-28 Thread brian luk
Hi, -- My servlet got java.lang.OutOfMemoryError and my Solaris machine is still have free memory left ( no disk swap occur ). Any way to modify tomcat startup file to allocate more memory? -- Does VM only use only PART of the system memroy? like 32MB or 64MB out of 128MB system memory? would t

putting JAR files on tomcat ( WIN32 )

2001-03-25 Thread brian luk
Hi all, The documentation told me to put all my JAR files in c:\tomcat\lib\ directory. but when i put my JAR files there, the JAR/classes was not find. It works on unix but not WIN32. and i was forced to put my JAR files inside JDK/JRE's lib\ext directory. Any one knows what's the problem?

Re: j_security_check

2001-03-25 Thread brian luk
I just looked at web.xml inside the example directory. there is a block defined like this, but i am not sure if you are ask this. Protected Area /jsp/security/protected/* DELETE GET POST PUT tomcat

limit servlet access to user

2001-03-23 Thread brian luk
Hi, I have a web application running on tomcat. there are 2 httpServlet in that web app. how can i limit user access to one of the httpServlet? I read the example application in tomcat under \tomcat\webapps\examples\jsp\security which demo form base authentication. I looked through all the prop

Is Apache web server 1.3.x multithreaded

2001-03-23 Thread brian luk
Hi, Is Apache web server 1.3.x multithreaded? that's each request and handle by a thread. OR each request is handle by a child process fork by parent? thanks. __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.y

Re: AW: java.lang.OutOfMemoryError

2001-03-23 Thread brian luk
"leaked bytes per > request") > > Maybe increasing the heap size for the VM may help. > Maybe decreasing the session timeout helps you to > find > out where your problems are. > > > -Ursprüngliche Nachricht- > > Von: brian luk [mailto:[EMAI

java.lang.OutOfMemoryError

2001-03-22 Thread brian luk
Hi, I have a servlet listens for HTTP POST request. then query the oracle database and response --> request / response are XML. I had 10 Load Test client keep sending HTTP request to servlet as fast as they can --> for 10 hours But within 10 hours, all the response are OK, except i got a coup

java.lang.OutOfMemoryError

2001-03-22 Thread brian luk
Hi, I have a servlet listens for HTTP POST request. then query the oracle database and response --> request / response are XML. I had 10 Load Test client keep sending HTTP request to servlet as fast as they can --> for 10 hours But within 10 hours, all the response are OK, except i got a coup

mod_rewrite.so / mod_rewrite.dll / difference

2001-03-19 Thread brian luk
Hi, can any one tell me what's the difference between .so file and .dll files inside the module directory (Win32 )? what i think is .so is module file for unix and dll is for win32 is that right? But when i install the apache web server, inside module dir is all .so files. any where i can ge

getInitParameter

2001-01-12 Thread Luk Smolders
Hi, I'm using the following command in my servlet : value = config.getInitParameter("AddressList"); Can someone tell me how to configure Tomcat to get the value assigned to AddressList. I don't know where I have to put the information (what file