Re: index.html

2003-07-01 Thread Oki DZ
On Fri, Jun 27, 2003 at 07:12:23AM -0400, Tim Funk wrote: Odd. I'll download the binary and take a look. I downloaded Tomcat again; now I have the daily builds (ie: jakarta-tomcat-5-bin-20030628.tar.gz). Same thing happened. I believe that's pretty strange. Oki

Re: index.html

2003-07-01 Thread Oki DZ
On Tue, Jul 01, 2003 at 06:53:07AM -0400, Tim Funk wrote: What happens if you use bin/startup.sh? I'm sorry I've been bothering you; it was just about having an older catalina.jar in the JVM's ext directory. Runs fine now. Oki

Re: index.html

2003-06-27 Thread Oki DZ
On Thu, 2003-06-26 at 18:53, Tim Funk wrote: Are you sure you installed the right tomcat? Ouch, silly me; no it was 4.0-b4. OK, cd to the right directory. But, [EMAIL PROTECTED]:/usr/local/jakarta-tomcat-5.0.3/bin$ ./catalina.sh run Using CATALINA_BASE: /usr/local/jakarta-tomcat-5.0.3

index.html

2003-06-26 Thread Oki DZ
Hi, I just installed Tomcat 5.0.3. The index page showed the version as 4.0-b4. I think it would be neater if the index page were a servlet, so that it could retrieve the version number from the config files and have the right number. BTW, the wrong version display is some kind of a show

Re: os x/unix

2002-05-22 Thread Oki DZ
On 05/23 03:56 daniel bleich wrote: I am trying to find help online on installing Tomcat on Mac OS X. I must have made a mistake in trying to install it originally and need to remove the jakarta-tomcat-4.0.3-src directory from the users dir so I can try and start again. Why did you get

Re: Enabling SSL in tomcat--specific questions

2002-05-22 Thread Oki DZ
On 05/23 03:14 Rutledge, Aaron wrote: If I am able to create a .keyfile, do I have JSSE installed correctly? I use JDK1.4 and Tomcat 4.0.3; it was all I needed to get SSL running. (And the .keystore file, of course, in the root's home directory; because I run Tomcat under root.) FYI, the

Re: Problem in restarting Tomcat

2002-05-19 Thread Oki DZ
On 05/20 09:54 Zhongwen Zhu (LMC) wrote: In linux OS, when Tomcat is shut down, the port which is used by Tomcat is not released. Hence it is impossible to re-start Tomcat. Do you have any What version of Tomcat do you use? I use 4.0.3, on a Linux machine. /usr/local/tomcat/bin/catalina.sh

Re: Tomcat and SSL

2002-05-15 Thread Oki DZ
On 05/15 18:52 Sefton, Adam wrote: does Tomcat 4.0 support SSL natively? I use 4.0.3; it has SSL. Does any other version of Tomcat? Or should I be using Tomcat with Apache in order to gain this functionality? You don't need Apache for getting the SSL support, but if you need cgi scripts,

Re: Tomcat redirect

2002-05-06 Thread Oki DZ
On 05/07 04:19 joshua wentworth wrote: I am trying to have Tomcat redirect certain requests to other applications or other sites. But I can't find anything in the documentation or in any of the messageboards about any kind of forward or redirect function in Tomcat. Is there such a function,

Re: shutdown.sh doesn't shutdown JMV

2002-05-06 Thread Oki DZ
On 05/07 07:18 Leland Chen wrote: I am using tomcat4.0.3. After I enter shutdown.sh, the JVM for tomcat is still there. After several round shutdown.sh and startup.sh, my Solaris machine has many JVM running. I think you can try to run catalina.sh run, and later, shut Tomcat down with

Re: Should i use J2re instead of jdk in my Tomcat server ?

2002-05-06 Thread Oki DZ
On 05/07 03:34 Brian Bernardo wrote: Yes, you need the jdk installed. JAVA_HOME should point to the jdk installation directory. Yes, JSPs need the compiler to compile the scripts on the fly (once, for each script, of course). Oki -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: turn off directory listing

2002-05-06 Thread Oki DZ
On 05/07 05:50 Larry Meadors wrote: Nope, but you can in your web.xml. ;-) Look at the default one, it has pretty decent comments on how to do it. In the Tomcat's web.xml ($TOMCAT_HOME/conf/web.xml). Because... I spent some time reading the docs looking for info on how to set it in each

