RE: file size limit

2002-02-28 Thread Mehmet Ugur Kuzu (LinkPlus)
I solve it, Tomcat 4.0.2 somehow sometimes does not give error for null string variables, but in 3.3a it gives and i solve it. i think basicly it stop to produce html when it get this kind of error. i can not identifiy problem clearly, but when i check strings for null values it resolved. thanks

RE: org.apache.catalina.logger.SystemOutLogger

2002-02-28 Thread NIVET Rémi
Hi all I think I've got the answer to your question. The fact is that you've got three different loggers : FileLogger, SystemErrLogger and SystemOutLogger. If you read carefully the doc, you'll see that you can't specify any file name for the Systeme's loggers. So if you specify a FileLogger for

RE: Tomcat x Apache

2002-02-28 Thread Ion Larrañaga
Sorry for my mistake. You are right that Apache should redirect the request to Tomcat directly. This means I should read messages more carefully ;) Are you able to access static pages with Apache? Do you have an index.html in "/home/myDocs" to test if you can access http://your.server/index.html

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-28 Thread Lassie
Sriram Narayanan wrote: > (snip) > >> > >Hi Craig, > >The web-inf directory is already in capital letter on the windows file > >system. Is there another place, or another conf file I should check for > >this "capital letter" thing ? > > > > It really must be an issue of capital case. Here's how y

SV: Tomcat x Apache

2002-02-28 Thread Klosa Uwe
Hi, I think you have to change WebAppConnection Tomcat_Apache warp localhost:8008 to WebAppConnection Tomcat_Apache warp myServer:8008 and to . I don't know if both is neccesary. But try it. Regards Uwe -Ursprungligt meddelande- Från: Ion Larra

RE: Apache + Tomcat + SSL : Please help me on this

2002-02-28 Thread Anton Brazhnyk
Hi, > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 5:37 AM > To: [EMAIL PROTECTED] > Subject: Apache + Tomcat + SSL : Please help me on this > > > Hi All, > > I have a problem in configuring SSL. I basically have two questi

RE: Tomcat isn't running

