Re: Mac os x and class files

2003-02-23 Thread Anthony Marlowe
Hi Warren, What are values for JAVA_HOME, CATALINA_HOME, CATALINA_BASE, and your CLASSPATH? Regards, Tony On Saturday, Feb 22, 2003, at 17:40 Europe/Berlin, Warrren Burholt wrote: Here is the version of my java 1.4.1 DP10. java -version java version 1.4.1 Java(TM) 2 Runtime

Tomcat Porting

2003-02-23 Thread Jeff Masud
This is a question about porting a webapp from Orion to Tomcat. We recently have a fully funtioning web application for our service working great, with Orion. It's currently running and has been running very fast, however we are looking to expand our application servers and decided to move

Re: JDBC ORACLE implementation !

2003-02-23 Thread Swapneel Dange
hey CHONG ~ i think that i have got my all the answers here in the mail u send me. gosh , i never knew all these details are lying behind my implementation thought of a good database. i really went through all the details u gave me here. anyways i am thinking now more seriously about the FILE

Wildcard mappings in server.xml Host

2003-02-23 Thread Tyler Bye
Hello All, I would like to build a simple servlet such that when a user visits my website with a subdomain of their choosing 1 of 2 things happens. If a user tries to visit a sub-domain that has not been set I present them a form with a prompt that says... Welcome to Domain.com! I noticed

Re: Virtual Hosting with apache and tomcat

2003-02-23 Thread Jens Skripczynski
Hi, Robert Einsle: you can try to use Context path= docBase=ROOT debug=0/ as in the server.xml. That maps ROOT to / So i believe (!) with this you can access your Context in the root directory. I don't knew, but i think with this Method i can only use one servlet-context as

cgi-bin on Tomcat

2003-02-23 Thread Kaps Stefan
Hello! Where is the directory (cgi-bin on Apache) where i can put my executables (an executable file for a mapserver for example) in it? Is it the root directory? It doesn't work... Cheers Stefan - To unsubscribe, e-mail:

Re: Tomcat Porting

2003-02-23 Thread Kief Morris
Jeff Masud typed the following on 01:28 23/02/2003 -0800 However after switching over one of our application servers, we noticed some problems. I've tested both J2sdk 1.4 and IBM Java 1.4 and both have proven to given the same results. Anytime we run Tomcat, everthying works fine for a little

Bouncing Tomcat (for new classes)

2003-02-23 Thread Tammer Salem
I was under the impression that you did not have to restart Tomcat when you change .class files. I currently have an application under webapps with a classes directory under WEB-INF. I used to change the classes and run my application normally. Now I found that I have to restart Tomcat every

Re: Getting Tomcat to _only_ listen to localhost

2003-02-23 Thread Tim Funk
Add to your Connectore definition: address='127.0.0.1' or whatever IP address you wish to bind to. If this property is not defeined - then tomcat binds to all ip addresses for that port. -Tim Jordan Hayes wrote: I'd like for the standalone HTTP server and the Coyote/JK2 AJP 1.3 Connector to

Re: Apache modules with Tomcat

2003-02-23 Thread Tim Funk
If you use JK, apache can do most of the work for you with their modules. If you are only running tomcat - you'll need to write Valves to get the modular like functionality. Filters might work too and are portable across containers but you are restricted in functionality with filters compared

Re: Bouncing Tomcat (for new classes)

