How to trace email received.

2005-08-22 Thread Daxin Zuo
Hello, In my application, I need a component, which checks emails. If an email is the one in responsing my application action, I will process it (write some record in database). If you have example for it, please forward me instruction. Thanks

Which connector to use, and how to build

2005-04-19 Thread Daxin Zuo
Please help Computer: UNIX Sparc 2.9 Apache 2.0.54 Tomcat 5.0.28 Please tell me what connector to use. I see the jk2 is in history. The last version it supports is 2.0.43. I downloaded the jakarta-tomcat-connectors-1.2.10-src.tar, it is difficult to find a clear instruction for the build

What version of Tomcat, Apache to Install

2005-04-18 Thread Daxin Zuo
Hi, I need to install Apache, tomcat, and all related software on a UNIX computer: MACHTYPE=sparc-sun-solaris2.9 What version of Tomcat, and Apache is the best match? I try to install Apache 2.0.53. When I compile it, there is only one .so file in the modules filder. It may be the wrong

RE: Application Data sharing -- store large object?

2005-04-11 Thread Daxin Zuo
-Original Message- From: Jerome Jar [mailto:[EMAIL PROTECTED] Sent: Sunday, April 10, 2005 8:28 PM To: Tomcat Users List Subject: Re: Application Data sharing -- store large object? Cofused about your question. A Singleton object??? On Apr 11, 2005 1:22 AM, Daxin Zuo [EMAIL PROTECTED] wrote: In my

RE: Application Data sharing -- store large object?

2005-04-11 Thread Daxin Zuo
of view, there is no difference. If you absolutely need your complex object 100% of the time, it makes no difference, if you keep it in the application or if you put it in an in-memory cache. Hope this helps stf -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Sonntag

Application Data sharing -- store large object?

2005-04-10 Thread Daxin Zuo
In my program, an object that contains a large amount of data (complicated data strustures) is used in many pages. When I start doing it, I heard that it is better to not store large object in Application. So I let the program create a new one when ever this object is needed. Now I like to

Tomcat ask me for User/password?

2005-03-09 Thread Daxin Zuo
Usually I use Tomcat5.0.19 via Apache 2. Today , I try to use tomcat only: http://localhost:8080 to do a test, it asks me user name and password. I did not know the user name and password. Both Apache and Tomcat are on my computer and inslled by myself. I like to know which configuration causes

RE: Tomcat ask me for User/password?

2005-03-09 Thread Daxin Zuo
=admin password=tomcat roles=standard,manager,admin/ /tomcat-users Restart tomcat and login. Kevin Griesmar -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 09, 2005 4:07 PM To: Tomcat Users List Subject: Tomcat ask me for User/password? Usually I use

Connection reset by peer: socket write error

2005-03-03 Thread Daxin Zuo
Hi, When a page is loading -- it is a page with large ammount of data from database, I clicked a button. I see the exception on the monitor window: Connection reset by peer: socket write error. The detal error is attached. This message might be harmless. I think it is because the response has

RE: Can we know when the Response is finished? or other solution.

2005-03-03 Thread Daxin Zuo
are done. We use this approach, and also return SKIP_PAGE from the tag so you know it is done. Maybe there is an easier way though. :) Can we know when the Response is finished? or other solution. 122561 by: Daxin Zuo

Can we know when the Response is finished? or other solution.

2005-03-02 Thread Daxin Zuo
Hi, In one of my page, when the page is loading -- it is a page with large ammount of data from database, I clicked a button. I see the exception on the monitor window: Connection reset by peer: socket write error. The detal error is attached. This message might be harmless. I think it is

RE: how to print to web page instead of catalina.out

