Custom Authentication/User Principal

2002-02-05 Thread Loo, Jason
I've been successful in creating a custom JDBCRealm and have extended the GenericPrincipal. However, when attempting to pull my principal from the request (request.getUserPrincipal()) and cast to EITHER org.apache.catalina.realm.GenericPrincipal or my custom principal, I get a Class Cast

ApacheConfig in Catalina

2002-02-05 Thread Jarecsni Jnos
Hi, I'm trying to set up Catalina to work with Apache. First I configured Apache "statically", by adding the necessary LoadModule and JkMount directives. This worked well for JSP pages (JkMount /*.jsp Ajp13) but I had problems with servlets. So I decided to switch to autoconfiguration of Apache.

Re: JSP in JAR

2002-02-05 Thread Stefan Kost
hi, Hi, I am not sure if this question should be asked in the dev or user list, but here goes: user-list , definitely ;-) Is it possible to package JSP file in a JAR file and install it as a JAR file on the Jakarta-Tomcat server? yep, it is called .war then (web archive) and needs to

Re: tomcat 4.01 with jboss 2.4.4 and a webapplication usingxalan/xerces

2002-02-05 Thread Stefan Kost
Hi again, I did more tests and I am getting more and more sure that this is whats called a bug (please enlighten me if I am wrong). I don't care which xerces.jar tomcat is using, but if I have one in my webapp/WEB-INF/lib/ I definitely want to use this one (as written below, I've even tried to

RE: DB2 App Driver?

2002-02-05 Thread Reynir Hübner
well, I agree, just to make things clear : you must have the DB2 client set up (it´s a type 2 driver), for the [app], but not for the net driver. the [net] is a type 4. But on the other hand, I know of people that have had to deal with some problems when using the [net] driver, that do not

JSP compilation failure

2002-02-05 Thread Sergei Batiuk
Hello, From time to time my Tomcat 4.0.1 on Windows 2000 Professional with JDK 1.3 fails to compile a JSP page with a strange error. I have no idea why it happens. Please help to get rid of it! Error message. org.apache.jasper.JasperException: Unable to compile class for JSP

Re: Can multiple URLs with a single IP address be mapped to discrete Applications in Tomcat 4.0?

2002-02-05 Thread pete
Micael, the SQUID solution lets you do it any way you like - you could map: http://my.external.domain/MyFirstApp to http://192.168.0.1/MyFirstApp/ and: http://my.external.domain/MySecondApp to http://192.168.0.1/MySecondApp/ and: http://my.external.domain/MySecondApp/images to

Is Log4J already in the Tomcat library paths?

2002-02-05 Thread Joel Rees
My GL just handed me some docs for Log4J and asked me to evaluate it. I read through what I could find on the jakarta site, and I noticed that the logging facilities in Tomcat look a lot like what the Log4J docs describe, at least from my newbie POV. So, are the logging facilities in Tomcat

Re: Problem displaying Shift-JIS Japanese in Tomcat 4

2002-02-05 Thread Joel Rees
We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did not recognize Shift_JIS, but did sort of recognize x-sjis. Other issues -- The old 8th

Re: Problem displaying Shift-JIS Japanese in Tomcat 4

2002-02-05 Thread Antony Stace
Hi Joel On Tue, 5 Feb 2002 18:34:56 +0900 Joel Rees [EMAIL PROTECTED] wrote: We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did

Re: Problem displaying Shift-JIS Japanese in Tomcat 4

2002-02-05 Thread Antony Stace
On Tue, 5 Feb 2002 18:34:56 +0900 Joel Rees [EMAIL PROTECTED] wrote: We're using Tomcat 3.2 and 3.3 with no problems. (Java SDK 1.3/MSW2k.pfleugh) I don't recall doing anything special in the setup, but I'll check it. Are you sure it's not your browser? Some older browsers did not

Re: Problem displaying Shift-JIS Japanese in Tomcat 4

2002-02-05 Thread Joel Rees
I worked out the problem. I was using jikes to compile the jsp files in Tomcat. It seems that jikes does not support Japanese Characters. That's useful to know. Oh, since you asked, we do most of our work in shift-jis. I expect to see Unicode gradually become more popular in the next

Re: AW: Session not sticking after timeout