2003-02-23 Thread Tim Funk
You probably had tomcat configured in the past to look for these changes in .class files and automatically restart the web application. For some reason - its now turned off. (I don't like that feature anyways). If your change is only a class change in a webapp - all you have to do is restart

Re: Bouncing Tomcat (for new classes)

2003-02-23 Thread Tammer Salem
Thanks, got it. Tammer - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 4:54 PM Subject: Re: Bouncing Tomcat (for new classes) You probably had tomcat configured in the past to look for these changes in

Re: Getting Tomcat to _only_ listen to localhost

2003-02-23 Thread Jordan Hayes
Add to your Connectore definition: address='127.0.0.1' or whatever IP address you wish to bind to. Just for fun, where is this documented? Thanks, that worked. /jordan - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Getting Tomcat to _only_ listen to localhost

2003-02-23 Thread Tim Funk
for jk http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html for http http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/http11.html or http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html -Tim Jordan Hayes wrote: Add to your Connectore definition:

how to protect file

2003-02-23 Thread Xiongfei Wang
I have tomcat 4.1.18 i want to develop a login system similar to login system of my bank's website. Stucture: working directory: home/jzhu/registration have files and dirs BadUser.html index.html Invalid.html target.html WEB-INF target.html is the file I want to protect user have to log in

Problem with Tomcat Apache running on Different IPs

2003-02-23 Thread Santos Jha
Hello all, After successfully configuring mod_jk2 to enable communication in between Apache and tomcat, I have couple of questions. I will love to know the answers.: 1. With Ajp13 is it necessary to run tomcat apache on same IP? Here is the scenario: For me Apache is running of real

RE: Connection Pooling

2003-02-23 Thread SebastiĆ£o Carlos Santos
Indeed which is the difference of using 1. Tomcat JNDI: or 2. commons-dbcp + commons-pooling: ? Thank you There are two options. 1. Tomcat JNDI: refer to Tomcat's JNDI datasource how-to 2. commons-dbcp + commons-pooling: refer

Subject: RE: Tomcat 4.1.18-LE re-writes tomcat-users.xml file; why?

2003-02-23 Thread nord ehacedod
Yoav is correct - you can create users in the Admin webapp. ...and you could use the Fullname field for your comments. So users should put comments into the Fullname attribute because the file must be writeable for the admin app even if you don't run the admin app? This is likely to depress

Internal Server Error

2003-02-23 Thread John Ferrigan
All - Apologies in advance - newbie here. Running Tomcat 4.0.6 on 2000 box, using JDK 1.3.1_02, and Apache 1.3. I'm able to run the Tomcat examples, no problem. However, when I go to run the examples from O'Reilly's JSP Book (Version 2), I get the same type of errors (pasted below). From

Manager JDBCReal Table

2003-02-23 Thread Jeffrey Pajor
Based on the HOWTO I think the answer to this question is No. But, I want to make sure. If I configure a JDBCRealm can I use the Tomcat Administration Tool to maintain the user database? Or do I have to maintain that table myself? Thanks. Cheers, Jeff -- Jeffrey Pajor Auten Road, Inc

using tomcat server

2003-02-23 Thread yip leung
Hello. I am a student and i am now doing a piece of coursework. Thanks for the free download of Tomcat 4.1 at your website, but i do have problems of how to use it the way i wanted. I wonder if i can get any hints through this email. Q1. I am trying to development a flash animation which need

Connection pooling

2003-02-23 Thread Arcadius A.
Hello! I'm using Tomcat 4, mod_jk1.2 and Apache 1.3.27 on Redhat I'm in need of connection pooling example to get me started I've had a look at http://jakarta.apache.org/commons/dbcp/api/index.html and thougth that a concrete/working example would make things clearer Thanks in advance

Tomcat question

2003-02-23 Thread ali salehi
Hi, I want to write a servlet to log any request to the .gif files in my server (im using tomcat 4.1.18). I have mapped any requests ending with .gif to a servlet (using web.xml file ) My questions are : 1. Which method(s) do i need to override (doPost or doGet) ? 2. After logging the request, how

Re: Apache modules with Tomcat

2003-02-23 Thread Jordan Hayes
If you use JK, apache can do most of the work for you with their modules. Well, maybe I'm dense then. In my VirtualHost, I did this: Directory / Header add MyHeader time %D msec start at %t /Directory If I visit http://blah.foo.com/index.html the header gets added; if I

Re: [O.T.] Installing struts under tomcat 4 and apache 2

2003-02-23 Thread Bill Barker
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html#Using%20Apach eConfig Dani [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello. I'm trying to install struts 1.0.2 under red hat 7.2, with tomcat 4.1.18 and apache 2.0.44. I've read the documentation here

More info on custom tag problem

2003-02-23 Thread Percival Bragg
The following are the current files and the error from tomcat that I received in trying my first custom tag. The following is the java class for the custom tag. package com.braggonline.portal; import java.io.*; import javax.servlet.jsp.tagext.*; import javax.servlet.jsp.*; public class

Re: Tomcat question

2003-02-23 Thread Bill Barker
This is really exactly the sort of usage that Filters were designed to deal with. You are much better off using a Filter. Just for chuckles, the following should work for a Servlet-based solution (for TC 4 at least): public void service(HttpServletRequest request, HttpServletResponse response)

Re: More info on custom tag problem

2003-02-23 Thread Bill Barker
Percival Bragg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The following are the current files and the error from tomcat that I received in trying my first custom tag. The following is the java class for the custom tag. package com.braggonline.portal; import java.io.*;

sub

2003-02-23 Thread Zack Beatty
subscribe

Re: Apache modules with Tomcat

2003-02-23 Thread Tim Funk
Just guessing: http://httpd.apache.org/docs/mod/mod_headers.html Since the header directive is occuring in the directory / the directive is being processed for index.html just fine. But apache knows nothing about /examples/servlet/ since the directory doesn't physically exist so it probably is

A minor favor to ask..

2003-02-23 Thread David Orriss Jr
I just have a minor favor to ask of the list members. Some of us out here have ISPs that configure the email systems to not allow attachments that could be executed by various email clients. Among those are: VBS, JS, EXE, DOC (ms Word doc). COM, etc. If you could please put attachments in ZIP

Is it necessary to use a jdk with tomcat?

2003-02-23 Thread alain
Hi all, Is it better to run tomcat with a jdk over a jre? Or it doesn't really matter... Thanks! Alain - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is it necessary to use a jdk with tomcat?

2003-02-23 Thread Santos Jha
Since at the run time you are using jars, It should not matter whether you use jdk o jre. santos [EMAIL PROTECTED] wrote: Hi all, Is it better to run tomcat with a jdk over a jre? Or it doesn't really matter... Thanks! Alain -

Re: Is it necessary to use a jdk with tomcat?

2003-02-23 Thread Bill Barker
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Is it better to run tomcat with a jdk over a jre? Or it doesn't really matter... If you are using JSP files, then you need the JDK (to compile them). If not (or, if you pre-compile your JSPs) then it doesn't matter.

Apache 2.0.44, JK2, Tomcat 4.1.18 - virtual hosts

2003-02-23 Thread Yuriy Zubarev
Hello everyone, I had 3 web applications that were running under the same instance of Tomcat and were publicly accessible via 'virtual hosts' like: Host name=www.product1.com appBase=webapps Context path= docBase=path1 reloadable=true/ /Host ... Host name=www.product3.com appBase=webapps

having trouble using tomcat

2003-02-23 Thread Michael Ni
hi im new to tomcat. im having trouble using jsp pages to query my microsoft sql server 2000. does anyone know how to do this? i've followed the microsoft instructions but it doens't work still. i created the CLASSPATH environement variables, but my jsp code looks like it doens't work

having trouble using tomcat

2003-02-23 Thread Michael Ni
hi im new to tomcat. im having trouble using jsp pages to query my microsoft sql server 2000. does anyone know how to do this? i've followed the microsoft instructions but it doens't work still. i created the CLASSPATH environement variables, but my jsp code looks like it doens't work

Re: having trouble using tomcat

2003-02-23 Thread Peng Tuck Kwok
Michael, what do you mean by it doesn't look like it works? You get errors on the page or just a blank screen, plus what version of tomcat are you using ? Michael Ni wrote: hi im new to tomcat. im having trouble using jsp pages to query my microsoft sql server 2000. does anyone know how to

Fw: How to undo Web Application Manager remove?

2003-02-23 Thread laikiow
- Original Message - From: laikiow To: [EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:28 AM Subject: How to undo Web Application Manager remove? I try the Web Application Manager of Apache Tomcat 4.1 using the link http://localhost:8080/manager/html/list and accidently press

Re: having trouble using tomcat

2003-02-23 Thread laikiow
try this... DriverManager.getConnection(jdbc:microsoft:sqlserver://128.91.107.105:1433;User=sa;Password=duder); DriverManager.getConnection(jdbc:microsoft:sqlserver://128.91.107.105:1433,User=sa,Password=duder); - Original Message - From: Michael Ni [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: having trouble using tomcat

2003-02-23 Thread Peng Tuck Kwok
Isn't that exactly the same as before ? ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

new instalation missing startup scripts

2003-02-23 Thread Zachary Kuhn
Hi everyone. I just installed the 4.1.8 release of Tomcat via the linux binary RPM. However, when I go to /var/tomcat4/bin i have no startup scripts, only a couple jar files. The docs say the startup files should be there. Is there something I am missing? Zak

Re: Web browser authenticates to Tomcat Server using Client SSL authentication

2003-02-23 Thread Kwan Hon Luen
I use keytool to export the client certificate on its machine, and try to import it using web browser. but it still does not get in the Personal certificate store.. - Original Message - From: Bill Barker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 3:20 PM

Re: having trouble using tomcat

2003-02-23 Thread laikiow
maybe , and ; make a difference? - Original Message - From: Peng Tuck Kwok [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, February 24, 2003 11:21 AM Subject: Re: having trouble using tomcat Isn't that exactly the same as before ? ?

Re: Mac os x and class files

2003-02-23 Thread Warrren Burholt
Hello Tony, Thank you for your interest in my problem. Here is what I see when I start Tomcat. Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.1.18 Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.1.18 Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.1.18/temp Using JAVA_HOME: /usr

Tomcat Apache

2003-02-23 Thread Kwan Hon Luen
Hi , Have configured Tomcat to use SSL with client authentication set to true. Have imported client (which is the web browser IE) certificate to tomcat server keystore. But when I use IE to connect to Tomcat, it pops up a message box saying The Web site you want to view requests identification.

403 unavilable

2003-02-23 Thread Nandish A
hi all i have this directory structure c:/Windows/Desktop/Code/ | |___Web-inf |__web.xml |__classes |MyServlet(.java .class)

Jasper doesn't recompile if TLD is changed

2003-02-23 Thread Sven Khler
hi, Jasper2 of my Toncat 4.1.18 didn't recompile the page, altough and i changed the TLD because i moved a class from one package to another. After reloading the application, it didn't work anymore, because the old classes we're still used by the compiled JSP-page. Of course they couldn't be

Nothing seems to work

2003-02-23 Thread Nandish A
Here is the error message and the web.xml http://localhost:8080/Code/gc.MyWorld type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error allocating a servlet instance

RE: Tomcat and Virtual Sites in IIS

2003-02-23 Thread TO_Valery
Morning! In your uriworkermap.properties ( if you use jk - redirect.dll), needs to type /oponyzimowe/*.jsp=$(yourworke.worker) so isapi redirector will be able to redirect all request for this url into Tomcat. BeSt ReGaRdS level0 icq#155042687