Re: Memory Leak of JDBC Drive

2002-05-06 Thread Oki DZ
On 05/07 02:59 Rick Fincher wrote: What JVM are you using? Java 1.4 has a memory leak in the javac compiler that causes a problem under Tomcat. Hmm... where's the gc going...? Anyway, does it mean that it's not pretty wise to use JSP under Tomcat? Oki -- To unsubscribe, e-mail:

Re: ideas invited

2002-05-02 Thread Oki DZ
On 05/02 19:16 [EMAIL PROTECTED] wrote: If you set the java path and tomcat home in rc.local, what user are these env variables being set for?? root Oki -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL

Re: tomcat4 context problem

2002-05-01 Thread Oki DZ
On 04/30 18:51 [EMAIL PROTECTED] wrote: directory. Also uncomment the Context entry for ROOT in server.xml (if it isn't already) How do you turn off the auto-context feature of Tomcat...? I'd like to tell Tomcat to see the Context ... / elements in server.xml only. I mean, if there are

cgi-bin

2002-05-01 Thread Oki DZ
Hi, I replaced Apache with Tomcat; problem is, what should I do so that these cgi scripts could get executed...? Thanks in advance, Oki -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: tomcat deployment

2002-04-30 Thread Oki DZ
On 04/30 13:50 Nathan Coast wrote: does this work for updates to the war file? If I update the war file 10 times, will re-copying the file to the webapps directory re-deploy the webapp? You need to delete the directory of your webapp; it wouldn't be that hard. In addition to copying the war

Re: FileLogger Question

2002-04-30 Thread Oki DZ
On 04/30 18:07 rainer jünger wrote: And now the problem: the logs are not being writen to the configured directory, even though it exist!! Just in case Tomcat expects all log files reside in $TOMCAT_HOME/logs, you can always use links to redirect the output of the Logger. I wanted the logs in

Re: tomcat deployment

2002-04-29 Thread Oki DZ
On 04/29 21:09 Nathan Coast wrote: I'm looking for the correct way to deploy / redeploy webapps into the tomcat web container from ant. I've followed a few threads in tomcat and ant user lists but am just getting confused. ... as far as I can see there are a number of options: 1) write a

Re: tomcat/apache with ALIASES (Was canonical names)

2002-04-25 Thread Oki DZ
On 04/25 15:33 Hamish Marson wrote: What you're using (Or trying to use) is aliases... The DNS records (CNAME etc al) are named after what they point AT (or more accurately) resolve to. Thus the CNAME record (Canonical name) points or resolves to the REAL name of the host. (Literally, the

Re: Newbie question

2002-04-24 Thread Oki DZ
On 04/25 03:14 Andre wrote: It's Tomcat/4.0.3, and no I can't see anything on http://server:8005. (that's where my server.xml is configured). I think if you are in the beginning of running Tomcat, it would be nice to left everything as the default (ie: don't touch server.xml); you can do it

Timestamp on logfiles

2002-04-23 Thread Oki DZ
Hi, I have the following in my Engine element: Logger className=org.apache.catalina.logger.FileLogger prefix=local-catalina. suffix=.log timestamp=false/ Unfortunately, the filename still has the timestamp. How can I have a log file without the timestamp? BTW, it's Tomcat 4.0.3.

Re: Security

2002-04-23 Thread Oki DZ
On 04/23 12:25 Joel Rees wrote: Timothy Fisher commented: I understand the question as he's wondering whether or not you could programatically authenticate a user, such that the container would then recognize the user as being authenticated and not require another login when viewing

Re: Security

