RE: JK2 URI not correctly mapped for multiple virtual hosts in httpd.conf

2002-10-15 Thread gabriele . garuglieri
Hi Mladen, it's a pain having to express concepts in a language that is not mine. Perhaps that's the reason why you don't understand me. (and i hope nothing i say can sound offensive to anyone, it's not my intention. Believe me i'm trying to cooperate, not to put shame on anybody) Please try to

Re: How can I change default 8080 port to 80

2002-10-15 Thread Satish Kumar
Thanks Kwok, That worked. I was wondering why it did not interfere with Apache because Apache is also listening on port 80? Thanks again, Satish - Original Message - From: Kwok Peng Tuck [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, October 14, 2002 11:11 PM

AW: Tomcat and PHP-servlet?

2002-10-15 Thread Ralph Einfeldt
If a native library causes a segmentation fault, the complete vm will crash. So with each native library that you are using you introduce possible stability degrations. The creation of segmentation faults is not the only risk. With each library (native or not) you use, you increase the risk

Help needed in writing to a client m/c as .csv file

2002-10-15 Thread Santosh Kulkarni
Hi, I have this piece of code in my JSP which writes to a client machine as a .csv file. response.setContentType(text/x-csv; charset=ISO-8859-1); response.setHeader(Content-Disposition, inline; filename=\ + fn + \); out.print(Got this written on the client machine.); The problem I have in this

Re: Should one process continue to grow on Linux???

2002-10-15 Thread JensStutte
For my experience, the Sun jdk 1.3.x on linux tend to grow infinitely with tomcat. Try out the IBM JDK 1.3.1 or the newest Sun 1.4.1 (for servers i use the IBM, it's seems more reliable and stable in its memory consumption). Regards, Jens Stutte

AW: Help needed in writing to a client m/c as .csv file

2002-10-15 Thread Ralph Einfeldt
Make shure that you don't produce unintended newlines. Example: %@ page import=a.b.c.1 % %@ page import=a.b.c.2 % %! int oMax = 10; % % for (int i=0; i 10; i++) { % %= i % % } % This will produce several newlines before your output. Because every newline in your jsp file that is

RE:Help needed in writing to a client m/c as .csv file

2002-10-15 Thread KEVIN.THOMAS.8893930.SWAN
snooker wales best fuck off wales ar best football On Tue, 15 Oct 2002 00:14:04 -0700 (PDT) Santosh Kulkarni [EMAIL PROTECTED] wrote: ---BeginMessage--- Hi, I have this piece of code in my JSP which writes to a client machine as a .csv file. response.setContentType(text/x-csv;

RE: JNDI Datasource is *still* null

2002-10-15 Thread James hughes
Made the changes, still no DataSource. -Original Message- From: Raj Saini [mailto:[EMAIL PROTECTED]] Sent: 14 October 2002 19:42 To: Tomcat Users List Subject: Re: JNDI Datasource is null Hi, Do you really need the CharacterSetMappers in your context defination? Try using the vanila

nobody processes

2002-10-15 Thread Skorupski Pawe ,(PZUZ)
Hi, my problem is that when I run Tomcat with some application, then after some time(using applcations) I get nobody processes which doesn't want to disappear (even after restarting Tomcat). I can see them using command top. I can not kill them even with option -9. They use the major part of

Re: nobody processes

2002-10-15 Thread Nikola Milutinovic
Skorupski Pawe ,(PZUZ) wrote: Hi, my problem is that when I run Tomcat with some application, then after some time(using applcations) I get nobody processes which doesn't want to disappear (even after restarting Tomcat). I can see them using command top. I can not kill them even with

WHO knows about it ???

2002-10-15 Thread Jean-Luc BEAUDET
Hi everybody ! Well i'm actually using Apache 1.3.26 with Tomcat 4.0.2 via the WARP 1.0.2 Final Release for monthes now and all is runnin' good. - i test it on a prod server - I saw smth really amazing in the mailing list about mod_j2k and mod_webapp saying that in the last rel of Tomcat

Re: Loading a dll at startup...

2002-10-15 Thread Jhair Tocancipa Triana
Hi, Hi, I use Tomcat 4.1.12, JDK 1.3.1, Windows NT4 SP6. My webapp uses a Windows custom dll which is called by a java class (native method). It worked with Tomcat 4.0.5 with modification of setclasspath.bat to include this dll in Tomcat's classpath and path,

Tomcat SSL IBM JSSE

2002-10-15 Thread Panos Skondras
Hi all I am trying to run tomcat 4.0.4 on aix 4.3.3 on ssl mode I don't have the ibmjsse files because i can't find them anywhere is this a problem (Anyone one knows where is it ?) I am using sunn jsse i have put them in java_home/jre/lib/ext dir and also point the JSSE_HOME of tomcat to

Re: JNDI Datasource is *still* null

2002-10-15 Thread Raj Saini
Please post the Context defination part of your server.xml. Can you also post the stacktrace? BTW, do you have the latest oracle driver? Did you rename your classes.zip to classes.jar? Raj James hughes wrote: Made the changes, still no DataSource. -Original Message- From: Raj

RE: JNDI Datasource is *still* null

2002-10-15 Thread James hughes
Ok, now I feel really silly. It has been pointed out to me that I have java.sql.DataSource as opposed to javax.sql.DataSource in my Resource definition in server.xml It all works now! Silly mistake, although I wish there had been a stack trace somewhere to tell me this. Thanks for your

RE: nobody processes

2002-10-15 Thread Skorupski Pawe ,(PZUZ)
Thanks for advice, I find out and processes with 'user nobody' are created by process with command inetd. I don't know if the processes with command httpd can be started by process 'inetd' if service http doesn't exist in inetd.conf. Pawel -Original Message- From: Nikola Milutinovic

What does tomcat with character encoding?

2002-10-15 Thread Ryszard Lach
Hi! Problem of non-US characters in Tomcat is returning again and again... My setup is: 1. Tomcat 4.0.5, SUN JDK 1.3.1, JSP page with %@ page contentType=text/html;CHARSET=ISO-8859-2 % 2. String variable 's' with some LATIN2 characters in JSP code 3. out.printlin(s) displays correctly all

Static class not working under multiple webapps deployment

2002-10-15 Thread Donie Kelly
Hi I have written a static class which is populated with data on startup of my servlets and is suppose to be use in the context of the request. However, the static class seems to return the same information for all webapps and holds the configuration of the last servlet run on startup. Here is

plz help!!! simple test http://localhost:8080 fails why????

2002-10-15 Thread S Alam
I have a JSP program running on tomcat webserver at home. This program works. At home the computer accesses the internet via a dialup modem. I am trying to run this program at another location. I have taken my hard disk and installed the hard disk at the other computer. The other location is

Include directive problem

2002-10-15 Thread Luise Massimo
Hi all, i have a problem with Tomcat 4.1.12: I'm using a JSP page that it use an include directive (%@ include file=...%) to include another JSP page. The filename that i have specified is relative to the directory containing the first JSP page, but it is a symbolic link (i'm on a linux

Re: WHO knows about it ???

2002-10-15 Thread Raj Saini
There are many reasons of using mode_jk over warp. I had serious problem with the warp when, I used it with Tomcat 4.0.3. One very eratic thing was the errors, exception I used to get rendomly. Two other reasons are fault tolerance and load balancing. This is required for providing maximum

Re: plz help!!! simple test http://localhost:8080 fails why????

2002-10-15 Thread Raj Saini
How do you start your tomcat on other machine? What is the operating system of your meachine? Do you acess your jsp page from the same machine? it seems your tomcat did not start or died before starting. Check the catalina.out log file in the logs directory or your console for the

Re: nobody processes

2002-10-15 Thread Nikola Milutinovic
Skorupski Pawe ,(PZUZ) wrote: Thanks for advice, I find out and processes with 'user nobody' are created by process with command inetd. Aha, we are getting somewhere. I don't know if the processes with command httpd can be started by process 'inetd' if service http doesn't exist in

Re: nobody processes

2002-10-15 Thread Jon Eaves
Hi all, Look in the apache configuration files (normally /etc/httpd/conf) at the file httpd.conf There is a stanza in it: (about line 135) - # User/Group: The name (or #number) of the user/group to run httpd as. # On SCO (ODT 3) use User nouser and Group nogroup # On HPUX you may

RE: nobody processes

2002-10-15 Thread Skorupski Pawe ,(PZUZ)
I saw that only talk and ntalk are started as user nobody.tty, the rest of services are started as root. The parent process which started nobody processes are started by user root from inetd command. These processes have command httpd - where is the connection ? Pawel -Original Message-

Re: nobody processes

2002-10-15 Thread Nikola Milutinovic
Skorupski Pawe ,(PZUZ) wrote: I saw that only talk and ntalk are started as user nobody.tty, the rest of services are started as root. Kill those things. You usually do not need them on a server. The parent process which started nobody processes are started by user root from inetd command.

Re: Tomcat SSL IBM JSSE

2002-10-15 Thread Panos Skondras
Hi again I manage to find ibmjsse.jar (I had to download the wsdk 100MB nice???) and put it int the java_home/jre/lib/ext directory i also left there the suns jsse jcert.jar,jnet,jar ,jsse.jar i change the java.security file and put the provider snip security.provider.1=sun.security.provider.Sun

RE: Setting up the usera and password for the administrator in Tomcat 4.1

2002-10-15 Thread Carlos
Hi Christine, Thank you for your response. By the way, have you found documentation on how to use the manager application? I used to deploy a war file via the browser by entering the manager commands in the address field but I would like to do this with the manager app instead. Regards,

Re: Include directive problem

2002-10-15 Thread Mark Olliver
I had the same problem referencing jar files, from what I can gather, (no doubt somebody will correct me if I'm wrong) symbolic links are a security risk. Mark On Tue, 2002-10-15 at 11:49, Luise Massimo wrote: Hi all, i have a problem with Tomcat 4.1.12: I'm using a JSP page that it use

Re: what does jpp mean in the rpm file names?

2002-10-15 Thread Henri Gomez
It means JPackage Project (www.jpackage.org) The rpms provided for many jakarta projects, including ant and tomcat came from this project. Regards -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: question about tomcat server

2002-10-15 Thread Turner, John
You can't just put servlets into the ROOT directory and expect them to work. You need entries for them in web.xml. Check the docs, and check the web.xml for the examples to see how. John -Original Message- From: Henry Mak [mailto:[EMAIL PROTECTED]] Sent: Monday, October 14, 2002

Re: Include directive problem

2002-10-15 Thread Luise Massimo
why do you think symlinks are a security risk ? Mark Olliver wrote: I had the same problem referencing jar files, from what I can gather, (no doubt somebody will correct me if I'm wrong) symbolic links are a security risk. Mark On Tue, 2002-10-15 at 11:49, Luise Massimo wrote: Hi all, i

RE: RE: RE: tomcat 4.1.12 with apache

2002-10-15 Thread Turner, John
As far as I know, JK2 does not use workers.properties file, and does not use JkWorkersFile. RTFM! The files needed are: workers2.properties http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html jk2.properties

RE: How can I change default 8080 port to 80

2002-10-15 Thread Turner, John
Can't do this if Apache is listening on port 80. You need to stop Apache (and prevent it from restarting or starting on boot) and THEN do change server.xml. Otherwise, you need a connector. John -Original Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: How can I change default 8080 port to 80

2002-10-15 Thread Turner, John
It didn't work. Only one service can listen on a given port at a given time. Apache and Tomcat are two separate services. If you disagree, I'd love to see your httpd.conf file and your server.xml file so that I could try them on my own machines to see this behavior for myself. John

AW: How can I change default 8080 port to 80

2002-10-15 Thread Ralph Einfeldt
You are right if you add 'and a given IP', as you can have several IP's on one machine. -Ursprüngliche Nachricht- Von: Turner, John [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 15. Oktober 2002 14:45 An: 'Tomcat Users List' Betreff: RE: How can I change default 8080 port to 80

RE: How can I change default 8080 port to 80

2002-10-15 Thread Turner, John
Right on. John -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 8:56 AM To: Tomcat Users List Subject: AW: How can I change default 8080 port to 80 You are right if you add 'and a given IP', as you can have several IP's on

RE: using the -J-mxnumber command line option

2002-10-15 Thread Shapira, Yoav
Hi, You would put in your $CATALINA_HOME/bin/Catalina.sh as one of your JAVA_OPTS, e.g. JAVA_OPTS='-J-mx256' However, I'm suspicious of this error. Can you compile the JSP outside tomcat's runtime, e.g. using JspC? Yoav Shapira Millennium ChemInformatics -Original Message- From: Bart

RE: Why File.toURI() makes ServletContextListener jump contextDestroyed() directly?

2002-10-15 Thread Shapira, Yoav
Hi, I found when I use method toURI( ) of class File in ServletContextListener, it will jump contextDestroyed( ) directly. Did I misuse? Yes. Exceptions in your contextInitialized() method can result in the container not initializing your context. In fact, the desired behavior IMHO in that

Re: Include directive problem

2002-10-15 Thread Mark Olliver
The following quote is taken from http://httpd.apache.org/docs/urlmapping.html 'There are frequently circumstances where it is necessary to allow web access to parts of the filesystem that are not strictly underneath the DocumentRoot. Apache offers several different ways to accomplish this. On

RE: Static class not working under multiple webapps deployment

2002-10-15 Thread Cox, Charlie
where is this class located? if it is in /common/classes or shared/classes, that is the correct result. you will have to copy the .class file to each webapp under its WEB-INF/classes to get the result that you desire. Charlie -Original Message- From: Donie Kelly [mailto:[EMAIL

RE: Static class not working under multiple webapps deployment

2002-10-15 Thread Donie Kelly
That's where it is running (WEB-INF/classes/com/.). The problem might be that I am running Tomcat under Visual Caf 4.51 expert edition. Without any changes I run Tomcat from the command line and it works like magic. No problems. I wonder how running under Visual Caf can affect the

OutOfMemory when doing concurrent requests

2002-10-15 Thread Martijn Schoemaker
Hi all, My name is Martijn Schoemaker and I currently work for a big company in which we have a combination of apache (1.3.26), jserv (1.1.2), tomcat (3.2.3) running with an IBM supplied JVM version 1.3.0-01. Under tomcat are JSP's which via beans make RMI calls to the backend server running

Symlink and trouble with include directive

2002-10-15 Thread Luise Massimo
Hi all, i asked before for help with JSP page that include a symlink file. examining the source code i noticed in org.apache.naming.resources.FileDirContext 2 things regarding symlinks: 1) there is a flag name allowLinkingbut i don't know if it settable or not 2) there is a test

RE: Possible bug with isSecure()/getScheme() methods in tomcat 4.1

2002-10-15 Thread Brett Knights
IIRC there is a bug in the coyote connector in TC 4.1.10. You have to use the org.apache.ajp.tomcat4.Ajp13Connector connector and set an attribute tomcatAuthentication=false to achieve the result you desire. -Original Message- From: George Hart [mailto:[EMAIL PROTECTED]] Sent:

RE: Error with multipartParser

2002-10-15 Thread Sam Seaver
Jon, Thank you, that solved my problem, I was sure it was a class thing but just didn't realise that TomCat would never look at the normal classpath!! So it works now :-) One more thing though, if I don't give the file a filepath, it automatically puts it in this one folder where I do not

RE: Static class not working under multiple webapps deployment

2002-10-15 Thread Cox, Charlie
sorry, I am not familiar with Visual Cafe. It must be implementing its own classloader somehow or making your jars available to the bootstrap. Charlie -Original Message- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 9:50 AM To: 'Tomcat Users List'

RE: Is Apache Httpd required

2002-10-15 Thread Milt Epstein
On Mon, 14 Oct 2002, sonam singh wrote: IF HAVE LOT IMAGE OR STATIC THEN OBVIOUSLY U HAVE TO USE APACHE TO SERVE THE STATIC PAGES OTHERWISE IT OK TO USE TOMCAT ALONE. BUT I STRONGLY RECOMMEND USE APACHE WITH TOMCAT FOR BETTER FLEXIBILTY . REGARDS SONAM SINGH [EMAIL PROTECTED] PLEASE

Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Lior Shliechkorn
I'm trying to set up Tomcat to work with IIS 5 on windows 2000 server. I got everything working fine locally. I deployed my app and it's working fine on localhost:8080. Now I want to be able to see it from the outside and some files that I try to view from my domain come up with the actual

IIS 5.0 + Tomcat 4.0.6 integration - getting Unable to read worker_file onstart

2002-10-15 Thread Palamarneri . Krishnan
Hi I have installed Tomcat 4.0.6 on a Windows 2000 machine running IIS 5.0. I followed the documentation to install isapi_redirect.dll for integrating Tomcat 4.0.6 with IIS. I have checked and rechecked my registry entries associated and they are correct. When I restarted IIS after adding the

RE: IIS 5.0 + Tomcat 4.0.6 integration - getting Unable to read worker_file on start

2002-10-15 Thread Kolte,Yogesh
Hi You might want to refere to this article .It worked for me. http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html Yogesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: IIS

RE: Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Turner, John
-Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 10:48 AM To: [EMAIL PROTECTED] Subject: Tomcat 4.0.5 / IIS 5 ...snip... I ran with several tutorials that keep saying Hey, you did it...it's was so easy wasn't it? and they

Tomcat standAlone with SSL and Client Certificate

2002-10-15 Thread Frédéric LE MAISTRE
When I use Tomcat with SSL and clientAuth = true, Tomcat made an exception with the following message : handshake alert : no certificate. But I previously generate a client certificate, and add it to the server.keystore. I also added the server certificate to IE certificate. What's wrong? Big

tomcat 4.1.12 and xml spy

2002-10-15 Thread Drinkwater, GJ (Glen)
Hi I have been working with tomcat for a couple of years, but on friday i downloaded xml spy 5 enterprise edition and now my tomcat server will not work, it just falls over with out writing anything to catalina.out. All my older version will not work and even the one inside netbeans doesnt

RE: Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Lior Shliechkorn
I do apologize for the way that post was written. It's not easy to convey sincere requests for assistance with type. After 4 days of looking at this...I just feel that I might be close to solving this problem. Why would I come on this list to offer rude and arrogant remarks when I try to find

Re: Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Nuno Santos
Lior Shliechkorn wrote: I have IIS running and restarted it with jakarta virtual directory that has a green arrow up for the ISAPI redirector. But localhost doesn't find the pages. So I'm not sure what could be wrong. I set up the context for the inetpub/wwwroot with the path / instead of the

RE: Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Turner, John
Would you like to post: 1) which tutorials you've followed 2) relevant snippets of log files 3) your properties files That might speed up the process of getting an answer for you. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15,

Re: Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Lior Shliechkorn
Did you setup the ajp13 connector in the tomcat server.xml file? I uncommented it as I saw in a tutorial in one of the recent posts. I see that I have the isapi_redirect log in the tomcat\logs directory but it's empty. What should the worker.properties file contain? Maybe I have it wrong.

RE: Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Turner, John
The files look pretty good. Have you added the necessary registry keys? John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 11:18 AM To: Tomcat Users List Subject: Re: Tomcat 4.0.5 / IIS 5 Did you setup the ajp13

Re: CLASSPATH problems on 3.3.1

2002-10-15 Thread Michael Finney
So something like this for the wrapper.jvm.options: wrapper.jvm.options=-Dorg.apache.tomcat.apps.classpath=C:\SourceW\VSS\src;C:\SourceW\ja\src;C:\SourceW\VSS\lib\xerces.jar;C:\SourceW\lib\xml4j.jar -Xrs right? Can a person use quotes? Did you learn about wrapper.jvm.options from the

RE: Tomcat 4.0.5 / IIS 5

2002-10-15 Thread Lior Shliechkorn
Yes, I went to regedit and checked. It was all there. Ok, there's something I see now. The log file for isapi_redirect.log has this in there now: [Tue Oct 15 11:26:10 2002] [jk_uri_worker_map.c (416)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match worker1 - *.jsp [Tue Oct 15

servlet mapping help

2002-10-15 Thread Aryeh Katz
I'm trying to integrate mod_jk and tomcat. My httpd.conf file has the following mapping JkMount /examples/servlets/* worker1 and I see the following in my jk log file (at debug) [Tue Oct 15 11:52:17 2002] [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match

Re: Symlink and trouble with include directive

2002-10-15 Thread Graham King
Luise, I have the same problem. In Tomcat versions 4.1.* applications are not allowed to follow symlinks that take them out of their webapp directory. The 'allowLinking' is meant to override this but is apparently buggy (it definately didn't work for me). See here:

Upgrading from 3.2.1 to 4.0.6

2002-10-15 Thread Kristján Rúnarsson
First off Hello everybody! I have been given the task of migrating from Tomcat 3.2.1 to 4.0.6. After a lot of cussing I finally noticed that reference to port 8008 at the very end of the server.xml and changed it to an unused port which means that I have finally managed to get both the 3.2.1

Environment variables in server.xml

2002-10-15 Thread Rodrigo Ruiz
Does Tomcat 4 still support environment variables into its server.xml file? We would like our tomcat instances to automatically choose their HTTP port from an environment variable. It worked in Tomcat 3.3, doing something like: TOMCAT_OPTS=-Dhttp.port=$HTTP_PORT and using ${http.port} in our

TomCat ver 4.0.1, W2K and IIS5

2002-10-15 Thread David Cochrane
Whoever can assist. What I need is solid information on the following - I'm installing MeetingMaker ver 7.2.1 and according to the documents Tomcat ver. 4.0.1 is required in order to run the Intellisync software. Vers. 4.02 and ver 4.0.3 don't work (don't want to go there) The MMServer is up

Re: servlet mapping help

2002-10-15 Thread Jacob Kjome
Hello Aryeh, The proper syntax is: JkMount /examples/servlets/* ajp13 You define the protocol, not a worker after the mount pattern. Jake Tuesday, October 15, 2002, 11:03:01 AM, you wrote: AK I'm trying to integrate mod_jk and tomcat. AK My httpd.conf file has the following mapping AK

RE: TomCat ver 4.0.1, W2K and IIS5

2002-10-15 Thread Turner, John
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/archives/v4.0.1/bin/ http://www.vacodi.com/howto/tomcat/iisnt/index.html John -Original Message- From: David Cochrane [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 12:40 PM To: [EMAIL PROTECTED] Subject: TomCat ver

Startup error

2002-10-15 Thread Mihai Gheorghiu
TC4.0.2 jdk1.4.1 RH7.1 Everything went fine until this morning, when TC stopped loading my application when started. Catalina.out shows: ERROR reading java.io.FileInputStream@88e2dd At Line 2340 /web-app/servlet-mapping It seems to come from web.xml, because if I add a blank line, the error

RE: Upgrading from 3.2.1 to 4.0.6

2002-10-15 Thread Cox, Charlie
did you create a 'foo' context in server.xml? you do not want to overwrite /conf/web.xml. you can copy the web.xml from your webapps along with all your code and it should work since it's backwards compatible. are there any errors in the logs? Charlie -Original Message- From:

Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
I'm getting the following error in the isapi_redirect.log file: [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (655)]: Detected IIS = 5.0 [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (759)]: In HttpFilterProc

Custom Tag / JavaBean question

2002-10-15 Thread Cindy Ballreich
I have a custom tag that takes a collection as one of it's parameters. I'd like to be able to give the name of an attribute (a String) as the value and have the tag find the attribute from the pageContext. This doesn't seem like it should be too difficult. I have setters that look like this

Re: servlet mapping help

2002-10-15 Thread Aryeh Katz
Hello Aryeh, The proper syntax is: JkMount /examples/servlets/* ajp13 You define the protocol, not a worker after the mount pattern. This did not help matters. Even after changing httpd.conf and workers.properties, I get the same behavior. Just one question. Can you point me to

Tomcat Server Web Stats Programs??

2002-10-15 Thread Matt Fury
Does anyone have any suggestions for Web Stats programs running wth Tomcat? Does anyone know or has setup Tomcat with something like AWStats? I am using Tomcat as a Standalone to serve HTML and JSP so I need a stats package for everything. Thanks! -Matt = int

RE: servlet mapping help

2002-10-15 Thread Turner, John
You didn't have to change workers.properties at all. It works like this: 1. map request URI, if it fits a JkMount statement, check protocol 2. if protocol = ajp13 then JK (eg. ajp12 = JServ) 3. if JK look for workers.properties file 4. if found, use connection information to make connection

RE: Upgrading from 3.2.1 to 4.0.6

2002-10-15 Thread Kristján Rúnarsson
First off thanx for the reply! did you create a 'foo' context in server.xml? No I just changed the ports in the example file that came with Tomcat 4.0.6 because the diff between it and the on for the 3.2.1 server seemd too great. I suspect I am getting the server.xml configuration wrong.

RE: CLASSPATH problems on 3.3.1

2002-10-15 Thread Larry Isaacs
-Original Message- From: Michael Finney [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 11:25 AM To: Tomcat Users List Subject: Re: CLASSPATH problems on 3.3.1 So something like this for the wrapper.jvm.options:

jsp compil

2002-10-15 Thread Maxime Colas des Francs
after installing my webapp in $CATALINA_HOME/webapps, how can i pre-compile compile all my jsp in one shot ? thxs

RE: Tomcat IIS Worker problem

2002-10-15 Thread Ignacio J. Ortega
From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:09 PM [Tue Oct 15 12:34:16 2002] [jk_worker.c (82)]: Into wc_open [Tue Oct 15 12:34:16 2002] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers [Tue Oct 15 12:34:16 2002] [jk_worker.c

Re: Custom Tag / JavaBean question

2002-10-15 Thread Padhu Vinirs
Looks like you defined a type as java.util.Vector ( wtih rtexprvalue set to true ) in your tld for the accessList attribute ? -- padhu Cindy Ballreich wrote: I have a custom tag that takes a collection as one of it's parameters. I'd like to be able to give the name of an attribute (a

RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
Ok, so now that I changed the service to ajp12 I get the following in the log file: [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]:

RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John
Looks to me like your Tomcat is either not running, or listening on a different port: [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002]

RE: Custom Tag / JavaBean question

2002-10-15 Thread Tim Moore
The problem lies in the fact that you've overloaded the setter method for accessList. According to the JavaBeans spec, you can't do that; only one setter per property name is supported. So, first of all, you'll need to give the attributes two different names and make them both optional. For

RE: Upgrading from 3.2.1 to 4.0.6

2002-10-15 Thread Cox, Charlie
-Original Message- From: Kristjan Rznarsson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 1:33 PM To: Tomcat Users List Subject: RE: Upgrading from 3.2.1 to 4.0.6 First off thanx for the reply! did you create a 'foo' context in server.xml? No I just changed

RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
Here we go. The files' contents are below. workers.p : workers.tomcat_home=c:\tomcat workers.java_home=c:\jdk1.3.1_04 ps=\ worker.list = ajp12 worker.ajp12.type = ajp12 worker.ajp12.host = localhost worker.ajp12.port = 8009 worker.ajp12.lbfactor=1 uriworkermap.p: default.worker=ajp12

RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John
I would change ajp12 to ajp13, especially in .type. JK = ajp13. Like this: worker.list = one worker.one.type = ajp13 worker.one.host = localhost worker.one.port = 8009 Take out the load balance line (lbfactor)...with only one Tomcat there is no need for any load-balancing configuration.

Re: Tomcat and Webalizer

2002-10-15 Thread Rick Fincher
A JSP file isn't enough. You need a web app. That requires a WEB-INF folder with a web.xml file. You can run your JSP create the folder WEB-INF (case is important) in your begjsp-ch01 folder. In WEB-INF put a minimal web.xml file containing something like the example below. Now access your

Re: plz help!!! simple test http://localhost:8080 fails why????

2002-10-15 Thread Rick Fincher
You also need to check to see if localhost is resolvable on your machine. If you ping localhost you should get a response from 127.0.0.1. Rick - Original Message - From: Raj Saini [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 6:57 AM Subject:

RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
Unfortunately, I'm still getting the original error: [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 14:15:49 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name rsworker [Tue Oct 15 14:15:49 2002] [jk_worker.c (127)]: wc_get_worker_for_name,

RE: servlet mapping help

2002-10-15 Thread Aryeh Katz
You didn't have to change workers.properties at all. snip So, you should have a line like this in httpd.conf: JkMount /examples/servlets/* ajp13 And a few lines like this in workers.properties: worker.list=some-name worker.some-name.port=8009 worker.some-name.host=your.host.com

RE: Building mod_jk.so for Linux

2002-10-15 Thread Brett Knights
Actually it turned out not to be the build! if I edit httpd.conf thus: ... LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so LoadModule perl_module modules/mod_perl.so LoadModule jk_module modules/mod_jk.so ... I then mod_jk is not recognized and the

RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John
At this point I can only surmise that it has something to do with IIS and the isapi_redirect thingie. Since I don't run IIS, I can't help with those things. Your workers.properties file and uri.properties file look fine to me. Perhaps someone out there with a working IIS configuration can

RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn
Thanks for the help John. Hopefully I'll get this resolved. Turner, John [EMAIL PROTECTED] wrote: At this point I can only surmise that it has something to do with IIS and the isapi_redirect thingie. Since I don't run IIS, I can't help with those things. Your workers.properties file and

binding on socket

2002-10-15 Thread David Loy
Is it possible to have tomcat 1.4 bind on a socket different from the host IP (similar to Apache listen) Thanks David _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

RE: Building mod_jk.so for Linux

2002-10-15 Thread Turner, John
That's pretty strange. Mod_jk is the last module loaded for me, at the very end of httpd.conf, and it works perfectly. John -Original Message- From: Brett Knights [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:22 PM To: 'Tomcat Users List' Subject: RE: Building

Re: How can I change default 8080 port to 80

2002-10-15 Thread Dave Patton
They should not both be listening on port 80. If you really need them both, the best bet is to have Apache on port 80 and have it forward requests to Tomcat through the Warp connector. I am very surprised that you got them both to listen simultaneously on port 80. Dave Patton On Mon,

RE: servlet mapping help

2002-10-15 Thread Milt Epstein
On Tue, 15 Oct 2002, Aryeh Katz wrote: You didn't have to change workers.properties at all. snip So, you should have a line like this in httpd.conf: JkMount /examples/servlets/* ajp13 And a few lines like this in workers.properties: worker.list=some-name

Re: binding on socket

2002-10-15 Thread David Loy
Sorry make that tomcat 4.0 From: David Loy [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: binding on socket Date: Tue, 15 Oct 2002 11:27:38 -0700 Is it possible to have tomcat 1.4 bind on a socket different from the host IP (similar to Apache

RE: binding on socket

2002-10-15 Thread Turner, John
Not sure what you mean. Tomcat can listen on whatever socket you want. Just configure the appropriate connector element in server.xml with the desired port number. I'm not sure how Tomcat handles multiple IP addresses, nor am I sure if there is a listen on all IP addresses parameter in Tomcat.

RE: Building mod_jk.so for Linux

2002-10-15 Thread Brett Knights
This is with TC 4.0.6, TC Connectors 4.0.6, Apache 2.0.42 and Linux Red Hat 7.2 What versions are you using? -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 11:28 AM To: 'Tomcat Users List' Subject: RE: Building mod_jk.so for Linux

  1   2   >