How to re-config/customize tomcat 4's loggers

2003-10-03 Thread Bing Zhang

Hi all:
We recently installed Tomcat 4.1.24, but we want to change The Logger
Component configuration, the reason is that we want all the catalina log or
access log to use one file per purpose,  but the default file logger from
Catalina, org.apache.catalina.logger.FileLogger, will use a new file every
day.   
Is there anyway we can configure tomcat to use some other off the shelf
logger class, so that it would only use one file per purpose.   Thanks a
lot. 
Bing



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Again, Problem: Tomcat server went down ...

2003-08-09 Thread Bing Zhang

Can someone out there help on this ?  I have posted my problem for 2 days,
didn't really get any response.  

Our Tomcat server just shut down by itself.  It caused an application
error(0xc05 ) in Java.exe and shut down.

Did this type of things happen to anybody before ?  Any ideas or directions
about what could cause this ?

Our platform is Apache 1.3.9, Tomcat 3.3, JDK 1.3, and FOP 0.20.4 running on
NT servers.  Well, I know this configuration is kinda old.

Any info on how to dig out the problem is greatly appreciated.

Bing


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem: Tomcat server went down ...

2003-08-04 Thread Bing Zhang

Our Tomcat server just shut down by itself.  It caused an application error(
0xc05 ) in Java.exe and shut down.

Any ideas or directions about what could cause this ?  

Our platform is Apache 1.3.9, Tomcat 3.3, JDK 1.3, and FOP 0.20.4 running on
NT servers.  Well, I know this configuration is kinda old.  

Any info on how to dig out the problem is greatly appreciated. 

Bing

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem: Tomcat server went down ...

2003-08-04 Thread Bing Zhang

Well, there isn't much information in the tomcat's tomcat.log and error.log.
It didn't provide any hint on which particular part of the server or which
particular servlet did something and made the server shut down.   

what's the general approach people would use to find out the source of the
problem ? 
Thanks. 

Bing

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:47 PM
To: Tomcat Users List
Subject: RE: Problem: Tomcat server went down ...



Howdy,
Hmmm... Any information in the logs?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 12:36 PM
To: '[EMAIL PROTECTED]'
Subject: Problem: Tomcat server went down ...


Our Tomcat server just shut down by itself.  It caused an application
error(
0xc05 ) in Java.exe and shut down.

Any ideas or directions about what could cause this ?

Our platform is Apache 1.3.9, Tomcat 3.3, JDK 1.3, and FOP 0.20.4
running
on
NT servers.  Well, I know this configuration is kinda old.

Any info on how to dig out the problem is greatly appreciated.

Bing

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to block

2003-02-06 Thread Bing Zhang
Hi all:

I have one problem right now, which many people here on the list
should have already experienced.

For example, some post from browser take some time on the server
side(servlet code) to process.  Often times impatient user will click
multiple times on the submit button, Or malicious user will hold Enter
key to request it million times.  What's going to happen on the server side
is:  multiple threads onto the same servlet would be launched and resources
would be used up, like connections, and CPU processing time.  

  So what's a general approach to prevent this ??  No matter the
solution is on the client side (HTML/JavaScript), the server
side(servlet/JSP), or combined.  Can you guys pass some experience, ideas,
thoughts on this ??

Thank you so much. 

Bing

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




how to block multiple servlet invokes triggered from clicking 'submit' multiple times

2003-02-06 Thread Bing Zhang

Sorry that I didn't put a meaningful subject in my previous email. Bing

-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 06, 2003 1:10 PM
To: 'Tomcat Users List'
Cc: Dan Yin; Jimmy Wu; Daniel Ruiz
Subject: how to block 


Hi all:

I have one problem right now, which many people here on the list
should have already experienced.

For example, some post from browser take some time on the server
side(servlet code) to process.  Often times impatient user will click
multiple times on the submit button, Or malicious user will hold Enter
key to request it million times.  What's going to happen on the server side
is:  multiple threads onto the same servlet would be launched and resources
would be used up, like connections, and CPU processing time.  

  So what's a general approach to prevent this ??  No matter the