2002-04-23 Thread Oki DZ
On 04/23 15:20 Joel Rees wrote: So, how do you think Turbine compares to Struts? I've been looking at both, but my colleagues prefer the designated standard track. I can't tell; never been used Struts (but I've taken a look at:

Re: Security (Struts/Turbine)

2002-04-23 Thread Oki DZ
On 04/23 20:15 Timothy Fisher wrote: Im not real familiar with Turbine either... But based on your description of it, you point out that it does not use JSPs for view, which Struts does. Im curious, what does Turbine use/recommend for creating the view? The recommended way to create the

Re: /index.html works, / doesn't

2002-04-23 Thread Oki DZ
On 04/24 04:03 Bernd Prager wrote: I can't make welcome-file with tomcat-4.0.3, apache_1.3.24 and mod_webapp working. The url http://myhost/index.html works just fine, the url http://myhost/ doesn't. (I do have index.html in my welcome-file list.) You need to create the ROOT context (if

Same context, two services

2002-04-22 Thread Oki DZ
Hi, Would it be possible to load a single context into two services? I mean, the webapp would be run by two different services (two engines that run on different ports; same host, of course). Thanks in advance, Oki -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

SSL and no SSL

2002-04-21 Thread Oki DZ
Hi, I'd like to setup my Tomcat (4.x) so that the requests for a particular context from outside would be served via SSL, and the ones from inside by regular HTTP. What should I do? Having two engines? Having two services? Thanks in advance, Oki -- To unsubscribe: mailto:[EMAIL PROTECTED]

Cookies

2001-05-16 Thread Oki DZ
Hi, I use JDBCRealm and I'd like to have the connection times out after a certain period of time. Currently, it seems that once you have logged in, as long as you don't exit from your browser, the servlets can be run forever. Is there anything I can set in server.xml? TIA, Oki

Re: Newbie: JDBC Realm

2001-05-16 Thread Oki DZ
Ajay Ejantkar wrote: Why is the JDBCRealm connection established? We can access info in a dB in the servlet scripts by using the connection information for the driver and url. So what does the JDBCRealm connection do? It's for providing access privilege to your webapps. Say you had

Re: JDBC Realm is gone

2001-05-15 Thread Oki DZ
Hi, I can get the MD5 authentication working. In my server.xml: Context path=/test docBase=test debug=9 reloadable=true Realm className=org.apache.catalina.realm.JDBCRealm debug=99 digest=MD5 driverName=org.gjt.mm.mysql.Driver

Re: URGENT! Must form-based login run inside TOMCAT_HOME/webapps?

2001-05-15 Thread Oki DZ
Mascha Kluge wrote: Hi all there, I asked the same a few days ago, but it is very URGENT so I ask again. I'm doing form-based login with Tomcat 3.2.1; must my application run in the folder TOMCAT_HOME/webapps? When it doesn't I get the error j_security_check not found. You can try

Re: Developing on a different platform from production

2001-05-15 Thread Oki DZ
Dick Poon wrote: Me too, I do the development on Window and going to deploy it on Linux:-). Hm.. that's interesting; I do the other way around. Try Gnome, you'd love Linux on your desktop. Oki

Re: Using Digest method of JDBCRealm

2001-05-15 Thread Oki DZ
Larry Rogers wrote: Hi All, I'm trying to use the static Digest method included in JDBCRealm in Tomcat 4b3 from the command line. When I execute the following I use Tomcat 4b4. $ java -classpath catalina.jar org.apache.catalina.realm.JDBCRealm -a MD5 pass from tomcat/server/lib, I

Re: user authentication documentation

2001-05-15 Thread Oki DZ
Dante le Poole wrote: does anyone know of any docs or examples of how to setup form-based user authentication? Try this one: http://e-docs.bea.com/wls/docs60/adminguide/config_web_app.html#webapp-auth Oki

Re: tomcat server takes all of my ip addresses?

2001-05-15 Thread Oki DZ
Eero Volotinen wrote: No, because I want that both run port 80, but in different ip addresses? Is this possible in same machine? Try to define the following (it's in the server.xml): !-- Define the default virtual host -- Host name=myhost.com debug=0 appBase=webapps unpackWARs=true

Re: Hot Deploy.

2001-05-15 Thread Oki DZ
Allan Kamau wrote: is there such a thing like Hot deployment of new servlets and/or servlets. this requires the editing of the context's web.xml, can this be done without TC restart?. Just a comment... If Tomcat can be shutdown via a port, why can't it be told to read the new config using

Re: JDBC Realm is gone

2001-05-14 Thread Oki DZ
Bip Thelin wrote: If you wanna use encrypted password you have to turn on digest on the realm. Look in JDBCRealm-howto, basically you turn on digest and choose the algorithm you want to use, then you have to generate your password with the same algoritm. i.e. Realm ... Digest=MD5 And

Re: Tomcat/Catalina

2001-05-14 Thread Oki DZ
Hmm.. no response. Did I miss something? Or, was there a dispute way long ago...? Any FAQ to read? Oki

Re: Tomcat new Install/Startup/Shutdown

2001-05-14 Thread Oki DZ
neyyadupakkam sundarasekaran wrote: I downloaded jakarta-tomcat-3.2.1.zip and unziped it to my C: drive. I set TOMCAT_HOME, JAVA_HOME, PATH in autoexec.bat file. I re-booted the PC/windows 2000 I think unzipping the .zip file wouldn't do anything with Windows registry; rebooting

Re: JDBC Realm is gone

2001-05-14 Thread Oki DZ
Peter B. West wrote: Note that the references to `Digest' with a capital `D' in server.xml and the JDBCRealm class must be `digest' with a lower-case `d'. The usage of the public class (in 3.3 at least) is I have tried it, still no login. java org.apache.tomcat.modules.aaa.JDBCRealm -a MD5

Re: JDBC Realm is gone

2001-05-13 Thread Oki DZ
Bip Thelin wrote: I suggest you read the JDBCRealm-howto.html which should be in the docs directory of you distribution. Basically what you need to do besides what you've already done is to setup the tables(If you haven't already) and also check in the bottom of web.xml howto invoke a realm.

Re: JDBC Realm is gone

2001-05-13 Thread Oki DZ
Bip Thelin wrote: I suggest you read the JDBCRealm-howto.html which should be in the docs directory of you distribution. Basically what you need to do besides what you've already done is to setup the tables(If you haven't already) and also check in the bottom of web.xml howto invoke a realm.

JDBC Realm is gone

2001-05-12 Thread Oki DZ
Hi, I downloaded the b4 the other day. Now I can start Tomcat using a JDBC Realm. Thanks for the World -class bug fix. Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://myhost.com/James

Tomcat not root

2001-05-12 Thread Oki DZ
Hi, Tomcat runs on port 8080 (well, set up to be so). Would there be any problem if its started by a user other than root? TIA, Oki

Re: Question version 1.1

2001-05-11 Thread Oki DZ
Michael G. Anderson wrote: See Question version 1.0! Is version 3.2.2 beta 5 the latest? or is Tomcat 4(4.4) the latest? What is the latest version? Both. What am I missing? beta 5 is the latest in version 3.2.2. beta 4 is the latest in version 4.0 What is going on... Many betas

Re: strange problem - tomcat locking up server

2001-05-11 Thread Oki DZ
Erik Boles wrote: We are running Linux 7.1 on an intel box with MySQL 3.23.37 and Tomcat 1.17.2.1. It seems like every morning the box is somewhat locked up. We can telnet in, but cannot get any web pages to display, if we restart httpd we can now see pages, but no .jsp pages work, if we

Re: Question version 1.1

2001-05-11 Thread Oki DZ
Alin Simionoiu wrote: It's seems that the latest Tomcat is 4.0m5.. Then I missed one beta version. I just downloaded the beta 4 yesterday, and now there's already b5. I think the World spins faster. Oki

Running Turbine Tomcat

2001-05-11 Thread Oki DZ
Hi, I have Tomcat 4.0b4 running, then I installed Turbine (the source was from the CVS). I managed to have Turbine compiled by issuing ant torque first (which is not displayed when you execute ant -projecthelp). Torque got compiled, then I ran ant package. (Without the dot, of course). Then I

JDBC Realm

2001-05-09 Thread Oki DZ
Hi, I'd like to run Tomcat using a JDBC connection to a MySQL server. When I run it, I always have the following (yes, I tried for about three times): bdg:/usr/local/tomcat/bin# ./catalina.sh run Using CLASSPATH:

JDBC Realm

2001-05-09 Thread Oki DZ
Hi, I'd like to run Tomcat using a JDBC connection to a MySQL server. When I run it, I always have the following (yes, I tried for about three times): bdg:/usr/local/tomcat/bin# ./catalina.sh run Using CLASSPATH:

Re: JDBC Realm

2001-05-09 Thread Oki DZ
Ignacio J. Ortega wrote: Please post a bug for this issue in component auth at http://nagoya.apache.org/bugzilla Done. I put it in Catalina component. Oki -- The JanosVM supports separate per-team heaps, per-team garbage collection threads, inter-team thread migration, safe cross-team