2005-02-23 Thread Daxin Zuo
response.setContentType(text/html); PrintWriter out = response.getWriter(); out.println(to web); -Original Message- From: Jin Wu [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 10:39 AM To: Tomcat Users List; Antony Paul Subject: Re: how to print to web page instead of

Sending email with zip file attach problem

2005-01-24 Thread Daxin Zuo
Hi, Please help. Any sugestion is welcome. In my web page, users send email with attachment, so upload is related. I can provide the file in either a byte[] array, or in an inputstream. I try to send the attachement with JavaMail(I know there is email api in Tomcat-Common. But I have no a good

RE: Sending email with zip file attach problem

2005-01-24 Thread Daxin Zuo
: Sending email with zip file attach problem It is an example of sending bulk mails with attachment. You have to write the uploaded file into a temporary directory. See the attachments. I hope the example could be useful. -Caroline --- Daxin Zuo [EMAIL PROTECTED] wrote: Hi, Please help

RE: Authentication problem in Sending email from servlet. (tomcate 5)

2005-01-14 Thread Daxin Zuo
Sorry, no problem. The account password is wrong. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Thursday, January 13, 2005 3:44 PM To: Tomcat Users List Subject: Authentication problem in Sending email from servlet. (tomcate 5) Hi, In my web page, user sends

Authentication problem in Sending email from servlet. (tomcate 5)

2005-01-13 Thread Daxin Zuo
Hi, In my web page, user sends email with attachment, so upload is related. I load the file in a byte array, and try to send with JavaMail(I know there is Mail api in Tomcat-Common. But I have no a good example). The related code is copied at the end. The email serve needs no user-name and

Tomcat and apache in Oracle9.2.0.1

2004-11-16 Thread Daxin Zuo
After install Oracle9.2.0.1, Apache and Tomcat are installed. What are the versions of the TOMCAT and the apache in this version of Oracle? Do you know the location of the document where oracle describe its http server? Thanks

RE: Tomcat and apache in Oracle9.2.0.1

2004-11-16 Thread Daxin Zuo
in Oracle9.2.0.1 How about http://www.oracle.com/support/index.html ? -Tim Daxin Zuo wrote: After install Oracle9.2.0.1, Apache and Tomcat are installed. What are the versions of the TOMCAT and the apache in this version of Oracle? Do you know the location of the document where oracle describe

Ask for the best way to handle an exception

2004-11-10 Thread Daxin Zuo
In a JSP page, there are buttons. clicking one will launch an action which may read/write socket. In my program, all actions work well. But exception caused in the circumstance: I clicked a button. Before that action finished (in the middle of read/write socket), immediately, I clicked another

question on Creating war file

2004-11-08 Thread Daxin Zuo
I am going to pack the application into a war file. I like to use ant. I like to ask: 1) a good document giving instruction. In Tomcat/wabapps/mybase, my app has: /WEB-INF/classes, WEB-INF/lib and I have image folder in Apache/htdocs/images. May I need to move the images to /WEB-INF? 2)

RE: question on Creating war file

2004-11-08 Thread Daxin Zuo
Sorry, it is much easier than I thought. I did it. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 2:52 PM To: Tomcat Users List Subject: question on Creating war file I am going to pack the application into a war file. I like to use ant. I

RE: How to Display a byte array (contents of a MS DOC fie, Excel, ..) in web browser

2004-10-29 Thread Daxin Zuo
to Display a byte array (contents of a MS DOC fie, Excel, ..) in web browser What do you want to see? Hex digits? -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 9:12 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: How to Display a byte

RE: Upload MS DOC or Image file errors.

2004-10-29 Thread Daxin Zuo
I changed to store the file into a byte array to instead a string. it seems to me that convert a byte array of the contents of a MS DOC file to a string cause error. The byte array is passed to another server via socket. the file is stored at the destination correctly. I use FileOutputStream to

Upload MS DOC or Image file errors.

2004-10-28 Thread Daxin Zuo
Hi, I am use the File Upload. I need to read the whole file contents in a String buffer. If the file is text, it works. But if the file is in other format, such as MS Doc, I can load the file, and the file size is the same comparing the original file, but the format is changed, and I cannot open

RE: Upload MS DOC or Image file errors.

2004-10-28 Thread Daxin Zuo
Thanks. It works. -Original Message- From: Steffen Heil [mailto:[EMAIL PROTECTED] Sent: Thursday, October 28, 2004 10:49 AM To: 'Tomcat Users List' Subject: AW: Upload MS DOC or Image file errors. Hi Hi, I am use the File Upload. I need to read the whole file contents in a String

How to Display a byte array (contents of a MS DOC fie, Excel, ..) in web browser

2004-10-28 Thread Daxin Zuo
I receive a byte array from a remote server, and the servlet will display it on the browser. The byte array contains a MS DOC file. If I simply convert it to a String, the contents will be meaningless. Please forward instruction.

RE: IO error: request.getReader(); readLine(); on Netscape

2004-10-19 Thread Daxin Zuo
] Sent: Monday, October 18, 2004 3:23 PM To: Tomcat Users List Subject: Re: IO error: request.getReader(); readLine(); on Netscape Where is this code? On the client? the server? On Mon, 2004-10-18 at 15:11, Daxin Zuo wrote: Hi, I have code like: BufferedReader breader = request.getReader

