Tomcat: subject

2001-07-18 Thread Li, Jerry




Hi, All:
We have been flooded by emails from the 
mailing lists of CVS, apache, tomcat, and 
so on. All of them come into our inbox, it is very tough to separate them. If 
you send emails with "Tomcat" in the subject, we could easily group 
them and redirect them into a dedicated folder. For example, Windows user may 
create a rule in outlook to redirect all emails with Tomcat in the subject to a folder 
called Tomcat.
thanks,
Jerry


RE: loading a property file from a standard java class

2001-07-19 Thread Li, Jerry

Try put them into WEB-INF/classes, it works for me.

jerry

-Original Message-
From: Wang, Monica [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 10:55 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: loading a property file from a standard java class


Hi, Batsheva,
I found your email about "calling a config file from bean",  did you find
out which directory the conf file (property file) should be in Tomcat? I am
loading a properties file from a standard java class that was called by a
servlet, but get "the system cannot find the file specified" error message.
I tried to put it in different directories, but fail to get it to work. can
you help?
Monica



 



RE: Oracle JDBC in CLASSPATH for Tomcat 4.0

2001-07-20 Thread Li, Jerry

Simply renaming classes12.zip to classes12.jar and putting  it into
WEB-INF/lib works for me.

thanks,

Jerry

-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 4:15 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0


Just rename the files to be a .jar file.

--mikej
-=-
mike jackson
[EMAIL PROTECTED]

> -Original Message-
> From: Charles Lee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0
>
>
> I would suggest you to unzip(use winzip program) the classes12.zip to the
> .../lib directory. I am sure it will work. TOMCAT doesn't pick up
> zip file.
>
>
> Charles Lee
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> Behalf Of Sampige, Srinivas
> Sent: Tuesday, July 17, 2001 3:52 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Oracle JDBC in CLASSPATH for Tomcat 4.0
>
>
> What i told you definitely works at least for the .jar files;from what you
> say it looks like Tomcat isn't picking up .zip files (i personally haven't
> tried it with .zip files).I would leave this question to be anwered by one
> of the Tomcat Dev Team members .But for now what i would try is -
>
>  - edit the tomcat.bat found in the bin folder of the tomcat installation
> .Here is what the first  few lines look like(what is in red is
> what you need
> to add) :-
>
> --->
> rem - Save Environment Variables That May
> Change 
>
> set _CP=%CP%
> set _TOMCAT_HOME=%TOMCAT_HOME%
> set _CLASSPATH=%CLASSPATH%
>
> --->
>
> Modify the last line as -
> set _CLASSPATH=%CLASSPATH%;D:\oracle\ora81\jdbc\lib\classes12.zip
>
>
>  Let me know if this helps.
>
> -Srinivas
>
> -Original Message-
> From: John Hebert [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 17, 2001 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Oracle JDBC in CLASSPATH for Tomcat 4.0
>
>
> Scott Brinker wrote:
>
> > Alas, it's still not finding it. I now have the classes12.zip in the
> > following locations:
> >
> >   /jakarta-tomcat-4.0-b5/lib
> >   /jakarta-tomcat-4.0-b5/common/lib
> >   /jakarta-tomcat-4.0-b5/webapps/test/WEB-INF/lib
> >
> > ...(the latter being my web app), in addition to the CLASSPATH
> environment
> > variable. Any other thoughts?
> >
>
>
> Can you confirm it is a valid archive ("jar -t classes12.zip")?
>
> --
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer
>



RE: Why and How Tomcat before Apache?

2001-08-17 Thread Li, Jerry

Hi, All:

Your help is highly appreciated for the following questions.

1. Does Tomcat have web-based administration functionality? 

We want to let the Tomcat administrator start/stop Tomcat through a
Web-based interface. I have searched the mail archives, and found somebody
starting working on it in April. Is it available now? If yes, where could I
get it?

2. where is the right location to put properties files

Our application uses a single properties file: system.properties. We have
found that we have to put system.properties into WEB-INF/classes, otherwise,
Tomcat could not find it.

We have tried to put it into WEB-INF/lib and put WEB-INF/lib into tomcat's
classpath ( the classpath in tomcat.bat under /bin), but tomcat
still could not find it. However, if put it into WEB-INF/classes, tomcat
will find it.

thanks,

Jerry