AW: RE: How to make tomcat parse a *.HTM File ??

2001-03-14 Thread Matthias Barmeier
Hi, *.htm=ajp12 I have set this and tomcat delivers the html files, but tomcat ignores all the <% %> tags. I use IIS 4.0 ... but as mentioned the tomcat already receives the html files but does not parse the content. any Ideas ??? -Ursprüngliche Nachricht- Von: Christopher Kirk [mai

RE: Tomcat - Apache : performance

2001-03-14 Thread Darrell Porter
If you're doing this as a service provider, yes - put Tomcat on at least one other server. Ideally, you would load-balance multiple Apache servers and multiple Tomcat servers. Darrell -Original Message- From: Bart Ronsyn [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 9:17 A

Set an application's working path

2001-03-14 Thread Alexander Batzios
Hello. I am using a JSP file to call a class, say myClass, which is a pure java application. From that class, I then need to call a method, say myMethod. The part of the JSP file that does the above is like: myClass mc = new myClass(parameters); mc.myMethod(); Part of myMethod() functionality

Unknown element urn in TLD, taglib, help

2001-03-14 Thread Joel Cordonnier
Hi ! In my application, the JSP pages use tag libraries. In the tomcat 3.2.1 jasper.log file the is the WARNING: Unknown element urn in TLD What's that ? Thanks Joel ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Mes

Re: Form based auth. again...

2001-03-14 Thread Vladimir Grishchenko
Daniel Lopez wrote: > > Hi Vladimir, > > > > > I'm thinking along the same lines... You could also embed a tiny invisible > > image in protected area to your front page (named /welcome, for example) > > and define your login form as /welcome?mode=login, so whenever you're not > > authorized we

RE: JSP, sessions: how to notify bean about the session end?

2001-03-14 Thread Michael Wentzel
> Any examples or resources for this? > > William Brogden wrote: > > > > > "Sergey V. Udaltsov" wrote: > > > >> Hello all > >> > >> My JSPs uses some session-scoped bean. This bean, among > other duties, is > >> responsible for logging in and out of some app server. I > would like the > >>

RE: How to make tomcat parse a *.HTM File ??

2001-03-14 Thread Christopher Kirk
Have you tried setting *.htm=ajp12, AND in httpd.conf move the mod_jk higher up the list of modules (I believe that they are declared in a 'search' order)? - Chris. > -Original Message- > From: Matthias Barmeier [mailto:[EMAIL PROTECTED]] > Sent: 14 March 2001 17:01 > To: [EMAIL PROTE

Tomcat - Apache : performance

2001-03-14 Thread Bart Ronsyn
People, We run an Apache Webserver and host websites for companies. I wonder how much servlets and Tomcat slow down the loading of the webpages on our webserver ? The servlets will be used to implement chatboxes, database applications f.e. ... Should I consider to install Tomcat on our other se

Re: Reloading Pages....Help

2001-03-14 Thread Andy C
This might not be the correct way to do it but shut down the tomcat server and delete the appropriate files from the work directory (tomcat\work\locakhost_8080 I guess.) Andy C Editor R2 Project http://www.r2-dvd.org - Original Message - From: "Mick Sullivan" <[EMAIL PROTECTED]> To: <[EM

RE: detecting shutdown

2001-03-14 Thread Duck-Jin Chun
Instead of looking for something Tomcat/Serlvet2.2 specific, how about using Runtime.addShutdownHook(Thread)? My vm version is 1.2.2 so I have not been able to use this new feature. I was forced to use the (deprecated) Runtime.runFinalizersOnExit() method instead. Let me know if you have any luc

Re: Form based auth. again...

2001-03-14 Thread Daniel Lopez
Hi Vladimir, > I'm thinking along the same lines... You could also embed a tiny invisible > image in protected area to your front page (named /welcome, for example) > and define your login form as /welcome?mode=login, so whenever you're not > authorized welcome page is smart to display you a lo

Re: JSP, sessions: how to notify bean about the session end?

2001-03-14 Thread Tony Keith
Any examples or resources for this? William Brogden wrote: > > "Sergey V. Udaltsov" wrote: > >> Hello all >> >> My JSPs uses some session-scoped bean. This bean, among other duties, is >> responsible for logging in and out of some app server. I would like the >> bean to perform autologout on

How to make tomcat parse a *.HTM File ??

2001-03-14 Thread Matthias Barmeier
Hi, I have a question: What do I have to do to make JSP code work in *.htm files. I would like to automatically add an authorization prefix to any *.html and *.htm page of my old web. The java program works fine but the <% authorize this code %> does not

Odd problem restarting tomcat

2001-03-14 Thread Andy C
Under Tomcat 3.2.1,Apache 1.3.12,mm.mysql.2.0.4,mysql 3.3.28,NT 2000 On one machine when it is restarted some jsp pages work correctly while others give an error. See below for the full error. The pages are generated from jsp from data in a mysql database. Only by carefully restarting the apac

Re: JSP pages not updating?

2001-03-14 Thread TAI Wai Wang, Leo
I had this problem before. It is because i config tomcat wrongly. Try to see configuration, especially tomcat's the content path, apache's virtual hosts and alias. Leo - Original Message - From: "Mick Sullivan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 4:

Reloading Pages....Help

2001-03-14 Thread Mick Sullivan
Hi I need some help here. Does Tomcat cache JSP pages? I ask this because any changes I make to my JSP pages arnt actually saving. I am definetly changing the right pages in the folder C:\tomcat\webapps\project\jsp\ When i point my browser to http://localhost:8080/project/jsp/anyJSPFile.jsp the

Re: detecting shutdown

2001-03-14 Thread Daniel Lopez
Hi David, AFAIK there's no such a thing in any servlet container that I've worked with, but I might be wrong as my experience with Tomcat is quite limited. However, this wouldn't be a logical option as the same that you say about unloaded!=tomcat stopping can be said of loaded. AFAIK loaded!=Tomc

Re: just making sure

2001-03-14 Thread JeremyRayYoo
My question was that when you have a servlet, a new one you wrote lets say Test.java, do you have to explicitly put an entry in the web.xml for it to be executed. For example: > > > Test > > > Test > > I tried to e

Re: Form based auth. again...

2001-03-14 Thread Vladimir Grishchenko
Christian Rauh wrote: > > Vladimir Grishchenko wrote: > > > > "Craig R. McClanahan" wrote: > > > > > > * Have the link on your home page exactly has you describe, but have > > > the link point at a "Welcome To My Application" page inside the > > > protected area. The fact that this page is p

RE: CTRL_LOGOFF_EVENT service solution?

2001-03-14 Thread Darrell Porter
What do you mean by "requires complex editing of the registry, which can't be done with an install program" ? What is so complex about the registry settings that a program can't do it? Darrell -Original Message- From: Siebenmann, Joe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14

Cannot create bean error?

2001-03-14 Thread Jason Kary
Hi, I've been searching through the archives and I can't seem to find an answer to this question. I just upgraded to Tomcat 3.2.1 from Tomcat 3.1.1. Everything was working fine. Now when I try to access my application I get the following error: javax.servlet.ServletException: Cannot creat

Re: JSP pages not updating?

2001-03-14 Thread Jan Labanowski
There are many tomcats out there running on many operationg systems Who owns your $TOMCAT_HOME/work directory (should be the user who runs tomcat). Are you "including" something maybe? Delete everything under the $TOMCAT_HOME/work but leave the directory. On Wed, 14 Mar 2001, Mick Sullivan wro

Re: AW: AW: Problem with mod_jk

2001-03-14 Thread Philippe Lecler
Thomas Bezdicek wrote: > > Hi, > > One more point, did you compiled mod_jk with apxs? > if not try it that way : > > apxs -o > mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris > -lposix4 -c *.c ../jk/*.c > > in the mod_jk-howto.html it is mentioned and it worked > fo

Re: HELP : TOMCAT 3.2 Configuration : File not found

2001-03-14 Thread Ratnakar Malla
Hi, It is the Xerces.jar classpath problem. make sure that xerces, is first in the classpath. Your classpath should start with Xerces.jar -Ratnakar --- Jerome Fauvet <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to use Tomcat 3.2 with windows 98. > I have tried to use examples of a book. >

getInitParameter return null

2001-03-14 Thread jnw
hello, I have the following lines in my web.xml file jsp org.apache.jasper.runtime.JspServlet jnw salutjeannoel -2147483646 I create a jsp file with the following line: out.println(config.getInitParameter("jnw

notes on installing 4.0 beta on MacOS X beta

2001-03-14 Thread Miles Poindexter
After upgrading from Tomcat 3.2.1 to 4.0 beta, the weird hang problems and Hotspot JVM fatal errors are gone! Here's some notes about the installation, and some possible bug info: One problem was this method: writer.write(s.getBytes()); where "s" is a String object and "write" is an OutputStrea

Re: web.xml reading (?) problem

2001-03-14 Thread Rob Tanner
Are you talking about the default web.xml in tomcat's conf directory, or an application specific web.xml in your application's WEB-INF directory? Also, is there other evidence that the web.xml file is not beibg read (other specifications that are being ignored)? You might also try setting pe

JSP pages not updating?

2001-03-14 Thread Mick Sullivan
Can someone please tell me why my JSP pages arnt updating when I make changes to them. I have flushed the cache, made obvious changes to the files and even moved the entire JSP folder to another directory, yet when I point the browser to: http://localhost:8080/project/jsp/index.html the pages

RE: Is the path set correctly

2001-03-14 Thread Randy Layman
In short, no. If you consider a URI: protocol:port//path/to/resource?QueryString. The QueryString in the Jasper log is this same query string and doesn't have anything to do with compiling the JSP. Its possible to create a servlet that responds to all requests that contain it and take

Problem with ErrorDocument 404 setup to a JSP page

2001-03-14 Thread Christophe Porteneuve
Hey all, I'm trying to setup a Tomcat-run JSP page as the local URL of a ErrorDocument 404 directive in a virtual host on my Apache web server. The local URL may, depending on whether I'm in dev or prod environment, use an Apache alias that translates to a Tomcat context. That is, featuring some

HELP : TOMCAT 3.2 Configuration : File not found

2001-03-14 Thread Jerome Fauvet
Hello, I am trying to use Tomcat 3.2 with windows 98. I have tried to use examples of a book. When I use these examples, I have always the same error message : XSL error : Could not parse C:\jakarta-tomcat\webapps\ROOT\deptfo.xsl XSL Error : SAX Exception org.apache.xalan.xslt.XSLProcessorExcep

Is the path set correctly

2001-03-14 Thread Kemp Randy-W18971
When I run Tomcat 3.2 on Solaris 5.6 with Apache, and try to operate the Tomcat examples: http://pdsweb.ecg.csg.mot.com:8080/examples/jsp/dates/date.jsp I get Error: 500 Location: /examples/jsp/dates/date.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to compile class for

Socket write errors on GIFS and CSS - what do they mean?

2001-03-14 Thread illan
Hi, Using IE 5 and Tomcat3.2.1, Tomcat reports the following socket errors on every access to certain resources (a CSS and some GIFS) on various pages. The error does not occur on first access to the resources, that is after clearing the browser cache. Whether or not the error occurs, the re

detecting shutdown

2001-03-14 Thread David Wall
Is there something like the web.xml's "load on startup" that can be triggered when the Tomcat has been requested to shutdown? I'd like to be able to do "global" cleanup in such a situation. I know that an unloaded servlet will be called, but it's not true that being unloaded means that Tomcat is

Setting Java Parameters

2001-03-14 Thread Scott T. Keller
All: I am getting java stack overflow messages during peak times and it kills tomcat. What are some good heavy java params I can use in the startup script? Desperate! Thanks as always. begin:vcard n:Keller;Scott tel;cell:678-296-3767 tel;fax:404-287-8549 tel;work:404-287-8400 x-mozilla-html

turn off HTTP session at server level

2001-03-14 Thread William Au
I am running Tomcat 3.2.1. Is there any way to turn off HTTP sessions at the server level? I want to avoid putting the page directive <%@ page session="false" %> in every single one of my page. Bill - To unsubscribe, e-mail:

RE: setContentType / File download

2001-03-14 Thread Stefán F. Stefánsson
oh goodie... someone else who has this problem! I battled this one for a long time and finally, microsoft sent out the following article on their web: http://support.microsoft.com/support/kb/articles/Q279/6/67.ASP And here is another article which I find interesting: http://support.microsoft

Re: NullPointerException

2001-03-14 Thread William Brogden
William Au wrote: > > Thanks for the reply. But I am sure the NullPointerException is coming > from within Tomcat. I got them while accessing a static page with > no JSP code. So how do I test if pointers with "x.equals(null)"??? > The exceptions do not show up when I access the page manuall

Problem with mod_jk

2001-03-14 Thread Philippe Lecler
Hello, I installed tomcat 3.2.1 on solaris 2.5.1, it's OK. I compiled mod_jk with gcc-2.8.1, but when I trie to restart apache 1.3.19 I have the following message : Cannot load /soft/apache/libexec/mod_jk.so into server: ld.so.1: /soft/apache/bin/httpd: fatal: relocation error: file /soft

Path args to Apache/Tomact (getPathInfo)

2001-03-14 Thread Ivan E. Markovic
I have a question concerning the req.getPathInfo() functionality. I have a servlet that I wish to call passing in a 'path' as an argument which I will later use as an argument. See below (where LogonServlet is the Servlet and VLM is the argument) www.vlm.com/servlets/VS/servlet/LogonServlet/VL

UNSUBSCRIBE(ADMIN)

2001-03-14 Thread al . motion
Hi folks, thanks for all your comments, but i have not made any changes to the email address i subscribed with...as you can see, there is a unique problem...i am supposed to have a my username and hostname embedded in the return address but all that appears is : <[EMAIL PROTECTED]> instead of: <[E

[Re] CTRL_LOGOFF_EVENT service solution?

2001-03-14 Thread leak
>Has anyone found a way to use something like the above, >with Tomcat, without complex registry editing? The JavaService found at http://www.alexandriasc.com/software/JavaService/index.html does all this and it comes with a batch file to install it as a Tomcat 3.2 service... works perfectly h

Re: NullPointerException

2001-03-14 Thread William Au
Thanks for the reply. But I am sure the NullPointerException is coming from within Tomcat. I got them while accessing a static page with no JSP code. So how do I test if pointers with "x.equals(null)"??? The exceptions do not show up when I access the page manually through a browser. They come

Re: NullPointerException

2001-03-14 Thread William Au
I changes my max_thread from 50 to 10 and the exceptions went away. But I am not happy with the performance of 10 threads. How high can I go? What is the default value if none is specified in server.xml? Bill > I am running Tomcat 3.2.1 standalone. I am getting a ton of errors in > tomcat.lo

Re: Cache problem with IE

2001-03-14 Thread Brett Knights
> Hitting the same problem we used at > http://www.mavicanet.com > and it works both on NS and IE! > > response.setHeader("Pragma","no-cache"); > response.setHeader("Cache-Control","no-cache"); > response.setHeader("Expires","Thu, 01 Dec 1994 > 16:00:0

Re: Form based auth. again...

2001-03-14 Thread Christian Rauh
Vladimir Grishchenko wrote: > > "Craig R. McClanahan" wrote: > > > > * Have the link on your home page exactly has you describe, but have > > the link point at a "Welcome To My Application" page inside the > > protected area. The fact that this page is protected will trigger > > the authe

Tomcat fails

2001-03-14 Thread Julie Ruiz
Hi, I am working with Tomcat 3.2 the thing is that I need to make transactions with a finantial institution, so I send some parameter via the POST method but when they send me some parameters throw my servlet the tomcat fails and appear the following message: 2001-03-13 04:24:14 - Ctx( ): 400 R(

Version checking and *.xml files.

2001-03-14 Thread Scott T. Keller
hi all: Two things...I just did an upgrade from 3.1-->3.2.1 Aside from looking at dates, how can I check version and is there any downside from using my 3.1 server.xml and web.xml files? Thanks a lot! begin:vcard n:Keller;Scott tel;cell:678-296-3767 tel;fax:404-287-8549 tel;work:404-287-8400

Réf. : SMP-Support of Tomcat

2001-03-14 Thread JULE, Nicolas - DSIA
Hi uwe, Tomcat is multithreaded, but is a single process (the JVM) The question is then to know how your JVM is scalable on the machine you work. Generally JVM are not able to profit of all the ressources of SMP machines. On my opinion, this is rather

CTRL_LOGOFF_EVENT service solution?

2001-03-14 Thread Siebenmann, Joe
Of the many possible solutions for solving the logoff problem when running Tomcat as a service, most seem to be wrappers that "allow you to run your Java application as an NT service, blocking the CTRL_LOGOFF_EVENT" such as http://www.eworksmart.com/jnt/ But, can you use such an application for T

need explanation about config difference between JServ and Tomcat

2001-03-14 Thread Thomas Klein
Hi All, I retrieved a lot of Guidelines & How-To from jakarta.apache.org before trying to install my Apache/Tomcat server. And I succeed in setting up an Apache + Tomcat server using mod_jserv. But now, I'm trying to replace mod_jserv by mod_jk and I encounter some config problems (see my previo

AW: JSP, sessions: how to notify bean about the session end?

2001-03-14 Thread Matthias Barmeier
Hi, if your bean implements HttpSessionBindungListener you can code a ValueUnbound method that can do what you want. -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Sergey V. Udaltsov Gesendet: Mittwoch, 14. Marz 2001 13:08 An: [EMAIL PROTECTED

RE: Tomcat - can't load isapi_redirect.dll in IIS

2001-03-14 Thread Randy Layman
THIS SHOULD NOT BE NECESSRY! I have set up 5 different machines with IIS/Tomcat (2 with Win2k) and none of them have the DLL in the system directory. If this works it indicates that you didn't select the dll when you added the filter. As to the orginial problem, double check all

SMP-Support of Tomcat

2001-03-14 Thread Peissig, Uwe
Hi, im looking for any information redarding TOMCAT. Is the Tomcat supporting Multiprocessor environments ? We want to use Tomcat on 4 processor Sun Hardware and want to know whether Tomcat can use all ressources or not ( always uses only 1 proc. ) THanks --

RE: what's with the socket write errors?

2001-03-14 Thread Randy Layman
To find out how many other people experience this problem I would suggest looking at the mailing list archives, since I personally have answered this question twice already this week. Sort answer, they're harmless. Long answer: read the mailing list archives. Randy -Origi

RE: Why we need apache web server with tomcat

2001-03-14 Thread Zenon Braga F.
I don't know, perhaps if dns had an alternative to redirect some domain ("http://www.something.com") to port 8080, them the only need to use apache would be performance, thus for simplicity, I think that only Tomcat could work fine, but how many times does apache do the work in static p

config Pb with Apache/Tomcat using mod_jk

2001-03-14 Thread Thomas Klein
Hi all, I'm building a testing environment on Windows NT4. Here is my current configuration : Apache 1.3.14 Sun JDK 1.3.0.02 Tomcat 3.2.1 The system worked fine using mod_jserv as the communication handler between Apache and Tomcat, and ajp12 as the communication protocol (mainly the default co

Re: JSP, sessions: how to notify bean about the session end?

2001-03-14 Thread William Brogden
"Sergey V. Udaltsov" wrote: > > Hello all > > My JSPs uses some session-scoped bean. This bean, among other duties, is > responsible for logging in and out of some app server. I would like the > bean to perform autologout on the session end. Is it possible? How? > AFAIK usual finalize can be c

crash!!!

2001-03-14 Thread Herchel Wojciech
Hi all! i've got the following problem. tomcat was running, and i meant to shut it down, but instead i exceuted "tomcat start". then i shut it down, and tried to restart again. alas, it does not start HttpConnectionHandler on 8080 nor Ajp12ConnectionHandler on 8007. why is that? how can i solve

AW: Tomcat's setting to IBM jdk1.3

2001-03-14 Thread Egger Lothar
hello how about a link "java" in "/usr/lib" that points to /opt/IBMjdk1.3 and set JAVA_HOME=/usr/lib/java if you have to switch between versions just drop the link and create a new one to that jdk that you want to use. regards lothar > -Ursprungliche Nachricht- > Von: NSB)Hiroshi Kasa

RE: Form based login: protected against password snooping?

2001-03-14 Thread DUDGEON
I think your understanding is correct. BASIC, DIGEST and FORM are altenatives. You can't combine them. To use FORM or BASIC securely you need SSL. Tim > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 13 March 2001 17:42 > To: [EMAIL PROTECTED] > Subject: F

AW: setContentType / File download

2001-03-14 Thread Andreas Mecky
Hi, try this: response.setContentType(application/msexcel); response.setHeader("Content-Disposition","inline; filename="here goes my filename"); this works for me in IE and NS. WBR Andreas Mecky > -Ursprungliche Nachricht- > Von: Gerd Trautner [mailto:[EMAIL PROTECTED]] > Gesendet

JSP, sessions: how to notify bean about the session end?

2001-03-14 Thread Sergey V. Udaltsov
Hello all My JSPs uses some session-scoped bean. This bean, among other duties, is responsible for logging in and out of some app server. I would like the bean to perform autologout on the session end. Is it possible? How? AFAIK usual finalize can be called ages after the object is really free -

Re: Redirection from http-server

2001-03-14 Thread Zenon Braga F.
If you we're in Tomcat, you could use "Request Dispatch", but it seems that you have your own http server, thus you should use the code of TCP/IP protocol appropriate, that is, a code and the url (http://someThing:8080). sincerely, Zenon Farias Braga F. >From: "Subbarao Bhagavati" <[

Tomcat's setting to IBM jdk1.3

2001-03-14 Thread NSB)Hiroshi Kasamatsu
Hi,all I began to use IBM jdk1.3. The performance is very good. By the way,the default directory of install is /opt/. Sun's one is /usr/local/. I set JAVA_HOME=/opt/IBMjdk1.3. The problem is that tomcat's starup.sh and stop,sh does not work right. I got error messages:java.IOException,InputStr

Re: Cache problem with IE

2001-03-14 Thread Daniel Lopez
Hi, AFAIL, this doesn't work with some IE versions(5 and above I think) the problem is caused because IE5+ decides whether it wonts to cache the page if the page is greater than 32k. So, when it decides that the page has to be cached, the headers have been long ago forgotten :(. The solution in o

RE: Restricting access to localhost for ajp-port 8007

2001-03-14 Thread Alistair Hopkins
Or, on Linux, include it in your IPCHAINS rules -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 11:43 AM To: [EMAIL PROTECTED] Subject: Re: Restricting access to localhost for ajp-port 8007 [EMAIL PROTECTED] (Stefan Busse) writes: >

Redirector blocking IIS

2001-03-14 Thread Graham Wright
I have a problem that a request to Tomcat through IIS redirector is occasionally not responding and resulting in web site on IIS being locked out to everyone. Only the port being used is blocked i.e. if port 80 is blocked the web site is still available on 443 and any other web sites on the I

Re: Restricting access to localhost for ajp-port 8007

2001-03-14 Thread Nick Holloway
[EMAIL PROTECTED] (Stefan Busse) writes: > I've seen this question beeing asked a few times in the > archives, but I didn't find any replies: > > How do I restrict access to tomcat listening e.g. > on port 8007 for incoming requests from e.g. apache, > using e.g. mod_jk ? An ex

Re: R: R: Problem with a new version of JSP pages

2001-03-14 Thread kaushik
Hello Garry, Wednesday, February 21, 2001, 9:35:03 PM, you wrote: GDT> Thank you Shahed, I am not alone. GDT> But what we can do to resolve this "wierd" problem? GDT> Open a new Bug? GDT> My be Apache that cache the old JSP Pages? I don't know Apache very well. GDT> Bye Bye GDT> Garry De Toff

SSL Howto

2001-03-14 Thread Alfredo Solano Martinez
Greetings, I'm trying to use SSL with Tomcat 3.2. I've followed the SSL-Howto guidelines and tomcat.log shows : PoolTcpConnector : Starting HttpConnectionHandler on 8443 which I think s ok, but, How do I know SSL is working? I've tried to use the Request.getAuth() from a login servlet

Open Files problem caused by requests for jsp pages

2001-03-14 Thread Daniel Zuck
Hello world :) We're running a JSP application, and upgraded our plattform from Tomcat 3.1 to 3.2.1, and we're running into a 'open files' problem. The symptom is: it runs for a while, until all available file handles are in use - which causes the underlaying FeeBSD to refuse any further request

Re: setContentType / File download

2001-03-14 Thread Tagunov Anthony
On Wed, 14 Mar 2001 09:07:57 +0100, Gerd Trautner wrote: >Hi tomcat-user, > >i have some troubles using the setContentType method. >I want to generate a CSV file of my database data and send it to the >browser. the browser should then say "save file as filenam.csv" ... > >what i do is: > >respons

Restricting access to localhost for ajp-port 8007

2001-03-14 Thread Stefan Busse
Hi, I've seen this question beeing asked a few times in the archives, but I didn't find any replies: How do I restrict access to tomcat listening e.g. on port 8007 for incoming requests from e.g. apache, using e.g. mod_jk ? There seems to be no possibility in the configu

Re: Re[2]: Off topic: Single login for separate web applications?

2001-03-14 Thread Tagunov Anthony
I heared somewhere that there's a plan to have the following manner of scalability and load-balancing with servlets: we have a load balancer that directs request to one of the n servlet-engine-running boxes. Sessions are stored permanantly in a DBMS accessible from all these boxes. So, the foll

Re: Cache problem with IE

2001-03-14 Thread Tagunov Anthony
On Tue, 13 Mar 2001 17:13:14 +0100, Zsolt Koppany wrote: >Hi, > >with the code below I can get netscape not to cache a jsp page but it >does not work with Internet-Explorer. >Does anybody know why? > > >response.setHeader("Cache-Control", "no-cache"); >response.setHeader("Pragma", "no-cache");\ >

Re: Tomcat won't honor requests for .xml files?

2001-03-14 Thread skolski
Hello, in the servers.xml file, located in /conf directory, you should declare your projekt's path. e.g. Context path="/projekt" docBase="webapps/projekt" debug="0" reloadable="true"/> With the webapps directory located in the tomcat directory. On the other hand you have to look at the web.mx

Re: just making sure

2001-03-14 Thread Arnaud Vandyck
[EMAIL PROTECTED] wrote: > > My understanding is that whenever you write a new servlet script, > you have to add that entry to the web.xml file. Is this correct? No! If your servlet is called Test.class, you can run it with http://localhost:8080/servlet/Test (respect the case!) > Example lets s

Tomcat won't honor requests for .xml files?

2001-03-14 Thread Robert Nicholson
Am I missing something? Should Tomcat normally be able to honor requests for file with a .xml extension? Current it's returning file not founds to the browser. status 404's The URL I'm giving it is perfectly valid. Something .xml files is confusing tomcat. --

Re: Tomcat - can't load isapi_redirect.dll in IIS

2001-03-14 Thread Harish K Kottarathil
Try put the isapi_redirect.dll in  a directory corresponding to c:\winnt\system32\inetsrv in WinNT or dir where other dlls are and restart the machine. I had the same problem on NT where the green arrow appears only if the dll is in the above directory.   Harish   - Original Message -

Tomcat - can't load isapi_redirect.dll in IIS

2001-03-14 Thread Kathrin Flückiger
Can't load isapi_redirect.dll into IIS on Windows 2000! I followed exactly the given instructions. Does somebody know the trick to activate the isapi_redirect.dll - filter in IIS (convert the red arrow to a green arrow)? - To un

Problems when running JSP files om my Linux Box

2001-03-14 Thread Håkon Gunnar Larsson (ETO)
I'm having some problems when running .jps files om my Linux box, in fact they are not running at all. I have also set the TOMCAT_HOME and JAVA_HOME to the correct path according to the manual. What puzzle's me is that on my NT box I'm not experiencing any of these problems. Here are the message

web.xml reading (?) problem

2001-03-14 Thread Manjul Sahay
Hi, I am using Tomcat 3.1 on RedHat linux 6.0 system. Tomcat is working fine with jsps being served. However, Tomcat does not seem to be reading the web.xml file in the WEB-INF directory of the application contexts. Even for the examples context of tomcat distribution i see a directory listing of

Iplanet 4.1 + tomcat... what's wrong?

2001-03-14 Thread Andrzej Przewiezlikowski
Hello I'v configured my iPlanet to work with tomcat to serve jsp & servlets. It works fine with static pages but, when it comes to tomcat call i get following error in nsapi.log [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 15 [jk_ajp12_worker.c (357)]: Into ajpv12_handle_req

Stupid Question

2001-03-14 Thread Matthias Barmeier
Hi, I have a stupid question: What do I have to do to make JSP code work in *.htm files. I would like to automatically add an authorization prefix to any *.html and *.htm page of my old web. The java program works fine but the <% authorize this code %> do

RE: usebean and setProperty

2001-03-14 Thread Håkon Gunnar Larsson (ETO)
In your bean class you have som functions called getXxxx and setXxxx. When you whant to access these properties from a .jsp file you must use property="" and NOT property="Xxxx". In your case use property="path" and NOT property="Path" Håkon Larsson :o) -Original Message- From: Car

Options -Indexes and server.xml

2001-03-14 Thread Winkel, Matthias; 2854
Hi! The tomcat-apache.conf-file is automatically generated when tomcat starts. And the application contexts are always automatically set to "Options Indexes". What do I have to write in the server.xml-File so that the tomcat-apache.conf-File always contains "Options -Indexes"? Or do I have to

jsp:usebean and setProperty

2001-03-14 Thread Carlos
in a jsp file i put: <%@page import ="Contador"%> <%String conta=application.getInitParameter("contadorDir"); String IP=request.getRemoteAddr(); %> this doesn't work why? but if i put: <%@page import="Contador"%> <%String conta=application.getInitParameter("contadorDir"); %> <% String Ip =

Re: organization

2001-03-14 Thread Harish K Kottarathil
You can create application specific web-inf dir so that the class files & lib will be organized neatly. For example the following additional code helps Tomcat to pick up classfiles and lib from c:/abc/infodir/codebase/web-inf dir. Add the following lines in Server.xml               

Re: organization

2001-03-14 Thread Rob Tanner
A couple of comments. First of all, source files go wherever you want them. If you want them in the same place as your class files, you may certainly do so, but I can't think of any good or even not so good reason why you should. As to the other part of what you've heard, I'd suggest getting

RE: setContentType / File download

2001-03-14 Thread Kwan, Kenneth Y
Please help, we encounter similar problem but with IE5.5 only (no problem with all Netscapes, and IE5.01 and below versions). Seems MS has changed something in IE5.5 Kenneth -Original Message- From: Gerd Trautner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Mar

Re[2]: Off topic: Single login for separate web applications?

2001-03-14 Thread hische
Thanks for the suggestion, I checked it but if found it a bit too Microsoft/Novell oriented. But maybe the only way to go is indeed to use some client side activex,applet or whatever component. Thanks again, Wilko Darrell Porter <[EMAIL PROTECTED]> on 14-03-2001 05:06:13 Please respond

<    1   2