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

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,

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

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 inServer.xml Context

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(); % jsp:useBean id="contador" class="Contador" scope="session" jsp:setProperty name="contador" property="Ip" value="=%IP%"/ jsp:setProperty name="contador"

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" Hkon Larsson :o) -Original Message- From:

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 %

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

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

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

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

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

2001-03-14 Thread Harish K Kottarathil
Try put the isapi_redirect.dll ina 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 -

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 say

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

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");\ Hitting

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

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

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:

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

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

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 Toffoli

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 example

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

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:

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

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

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"

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 -

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:

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: Form

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

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

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 called

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

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

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

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: 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

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

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

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

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

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

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

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 authentication

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

[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

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:

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)

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

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 manually

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:

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:

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

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

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

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

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

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

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

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

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

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

getInitParameter return null

2001-03-14 Thread jnw
hello, I have the following lines in my web.xml file servlet servlet-name jsp /servlet-name servlet-class org.apache.jasper.runtime.JspServlet /servlet-class init-param param-namejnw/param-name param-valuesalutjeannoel/param-value

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. When

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 for us (but

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

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

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

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 protected will

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: servlet servlet-name Test /servlet-name servlet-class

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

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: 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:07

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

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

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 the session

Re: Form based auth. again...

2001-03-14 Thread Daniel Lopez
Hi Vladimir, snipped for brevity 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

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

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:

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

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

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 bean to perform autologout

Re: Form based auth. again...

2001-03-14 Thread Vladimir Grishchenko
Daniel Lopez wrote: Hi Vladimir, snipped for brevity 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

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!

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()

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

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 ??? -Ursprngliche Nachricht- Von: Christopher Kirk

Re: Path args to Apache/Tomact (getPathInfo)

2001-03-14 Thread Milt Epstein
On Wed, 14 Mar 2001, Ivan E. Markovic wrote: 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

Re: getInitParameter return null

2001-03-14 Thread Milt Epstein
On Wed, 14 Mar 2001 [EMAIL PROTECTED] wrote: hello, I have the following lines in my web.xml file servlet servlet-name jsp /servlet-name servlet-class org.apache.jasper.runtime.JspServlet /servlet-class init-param

RE: Odd problem restarting tomcat

2001-03-14 Thread Darrell Porter
How are you starting these services on production? Is it different on dev? Darrell -Original Message- From: Andy C [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 8:58 AM To: [EMAIL PROTECTED] Subject: Odd problem restarting tomcat Under Tomcat 3.2.1,Apache

RE: web.xml reading (?) problem

2001-03-14 Thread Manjul Sahay
Hi Rob Thanks a lot. First of all it is reading web.xml , figured it out from logs( after making a few changes ;) ). But the problem which now persists is that it is not accepting values from web.xml (application's Web-inf/ one and not conf ) . For example,I have specified index.jsp in welcome

ClassCastException :(

2001-03-14 Thread Andrey Myatlyuk
Hello Tomcat users, I'm in a trouble. I share some object(StatesBean) between servlets. And when I recompile _servlet_, I got ClassCastException about shared object. _statesBean= (StatesBean)getServletContext().getAttribute(StatesBean.STATES_BEAN_NAME); Classfile for this object is

My IIS isn't redirecting to Tomcat

2001-03-14 Thread Dianne Cree
How do I get any servlet or jsp page to load through IIS (redirecting to Tomcat, of course). I have spent an embarrassing amount of time trying to get this to work. What happened to the days when you just double click on a setup.exe and everything runs smoothly... I'm using Win 2000. Any

RE: Cannot create bean error?

2001-03-14 Thread Scott Keller
Try using your previous server.xml and web.xml config file. This is a config issue. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 11:21 AM To: [EMAIL PROTECTED] Subject: Cannot create bean error? Hi, I've been searching through

RE: Reloading Pages....Help

2001-03-14 Thread Scott Keller
Did you clear your browser cache? -Original Message- From: Mick Sullivan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 11:48 AM To: [EMAIL PROTECTED] Subject: Reloading PagesHelp Hi I need some help here. Does Tomcat cache JSP pages? I ask this because any changes I

Using Apache/Tomcat in high-traffic site

2001-03-14 Thread Gavin_Panella
Hi, I am looking to use Apache and Tomcat in my company's production web site. Before I can convince management that this is a good idea I need some information so I am confident. If anyone can help I'll be very grateful. First of all I'll give you a picture of the overall architecture

javax.servlet.ServletException: sealing violation

2001-03-14 Thread Mandar Joshi
I just moved my server side java class to another directory and altered the classpaths to the new directory. I am getting follwoing exception while calling my jsp javax.servlet.ServletException: sealing violation at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp

RE: Set an application's working path

2001-03-14 Thread Randy Layman
The one major problem with what you ask is: What happens if the application is run out of a WAR file? As in, the JSP server does not expand the WAR to run it? This is a possiblity according to the spec, although I don't know of any JSP environment that works in this way. To

JkMountCopy directive

2001-03-14 Thread Don Ha
Hi, I'm trying to setup a server using JkMountCopy. If you know how to setup the environment in order to get this directive work, please let me know. Thanks. Don Ha __ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices.

  1   2   >