solution is on the client side (HTML/JavaScript), the server
side(servlet/JSP), or combined.  Can you guys pass some experience, ideas,
thoughts on this ??

Thank you so much. 

Bing

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




How to filter out duplicated request using Apache or TomCat

2003-02-06 Thread Bing Zhang

If the same user clicks a button continuously or refresh a page constantaly,
that will generate the same request to our server many times with a tiny
short interval. And the request will all come from the same machine. Is
there a way to block these kind of requests by configuring the Apache or
TomCat ?

Bing

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Dr. Watson error on Apache/Tomcat ??

2002-10-08 Thread Bing Zhang


Anyone knows why Apache/Tomcat could create Dr. Watson like this: 

The application(Apache.exe), generated an application error.  The error
occurred on  9/29/2002 @  7:43:49.968.  The exception generated was c005
at address 0x00a41f2f (nosymbols) 

The Environment is:
Apache_1.3.9 with mod_ssl_2.4.9-openssl_0.9.4
Tomcat_3.1
JDK 1.3.1_03
NT 4.0 SP6

One thing noteworthy is that we recently upgraded the JDK version from
JDK1.2.2_006 to JDK1.3.1_03, and we recently started to use fop-0.20.4 from
within our servlets.   

Don't know if they could cause this type of problems. 

Thanks 
Bing



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Know this: Dr. Watson error on Apache.exe ??

2002-10-07 Thread Bing Zhang


Anyone knows why this happens: 

The application(Apache.exe), generated an application error.  The error
occurred on  9/29/2002 @  7:43:49.968.  The exception generated was c005
at address 0x00a41f2f (nosymbols) 

The Environment is:
Apache_1.3.9 with mod_ssl_2.4.9-openssl_0.9.4
Tomcat_3.1
JDK 1.3.1_03
NT 4.0 SP6

One thing noteworthy is that we recently upgraded the JDK version from
JDK1.2.2_006 to JDK1.3.1_03, and we recently started to use fop-0.20.4 from
within our servlets.   

Don't know if they could cause this type of problems. 

Thanks 
Bing

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Tomcat clustering ?

2002-08-15 Thread Bing Zhang


Couple short questions about Apache/Tomcat clustering here:

1. From which version of Tomcat, it starts to support Clustering or maybe
even failover ??  
2. Is that version stable or qualified for production quality release ??
What's the latest version of tomcat stably provides Clustering potentially
for production sites ??
3. Does Apache provide clustering ??  or it doesn't even make sense to do
server level clustering before servlet container ??


Thank you guys very much. 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: email to cell phone

2002-07-17 Thread Bing Zhang


From within the servlet sending out email using, let's say, Javamail
package,  and recipent address is something like:
[EMAIL PROTECTED]  

Bing