IO error: request.getReader(); readLine(); on Netscape

2004-10-18 Thread Daxin Zuo
Hi, I have code like: BufferedReader breader = request.getReader(); String rdata = breader.readLine(); while (rdata != null) { .. } It run's well with IE. On Netscape7.1, I get java.io.IOException My purpose is to upload a file. Could you please give me

RE: IO error: request.getReader(); readLine(); on Netscape

2004-10-18 Thread Daxin Zuo
Subject: Re: IO error: request.getReader(); readLine(); on Netscape Where is this code? On the client? the server? On Mon, 2004-10-18 at 15:11, Daxin Zuo wrote: Hi, I have code like: BufferedReader breader = request.getReader(); String rdata = breader.readLine(); while (rdata

JK2 configuration

2004-10-10 Thread Daxin Zuo
Hi, MY system is UNIX (Sparc) tomcat 5.0.28, Apache2.0.43. when I start the apache, I get the error in the apache error_log file. [Sun Oct 10 15:12:24 2004] [error] jk2_init() Can't find child 6351 in scoreboard [Sun Oct 10 15:12:24 2004] [error] mod_jk child init 1 -2 [Sun Oct 10 15:12:24

PrintWriter is different on Tomcat and Apache?

2004-10-08 Thread Daxin Zuo
I have servlets using code like: StringBuffer sb= new StringBuffer(); AJavaClass.aMethod(sb); PrintWriter out = response.getWriter(); out.println(bf.toString()) When the servlet is run from Tomcat, it is fine, but if I run it on Apache, the whole source code is written on the browser, instead

RE: PrintWriter is different on Tomcat and Apache?

2004-10-08 Thread Daxin Zuo
I Solved it. Just response.setContentType(text/html); -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Friday, October 08, 2004 3:01 PM To: Tomcat Users List Subject: PrintWriter is different on Tomcat and Apache? I have servlets using code like: StringBuffer sb= new

RE: How to make Apache direct Servlet to Tomcat

2004-10-05 Thread Daxin Zuo
. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 3:32 PM To: Tomcat Users List Subject: RE: How to make Apache direct Servlet to Tomcat Bellow is my Apache2/conf/wrokers2.property. I also wonder if I need to add an listner like Listener className

RE: How to make Apache direct Servlet to Tomcat

2004-10-04 Thread Daxin Zuo
- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 5:15 PM To: Tomcat Users List Subject: RE: How to make Apache direct Servlet to Tomcat Thank you for your attention. The Apache2/conf/wrokers2.property is attached. The Tomcat/conf/jk2.property is empty, all lines

How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daxin Zuo
On my Apache 2.0.43 + Tomcat5.0.28 on UNIX sparc, I can run the same JSP files from both Apache and Tomcat, and run servlets on Tomcat, but I cannot run Servlet from Apache. I register the servlet in tomcat/webapps/www/WEB-INF/web.xml: servlet servlet-nameServletTest/servlet-name

RE: How to make Apache direct Servlet to Tomcat

2004-10-01 Thread Daxin Zuo
the relevant parts of your properties file if you're not sure why it doesn't work. -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 1:38 PM To: Tomcat Users List Subject: How to make Apache direct Servlet to Tomcat On my Apache 2.0.43

TOMCAT, run Servlet on UNIX

2004-09-30 Thread Daxin Zuo
My computer is UNIX, Sparc. I use Tomcat version 5.0.28, path= docBase=www, Apache 2.0.43. I can run the same JSP files from both TOMCAT and Apache with DB connection pool for Oracle. But I have difficult in Servlet. I cannot run servlet from Tomcat. In webapps/www/WEB-INF/web.xml, I registered

RE: TOMCAT, run Servlet on UNIX

2004-09-30 Thread Daxin Zuo
Thank you for your help. On the browser, I see not other error, but when I start the Tomcat, I find error in the logs/catalina.out, please check the last 4 lines: Sep 30, 2004 11:46:58 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Sep 30, 2004

RE: TOMCAT, run Servlet on UNIX

2004-09-30 Thread Daxin Zuo
Yoav, Thank you. Please forward more instruction. On the browser, I see no other errors, but when I start the Tomcat, I find error messages in 1) the logs/catalina.out: Sep 30, 2004 11:46:58 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Sep 30,