2002-02-28 Thread Anton Brazhnyk
Hi, > -Original Message- > From: Yassel Omar Izquierdo Souchay [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 8:08 AM > To: [EMAIL PROTECTED] > Subject: Tomcat isn't running > > > Hello > i had installed tomcat 4.0 and when y try tu run startup it never finish > because

Re: Context addition in windows!

2002-02-28 Thread Joel Rees
Wait a minute. On Thursday, February 28, someone claiming to be Kurt Kurniawan wrote: > ... all servlet files and other jar files, have to be in > /WEB-INF/CLASSES directory under your webapps. > ... > if you want to specify your directory other than this, > you have to have your servlet engin

Time out error

2002-02-28 Thread Mahesh Agarwal
Hi All I am using loadrunner to test my application. When i am setting 5 users to connect to my server (I am using JBoss-2.4.1_Tomcat-3.2.3) ,it is successful. But when increases the count to 10 users, its giving timeout error for everyone. Can any body please solve out issue. thanks a lot in ad

RE: Thread counts

2002-02-28 Thread Anton Brazhnyk
Hi, > -Original Message- > From: Moi [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 9:48 AM > To: Tomcat Users List > Subject: Thread counts > > > To optimize my Tomcat4,I'd like to minimize number of thread counts ,for > example to 10.Because,when I see Linux processes

Nice Tomcat+apache beginner site

2002-02-28 Thread Keith Ng
Hi I have found a website that describes very clearly how to set up tomcat and apache side by side. Its pretty useful and those who are having problems might wan to check it out. http://www.webmasterbase.com/article/305 _ Do You Yahoo!

RE: Nice Tomcat+apache beginner site

2002-02-28 Thread Keith Ng
Sorry. That link was the last page of tat artcile here it is again guys http://www.webmasterbase.com/article.php?pid=0&aid=305 -Original Message- From: Keith Ng [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 7:15 PM To: Tomcat Users List Subject: Nice Tomcat+apache beginner site

Re: SV: Tomcat x Apache

2002-02-28 Thread Cleber Hostalácio de Melo
I  have already tried to change" localhost" to  "myServer" but the result was the same. In both case, when I start up Tomcat and Apache, the Apache-Tomcat log shows that Apache is setting up the Warp connector correctly: 2002-02-27 16:01:58 [org.apache.catalina.connector.warp.WarpConnector] Conne

RE: Apache does not load images!!

2002-02-28 Thread Eswar.K
hi ricky, i am using mod_jk only and not mod_webapp. any clue why it is happening? Eswar K. J. A -Original Message- From: Ricky Leung [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 5:05 AM To: Tomcat Users List Subject: RE: Apache does not load images!! are you using mod

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
All versions of Tomcat (and all JSP containers for that matter) require you to add <%@ page import=""%> to your JSP files. Also, Tomcat versions 3.3 and beyond ignore your system's classpath variable - it causes to may problems with people not understanding how this interacte

RE: [TC402] Manager Context in IIS 5 is access denied

2002-02-28 Thread Randy Layman
Check the permissions for the redirector dll and the virtual directory. Also, if you want Tomcat to handle authentication (which you need for the manager app), IIS must be configured to allow anonymous access to the virtual directory. Randy > -Original Message- > From:

Questions to security fixes

2002-02-28 Thread Steffen Fries
Hi, just a short question, are all of the security vulnerabilties listed under http://securitytracker.com/archives/target/420.html are fixed in the newest version. Is there a general list which shows, which security bugs are fixed? Regards Steffen___

RE: Context addition in windows!

2002-02-28 Thread Cox, Charlie
> -Original Message- > From: Joel Rees [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 5:36 AM > To: Tomcat Users List > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Context addition in windows! > > > Wait a minute. > > On Thursday, February 28, someone claim

Avoiding 'servlet' as part of the URL

2002-02-28 Thread Thomas Stiller
How can I achieve that a servlet Serv123.class which is successfully running from install_dir/webapps/ROOT/WEB-INF/classes/ and currently called http://somehost/servlet/Serv123 is able to be called http://somehost/myfolder/Serv123 and located in the directory install_dir/webapps/myfolder/classes/

Why "localhost:8080" NOT expanded to "http://localhost:8080"

2002-02-28 Thread Thomas Stiller
After having started Tomcat 4.0.2 I entered the URL localhost:8080 into my browsers URL entryfield. Surprisingly it is not automatically expanded to http://localhost:8080 but gave an error (page not found) With other URLs in the outside internet world(when I am connected through my providers c

RE: Avoiding 'servlet' as part of the URL

2002-02-28 Thread Barney Hamish
You can set up aliases for servlets in the web.xml but the servlets still have to reside in the WEB-INF directory. Have a look at the documentation for the web.xml file. -Original Message- From: Thomas Stiller [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 2:28 PM To: [EMAIL

Re: Why "localhost:8080" NOT expanded to "http://localhost:8080"

2002-02-28 Thread Tom Oinn
Thomas Stiller wrote: > > After having started Tomcat 4.0.2 I entered > the URL > localhost:8080 > into my browsers URL entryfield. > Surprisingly it is not automatically expanded to > http://localhost:8080 > but gave an error (page not found) > > With other URLs in the outside internet world(

Re: Nice Tomcat+apache beginner site

2002-02-28 Thread Chuck Amadi
Keith Ng wrote: >Hi > >I have found a website that describes very clearly how to set up tomcat and >apache side by side. Its pretty useful and those who are having problems >might wan to check it out. > >http://www.webmasterbase.com/article/305 > > > >_

RE: Why "localhost:8080" NOT expanded to "http://localhost:8080"

2002-02-28 Thread Randy Layman
ICANN assigned HTTP traffic (that for the web) to port 80. Consequently, web browsers assume that web traffic will occur over port 80. They also handle other protocols (like FTP on 21). Since 8080 is no an assigned number for a protocol the web browser doesn't know how to talk to the oth

tomcat402+iplanet4.1

2002-02-28 Thread Thutika, Swamy
Hi All, I could succesfully connect iplanet4.1 with tomcat33a with ajp3 connector(on windows nt). I user nsapi_redirector that came is under binary distribution. I am using tomcat as ouofprocess engine. But when i do the same thing between tomcat402 and iplanet4.1 , i get the following err

AW: tomcat402+iplanet4.1

2002-02-28 Thread Ralph Einfeldt
Are you also using the mod_jk.so of 3.3 ? If not, give it a try. > -Ursprüngliche Nachricht- > Von: Thutika, Swamy [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 28. Februar 2002 15:06 > An: '[EMAIL PROTECTED]' > Betreff: tomcat402+iplanet4.1 > > As i didn't find naspi_redirector.

RE: IlligalStateException -- getOutputStream() has already been called for this response.

2002-02-28 Thread Nicolas Silberzahn
Bonjour, getOutputStream() can be done only once. I guess the first servlet you are invoking is doing it. Then you forward to a jsp which try to do it again If it forwards to a jsp, the initial servelt don't have to send something on the stream, thus don't have to call getOutputStream() . Bo

RE: Unable to compile class for JSP

2002-02-28 Thread Nicolas Silberzahn
I Get the same problem. The above import fixed the problem. This as not mandatory with TC3? It worked fine without the import... Nicolas Silberzahn Digital Airways Everywhere Technologies <100% Java, Mobile, Offline aware>Wapaka Browser www.DigitalAirways.com >-Message d'origine- >De :

RE: IlligalStateException -- getOutputStream() has already been called for this response.

2002-02-28 Thread Nicolas Silberzahn
Bonjour, getOutputStream() can be done only once. I guess the first servlet you are invoking is doing it. Then you forward to a jsp which try to do it again If it forwards to a jsp, the initial servelt don't have to send something on the stream, thus don't have to call getOutputStream() . Bo

RE: Why "localhost:8080" NOT expanded to "http://localhost:8080"

2002-02-28 Thread Chris Campbell
This is not surprising really. In most URI addresses the protocol (http, ftp etc) is the part before the colon. If you leave 'http:' out of a URI with a colon in it, the part before the colon becomes the protocol, in this case 'localhost'. ChrisC > -Original Message- > From: Thomas Stil

Reload Context Problem-Tomcat 4.0.1

2002-02-28 Thread Haris Papadopoulos
Hi, When classes or servlets are updated, the context is being reloaded. However, we use a pool of connections to Firebird in a development environment and it seems that sometimes (not always and this is strange), the context is reloaded but the new pool of connections is never created. As I sa

RE: tomcat402+iplanet4.1

2002-02-28 Thread Thutika, Swamy
Thanks Ralph for the quick reply. I am on NT box. Is it some kind of a dll that i have to install on NT. - Swamy -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 9:15 AM To: Tomcat Users List Subject: AW: tomcat402+iplanet4.1 Are you

RE: Why "localhost:8080" NOT expanded to "http://localhost:8080"

2002-02-28 Thread Randy Layman
Not quite - A fully qualified URL is formatted like: procotol://hostname:port/path The hostname is immediately follows // and is terminated by the next element. This allows the : to unambiguous, even if the optional elements are left out. Randy > -Original Message- > Fr

Re: Why "localhost:8080" NOT expanded to "http://localhost:8080"

2002-02-28 Thread Olaf Jahn
"Thomas Stiller" <[EMAIL PROTECTED]> hat geschrieben: > After having started Tomcat 4.0.2 I entered the URL localhost:8080 > into my browsers URL entryfield. Surprisingly it is not > automatically expanded to http://localhost:8080 but gave an error > (page not found) > Which option do I have to

AW: tomcat402+iplanet4.1

2002-02-28 Thread Ralph Einfeldt
Sorry, was in wrong cinema. Forget it. mod_jk.so is for apache what naspi_redirector.dll is for netscape. > -Ursprüngliche Nachricht- > Von: Thutika, Swamy [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 28. Februar 2002 15:25 > An: 'Tomcat Users List' > Betreff: RE: tomcat402+iplane

AW: tomcat402+iplanet4.1

2002-02-28 Thread Ralph Einfeldt
Your log looks like you already use mod_jk. I don't think that naspi_redirector.dll will produce such messages. (Not shure as I never used it) > -Ursprüngliche Nachricht- > Von: Thutika, Swamy [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 28. Februar 2002 15:25 > An: 'Tomcat Users

Scope / Instantiation of JSP pages / declarations

2002-02-28 Thread Thorsten Barth
Hello, Using Tomcat, I found out that JSP pages are instantiated only once - the first time they are requested. The values of the local declared variables are kept for subsequent requests and even shared between different sessions. If two requests are accessing the same page at the same time,

RE: Scope / Instantiation of JSP pages / declarations

2002-02-28 Thread Randy Layman
see intermixed > -Original Message- > From: Thorsten Barth [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 9:55 AM > To: Tomcat Users List > Subject: Scope / Instantiation of JSP pages / declarations > > > If two requests are accessing the same page at the same time,

Threading my app

2002-02-28 Thread Dominic Clay
Hi, Have been successfully writing small webapps for some time, but I have hit a difficult issue and was wondering if anyone had any ideas the scenario... Page1 contains a link to a document. when the link is clicked, Page2 appears which contains a large text document stored is a text field in

Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-28 Thread Mullen-Schultz, Gary
I too get this error. Here's what I see in the log: 2002-02-27 17:04:38 WebappLoader[/WebPro]: Deploy JAR /WEB-INF/lib/KSCDomainBusinessObjects72_022202.jar to D:\Tomcat\jakarta-tomcat-4.0.2\KSCWebApps\Correspondent\WebPro\WEB-INF\lib\K SCDomainBusinessObjects72_022202.jar ... (some stuff in be

configuring additional servlet path

2002-02-28 Thread Uri Shohet
Hi List, I went through all (IMHO) tomcat documentation and haven't found a solution. In Apache JServ I could make 2 servlet zones and map them as follows: http://myhost/myproduct/servlet -> /myproduct/run/servlet http://myhost/myproduct/pubservlet -> /myproduct/run/pubservlet I need thi

RE: configuring additional servlet path

2002-02-28 Thread Barney Hamish
Have a look at the servlet specifications from sun that correspond to your version of Tomcat. They tell you what you need to add to your web.xml to set up user-defined mappings to servlets. Hamish -Original Message- From: Uri Shohet [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28,

XSL - Reload a resource without restarting

2002-02-28 Thread Lauer, Oliver
Hi all, somebody a brilliant idea how to reload a resource dynamically within a webapp without having to restart. In my case I want to reload a XSL file only if it was changed. Thanks in advance Oliver > AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web Architect > Wörthstr

RE: Nice Tomcat+apache beginner site

2002-02-28 Thread Clinton Gormley
I've tried out the instructions on this site and added these config lines to httpd.conf (vanilla apache and tomcat installs on Win2000) LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples when i try

RE: tomcat waiting in linux

2002-02-28 Thread John Niven
Robert > -Original Message- > From: tlug [mailto:[EMAIL PROTECTED]] > Sent: 27 February 2002 21:21 > To: [EMAIL PROTECTED] > Subject: tomcat waiting in linux > > I am running > Java 1.4 from sun for linux > RedHat 7.2 > and TomCat 4.0.2 from the rpm file > > I get the following mes

Re: tomcat waiting in linux

2002-02-28 Thread rsequeira
If you are running tomcat straight out of the box, then the log messages seem correct. By default the http connector listens on port 8080 unless you modified the server.xml and changed the port (see in server.xml). Trying telnet-ing to the port 8080 once you have started. See what ports are open

RE: tomcat waiting in linux

2002-02-28 Thread Thutika, Swamy
I used to get the same display when i run the tomcat33a / tomact402. I removed the Apache service set up from server.xml. Everything works fine even after that. My feeling is that the examples erver.xml has this server predfeined within it. HTH, Swamy -Original Message- From: John

RE: IlligalStateException -- getOutputStream() has already been called for this response.

2002-02-28 Thread Nicolas Silberzahn
Bonjour, getOutputStream() can be done only once. I guess the first servlet you are invoking is doing it. Then you forward to a jsp which try to do it again If it forwards to a jsp, the initial servelt don't have to send something on the stream, thus don't have to call getOutputStream() . Bo

AW: XSL - Reload a resource without restarting

2002-02-28 Thread Ralph Einfeldt
Depends on the application/library that is using the file and how much control you have about the application/library. Without more input it's hard to say anything more. > -Ursprüngliche Nachricht- > Von: Lauer, Oliver [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 28. Februar 2002

AW: XSL - Reload a resource without restarting

2002-02-28 Thread Ralph Einfeldt
I thought that the problem was, how to handle the change not how to recognize it. If the xsl is just file and you know where it is, what about this: long mLastLoad = 0; File mXSLFile = new File(); if (mXSLFile.lastModified() > mLastLoad) { doWhatEverToReRead(); mLastLoad = (new Date()).getT

RE: tomcat waiting in linux

2002-02-28 Thread John Niven
Swamy > -Original Message- > From: Thutika, Swamy [mailto:[EMAIL PROTECTED]] > Sent: 28 February 2002 16:35 > To: 'Tomcat Users List' > Subject: RE: tomcat waiting in linux > > I used to get the same display when i run the tomcat33a / > tomact402. I removed the Apache service set up

AW: XSL - Reload a resource without restarting

2002-02-28 Thread Lauer, Oliver
I haven't spend much time on this request yet but what I know is that a webapp has to parse a XML stream with XSLT and the XSL is subject to change. And I don't want to reload the webapp for that purpose. Background: The XSLT filters our XML stream. Any suggestions ? Thanks Oliver > AXA

AW: XSL - Reload a resource without restarting

2002-02-28 Thread Lauer, Oliver
Danke Ralf, Do you know a similar mechanism for something that is located within my web context e.g. within web-inf like the web.xml Oliver > AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web Architect > Wörthstraße 34 > D-50668 Köln > Germany > Tel.: +49 221 148 31277 > Fax

Got some questions about load balancing in 3.3a

2002-02-28 Thread Michael Molloy
I've got some questions about load balancing with Tomcat 3.3a. First of all, the Tomcat-Workers-How-To that comes with 3.3a says that the workers.properties file contains working entries for an Ajp12, Ajp13, and a load balancing worker. However, it also says that the tomcat workers to be used f

Re: XSL - Reload a resource without restarting

2002-02-28 Thread jeff . guttadauro
Hi, Oliver. I can offer an idea (doubt it would qualify as brilliant though - sorry). If you do a getResource from the ServletContext, it will give you a java.net.URL. Then, maybe you could do an openConnection on the URL to get a URLConnection. Then, try the getLastModified method on that.

Re: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Ming
Hi, Randy, Thanks a lot for your information. Here is my situation: My older tomcat is version 3.3 and new tomcat is version 4.0.2. This is the script in the older tomcat directory(very simple one): <%@ page language="java" contentType="text/html" %> <%@ page info="Simple testing program" %>

virtual hosts/certificates

2002-02-28 Thread Bernhard Wraase
Hello, is it possible to use several certificates in one tomcat? I would like to configure a different cert for each virtual host. I.e.: cert A for virtual host 1 cert B for virtual host 2 cert C for virtual host 3 As far as I understand the docs it is not possible. Does anybody know a trick? --

AW: XSL - Reload a resource without restarting

2002-02-28 Thread Lauer, Oliver
I'm going to try it. Thanks ! > AXA eSolutions GmbH > AXA Konzern AG Germany > Oliver Lauer > Web Architect > Wörthstraße 34 > D-50668 Köln > Germany > Tel.: +49 221 148 31277 > Fax: +49 221 148 43963 > Mobil: +49 179 59 064 59 > e-Mail: [EMAIL PROTECTED] > _ > ---

Upload bug ...

2002-02-28 Thread Julien OIX
hi everyone, I'm using these RPM's on a Linux RedHat 7.1 apache-1.3.22-1.7.1 (with mod_throttle-3.1.2-3 mod_put-1.3-2 mod_bandwidth-2.0.3-2) tomcat4-4.0.1-1 mod_webapp-1.0.2-1 and it seems there's a bug whit file upload ... Is this possible at this time to recompile a "clean" mod_webapp.so

Re: XSL - Reload a resource without restarting

2002-02-28 Thread Markus Spath
[EMAIL PROTECTED] wrote: > Hi, Oliver. > >I can offer an idea (doubt it would qualify as brilliant though - sorry). > If you do a getResource from the ServletContext, it will give you a > java.net.URL. Then, maybe you could do an openConnection on the URL to get a > URLConnection. Then,

Tomcat (4.0.2) expiring protected forms

2002-02-28 Thread Towns, Peter (ANTS)
Hi all, I'd like to stop Tomcat (4.0.2) from expiring my forms and causing my browser to spew out "Your webpage has expired, etc..." whenever a user history.back()s to the form. Tomcat seems to be pretty keen to do this since it's trying a whole bunch of headers to expire/no-cache my pages. I've

invalid https url generates NullPointerException

2002-02-28 Thread Steve A Drake
Hello. I just downloaded and installed Tomcat 4.0.2 and jsse1.0.2 on my RH 7.2 box. I configured SSL under Tomcat so that the test URLs: http://localhost:8080/ and https://localhost:8443/ work fine. The problem that I am having is that, if I accidentally enter: https://localhost:8080/ Tomcat b

RE: invalid https url generates NullPointerException

2002-02-28 Thread KC Berg
did you check your redirectPort in server.xml? -- -- What I did to enforce the use of https and eliminate your issue was the following... if(request.getServerPort() != 443){ response.sendRedire

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
I believe that this is one of the ambiguities of the JSP/Servlet spec. You old version will only work on Tomcat 3.3, not TC 3.2 or the newer 4.0, and it will only work if the JSP file is in the root directory of your webapp. The reason is how the .java files are generated. Un

[Dim Question] Redirecting GET http://blah.com/ resource -> GET /resource - Tomcat 4

2002-02-28 Thread CAM
Hello all, I'm sure I'm missing something very basic here but I can't think what. I'm using a little proxy (HttpSniffer) to debug header and cookie info between my browser and a remote Tomcat 4-b6. I'm getting failures to requests (404's) when I go thru the proxy and I can see in my access log

Re: Tomcat (4.0.2) expiring protected forms

2002-02-28 Thread Remy Maucherat
> Hi all, > > I'd like to stop Tomcat (4.0.2) from expiring my forms and causing my > browser to spew out "Your webpage has expired, etc..." whenever a user > history.back()s to the form. Tomcat seems to be pretty keen to do this since > it's trying a whole bunch of headers to expire/no-cache my p

Reloading of beans and sessiopn no longer valid

2002-02-28 Thread Jason Webber
When I update a bean in my webpages that handles reports, everything seems to reload. The database bean reloads that has nothing to do with the report bean. This causes my database connections to be reestablished. The scope of the database bean is application. Also all valid sessions are now g

Re: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Ming
Hi, Randy, Thanks a lot for your reply. I think you raised a very good question regarding portable JSP development. Everytime when I try to move the JSP codes from one place to another, I spent so much time on just making them work again. I'm very slow on this. So, is that possible for you to e

Custom error 401 page?

2002-02-28 Thread Robert Wille
If I define a custom error 401 page, I get an error 500 when I attempt to access a protected resource (protected with BASIC authentication). There is a NullPointerException thrown somewhere deep in the bowels of Tomcat. I would really like to display my own page when the user fails to authentic

RE: JSP programming under Tomcat 4.0.2

2002-02-28 Thread Randy Layman
I would suggest looking at the Servlet spec, chapter 9 covers the Web Application and sections 9.4, 9.5, and 9.7.1 seems especially relevant to your question. Randy > -Original Message- > From: Ming [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 28, 2002 2:08 PM >

Tomcat + IIS + Wondows XP

2002-02-28 Thread Yassel Omar Izquierdo Souchay
Hello Anybody knows how to configure tomcat for run With IIS in Windows XP. I cannot run mys .jsp's and my servlets Ans the other question i have is how i could create a web directory with Tomcat or IIS , where i can run my servlets. thanx in advanced Yassel -- To unsubscribe:

RE: invalid https url generates NullPointerException

2002-02-28 Thread Steve A Drake
Hello KC. On Thu, 28 Feb 2002, KC Berg wrote: > did you check your redirectPort in server.xml? > > -- > port="8080" minProcessors="5" maxProcessors="20" >enableLookups="false" redirectPort="8443" >acceptCount="10" debu

RE: Sense of realm element in login-config

2002-02-28 Thread Lawlor, Frank
> This is what I want to do: > > 1) I want to setup a database which includes multiple realms > 2) user are linked to realms > 3) I want to use protect a servlet with basic authentication, and I want to > be able refer to the correct realm when performing the authentication (this > means sen

Starting tomcat with a different user

2002-02-28 Thread Nelson Yip
Hi, I finally installed tomcat but I want to start up tomcat with a different user and not root. I created a user called tomcat and I want this user to startup tomcat automatically. What is the best way to do it? Thanks Nelson

Database bean Destroy

2002-02-28 Thread Jason Webber
I have a database pooling bean that I use. Is there a way to tell when the bean is being destroyed becuase the bean has been replaced with a newer version or is being unloaded for some reason? I need to know so that I can close the database connections that the bean is controlling. I dont want

Re: Database bean Destroy

2002-02-28 Thread Jason Webber
The bean is application scope. - Original Message - From: "Jason Webber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 12:48 PM Subject: Database bean Destroy > I have a database pooling bean that I use. Is there a way to tell when the > bean is being de

Problem with ISAPI redirector for Tomcat 4.0.2

2002-02-28 Thread Bryan Baker
Hello, I added the ISAPI redirector for 4.0.2 (isapi_redirector.dll, dated 13 Feb 2002, sized 241766 bytes) to IIS 5.0 (W2K SP2). Tomcat 4.0.2 works fine, but when requesting a resource via IIS I got the message: The specified module could not be found. I deleted this filter, and downlo

Re: Starting tomcat with a different user

2002-02-28 Thread Lasse Hillerøe Petersen
At 21:31 +0100 28/02/02, Nelson Yip wrote: >different user and not root. >I created a user called tomcat and I want this user to startup tomcat >automatically. What is the best way to do it? >From a startup script that runs as root, do something like: su -c $TOMCAT_HOME/bin/startup.sh -Lasse

Exception loading sessions from persistent storage

2002-02-28 Thread Kapasi, Mehjabin
Hello, Iam upgrading from Tomcat Version 3.2.1 to 4.0.1. My application runs fine with the earlier version. I got all the setup configured for TC 4.0.1 . The application loads fine but I get this error in the log files Exception loading sessions from persistent storage java.io.WriteAbortedExcepti

Getting multiple instances of my servlet, although it doesn't implement SingleThreadModel

2002-02-28 Thread Scott Shorter
All, I have a servlet that loads on startup, per the tag in web.xml. It does *not* implement SingleThreadModel. Unfortunately, two instances start up every time Tomcat starts - I can tell because I have a System.out.println call in init(). I need for there to be only one instance. What other

RE: Re: Tomcat v4.0.2 : doesn't find JAR files in the WEB-INF/lib

2002-02-28 Thread Mullen-Schultz, Gary
I should add that this exact configuration works under 4.0.1. We are running on Windows 2000. > I too get this error. Here's what I see in the log: > 2002-02-27 17:04:38 WebappLoader[/WebPro]: Deploy JAR /WEB-INF/lib/KSCDomainBusinessObjects72_022202.jar to D:\Tomcat\jakarta-tomcat-4.0.2\KSCWe

RequestDumperValve help

2002-02-28 Thread Mark Shaw
I have a question (potential bug?) w/ RequestDumperValve. I have set up a simple SOAP like web-service (actually it's Caucho's Hessian protocol) and when I attempt to use this when also using the RequestDumperValve, my call, which uses POST, always fails on the server due to the servlet input str

Re: Threading my app

2002-02-28 Thread Christopher K . St . John
Dominic Clay wrote: > > The issue is this can take up to 200 seconds to complete. > ... I want to put this processing in a separate thread > which is called when Page1 appears. > It's not really the same problem, but there's some info at: http://www.distributopia.com/servlet_stuff/backgroun

Meaning of /xxxx/* .... ???

2002-02-28 Thread Thomas Stiller
What does that (only wildcard-part interesting: "*" !!!) inside a servlet-mapping mean: //* Does that mean search in this subdirectory tree or does it mean "search the name corresponding servlet" or what ? Thx for answeríng this beginner question Thomas -- _

Re: Meaning of /xxxx/* .... ???

2002-02-28 Thread Craig R. McClanahan
On Thu, 28 Feb 2002, Thomas Stiller wrote: > Date: Thu, 28 Feb 2002 16:57:32 -0500 > From: Thomas Stiller <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Meaning of //* ??? > > What does that (only wildcard-part interesting:

Re: Meaning of /xxxx/* .... ???

2002-02-28 Thread Christopher K . St . John
Thomas Stiller wrote: > > What does that (only wildcard-part interesting: "*" !!!) > inside a servlet-mapping mean: > > //* > SRV.11.2 Specification of Mappings, from version 2.3 of the servlet spec, should have all the information you need. The servlet spec isn't (for the most part) wr

Re: RequestDumperValve help

2002-02-28 Thread Craig R. McClanahan
On Thu, 28 Feb 2002, Mark Shaw wrote: > Date: Thu, 28 Feb 2002 13:45:53 -0800 > From: Mark Shaw <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: RequestDumperValve help > > I have a question (potential bug?) w/ Requ

Re: changing the default character encoding

2002-02-28 Thread Richard Sand
Hi all, I am still beating my head against a brick wall trying to get the default encoding changed for my Tomcat server on Linux (slackware 2.4.17 if it matters). The problem is actually outside of Tomcat so please excuse the slightly off-topic question. But basically, I've run the following si

encoding "Cp1252" is not supported

2002-02-28 Thread Sam NewYork
I recently installed Cocoon2 with JBoss-2.4.3_Tomcat-3.2.3. I followed all the instructions on the installation page which involved removing parser.jar and jaxp.jar and replacing that with xerces-1.4.4.jar Now when I try to work with my JSP files in another webapp outside of cocoon, I get the

RE: Nice Tomcat+apache beginner site

2002-02-28 Thread Andrzej Jan Taramina
> when i try http://localhost/examples/, it correctly gives me a directory > listing generated by the Tomcat server, but when I try to go to any of the > subdirectories (eg http://localhost/examples/servlets/), I see a 302 > response in my Apache access log and the request eventually fails. > > A

Information on mod_webapp Module for Apache Server hooked to Tomcat-4

2002-02-28 Thread kuma
Hi, I have just installed Apache HTTP Server along with Tomcat -4.0.2 , thus running side by side. Thus mod_webapp Module .Everything works fine when i run the various ports 8008 for Apache Server port tomcat local and port Tomcat secure https. Thus suggest the best place to get to s

Deploying apps

2002-02-28 Thread Dieter Lunn
Hi, I downloaded todays nightly build and it started fine but it won't deploy an app I have and I can't connect using localhost:8080. Could someone please help? -- To unsubscribe: For additional commands: Troubles with the list:

Re: someone claiming to be (was Re: Context addition in windows!)

2002-02-28 Thread Joel Rees
Someone claiming to be you questioned: > > -Original Message- > > From: Joel Rees > > [snipped] > > On Thursday, February 28, someone claiming to be Kurt Kurniawan wrote: > > I assume you have reason to believe it may not be "Kurt Kurniawan" who sent > this message to the list? :) No, j

Re: changing the default character encoding

2002-02-28 Thread Joel Rees
Java news groups archives can be accessed at http://groups.google.com/groups?group=comp.lang.java but see below: Richard Sand asked: > Hi all, > > I am still beating my head against a brick wall trying to get the default > encoding changed for my Tomcat server on Linux (slackware 2.4.17 if it

Jetty .vs. tomcat

2002-02-28 Thread Steve Wong
How will you compare jetty with tomcat? Which one will you choose for a production environment? Why? Any Performance figures about these 2 servlet containers? Thx. and Regards. Steve. -- To unsubscribe: For additional commands:

RE: Jetty .vs. tomcat

2002-02-28 Thread Ming Fai
hi Steve, I'm a Tomcat user. from what I read on the web, I believe Jetty does outperform Tomcat significantly in static pages and also outperform Tomcat to a unknown degree in dynamic pages. so, why i still choose Tomcat? My main consideration is in scalability. Multiple instance of Tomcat can