-Original Message-
From: Jack Li [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 1:42 PM
To: 'Tomcat Users List'
Subject: RE: email to cell phone


would you tell me more about how to in the servlet?

Thanks

-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 1:24 PM
To: 'Tomcat Users List'
Subject: RE: email to cell phone



Write a servlet.

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Jack Li [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 11:31 AM
To: '[EMAIL PROTECTED]'
Subject: email to cell phone


Hi,
How to send the emails to cell phones from Tomcat?
 
Thanks,
Jack Li

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: mail server

2002-07-12 Thread Bing Zhang


James server from Apache project.  

Bing

-Original Message-
From: Jonathan Zhang [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 7:06 PM
To: Tomcat Users List
Subject: mail server


hi,  does any know a free and excellent mail server?


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




good profiler software for Java apps ??

2002-06-20 Thread Bing Zhang

Hi:  

Just wondering if someone could recommend any good open source
profiler software to monitor/analyze performance and track down memory leaks
in Java applications.  

Also, is there any open source testing-automation software/tool
equivalent to WinRunner/LoadRunner  ??

Appreciate your help. 

Bing

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: good profiler software for Java apps ??

2002-06-20 Thread Bing Zhang

Chris:

Thanks a lot.   Here is an article about possible Memory leaks in
Java programming.  

http://www-106.ibm.com/developerworks/java/library/j-leaks/?dwzone=java 

Appreciate the links you just gave me in your email. 

Bing

-Original Message-
From: Chris Bailey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 1:32 PM
To: Tomcat Users List
Subject: RE: good profiler software for Java apps ??


Check out JUnitPerf, HttpUnit, and JMeter for some of the below needs.

Memory leaks?  In a Java app?!  How can that be ;)

-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 20, 2002 9:45 AM
To: 'Tomcat Users List'
Subject: good profiler software for Java apps ??


Hi:

Just wondering if someone could recommend any good open source
profiler software to monitor/analyze performance and track down memory leaks
in Java applications.

Also, is there any open source testing-automation software/tool
equivalent to WinRunner/LoadRunner  ??

Appreciate your help.

Bing

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: A performance issue about Apache/Tomcat on NT.

2002-06-18 Thread Bing Zhang

Dave:

Thanks for your reply.  I would try to find out with your
suggestion.
Now, questions about the suggestion:

what do all these statistics mean on NT server ?  
And how would I tell that there is a memory leak by tracing them  ?

Bing

-Original Message-
From: David Boyer [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 11:57 AM
To: [EMAIL PROTECTED]
Subject: Re: A performance issue about Apache/Tomcat on NT.


If you suspect a memory leak, you can us perfmon to monitor specific
processes.

Select process as the performance object, then monitor the Pool Paged
Bytes and Pool Non-paged Bytes of the suspected processes.

 [EMAIL PROTECTED] 06/14/02 10:46AM 
Hi all:

I'm new to this email list, and my question may appear old or
innocent to you.  Anyway, here is my question. 

I have an envoronment with Apache 1.2/Tomcat 3.1 running on
NT4.0
servers.  Yes, it's kinda old.  The behavior is after the web/app
servers
were on for a period of time, let's say, 20 days,  it's getting
slower.
And now,  the time for it's getting slower becomes shorter, it's like
3
days.

I don't know if it's something special for Apache/Tomcat on NT
server box or it even happens on Unix flavors.   Is it due to memory
leak,
or some other problems/bugs of Apache/Tomcat, JVM , NT ??   I need
help.   

I hope someone can point out to me where the problem(s) is, and
what's the best solution.   Maybe all the related bugs have been fixed
in
more recent releases of Tomcat/Apache/NT SPs ??

Any info would be helpful.  Thanks.

Bing



--
To unsubscribe, e-mail:  
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




A performance issue about Apache/Tomcat on NT.

2002-06-14 Thread Bing Zhang

Hi all:

I'm new to this email list, and my question may appear old or
innocent to you.  Anyway, here is my question. 

I have an envoronment with Apache 1.2/Tomcat 3.1 running on NT4.0
servers.  Yes, it's kinda old.  The behavior is after the web/app servers
were on for a period of time, let's say, 20 days,  it's getting slower.
And now,  the time for it's getting slower becomes shorter, it's like 3
days.

I don't know if it's something special for Apache/Tomcat on NT
server box or it even happens on Unix flavors.   Is it due to memory leak,
or some other problems/bugs of Apache/Tomcat, JVM , NT ??   I need help.   

I hope someone can point out to me where the problem(s) is, and
what's the best solution.   Maybe all the related bugs have been fixed in
more recent releases of Tomcat/Apache/NT SPs ??

Any info would be helpful.  Thanks.

Bing



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: A performance issue about Apache/Tomcat on NT.

2002-06-14 Thread Bing Zhang


Oh, I wanted to add one thing:  when I started the Tomcat, I added
-Xmx256m into TOMCAT_OPTS, so that the JVM running Tomcat can take upto
256M of memory if needed.  

Does this have something to do with my performance issue that Apache\Tomcat
is getting slower after running for 10-20 days ??   

Bing

-Original Message-
From: Bing Zhang [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 11:46 AM
To: 'Tomcat Users List'
Subject: A performance issue about Apache/Tomcat on NT. 


Hi all:

I'm new to this email list, and my question may appear old or
innocent to you.  Anyway, here is my question. 

I have an envoronment with Apache 1.2/Tomcat 3.1 running on NT4.0
servers.  Yes, it's kinda old.  The behavior is after the web/app servers
were on for a period of time, let's say, 20 days,  it's getting slower.
And now,  the time for it's getting slower becomes shorter, it's like 3
days.

I don't know if it's something special for Apache/Tomcat on NT
server box or it even happens on Unix flavors.   Is it due to memory leak,
or some other problems/bugs of Apache/Tomcat, JVM , NT ??   I need help.   

I hope someone can point out to me where the problem(s) is, and
what's the best solution.   Maybe all the related bugs have been fixed in
more recent releases of Tomcat/Apache/NT SPs ??

Any info would be helpful.  Thanks.

Bing



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Applet and SSL

2002-05-24 Thread Bing Zhang

Hi,

We are evaluating a web application with applet as front end. It runs well
on our machine with regular http.

Now we want to run it through SSL. If the front end are pure html pages, we
are not concerned since the web browser will take care the SSL issue and
encrypt the traffic automatically. But because the front end is applet, we
are not sure. Will browser take care of the enryption automatically? or in
short, do we only need to configure our web server to run SSL, there is no
modification on both server and applet code?

Thanks

Bing

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: reloadable=true not working--- problems with reloading servl ets

2002-05-17 Thread Bing Zhang

I have same problem, even reload through manager  does not reload the
servlet class, but it will automatically pick up jsp timestamp. Everytime, I
change servlet, I have to restart tomcat, what a pain

Bing

-Original Message-
From: Ray Letts
To: Tomcat Users List
Sent: 5/17/02 8:59 AM
Subject: Re: reloadable=true not working--- problems with reloading servl
ets


  Yes the manager app will restart and the Tomcat will reload but I want

Tomcat to detect newly compiled class files and reload without 
restarting, whether via the command line or via the manager web app.

This will avoid developers asking each other if they can 'restart' 
Tomcat while working on code.

Ray


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: any jsp/servlet based groupware solutions out there?

2002-05-14 Thread Bing Zhang

Since Instant Messaging is very hot now, any thoughts on that? or someone is
already doing that? I remember someone was doing Chat with servlet.

Bing 

-Original Message-
From: Rick Fincher
To: Tomcat Users List
Sent: 5/14/02 12:29 PM
Subject: Re: any jsp/servlet based groupware solutions out there?

Hi All,

I have a few simple things I could contribute, like a contact database
that
lets users share a database of name, address, etc, etc. info.  It uses
an
SQL DB but it's all open source.

I'm working on a program to syncronize it with Palm Pilots, but that has
a
ways to go.

I've also got a shared calendar program, but I started with somebody
else's
code and modified it a lot.  I've asked him for permission to open
source
it, so I'll have to wait and see on that one.

I've also got a simple secure messaging web app, it's sort of like
simple
e-mail but it's on the database server and you access it via HTTPS so
you
can be on the road and send and receive secure messages when you don't
have
access to secure mail.  It's set up to send you a regular e-mail to
notify
you that you have a secure message wating.

I'm going to add the ability to enclose pdf files, spreadsheets, or MS
Word
docments to that app so that you can do things like send and receive
contracts or other sensitive info securely over the web.

I'm sure a lot of folks have little thangs like that that we can pool
and
make a nice Tomcat office productivity pack.

Rick

- Original Message -


 What specific type of groupware project do you have in mind? Is it
 something like a group calendar, white board, or shared creation
 of a Tomcat FAQ without (gasp :-) any configuration info...

 das

 Vincent Stoessel wrote:
 
  Hello,
  I was wondering if any one knows of any  jsp/servlet based groupware
  projects that are going on. I think that this would be a great
example
  of a j2ee app that would really showcase java technology.
  Anything out there already? Anybody want to start such a project?
  Thanks.



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: client interact with server -- other than submit?

2002-04-08 Thread Bing Zhang

I once heard that frames were bad in web design community.

Bing

-Original Message-
From: [EMAIL PROTECTED]
To: Tomcat Users List
Sent: 4/8/02 12:34 PM
Subject: Re: client interact with server -- other than submit?


Or you could save the data in a hidden frame (your browser is divided
into
two frames - one is 100%, the other *) and then submit the form in that
hidden frame without user intervention
RS




Henry [EMAIL PROTECTED] on 04/08/2002 02:17:55 PM

Please respond to Tomcat Users List [EMAIL PROTECTED]

To:   Tomcat Users List [EMAIL PROTECTED]
cc:

Subject:  Re: client interact with server -- other than submit?

Sure, that is exactly what we want here! Would you send me more detail
on
it?

thanx a bunch in advance!


- Original Message -
From: Micah R. Condon [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, April 08, 2002 1:02 PM
Subject: Re: client interact with server -- other than submit?


 Hi -

 I've done this a couple of different ways, depending on which browser
 versions we need to support.  IE 5.x and Netscape 6+ have the
capability
to
 send an xml document or a normal get or post request without reloading
the
 whole page; you can use javascript to read your form state and package
a
 request either in SOAP format or some other format, submit it to the
server,
 receive and parse the response, and then update your page state, all
without
 refreshing the page.  To the user, it looks and feels much more like a
 desktop app now than a traditional web form

 I can send you more details later if you're interested

 Micah R. Condon



 - Original Message -
 From: Henry [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Monday, April 08, 2002 11:56 AM
 Subject: client interact with server -- other than submit?


  a little off topic here:
 
  is there a way for client side html/dhtml  interact with server side
  (get/set value into database) without resorting to submit
function?
The
  reason I want it is that once
  a page is submitted, its content is lost, unless manually reload and
reset
  all user inputs,
  which is tiresome.
 
 
  thanx a lot!
 
 
  --
  To unsubscribe:
mailto:[EMAIL PROTECTED]
  For additional commands:
mailto:[EMAIL PROTECTED]
  Troubles with the list:
mailto:[EMAIL PROTECTED]
 


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]









--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Off Topic: Free J2EE IDE: Which one?

2002-03-19 Thread Bing Zhang

I just downloaded Jdeveloper 3.2.3 this morning. Seems that I have to
abondon it, :-).

Does JDeveloper 9i come with its own Servlet and EJB container or I have to
install something else? I am developing on NT, but backend is Oracle 8.1.7
and Tomcat 4.0.1 on linux. Will add Jboss soon. 

Thanks,

Bing Zhang

-Original Message-
From: Mark
To: Tomcat Users List
Sent: 3/19/02 1:55 PM
Subject: Re: Off Topic: Free J2EE IDE: Which one?

I've been using JDeveloper 9i (free) from Oracle.  I like it MUCH better
than VA Java and has some very nice features.  Here's some info...

http://www.sys-con.com/java/article2arick.cfm?id=1247count=3702tot=3p
age=2


At 12:37 PM 3/19/2002 -0500, you wrote:
i havent done ejb in forte community edition, however, it comes with tc
3.3
and you can debug servlets internally.  i have not tried remote
debugging.

matt

- Original Message -
From: Bing Zhang [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 19, 2002 11:34 AM
Subject: Off Topic: Free J2EE IDE: Which one?


 I am trying to use a free IDE to do J2EE development, mainly servlet
and
 EJB. The development will be on Windows NT/2000. Deployment is on
linux.
 Three tools come to my mind: Forte Java Community Edition (I am
supprised
 that almost nobody mention this tool), Eclipse from IBM and NetBean.

 I feel short time evaluation does not give me enough insight, though
I
have
 downloaded both Forte and Eclopse. Hope anyone ever used the above
tools
in
 real life give me some guidance. Any of the above tools let me debug
servlet
 or even EJB locally? How about remotely? Any other server I need to
set up
 beside the IDE to effectively do J2EE?



 Thanks,

 Bing Zhang


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Free J2EE IDE: Which one?

2002-03-18 Thread Bing Zhang

I am trying to use a free IDE to do J2EE development, mainly servlet and
EJB. The development will be on Windows NT/2000. Deployment is on linux.
Three tools come to my mind: Forte Java Community Edition (I am supprised
that almost nobody mention this tool), Eclipse from IBM and NetBean.

I feel short time evaluation does not give me enough insight, though I have
downloaded both Forte and Eclopse. Hope anyone ever used the above tools in
real life give me some guidance. Any of the above tools let me debug servlet
or even EJB locally? How about remotely? Any other server I need to set up
beside the IDE to effectively do J2EE?


Thanks,

Bing Zhang

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: jndi versus database connection pooling

2002-03-17 Thread Bing Zhang

Well, right now I even do not bother to download them. I just go to jakarta
website to read directly there.

However, I want to find out the reason for this. Maybe I am missing
something that will affect my other applications. You never know.

It seems this is a mystery without answears.

Bing

-Original Message-
From: Soefara Redzuan
To: [EMAIL PROTECTED]
Sent: 3/17/02 12:02 AM
Subject: RE: jndi versus database connection pooling


Maybe but if it's just the docs that you're missing, why not get them
from 
the Apache site ?

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html

Soefara

From: Bing Zhang [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: RE: jndi versus database connection pooling
Date: Sat, 16 Mar 2002 18:19:13 -0800

I asked this before, but got no answear. Since we are talking about
docs,
here we go again.

I installed tomcat-4.0.1, 4.0.1-manuls and 4.0.1-webapps, all from rpms
on
RedHat 6.2. However some of key docs under webapps/tomcat-docs are
empty,
such as jndi-resources-howto.html, class-loader-howto.html,
ssl-howto.html,
index.html, introduction.html and ..

Am I missing something here?

Thanks

Bing Zhang

-Original Message-
From: Craig R. McClanahan
To: Tomcat Users List
Sent: 3/15/02 11:26 PM
Subject: Re: jndi versus database connection pooling



On Sat, 16 Mar 2002, Soefara Redzuan wrote:

  Date: Sat, 16 Mar 2002 15:03:10 +0800
  From: Soefara Redzuan [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: Re: jndi versus database connection pooling
 
  Oh dear, Craig, I'm fairly embarassed. Sorry.
 
  You're going to kick yourself ... the required element name is
  res-ref-name, not resource-ref-name :-).
 
  I should have noticed that when I copied my web.xml right next to
the
  previous person's. What is it they say about being so close to a
problem to
  be blinded.
 
  But may I suggest that the JNDI docs are updated because it's
  resource-ref-name in many cases there, for Mail as well as JDBC.
 
  http://127.0.0.1:8080/tomcat-docs/jndi-resources-howto.html
 

Well, now I'm somewhat embarrassed, because I wrote the original
document
that had the wrong element name :-(.

However, this was fixed in the Tomcat source code on October 10, 2001,
and
therefore the correct version was included from release 4.0.1 onwards
(current production release is 4.0.3).  Which version are you running?
Is
there anyplace that the wrong version of this document still exists
online
that we need to fix?

Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: jndi versus database connection pooling

2002-03-16 Thread Bing Zhang

I asked this before, but got no answear. Since we are talking about docs,
here we go again.

I installed tomcat-4.0.1, 4.0.1-manuls and 4.0.1-webapps, all from rpms on
RedHat 6.2. However some of key docs under webapps/tomcat-docs are empty,
such as jndi-resources-howto.html, class-loader-howto.html, ssl-howto.html,
index.html, introduction.html and ..

Am I missing something here?

Thanks

Bing Zhang

-Original Message-
From: Craig R. McClanahan
To: Tomcat Users List
Sent: 3/15/02 11:26 PM
Subject: Re: jndi versus database connection pooling



On Sat, 16 Mar 2002, Soefara Redzuan wrote:

 Date: Sat, 16 Mar 2002 15:03:10 +0800
 From: Soefara Redzuan [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: jndi versus database connection pooling

 Oh dear, Craig, I'm fairly embarassed. Sorry.

 You're going to kick yourself ... the required element name is
 res-ref-name, not resource-ref-name :-).

 I should have noticed that when I copied my web.xml right next to the
 previous person's. What is it they say about being so close to a
problem to
 be blinded.

 But may I suggest that the JNDI docs are updated because it's
 resource-ref-name in many cases there, for Mail as well as JDBC.

 http://127.0.0.1:8080/tomcat-docs/jndi-resources-howto.html


Well, now I'm somewhat embarrassed, because I wrote the original
document
that had the wrong element name :-(.

However, this was fixed in the Tomcat source code on October 10, 2001,
and
therefore the correct version was included from release 4.0.1 onwards
(current production release is 4.0.3).  Which version are you running?
Is
there anyplace that the wrong version of this document still exists
online
that we need to fix?

Craig


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Create a log file under my application directory

2002-02-25 Thread Bing Zhang

Never mind my question. I developed my application on NT with JBuilder,
debugged it with Tomcat that coming with JBuilder. However when I deployed
it on linux, it turned out that the path info is quite different and more
restrict on linux. 

Another question I put database driver, classes111.zip under
webapps/myapp/WEB-INF/lib on linux, it gave me exception. However under NT
development environment, it worked with no error. Is it true that tomcat on
linux does not recognize the *.zip file?

Thanks,

Bing

-Original Message-
From: Bing Zhang
To: '[EMAIL PROTECTED]'
Sent: 2/24/02 9:44 PM
Subject: Create a log file under my application directory

Hi,

I am running tomcat 4.0.1.

The connection pooling part of my application needs a new log file every
time it starts via new File(fileName). The filename is a file just
under
my application, such as webapps/myapp/connectionpool.log. But every time
I
run it, I got an exception: permission denied. 

I tried to use catalina.policy to add create and write permission for
that
particular file, but no fruit. What have I missed? I do not want to use
the
usual sevlet log() method for my connection pooling log.

Thanks,

Bing

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Create a log file under my application directory

2002-02-25 Thread Bing Zhang

Sorry one more time, never mind my question. Rename the *.zip to *.jar
solved the problem.

But why the deployment under linux is much harder than my development
environment on NT. Both use tomcat. On my NT, if I just give a log filename
without any path information, it silently creates the log file just under my
project directory. But under linux, I have to gave it absolute path.

Thanks,

Bing

-Original Message-
From: Bing Zhang
To: Bing Zhang
Cc: '[EMAIL PROTECTED]'
Sent: 2/25/02 12:12 AM
Subject: RE: Create a log file under my application directory

Never mind my question. I developed my application on NT with JBuilder,
debugged it with Tomcat that coming with JBuilder. However when I
deployed
it on linux, it turned out that the path info is quite different and
more
restrict on linux. 

Another question I put database driver, classes111.zip under
webapps/myapp/WEB-INF/lib on linux, it gave me exception. However under
NT
development environment, it worked with no error. Is it true that tomcat
on
linux does not recognize the *.zip file?

Thanks,

Bing

-Original Message-
From: Bing Zhang
To: '[EMAIL PROTECTED]'
Sent: 2/24/02 9:44 PM
Subject: Create a log file under my application directory

Hi,

I am running tomcat 4.0.1.

The connection pooling part of my application needs a new log file every
time it starts via new File(fileName). The filename is a file just
under
my application, such as webapps/myapp/connectionpool.log. But every time
I
run it, I got an exception: permission denied. 

I tried to use catalina.policy to add create and write permission for
that
particular file, but no fruit. What have I missed? I do not want to use
the
usual sevlet log() method for my connection pooling log.

Thanks,

Bing

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Create a log file under my application directory

2002-02-24 Thread Bing Zhang

Hi,

I am running tomcat 4.0.1.

The connection pooling part of my application needs a new log file every
time it starts via new File(fileName). The filename is a file just under
my application, such as webapps/myapp/connectionpool.log. But every time I
run it, I got an exception: permission denied. 

I tried to use catalina.policy to add create and write permission for that
particular file, but no fruit. What have I missed? I do not want to use the
usual sevlet log() method for my connection pooling log.

Thanks,

Bing

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Empty documentations after installation

2002-02-10 Thread Bing Zhang

Hi, 

I downloaded and installed following rpms on a RedHat 6.2 box in the order
they appear, 

tomacat4-4.0.1-1.noarch.rpm 
tomacat4-manual-4.0.1-1.noarch.rpm 
tomacat4-webapps-4.0.1-1.noarch.rpm 

However all the *.html files under $catilina_home/webapps/tomcat-docs and
its subdirectory are empty, i.e with zero file length. What have I missed?

Thanks,

Bing

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]