RE: TOMCAT, run Servlet on UNIX

2004-09-30 Thread Daxin Zuo
was not found on this server. in the error_log: File does not exist:/usr/local/apache2/htdocs/ServletTest Apache looks for the Servlet in its doc home folder. Please teach me how to let Apache direct the request in Servlet to Tomcat. Thanks -Original Message- From: Daxin Zuo [mailto:[EMAIL

Which version of Tomcat and Apache for my UNIX sparc Computer?

2004-09-24 Thread Daxin Zuo
My computer: #uname -a SunOS sunbox 5.8 Generic_108528-17 sun4u sparc SUNW, Sun-Blade-100 I see the latest Apache for my computer is httpd-2.0.43-sparc-sun-solaries2.8.tat.gz What Tomcat and Tomcat-connector should I use with this version of Apache? Please help. Thanks.

AbandonedObjectPool means Abandoned Object Pool?

2004-09-23 Thread Daxin Zuo
In my database connection pool, I used org.apache.commons.dbcp.BasicDataSourceFactory for MS SQL and Oracle. I see the message on the Tomcat monitor window: AbandonedObjectPool is used ([EMAIL PROTECTED]) Does it means the Object pool is Abandoned, or Deprecated? If it is true, what is the

Please help: Apache direct Servlet to Tomcat

2004-09-13 Thread Daxin Zuo
My Apache 2.0.49 Tomcat 5.0.19, windows 2000. I have a difficult in running servlet from Apache. For example I have a servlet TestServlet.class (package: myServlet) in C:\Program Files\Apache Group\Apache2\tomcat\webapps\ROOT\WEB-INF\classes\myServlet\ I register this servlet in

RE: How to create/run a Java Service on UNIX

2004-09-10 Thread Daxin Zuo
the service in the background. HTH -John G Daxin Zuo wrote: The program is written as Java class. Does it requires special functions? How to make it a service, keep running and ready to provid data? Thanks. -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Thursday, September

RE: How to create/run a Java Service on UNIX

2004-09-10 Thread Daxin Zuo
-r-xr-xr-x 1 bin bin 1604 Oct 27 1997 /sbin/init.d/lp lrwxr-xr-x 1 root sys15 Nov 16 2001 /sbin/rc1.d/K280lp - /sbin/init.d/lp lrwxr-xr-x 1 root sys15 Nov 16 2001 /sbin/rc2.d/S720lp - /sbin/init.d/lp On Fri, 10 Sep 2004 12:02:36 -0700, Daxin Zuo [EMAIL PROTECTED

How to make Apache direct Servlet to Tomcat

2004-09-10 Thread Daxin Zuo
My Apache 2.0.49 Tomcat 5.0.19, windows 2000. (Soon I will move them to UNIX) I have a difficult in running servlet from Apache. For example I have a servlet TestServlet.class (package: myServlet) in C:\Program Files\Apache Group\Apache2\tomcat\webapps\ROOT\WEB-INF\classes\myServlet\ I register

How to create/run a Java Service on UNIX

2004-09-09 Thread Daxin Zuo
I neeed to create a service on UNIX.( The program is in Java. this service will serves an offline application and an online application running with Tomcat.) Could you please tell me how to do. Thanks. - To unsubscribe,

RE: How to create/run a Java Service on UNIX

2004-09-09 Thread Daxin Zuo
framework Apache James uses it Daxin Zuo escribió: I neeed to create a service on UNIX.( The program is in Java. this service will serves an offline application and an online application running with Tomcat.) Could you please tell me how to do. Thanks. John Villar Gerente de Proyectos

RE: How to create/run a Java Service on UNIX

2004-09-09 Thread Daxin Zuo
want to run this as a daemon? -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 2:11 PM To: Tomcat Users List Subject: How to create/run a Java Service on UNIX I neeed to create a service on UNIX.( The program is in Java. this service

RE: How to create/run a Java Service on UNIX

2004-09-09 Thread Daxin Zuo
the program yet at all, and you want to know how to go about doing so? -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 5:19 PM To: Tomcat Users List Subject: RE: How to create/run a Java Service on UNIX Yes. It keep running and sometimes

RE: How to create/run a Java Service on UNIX

2004-09-09 Thread Daxin Zuo
the program yet at all, and you want to know how to go about doing so? -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 5:19 PM To: Tomcat Users List Subject: RE: How to create/run a Java Service on UNIX Yes. It keep running

RE: Is there a way to set the size of ResultSet from MS SQL Serve

2004-08-22 Thread Daxin Zuo
SQL Server On Wed, Aug 18, 2004 at 04:50:32PM -0700, Daxin Zuo wrote: : I use JDBC in JSP/Java with MS SQL Server. : Is there a way to set the Fetch Size (set to 10, 100,..) of ResultSet (as : ADO CacheSize in ASP)? This sounds like a configuration specific to your database, either with a custom

RE: Is there a way to set the size of ResultSet from MS SQL Server

2004-08-19 Thread Daxin Zuo
To: Tomcat Users List Subject: Re: Is there a way to set the size of ResultSet from MS SQL Server On Wed, Aug 18, 2004 at 04:50:32PM -0700, Daxin Zuo wrote: : I use JDBC in JSP/Java with MS SQL Server. : Is there a way to set the Fetch Size (set to 10, 100,..) of ResultSet (as : ADO CacheSize in ASP

Is there a way to set the size of ResultSet from MS SQL Server

2004-08-18 Thread Daxin Zuo
I use JDBC in JSP/Java with MS SQL Server. Is there a way to set the Fetch Size (set to 10, 100,..) of ResultSet (as ADO CacheSize in ASP)? With Oracle, we can set it in program. Thanks. - To unsubscribe, e-mail: [EMAIL

relogin question

2004-07-16 Thread Daxin Zuo
I have a relogin problem. 1) I am on the page P, 2) I click on the Home button of the browser, 3) and then I click back button on the browser. The page P is displayed again. But at 3) we intend that the application asks for relogin. So after 2), the session should be expired. Does Tomcat have a

RE: RE: Please introduce a good Tomcat debug tool

2004-06-16 Thread Daxin Zuo
servlet and JSP Page or u can use third party tool for program Deepak On Wed, 16 Jun 2004 Michael Cardon wrote : I use eclipse with the 'myeclipse' plug-in. see www.eclipse.org and www.myeclipseide.com -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Tuesday, June

Please introduce a good Tomcat debug tool

2004-06-15 Thread Daxin Zuo
I currently run Tomcat 4.1.9 (without apache) to run JSP and ervlet. How to debug JSP and Servelt in TOMCAT? Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

A Servlet question

2004-06-11 Thread Daxin Zuo
I use Apache 2.4.9, Tomcat 4.1.9. In a JSP, there there are three frames in a frameset. the script of each frame is JSP. Can a JSP in one frame submit to a Servlet? I did a test and failed. Please confirm or teach me how to do. Thanks

RE: A Servlet question

2004-06-11 Thread Daxin Zuo
some problem in the servlet mapping... did you try to load the jsp alone in the browser and submit it? if it doens't work, it doens't has to do with the frames at all. Emerson Daxin Zuo wrote: I use Apache 2.4.9, Tomcat 4.1.9. In a JSP, there there are three frames in a frameset. the script of each

RE: A Servlet question

2004-06-11 Thread Daxin Zuo
-classgov.tresc.sgip.PartServlet/servlet-class /servlet servlet-mapping servlet-namepartServlet/servlet-name url-pattern/servlet/partServlet/*/url-pattern /servlet-mapping In this example, to access the servlet you could use http://localhost:8080/sgip/servlet/partServlet Daxin Zuo wrote: You

How to make Apache direct Servlet to Tomcat

2004-05-27 Thread Daxin Zuo
My Apache 2.0.49 can direct JSP to Tomcat 5.0.19, but it cannot direct Servlet to Tomcat. I can run it on Tomcat: http://localhost:8008/servlet/myapp/testServlet But I cannot run it on Apache (port number is 82) like: http://localhost:82/servlet/myapp/testServlet. The error log says: File does

RE: How to make Apache direct Servlet to Tomcat

2004-05-27 Thread Daxin Zuo
as anything you want to each servlet. Ta Matt -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: 27 May 2004 16:14 To: Tomcat Users List Subject: How to make Apache direct Servlet to Tomcat My Apache 2.0.49 can direct JSP to Tomcat 5.0.19, but it cannot direct Servlet

verify database connection pool

2004-05-07 Thread Daxin Zuo
I created a DB Connection Pool with net.sourceforge.jtds.jdbc.Driver, org.apache.commons.dbcp.BasicDataSourceFactory In java code, I use the connection as: .. Connection con = null; try { Context ctx = new InitialContext(); DataSource ds = (DataSource) ctx.lookup(

RE: DB connection pool problem

2004-05-05 Thread Daxin Zuo
/conversion? -Original Message- From: Arora, Avinash [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 4:07 PM To: Daxin Zuo; Tomcat Users List Subject: RE: DB connection pool problem Hi, Sorry I was messing up my code by making several changes. If I add that statement, I get

how to make Java Class use db pool

2004-05-04 Thread Daxin Zuo
I have a db connection pool. If I put java code in JSP, the java code can use the pool. But when I write a seperate java class in tomcat/webapps/ROOT/web-inf/class/devTrack, jsp uses this class: devTrack.useDB.useDB dbWorker = new devTrack.useDB.useDB(); retdata = dbWorker.getRow(select *

RE: DB connection pool problem

2004-05-04 Thread Daxin Zuo
. Connection object found to be null, Connection object is null] Thanks. Avinash Arora -Original Message- From: Daxin Zuo [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 3:34 PM To: Tomcat Users List Subject: RE: DB connection pool problem I have just created a pool

RE: DB connection pool problem

2004-05-03 Thread Daxin Zuo
I have just created a pool -- I hope it is really a pool. I used jtds jdbc driver to MS SQL Server on Windows. You may find some thing similar. Holp it helps. 1) bellow is the text in tomcat\conf\server.xml GlobalNamingResources Resource name=jdbc/DirectSQL auth=Container

Is there removeAbandonedTimeout in jtds?

2004-05-03 Thread Daxin Zuo
Is there a similar property like removeAbandonedTimeout in JTDS to be written in ResourceParams. I like to make the DB pool recycling a connection if it is idle for a while. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Please help on my DB pool problem --- I followed the struction on the web

2004-05-03 Thread Daxin Zuo
- From: Eric Noel [mailto:[EMAIL PROTECTED] Sent: Sunday, May 02, 2004 6:43 PM To: Tomcat Users List Subject: Re: Please help on my DB pool problem --- I followed the struction on the web On 5/3/2004 9:31 AM, Daxin Zuo wrote: I thought Microsoft was the best. if thats what you think, i guess you

RE: Please help on my DB pool problem --- I followed the struction on the web

2004-05-02 Thread Daxin Zuo
files use them. Then put in each piece and modify with your information. Let us know. Doug - Original Message - From: Daxin Zuo [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, April 30, 2004 2:05 PM Subject: RE: Please help on my DB pool problem --- I followed

RE: Please help on my DB pool problem --- I followed the struction on the web

2004-05-02 Thread Daxin Zuo
Thank you very much for your reply on Sunday. The error is Name jdbc is not bound in this Context at ctx.lookup. In both server.xml and web.xml, the type is com.microsoft.jdbcx.sqlserver.SQLServerDataSource. Even I use the code: envCtx = (Context) initCtx.lookup(java:comp/env); ds =

RE: Please help on my DB pool problem --- I followed the struction on the web

2004-05-02 Thread Daxin Zuo
I thought Microsoft was the best. My jsp file is in tomcat\webapps\ROOT\zuo. In my tomcat\webapps\ROOT\WEB-INF\web.xml, there is no context block, should I create one or use resource-ref? If I need ot create a context block, Is the code bellow correct: context path=/zuo docBase=ROOT debug=0

sun.jdbc.rowset.*

2004-04-21 Thread Daxin Zuo
Where can I get the sun.jdbc lib without install J2EE? Can I use sun.jdbc.rowset.* program on j2se without install J2EE? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]