2002-02-05 Thread Ivan E. Markovic
Ralph, That was top of my list of suspicions. I used the HTTP Sniffer and saw the new Session ID go out to the Browser and then saw it come back after I clicked a Proceed button. But it is appearing that the ID is not getting picked-up. When I execute: req.getRequestedSessionId() I get null.

Re: Waiting for instance to be deallocated

2002-02-05 Thread Stephan Mülhaus
Hi all, i also encountered this problem but i didn't find any solutions to solve this problem. Can anyone help us? TIA Stephan At 04:20 04.02.2002 -0800, you wrote: Hi all, when changing a class file in my webapps/WEB-INF/classes directory, having my context setup to reloadable=true, I

Re: Problem with Manager App

2002-02-05 Thread Jean-Luc BEAUDET
Cox, Charlie a écrit : privileged=true simply allows the servlet to call tomcat internal functions. it is a security feature so that you can control what can talk to the tomcat internals. I am not using mod_webapp, but I have received that error('Manager is privileged...') when I tried to

Session not sticking after timeout BUG?

2002-02-05 Thread Ivan E. Markovic
Ralph, Some more detail for you. Now I have the headers printed out after I attempt to extract the Session ID info from the Request object. As you can see the Session ID is present, BUT the values I get when requesting Session info from the Request object are either null or false (when they

Re: Session not sticking after timeout BUG?

2002-02-05 Thread Jean-Luc BEAUDET
Ivan E. Markovic a écrit : Ralph, Some more detail for you. Now I have the headers printed out after I attempt to extract the Session ID info from the Request object. As you can see the Session ID is present, BUT the values I get when requesting Session info from the Request object are

AW: What's up with Borland?

2002-02-05 Thread Lauer, Oliver
Hi Robert, at first you should point your development environment to your TC installation and you shouldn't take the built-in TC. Doing so you are much more flexible for TC updates. But take care, you have to include your libs within TC due to JB isn't using TC's classloaders. I have both

AW: Session not sticking after timeout BUG?

2002-02-05 Thread Ralph Einfeldt
AFAIK getRequestedSessionId() should alway return somthing if there is a session id present (cookie or url encoded) no matter wether the session id is valid or not. Can you read the JSESSIONID cookie ? Cookie[] mCookies = request.getCookies(); if ((mCookies == null) || (mCookies.length == 0))

reloading templates

2002-02-05 Thread Tom Bednarz
Hello, What possibilities do I have to reload and quickly test changed templates? Do I need to reload an application in TOMCAT using the manager app or is there anything shorter? (JSP just recompile, quite handy for testing) Thomas -- To unsubscribe: mailto:[EMAIL PROTECTED] For

RE: Problem with Manager App

2002-02-05 Thread Cox, Charlie
have you tried with 4.0.2b2 to see if its a fixed problem with the connector? I know that they have made lots of fixes to the connector, but since I don't use it, I haven't paid attention to what was broken/fixed. It could just be that the connector isn't passing your authorization through or

Re: reloading templates

2002-02-05 Thread Tom Bednarz
FORGET THIS, I postet to the wrong list!!! SORRY! Thomas - Original Message - From: Tom Bednarz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, February 05, 2002 2:28 PM Subject: reloading templates Hello, What possibilities do I have to reload and quickly

Re: AW: Session not sticking after timeout BUG?

2002-02-05 Thread Ivan E. Markovic
Ralph, I just double-checked and we are using Tomcat v3.3 (the CVS version, which I am told includes all the bug-fixes). I added your code to my debug and this is what I got. As you can see it picks up the cookies but still getRequestedSessionId() is returning 'null'. But the Session ID is

AW: AW: Session not sticking after timeout BUG?

2002-02-05 Thread Ralph Einfeldt
Sorry, I'm out of my wisdom, that one for the hard core guys... -Ursprüngliche Nachricht- Von: Ivan E. Markovic [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 5. Februar 2002 14:52 An: Tomcat Users List Betreff: Re: AW: Session not sticking after timeout BUG? snip/ I just

Re: Problem with Manager App

2002-02-05 Thread Jean-Luc BEAUDET
Cox, Charlie a écrit : have you tried with 4.0.2b2 to see if its a fixed problem with the connector? I know that they have made lots of fixes to the connector, but since I don't use it, I haven't paid attention to what was broken/fixed. It could just be that the connector isn't passing your

RE: Problem with Manager App

2002-02-05 Thread Cox, Charlie
well, you can file a bug to make sure that one of the developers looks into it. It *may* still be possible to get it fixed for 4.0.2 final, but you should submit it soon as I don't know the timeline... Charlie -Original Message- From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]] Sent:

Re: Problem with Manager App

2002-02-05 Thread Jean-Luc BEAUDET
Cox, Charlie a écrit : well, you can file a bug to make sure that one of the developers looks into it. It *may* still be possible to get it fixed for 4.0.2 final, but you should submit it soon as I don't know the timeline... Charlie -Original Message- From: Jean-Luc BEAUDET

apache or tomcat

2002-02-05 Thread Gang Wu
Hi, I'm choosing between 2 solutions. 1. Apache as web server with SSL config, tomcat as servlet container 2. Tomcat as both web server and servlet container with SSL config. I do need some help to distiguish those 2 solutions. does tomcat as web = server have any obvious disadvantages?

RE: apache or tomcat

2002-02-05 Thread Reynir Hübner
I think the main disatvantage is, it´s very slow compared to apache / IIS in serving Static content (html, images, ...). I dont know about security, the above was reason enough for us to use apache / IIS, in production env. hope it helps -reynir -Original Message- From: Gang Wu

deploying WARs in different locations..(web.xml error)

2002-02-05 Thread Liam Holohan
Hi all .. I'm having difficulity in getting my wars to unpack into non standard locations I have tomcat4.0 + apache 1.3.22 running on Red hat Linux 7.2 Using mod_webapp and seems to be working fine Did a search on google and mailing lists but to no avail. At wits end :-( Tomcat is installed

Re: apache or tomcat

2002-02-05 Thread Liam Holohan
Reynir Hübner wrote: I think the main disatvantage is, it´s very slow compared to apache / IIS in serving Static content (html, images, ...). I dont know about security, the above was reason enough for us to use apache / IIS, in production env. hope it helps -reynir

RE: deploying WARs in different locations..(web.xml error)

2002-02-05 Thread Cressatti, Dominique
What does your context for your app look like? -Original Message- From: Liam Holohan [mailto:[EMAIL PROTECTED]] Sent: 05 February 2002 16:30 To: Tomcat Users List Subject: deploying WARs in different locations..(web.xml error) Hi all .. I'm having difficulity in getting my wars to

Strange output stream behavior

2002-02-05 Thread Jake . Dockter
Hi all, I'm seeing something strange in the output stream from Jakarta. Here's the setup: Jakarta 4.0.1 (from zip file) Windows XP Professional JDK 1.3.1_02 and jsdk1.4rc (makes no difference in the output) Here's the code I'm using: res.setContentType(text/html); PrintWriter

RE: JRE or JDK

2002-02-05 Thread Anton Brazhnyk
Hi, -Original Message- From: Ken Sanderson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 1:45 AM To: [EMAIL PROTECTED] Subject: JRE or JDK Hello all. I have installed tomcat on my NT machine, in order to run a software application that requires it. In the

Re: deploying WARs in different locations..(web.xml error)

2002-02-05 Thread Liam Holohan
Cressatti, Dominique wrote: What does your context for your app look like? -Original Message- From: Liam Holohan [mailto:[EMAIL PROTECTED]] Sent: 05 February 2002 16:30 To: Tomcat Users List Subject: deploying WARs in different locations..(web.xml error) Hi all .. I'm

RE: deploying WARs in different locations..(web.xml error)

2002-02-05 Thread Cressatti, Dominique
It definitely looks to complex to me. Anyway, attached is post of guy who got it working. Dom -Original Message- From: Liam Holohan [mailto:[EMAIL PROTECTED]] Sent: 05 February 2002 16:48 To: Tomcat Users List Subject: Re: deploying WARs in different locations..(web.xml error)

RE: deploying WARs in different locations..(web.xml error)

2002-02-05 Thread Cressatti, Dominique
Oh as far as .war are concerned, tomcat will automatically unpack them. If you want to keep your app in a packed format it has to be in .jar format (which you put normally under webapps/yourapp/WEB-INF/lib) Dom -Original Message- From: Liam Holohan [mailto:[EMAIL PROTECTED]] Sent: 05

Re: deploying WARs in different locations..(web.xml error)

2002-02-05 Thread Liam Holohan
Cressatti, Dominique wrote: Oh as far as .war are concerned, tomcat will automatically unpack them. If you want to keep your app in a packed format it has to be in .jar format (which you put normally under webapps/yourapp/WEB-INF/lib) Dom -Original Message- From: Liam Holohan

Re: apache or tomcat

2002-02-05 Thread Lloyd H. Meinholz
My feeling is that if you have much static content and are able to get the connectors working easily, use apache, otherwise use only tomcat. An advantage of using tomcat as a web server is that you have only one server to setup, configure and consume resources instead of two. If most of your

AW: apache or tomcat

2002-02-05 Thread Lauer, Oliver
In addition: The only problem with TC/SSL (standalone) is that its implementation (jsse) doesn't work with IE5.0 128 SP1 due to a bug in IE5.0 Apache's mod_ssl does instead and thus we were forced to switch to Apache(ssl)/TC though we want to support as many browsers as possible and IE5.0 is

AW: apache or tomcat

2002-02-05 Thread Michael Weissenbacher
just to add my experience: after much time spent on unsuccessful installation/compilation of mod_webapp for tomcat 4, i've moved to using the mod_jk connector from tomcat 3.3 for tomcat 4 and it works great with apache. maybe mod_webapp will become better but at the moment it is unusable for me

Re: AW: apache or tomcat

2002-02-05 Thread Emerson
A question michael : Does the last version of TC 4 generates the conf file inserted in Apache? At 17:40 5/2/2002 +0100, you wrote: just to add my experience: after much time spent on unsuccessful installation/compilation of mod_webapp for tomcat 4, i've moved to using the mod_jk connector from

RE: apache or tomcat

2002-02-05 Thread YI,LI (HP-USA,ex1)
I also had the unsuccess with mod_webapp/tomcat 4.01, I've switched to AJP 1.3 with tomcat 4.01, along with apache 1.3.22, and they are working together beautifully. Li -Original Message- From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 11:41 To:

Re: apache or tomcat

2002-02-05 Thread Liam Holohan
YI,LI (HP-USA,ex1) wrote: I also had the unsuccess with mod_webapp/tomcat 4.01, I've switched to AJP 1.3 with tomcat 4.01, along with apache 1.3.22, and they are working together beautifully. Li -Original Message- From: Michael Weissenbacher [mailto:[EMAIL PROTECTED]] Sent:

Re: AW: apache or tomcat

2002-02-05 Thread Lloyd H. Meinholz
Thanks for that pointer about IE5.0, I didn't know that... Lloyd Lauer, Oliver wrote: In addition: The only problem with TC/SSL (standalone) is that its implementation (jsse) doesn't work with IE5.0 128 SP1 due to a bug in IE5.0 Apache's mod_ssl does instead and thus we were forced

How to force Tomcat to compile?

2002-02-05 Thread Anja Falkner
Hi, is there a method, which forces Tomcat (4.0) to compile all my class-files in WEB-INF/classes? It is a little bit troublesome to rename the classes every time I have changed it... Anja

FORM login with wrong role gets 404, not error page - bug?

2002-02-05 Thread Christopher Pennock
I've found some behavior that seems wrong - can someone confirm that it is correct or a known bug? Specifically, using FORM login (with memory- or jdbc Realm), if I try to log into a protected area with a user and password that exist, but don't have the correct role to access the area, I get

RE: How to force Tomcat to compile?

2002-02-05 Thread Reynir Hübner
you only have to set the reloadable=true attribute. Context path= docBase=C:\contextpath reloadable=true debug=0/ hope it helps, -reynir -Original Message- From: Anja Falkner [mailto:[EMAIL PROTECTED]] Sent: 5. febrúar 2002 18:24 To: Tomcat Users List Subject: How to force

RE: How to force Tomcat to compile?

2002-02-05 Thread Guido Medina
just do it with the following two command lines: cd .../WEB-INF/classes javac *.java Guido. -Original Message- From: Anja Falkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 2:24 PM To: Tomcat Users List Subject: How to force Tomcat to compile? Hi, is there a

Ajp12 Problems between Zeus and Tomcat-3.2.4

2002-02-05 Thread Zsolt Koppany
Hi, our provider uses Zeus (Solaris-2.6) as Server and that sends the requests to tomcat-3.2.4. Obviously there are problems over the Ajp12 communication that never happen when we go over the port 8080. Unfortunately some customers can use only the port 80. What is the best to do for us to

Re: How to force Tomcat to compile?

2002-02-05 Thread Marcelo Demestri
Define a context (in your server.xml configuration file) to your web app. like: Context path=/myapp docBase=myapp debug=0 reloadable=true The reloadable=true is what do you need. Chau chau. Marcelo P.S.: To enforce TC to re-compile, you can delete all the

RE: apache + mod_SSL + tomcat

2002-02-05 Thread Charles N. Harvey III
Dom, Do you think you could give some of us a few pointers on how you got mod_SSL and tomcat to work? That would be awesome. Thanks. Charlie -Original Message- From: Cressatti, Dominique [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 12:38 PM To: Tomcat Users List

apache + mod_SSL + tomcat

2002-02-05 Thread Cressatti, Dominique
Hi, I've got apache + mod_SSL + tomcat working (I don't deserve that much credit as mod_ssl worked right out the box) but I wonder couldn't the security bypassed, like for example accessing the page on port 8080 instead of port 443 ? Dom

RE: apache + mod_SSL + tomcat

2002-02-05 Thread Cressatti, Dominique
Well... like I said I deserve not credit on that subject it worked straight out the box. Am using RH 7.2, I made sure I installed openSSL and mod_SSL. I pointed my browser to https://localhost:443 and is worked (there was even a preconfigured certificat) Like I said I deserve no credits. Dom

Re:Re: How to force Tomcat to compile?

2002-02-05 Thread Anja Falkner
Hi, thanks for your advice for recompiling classes. I think I have to explain the situation more exactly. (To Reynir): The context reloadable is set to true. (To Guido): I have tried to compile the classes in WEB-INF/classes with javac. Then I get an ClassDefNotFoundError. (To Marcelo): The

RE: How to force Tomcat to compile?

2002-02-05 Thread Reynir Hübner
Hello Anja, This is strange, If I understand you correctly, you are really having problems with compiling your classes with javac ? I think the ClassDefNotFoundError is thrown if you're trying to run your classes (with wrong name) with java, not with javac. which version of tomcat are you

Maximum url length

2002-02-05 Thread karkoma
Hi... I'm trying to send a long uri to Tomcat 3.3 but it complains with error code 414, (414 Request-URI Too Long). However Apache can handle the same url. Is there a way to tell Tomcat to admit long uris / urls?? Something like this lynx -dump

Re: How to force Tomcat to compile?

2002-02-05 Thread Anja Falkner
Hello Reynir, my JSPs use some Java-Classes. This Java-Classes are positioned in WEB-INF/classes. Normally Tomcat compiles this classes by his own. But if I do some changes in *.java, Tomcat doesn't check, that *.java has changed and doesn't recompile. That's the problem. To found a solution, I

Tomcat/Jakarta fee based support

2002-02-05 Thread Rittinger, Gary
We love your Tomcat product (Jakarta project). However, we have encountered resistance from our customers when we propose using it with some of our projects as we were not able to find third party support for the Tomcat software. Are there any companies (preferably US based) that support the

RE: Maximum url length

2002-02-05 Thread Thanh Duong
Hi I got this problem too with tomcat 3.3. Now I am using tomcat 4 and This problem doesnt exist. Thanh -Original Message- From: karkoma [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 5. Februar 2002 19:48 To: Tomcat Users List Subject: Maximum url length Hi... I'm trying to send a long

Re: apache or tomcat

2002-02-05 Thread Shannon Chen
I am using tomcat under IIS. IIS takes care of all the static html and tomcat is only a servlet container. It runs good. I think tomcat is not good for web server because of performance. Apache with SSL is much better. Shannon --- Gang Wu [EMAIL PROTECTED] wrote: Hi, I'm choosing between 2

RE: How to force Tomcat to compile?

2002-02-05 Thread YI,LI (HP-USA,ex1)
Hi Anja, I had the same problem when I first start working with JSP. The only working way I know is restart tomcat, I normally already have all .java (my beans) copiled with javac first. Li -Original Message- From: Anja Falkner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05,

RE: Maximum url length

2002-02-05 Thread Deacon Marcus
Hi, It's not a good idea. Try changing GET to POST. In case you don't know - request uris are often cached, logged, etc, so sending any data, especially passwords in them is a suicide or worse. http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2.1 The HTTP protocol does not place any a

RE: How to force Tomcat to compile?

2002-02-05 Thread Shannon Chen
hi, Anja, i don't think tomcat will recompile automatically. you can compile changed java file by yourself and put the class file under WEB-INF/classes. it should work. one more thing, if you set ReloadInterceptor fullReload=true, you don't need to restart tomcat. it will reload both context

RE: How to force Tomcat to compile?

2002-02-05 Thread Reynir Hübner
Anja, I´ve never heard or used this auto-compiler feature in tomcat. I tried it by inserting a very simple heyworld.java servlet with in my classes directory, and nothing happens, at least it definately does not get compiled. I always use javac to compile everything with in my classes folder,

RE: Maximum url length

2002-02-05 Thread Shannon Chen
Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters, with a maximum path length of 2,048 characters. This limit applies to both POST and GET request URLs. If you are using the GET method, you are limited to a maximum of 2,048 characters (minus the number of

Re: How to force Tomcat to compile?

2002-02-05 Thread Anja Falkner
Hi all, thanks for your help. Now I'm going to try some things. I hope, that self-compiling and restarting Tomcat will do it. Anja -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Apache w/ mod_jk and Tomcat 3.2.1 not handling URL rewriting

2002-02-05 Thread Robert Wille
Actually, Apache does know how to hand servlet requests to Tomcat, just not for URL's that have been rewritten. The first request sets a cookie and the page contains URL's which have been rewritten (Tomcat does not yet know if the browser supports cookies, so it must rewrite these URL's). When I

tomcat as HTTP server config question

2002-02-05 Thread Lloyd H. Meinholz
For a couple of reasons, we have decided to use tomcat as a http server as well as our application server. In our current setup with a web server and an application server, in my web server config there is a directory of reusable graphics that I refer to as /images which is an alias to

Re: Maximum url length

2002-02-05 Thread Chinni . Venkateswara
One way I can see is... use hidden html INPUT tags for your params and use POST instead of GET. Hope this helps. gOOd day. -Chinni karkoma

Tomcat Test Environment v3.3x?

2002-02-05 Thread Knutsen Jeffrey S
Has anyone experience with the WebSphere Tomcat Test Envrionment? I have found some doc at http://www7.software.ibm.com/vad.nsf/FrameData/Master?OpenDocumentTitle=Ove rviewFSet=1Doc3=4556Doc4=4567 which gives instructions to install and run a Tomcat Test Environment in VisualAge for Java v3.5.3.

Tomcat Test Environment v3.3x? (improved question)

2002-02-05 Thread Knutsen Jeffrey S
Has anyone experience with the WebSphere Tomcat Test Envrionment for use within VisualAge for Java? I have found some doc at http://www7.software.ibm.com/vad.nsf/FrameData/Master?OpenDocumentTitle=Ove rviewFSet=1Doc3=4556Doc4=4567 which gives instructions to install and run a Tomcat Test

Re: Maximum url length

2002-02-05 Thread karkoma
El Mar 05 Feb 2002 20:12, escribiste: Hi, It's not a good idea. Try changing GET to POST. In case you don't know - request uris are often cached, logged, etc, so sending any data, especially passwords in them is a suicide or worse. I compound the uri internally in my servlet, encode it and

Re: apache + mod_SSL + tomcat

2002-02-05 Thread Dean Hiller
I thought tomcat was on 8443 by default. Are you sure you are pointing at tomcat, or do you have another webserver running on port 443, since that is the default that most webservers use when starting up. tomcat is the exception running on 8443 thanks, Dean -- To unsubscribe:

session and dtd questions for tomcat 4.0.1

2002-02-05 Thread Zhiyong Li
I have two problems with using tomcat 4.0.1 release build. 1. I have a xml file and its dtd in the same directory, I tried to use the following approach in my xml file to refer to the dtd: !DOCTYPE iBioObjectAction SYSTEM 'navigate.dtd' But I get the following exception: [Fatal Error] :2:-1:

Re: How to force Tomcat to compile?

2002-02-05 Thread Micael Padraig Og mac Grene
Anja. Your compilation cannot be the problem, Anja. I use only self-compiled classes. I don't even put my source code into Tomcat. Use the manager app to stop and restart your web application, is my suggestion, after you compile. Or, you can stop and start Tomcat. Micael At 07:49 PM

Re: apache or tomcat

2002-02-05 Thread Micael Padraig Og mac Grene
Do you have some measurements on this, Chen? At 10:56 AM 2/5/02 -0800, you wrote: I am using tomcat under IIS. IIS takes care of all the static html and tomcat is only a servlet container. It runs good. I think tomcat is not good for web server because of performance. Apache with SSL is much

RE: Tomcat Test Environment v3.3x? (improved question)

2002-02-05 Thread Larry Isaacs
This should be doable, but as you have found, isn't going to work by just replacing the installation directory. The startup class is different along with other minor changes in startup. This will require some configuration differences to work. Unfortunately, the directions you cite simply say

RE: Session Binding with IIS (Is it Possible?)

2002-02-05 Thread Pavel Brun
I am assuming from the lack of response that session binding between IIS and Tomcat is not possible? This is in reference to having Tomcat keep the IIS session active when Tomcat is processing its Web Application. Thanks Paul -Original Message- From: Pavel Brun [mailto:[EMAIL

Re: session and dtd questions for tomcat 4.0.1

2002-02-05 Thread Mark
At 02:55 PM 2/5/2002 -0500, you wrote: I have two problems with using tomcat 4.0.1 release build. 1. I have a xml file and its dtd in the same directory, I tried to use the following approach in my xml file to refer to the dtd: !DOCTYPE iBioObjectAction SYSTEM 'navigate.dtd' But I get the

Is it a BUG? (Tomcat Web Server v3.2 (final))

2002-02-05 Thread Igor Fedulov
Hello All: I'm new to this list, so please forgive me if I post something which was posted before. I tried to search http://www.mail-archive.com/tomcat-user@jakarta.apache.org/ and come up with nothing. Environment: 1. Netbeans 3.3.1 with built in Tomcat 3.2 server 2. web.xml fragment:

RE: Is it a BUG? (Tomcat Web Server v3.2 (final))

2002-02-05 Thread Larry Isaacs
This is a known bug in 3.2 and 3.2.1. I think it was fixed in Tomcat 3.2.2. It is not a problem in Tomcat 3.3 and Tomcat 4.x versions as well. Cheers, Larry -Original Message- From: Igor Fedulov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 3:31 PM To: [EMAIL

RE: Is it a BUG? (Tomcat Web Server v3.2 (final))

2002-02-05 Thread Igor Fedulov
This is a known bug in 3.2 and 3.2.1. I think it was fixed in Tomcat 3.2.2. It is not a problem in Tomcat 3.3 and Tomcat 4.x versions as well. Thanks! Now I have to find out if it's possible to upgrade built in tomcat in Netbeans to 3.3... -Original Message- From: Igor

problem with SSL

2002-02-05 Thread Daniel Thomas
Sorry if you have just recieved this, I am new!! help, I have been trying to set up the security option of tomcat but I can't work out what is going wrong here. I have set it up exactly how it says in the docs, but I seem to be having a problem with my policy. I have included the command line

Easy Install Tomcat with NT IIS?

2002-02-05 Thread Clifford Helsel
First the questions, then the background... Does anyone know how to automate the install of the redirector filter DLL in IIS. Second, about Java support, will Tomcat work with just a JRE and is there any way to automate its installation? We have a program that requires a servlet engine. Tomcat

iPlanet 5.0 Directory with JNDIRealm

2002-02-05 Thread Lloyd H. Meinholz
Has anyone successfully used iPlanet Directory Server 5.0 with JNDIRealm? If so, could you please give me some pointer on the ldap structure you used for JNDIRealm args? Thanks, Lloyd -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with

Tomcat 4, IOExceptions, error-page

2002-02-05 Thread Christopher K. St. John
Tomcat 4 throws away servlet generated IOExceptions. For example: public void doGet(HttpServletRequest req, HttpServletResponse rsp) throws IOException, ServletException { PrintWriter pwrt = rsp.getWriter(); pwrt.println(HELLO); throw new IOException(my

RE: Easy Install Tomcat with NT IIS?

2002-02-05 Thread Ignacio J. Ortega
De: Clifford Helsel [mailto:[EMAIL PROTECTED]] Enviado el: martes 5 de febrero de 2002 22:06 First the questions, then the background... Does anyone know how to automate the install of the redirector filter DLL in IIS. Look at

Re: TC Tomcat 4, IOExceptions, error-page

2002-02-05 Thread Christopher K. St. John
Kirby Vandivort wrote: I brought this up back in early january... It's close, it's a similiar issue, but it's not the same issue. What I'm saying is that Tomcat 4 will never match: error-page exception-type java.io.IOException /exception-type location /ioexception.html /location

CSV File

2002-02-05 Thread Jason Webber
I want the browser to download the file and not display a CSV file that I have created. Right now I issue the following commands, but it doesn't seem to work.. Any ideas are appreciated. String file; ... response.setHeader(Content-length,file.length());

Tomcat 4.01 war not extracting

2002-02-05 Thread Clifford Helsel
I put a .war into the webapps folder, restarted Tomcat 4.01, but it didn't extract it... any ideas? Cliff Helsel [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: Tomcat 4.01 war not extracting

2002-02-05 Thread Igor Fedulov
I put a .war into the webapps folder, restarted Tomcat 4.01, but it didn't extract it... any ideas? File permissions maybe? webapps folder permissions? Ownership? Who as server is running? Best regards, -- HTTP is a stateless protocol, and the Internet is a stateless development environment

RE: Tomcat 4.01 war not extracting

2002-02-05 Thread Clifford Helsel
It's an NT FAT system... the .war extracts fine under Tomcat 3.2.4... is there anything 'special' that has to be inside the .war file for Tomcat 4.01? -Original Message- From: Igor Fedulov [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 05, 2002 7:10 PM To: Tomcat Users List

How do I pass parameter to jikes when jikes used as jsp compiler

2002-02-05 Thread Antony Stace
Hi Can someone please tell me how to pass the parameter -encoding "SJIS" to jikes when it is used to compile jsp files. How do I change this section of the web.xml to do this? servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param

Re: Problem displaying Shift-JIS Japanese in Tomcat 4

2002-02-05 Thread Galbayar
%@ page language="java" contentType="text/html" % html head meta http-equiv="Content-Type" content="text/html; charset=Shift-JIS" /head body /body /html - Original Message - From: "Joel Rees" [EMAIL PROTECTED] To: "Tomcat Users List" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday,

urgent: Help (error in mod_jk.log)

2002-02-05 Thread unplug
unplug wrote: Hi all, I have configured to running tomcat3.3 with apache under Linux7.2. I found the following error in the mod_jk.log when they are working together. [jk_ajp13_worker.c (381)]: Error ajp13_process_callback - write failed The error appears very often. Can

Re: Problem displaying Shift-JIS Japanese in Tomcat 4

2002-02-05 Thread Antony Stace
On Wed, 6 Feb 2002 09:37:30 +0800 "Galbayar" [EMAIL PROTECTED] wrote: %@ page language="java" contentType="text/html" % html head meta http-equiv="Content-Type" content="text/html; charset=Shift-JIS" /head body /body /html I have %@ page contentType="text/html; charset=Shift_JIS" %

Override Error page

2002-02-05 Thread Galbayar
How to change Tomcat Error page, same Apache ErrorDocument directive

Re: Are spaces allowed in Servlet Context names?

2002-02-05 Thread Craig R. McClanahan
On Mon, 4 Feb 2002, David M Johnson wrote: Date: Mon, 04 Feb 2002 15:08:18 -0500 From: David M Johnson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Are spaces allowed in Servlet Context names? Should I file a bug,

Re: Errorpage

2002-02-05 Thread Craig R. McClanahan
On Mon, 4 Feb 2002, Volker Turau wrote: Date: Mon, 4 Feb 2002 16:30:12 +0100 (MET) From: Volker Turau [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: tomcat user-list [EMAIL PROTECTED] Subject: Errorpage Hi, in section SRV.9.9.2 of the Servlet Spec. Version 2.3 a

  1   2   >