Updating environmental/application variable

2003-06-19 Thread manjunath
Hi.. Sub: Updating environmental/application variable without restarting servlet engine i want to change my webapp environment data/variable (like session time out or maxInactiveInterval ) dynamically, means without restarting the web server i want to update the envirinment settings and

Set System properties at TC startup

2003-06-19 Thread christian . schuster
Hi list, I have several web applications running. All of them have some properties equal. They are also important in order to the web applications working appropriatly. Is there a way at TC startup time to set these properties (just Strings) and in case the properties are not found to let TC

[OT] best hardware config for Tomcat

2003-06-19 Thread Antony
Hi all, If it is not the place to ask this question forgive me Please any one tell me a place to ask this question. I want to know the most suitable hardware configuration for Tomcat. We have to run both Tomcat and Oracle 8i on it. It is business( intranet ) application with about 10

Problem with binary HTTP 1.0 POST

2003-06-19 Thread James Carpenter
I am writing a very simple HTTP client for Symbian Series 60 in an effort to upload an image to my catalina tomcat server. I am trying to avoid using HTTP 1.1 as HTTP 1.0 is less complex and therefore my HTTP response parser on the Symbian side can be simplier. I am also trying to avoid BASE64

Re: Set System properties at TC startup

2003-06-19 Thread Bill Barker
Assuming that you are using TC 4.x (TC 3.3 has a different way of doing this), then you create a file called setenv.(bat|sh) (of course, bat for Windows, sh for *nix). In this file you set the environment variable CATALINA_OPTS to define the system properties that you need. [EMAIL PROTECTED]

Problem with binary HTTP 1.0 POST

2003-06-19 Thread James Carpenter
I am writing a very simple HTTP client for Symbian Series 60 in an effort to upload an image to my catalina tomcat server. I am trying to avoid using HTTP 1.1 as HTTP 1.0 is less complex and therefore my HTTP response parser on the Symbian side can be simplier. I am also trying to avoid BASE64

Does Tomcat is OK?

2003-06-19 Thread Cui Xiaojing-a13339
Hello All, We need to develop a data lookup application. The maximum concurrent users number could reach 150. That means there will be 150 users access the application and fetch data from backgroud database at the same time. The data that each user get only has 5k. We donot use session to keep

Re: Set System properties at TC startup

2003-06-19 Thread christian . schuster
Yes I am running Tomcat 4.1.18. Where does this file need to be located that TC is reading it at startup? Just somewhere along the classpath? Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30

RE: Best versions - of Tomcat to run with apache

2003-06-19 Thread Kyle J. Lange
Yoav, Do you (have to for your app.) also run a certificate and or any HTTPS pages? Or do I genuinely need Apache for such things? MTiA -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 5:29 PM To: Tomcat Users List Subject: RE: Best

Re: getting a reply like this.

2003-06-19 Thread Jon Wingfield
I may be wrong but... This list knows nothing (as such) about [EMAIL PROTECTED] Here's what i believe is happening: 1) You post to the list. 2) List delivers said post to all subscribers. One subscriber is, say, [EMAIL PROTECTED] 3) The Mail Daemon/Post Master at logicaonline.com rejects the

RE: getting a reply like this.

2003-06-19 Thread Andy Eastham
Jon, I agree with what you say, except that the list probably thinks the message send succeeded. The message isn't bounced back to the list - the spam warning goes back to the original sender contained in the From header. The spam warning software is ignoring the Reply-To header. Therefore the

RE: Does Tomcat is OK?

2003-06-19 Thread Reynir Hübner
Hi, Performance of such application is more or less based on how it's implemented, and the hardware it runs on. Tomcats performance is quite good in comparison with other servlet/jsp containers. It's also reliable, so I cant see a reason for you not to use it. If you will have 150 users

RE: Does Tomcat is OK?

2003-06-19 Thread Wayne Chang
Hi Reynir, I'm currently in the process of load testing my application. How do you think I should do it? I'm currently using OpenSTA. Best regards, Wayne Chang Pacific Northwest Software Mobile: (978) 869-3446 Email: [EMAIL PROTECTED] -Original Message- From: Reynir Hübner

Re: Updating environmental/application variable

2003-06-19 Thread Tim Funk
You can edit web.xml. Then stop and start the webapp via the manager application. For server.xml based values - this can be done via the admin app. (In tomcat5 - this can also be easily done with jmx) -Tim manjunath wrote: Hi.. Sub: Updating environmental/application variable without

Re: Problem with binary HTTP 1.0 POST

2003-06-19 Thread Tim Funk
read() may also return 0 or -1. -1 for end of file. Also the implementation of read is done that subsequent reads also return -1. Also make sure your posting byte calculation is correct. Problem code: int bytesRead = inStream.read(inData); fileOutStream.write(inData, 0,

juddi and axis jars clashing in tomcat

2003-06-19 Thread Nishant Kumar
hi, i tried adding juddi and axis wars to tomcat. juddi is used for UDDI and axis is used for SOAP. juddi uses axis.jar which is placed in the WEB-INF/lib dir of the juddi war. when tomcat starts we got some error loading juddi. if we removed axis war then everything worked fine. after

Re: Set System properties at TC startup

2003-06-19 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim [EMAIL PROTECTED] wrote: Yes I am running Tomcat 4.1.18. Where does this file need to be located that TC is reading it at startup? Just somewhere along the classpath? Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000

Where does Tyrex fit in?

2003-06-19 Thread Riaan Oberholzer
I might be clutching at straws here... Referring to an earlier mail of mine reporting a problem in setting up datasource (cannot configure BasicDataSource 'null', or something like that), I read somewhere in a posting that I should be sure to have the tyrex.jar in my server/lib or common/lib. It

Re: Precompiling JSPs

2003-06-19 Thread Andoni
Here's my problem with JspC task: does not factor in class or taglib dependencies, or jsp:include references. Quote from the page mentioned below!! I need these things factored in or else you cannot run javac on these *.java files. Thanks, Andoni. - Original Message - From: Robert

Re: getting a reply like this.

2003-06-19 Thread John Turner
Because there is no admin monitoring the list...it would be a full-time job. Do you want to pay their salary? The list is automated. John On Thu, 19 Jun 2003 10:25:27 +0530, anto paul [EMAIL PROTECTED] wrote: Then why not the Tomcat list admin block the [EMAIL PROTECTED] e- mail id. ?

Re: getting a reply like this.

2003-06-19 Thread John Turner
There is no admin on the list. The list is automated. How would such an admin be compensated for their time? This is the open source world, people...things are done for free, voluntarily, but you can't expect someone to devote their day to making sure every last email message is accounted

Re: [OT] best hardware config for Tomcat

2003-06-19 Thread John Turner
I won't get into specifics, but I can tell you that if you are planning to put this server into production, and run Oracle on it, a single hard disk is the WORST thing you can do, for a whole range of reasons. In most cases, CPU and RAM are not bottlenecks...disk is. When in doubt, get more

RE: Best versions - of Tomcat to run with apache

2003-06-19 Thread Shapira, Yoav
Howdy, Do you (have to for your app.) also run a certificate and or any HTTPS pages? Or do I genuinely need Apache for such things? I've used tomcat standalone for SSL/HTTPS services in production, with a 3rd party certificate -- no problems at all. This was tomcat 4.1.24, JDK 1.4.1, Solaris 8

RE: juddi and axis jars clashing in tomcat

2003-06-19 Thread Shapira, Yoav
Howdy, i tried adding juddi and axis wars to tomcat. juddi is used for UDDI and axis is used for SOAP. juddi uses axis.jar which is placed in the WEB-INF/lib dir of the juddi war. when tomcat starts we got some error loading juddi. if we removed axis war then everything worked fine.

Re: Set System properties at TC startup

2003-06-19 Thread John Turner
This looks pretty recent...is it? John On Thu, 19 Jun 2003 07:05:04 -0400, Tim Funk [EMAIL PROTECTED] wrote: http://jakarta.apache.org/tomcat/faq/misc.html#properties -Tim [EMAIL PROTECTED] wrote: Yes I am running Tomcat 4.1.18. Where does this file need to be located that TC is reading it

Advantages to putting Apache as front end to Tomcat

2003-06-19 Thread Jeremy Nix
What are the advantages/disadvantages to using Apache as the http server sending all jsp/servlet related traffic to Tomcat for processing, or using Tomcat stand alone? Other factors...I need to run SSL, and to support multiple virtual hosts. _ Jeremy Nix Senior Application

RE: Problem implementing JAAS in Tomcat 4.1.2

2003-06-19 Thread Shapira, Yoav
Howdy, Oh boy... See intermixed. I've used this code in Weblogic 6.X without any problem. If this could be done in Weblogic, then there is NO reason why we can't do it Of course there is. Tomcat's configuration is different than Weblogic's configuration. Weblogic provides a superset of the

RE: Where does Tyrex fit in?

2003-06-19 Thread Shapira, Yoav
Howdy, Referring to an earlier mail of mine reporting a problem in setting up datasource (cannot configure BasicDataSource 'null', or something like that), I read somewhere in a posting that I should be sure to have the tyrex.jar in my server/lib or common/lib. It also said it should be standard

RE: Advantages to putting Apache as front end to Tomcat

2003-06-19 Thread Shapira, Yoav
Howdy, Apache is the best HTTP web server out there, I'd say. That's a sweeping statement that covers: - Configurability: you can configure pretty much anything any which way - Stability: no other HTTP server is hit as hard / as much as Apache httpd, no other HTTP server is expected to stay up

How to choose a Tomcat version

2003-06-19 Thread Riaan Oberholzer
Is there a general rule of thumb for choosing which version of Tomcat to use? With servlet/jsp 2.3/1.2 specs you go for 4.0 or 4.1, but which branch and why? And furthermore, which version within the branch? I often see installations stuck at 4.0.4 - why don't they upgrade to newer versions? My

RE: Advantages to putting Apache as front end to Tomcat

2003-06-19 Thread Collins, Jim
One other point I would like to add is running on port 80. If you use apache as soon as the server has started it can switch to another role which you can't do with Tomcat. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 14:07 To: Tomcat Users List

RE: How to choose a Tomcat version

2003-06-19 Thread Shapira, Yoav
Howdy, Is there a general rule of thumb for choosing which version of Tomcat to use? With servlet/jsp 2.3/1.2 specs you go for 4.0 or 4.1, but which branch and why? And furthermore, which version within the branch? Latest stable: 4.1.24 at this point. I often see installations stuck at 4.0.4 -

Re: Advantages to putting Apache as front end to Tomcat

2003-06-19 Thread John Turner
Archives. FAQ. John On Thu, 19 Jun 2003 08:48:06 -0400, Jeremy Nix [EMAIL PROTECTED] wrote: What are the advantages/disadvantages to using Apache as the http server sending all jsp/servlet related traffic to Tomcat for processing, or using Tomcat stand alone? Other factors...I need to run

Re: Set System properties at TC startup

2003-06-19 Thread Tim Funk
Yup. I recently committed the FAQ to jakarta-tomcat-site. For the short term, I will probably try to make a mass update once a week or every other week based on questions, gaps, (and my own knowledge of the solution). I already have a list of updates I want to make. (I save a lot of potential

Re: How to choose a Tomcat version

2003-06-19 Thread John Turner
I would add that in many cases third-party JARs require a specific version of the JDK, which can cause problems when you want to upgrade. John On Thu, 19 Jun 2003 09:13:21 -0400, Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Is there a general rule of thumb for choosing which version of

RE: Does Tomcat is OK?

2003-06-19 Thread Angus Mezick
Remember, concurrent users in your case is the number of people that make a request at the EXACT same time. Tomcat should handle this load nicely. -Original Message- From: Cui Xiaojing-a13339 [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:28 AM To: [EMAIL PROTECTED]

Re: Where does Tyrex fit in?

2003-06-19 Thread Tim Funk
via http://marc.theaimsgroup.com/?l=tomcat-devm=105484177917337w=2 Tyrex: This project seems dead (unfortunately) :-( We could replace it with some other TM, or (I like that one better) not provide an object factory implementation for UserTransaction by default, and let third parties provide it.

Re: Set System properties at TC startup [SOLVED]

2003-06-19 Thread christian . schuster
Thanks to all for the helpful hints. Christian Schuster Rudolf Schuster AG Postfach 277 CH - 3000 Bern 11 http://www.rsag.ch ++41 31 348 05 30 John Turner

RE: juddi and axis jars clashing in tomcat

2003-06-19 Thread Nishant Kumar
hi, i agree that this should not have been the case. there is no axis.jar in common/lib(not even in server/lib). and as i had mentioned removing the axis war make juddi war load properly. and the error is happening because of the version difference of the two axis.jar in axis and juddi

Re: Advantages to putting Apache as front end to Tomcat

2003-06-19 Thread Tim Shaw
Additional question if I may ... CGI? Reason : A previous Admin system was CGI-perl based. I have used TC to do the stuff I do ... but we still need the previous bits. We're about to integrate, and I have taken it on 'faith' that we can just 'mix the 2 together' - others know Apache well. I

Re: Set System properties at TC startup

2003-06-19 Thread John Turner
Cool! John On Thu, 19 Jun 2003 09:23:47 -0400, Tim Funk [EMAIL PROTECTED] wrote: Yup. I recently committed the FAQ to jakarta-tomcat-site. For the short term, I will probably try to make a mass update once a week or every other week based on questions, gaps, (and my own knowledge of the

RE: Advantages to putting Apache as front end to Tomcat

2003-06-19 Thread Shapira, Yoav
Howdy, You can do CGI in tomcat-standalone: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html However, seeing as how CGI is an area where security is a big risk, I'd rather delegate that to Apache. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Shaw

RE: Embedding Tomcat with Java App and JRE only

2003-06-19 Thread Sriram N
This is indeed the ight place. But please check the mail archives first. I'd had to Embed Tomcat way back in Dec 2001 - Jan 2002, and had faced lots of problems then, with not a single question of mine being answered. However, I'd posted some of my lessons learnt at around that time. I've

Re: Can I set up 2 realms for the same server so I can access 2 databases

2003-06-19 Thread vtobin
Hi, Actually Angus' comment isn't really true. You just configure a seperate Realm under each of your Hosts, and Tomcat should do exactly what you want. Thanks for that info, Bill. I had set up database access in each individual context, but trying to do that with the jdbc realm didn't

running two services in a server

2003-06-19 Thread Tony Grant
Hello, I would like to run both standalone and apache services on my server. For the moment I can run one _or_ the other. After reading through the doc I have come to the conclusion that I have a typo in my server.xml but for the life of me I can't see where I'm going wrong. Cheers Tony Grant

Custom Error Pages

2003-06-19 Thread Thomas, Kevin
Hi all, I have setup some custom error pages and have updated $CATALINA_HOME/conf/web.xml to direct to these pages should an error occur. However, when a error is raised the app automatically looks within /webapp/Errors for the pages instead of /ROOT/Errors where I would like it to look. Errors

RE: Custom Error Pages

2003-06-19 Thread Shapira, Yoav
Howdy, The url-pattern for error pages in web.xml is relative to your docBase. C'est tout. Yoav Shapira Millennium ChemInformatics -Original Message- From: Thomas, Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:25 AM To: 'Tomcat Users List' Subject: Custom Error Pages

RE: running two services in a server

2003-06-19 Thread Shapira, Yoav
Howdy, Perhaps posting the server.xml would be good ;) Alternatively, start again from the original server.xml that comes with your installation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tony Grant [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 10:25

RE: Problem implementing JAAS in Tomcat 4.1.2

2003-06-19 Thread Loyd Bacani
I wish a was a bit more thorough in the first run, sorry about that. My question is more of How do I implement JAAS in Tomcat? I know this is a broad question so lets break it down. 1. How do I configure Tomcat so that it uses JAAS? 2. What configuration files ( Java Secutiy Tomcat ) do I

RE: running two services in a server

2003-06-19 Thread Tony Grant
On Thu, 2003-06-19 at 16:29, Shapira, Yoav wrote: Perhaps posting the server.xml would be good ;) I was a bit worried about posting the server.xml for a live public server to a public mailing list... Alternatively, start again from the original server.xml that comes with your installation.

RE: Custom Error Pages

2003-06-19 Thread Thomas, Kevin
Merci :O) -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 19 June 2003 15:28 To: Tomcat Users List Subject: RE: Custom Error Pages Howdy, The url-pattern for error pages in web.xml is relative to your docBase. C'est tout. Yoav Shapira Millennium ChemInformatics

Re: running two services in a server

2003-06-19 Thread Tim Funk
The java web services developer pack (from sun) has multiple services if you need a reference server.xml (i think) -Tim Tony Grant wrote: Hello, I would like to run both standalone and apache services on my server. For the moment I can run one _or_ the other. After reading through the doc I

wwwrun user on UnitedLinux 1.0

2003-06-19 Thread Hayo Schmidt
I have installed an Apache Tomcat/4.1.24-LE-jdk14 on a UnitedLinux 1.0 (UL) system (which is very much alike to SuSE Linux 8.x). UL contains a Tomcat 4.0 distribution. UL also has a custom startup script /etc/init.d/tomcat. The script starts Tomcat with a user wwwrun: su wwwrun -c

Element web-app does not allow servlet here.

2003-06-19 Thread Jiann-Ming Su
I'm using jakarta-tomcat-4.1.24-LE-jdk14 with java version 1.4.1_02 on Linux. For some reason, I'm starting to get the following errors from my web.xml: SEVERE: Parse Error at line 24 column -1: Element web-app does not allow servlet here. org.xml.sax.SAXParseException: Element web-app does not

Re: Element web-app does not allow servlet here.

2003-06-19 Thread Tim Funk
2 problems: 1) web.xml is NOT well formed with respect to the dtd 2) You declare servlets but do not map them to URLS -Tim Jiann-Ming Su wrote: I'm using jakarta-tomcat-4.1.24-LE-jdk14 with java version 1.4.1_02 on Linux. For some reason, I'm starting to get the following errors from my web.xml:

RE: Element web-app does not allow servlet here.

2003-06-19 Thread Shapira, Yoav
Howdy, 1. Can you verify the web.xml against the DTD (by using any xml validator, e.g. XMLSpy) ? 2. Why are you using a servlet specification v2.2 DTD and not v2.3? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jiann-Ming Su [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: Advantages to putting Apache as front end to Tomcat

2003-06-19 Thread Tim Shaw
Thanks - 'fraid I was being lazy (didn't check beforehand) but it was not high on my priority list. Shapira, Yoav wrote: Howdy, You can do CGI in tomcat-standalone: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html However, seeing as how CGI is an area where security is a big risk,

Re: running two services in a server

2003-06-19 Thread Tony Grant
On Thu, 2003-06-19 at 17:00, Tim Funk wrote: The java web services developer pack (from sun) has multiple services if you need a reference server.xml (i think) Looks a lot like mine =:-( Cheers Tony Grant -- www.tgds.net Library management software toolkit, redhat linux on Sony Vaio C1XD,

Re: wwwrun user on UnitedLinux 1.0

2003-06-19 Thread John Turner
Its never a good idea to run public services as root, which is probably why the script chooses another username. There are only a few known vulnerabilities in Tomcat, and none are related to Tomcat running as root, though I guess there's always the chance someone will find one. A couple of

Mime Type Header errors!

2003-06-19 Thread EPugh
Hi, I just moved my Turbine application from one server to another. The new one has jdk1.4.1 and tomcat 4.1.24. My users are complaining of clicking links, and getting back a page not found error. If they refresh, then it does hit the page. I looked into the logs, and found these errors:

Re: Element web-app does not allow servlet here.

2003-06-19 Thread Jiann-Ming Su
On Thu, 19 Jun 2003, Tim Funk wrote: 2 problems: 1) web.xml is NOT well formed with respect to the dtd http://www.hcrc.ed.ac.uk/~richard/xml-check.cgi?url=http%3A%2F%2Fzenodotus.library.emory.edu%2F%7Ejsu2%2Fweb.xmlvalidate=onnamespaces=on 2) You declare servlets but do not map them to URLS

RE: Element web-app does not allow servlet here.

2003-06-19 Thread Jiann-Ming Su
On Thu, 19 Jun 2003, Shapira, Yoav wrote: 2. Why are you using a servlet specification v2.2 DTD and not v2.3? I changed it to v2.3 before I sent my original email to this list, and it didn't solve my problem. Again, it was working just fine yesterday for me. And, it's still working fine for

RE: Element web-app does not allow servlet here.

2003-06-19 Thread Shapira, Yoav
Howdy, I changed it to v2.3 before I sent my original email to this list, and it You should keep it at 2.3 if possible. didn't solve my problem. Again, it was working just fine yesterday for me. And, it's still working fine for my colleague, but somehow, it's stopped working for me today.

Re: Element web-app does not allow servlet here.

2003-06-19 Thread John Turner
and is the file corrupted? Have you done a sum on your file and matched it to your co-worker's? Are there stray characters in your web.xml, like ^M or something similar, that perhaps aren't being shown in your editor? John On Thu, 19 Jun 2003 13:11:19 -0400, Shapira, Yoav [EMAIL PROTECTED]

org.apache.jk.common.ChannelSocket processConnection

2003-06-19 Thread Ted Dancescu
Hello, My tomcat logs are filled with this type of entry: Jun 19, 2003 10:17:16 AM org.apache.jk.common.ChannelSocket processConnection INFO: server has been restarted or reset this connection I was unable to find any documentation on this issue, I'm looking to find out what exactly is going

RE: Element web-app does not allow servlet here.

2003-06-19 Thread Jiann-Ming Su
On Thu, 19 Jun 2003, Shapira, Yoav wrote: Something has to have changed in your local installation then ;) Since the file seems fine by that validator and by your colleague's tomcat installation, it must be something wrong with your installation. Did you happen to change the digester or

Apache-Tomcat mod_jk Problem

2003-06-19 Thread Dave Wicks
Hello, I have compiled and configure mod_jk for use with Apache 2.0.40 proxying for Tomcat 4.1.24. There seems to be a problem when I try out the example login.jsp. It works fine if I go directly to the tomcat server directly, but if I access it via the proxy then Apache returns 404 (not

RE: Tomcat Standalone and Virtual Hosting

2003-06-19 Thread Roman Fail
There's also an iptables workaround for port 80 on Linux that I am using in production and found very useful: http://www-106.ibm.com/developerworks/linux/library/l-secjav.html Roman -Original Message- From: Yoav Shapira [mailto:[EMAIL PROTECTED] Sent: Wed

Profiler for Servlets?

2003-06-19 Thread Jiann-Ming Su
What's a good java profiler for use with servlets? So far I've found JMemProf and JProfiler. Thanks for any recommendations. -- Jiann-Ming Su [EMAIL PROTECTED] 404-712-2603 Development Team Systems Administrator General Libraries Systems Division

RE: Profiler for Servlets?

2003-06-19 Thread Shapira, Yoav
Howdy, Search the list's archives. I like OptimizeIt. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jiann-Ming Su [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 1:57 PM To: Tomcat Users List Subject: Profiler for Servlets? What's a good java profiler for

Re: Apache-Tomcat mod_jk Problem

2003-06-19 Thread John Turner
We'll need more information, like what are your JkMount statements, what are the contents of your workers.properties file, and what does mod_jk.log say when you make the request on port 80. You might want to increase JkLogLevel in Apache's httpd.conf to get more info in mod_jk.log. John On

Re: Best versions - of Tomcat to run with apache

2003-06-19 Thread Antonio Fiol Bonnín
Beware that late Tomcat behaves oddly when reading certificates from an Apache web server. Apparently, it will be fixed on 4.1.25, and is fixed on CVS (I will be testing it tomorrow morning, with a CVS snapshot taken a few days ago. If you want to hear about the results, please e-mail me at

RE: Best versions - of Tomcat to run with apache

2003-06-19 Thread Shapira, Yoav
Howdy, beingLazy Do you have the bugzilla ID for this issue? /beingLazy Yoav Shapira Millennium ChemInformatics -Original Message- From: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:20 PM To: Tomcat Users List Subject: Re: Best versions - of Tomcat to

Can JDBCrealm ... be in META-INF/context.xml file?

2003-06-19 Thread Jim Lynch
Or does it have to be in the server.xml file? Next question. Once I've got it there, what do I have to do to 1. For a login for the app. 2. After the user has logged in, how do I get his role? Thanks, Jim. - To unsubscribe,

RE: Can JDBCrealm ... be in META-INF/context.xml file?

2003-06-19 Thread Shapira, Yoav
Howdy, As the Realm configuration document says: You may nest a Realm inside any Catalina container Engine, Host, or Context). In addition, Realms associated with an Engine or a Host are automatically inherited by lower-level containers, unless explicitly overridden. So yes to your first

java applets

2003-06-19 Thread Michael Ni
does anyone know if you can call instances to your own classes from java applets? ex. class MyApplet extends Applet{ MyClass temp = new MyClass(); } class MyClass { MyClass() } for some reason when i do that everthing below my instantiation gets cut off mike

Re: Tomcat Standalone and Virtual Hosting

2003-06-19 Thread Antonio Fiol Bonnn
+1 !! I liked the idea. I note it for future needs. Antonio Fiol Roman Fail wrote: There's also an iptables workaround for port 80 on Linux that I am using in production and found very useful: http://www-106.ibm.com/developerworks/linux/library/l-secjav.html Roman -Original

Re: Best versions - of Tomcat to run with apache

2003-06-19 Thread Antonio Fiol Bonnín
mode lazy=off ;-) href=http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java; Revision *1.39* http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java?rev=1.39 / *(view)*

RE: Best versions - of Tomcat to run with apache

2003-06-19 Thread Shapira, Yoav
Howdy, Cool, thanks. Yoav Shapira Millennium ChemInformatics -Original Message- From: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:40 PM To: Tomcat Users List Subject: Re: Best versions - of Tomcat to run with apache mode lazy=off ;-)

RE: Profiler for Servlets?

2003-06-19 Thread Jiann-Ming Su
On Thu, 19 Jun 2003, Shapira, Yoav wrote: Howdy, Search the list's archives. How do I do that since it's not obvious from the jakarta website. In fact, navigating through the apache projects' website is not very intuitive. -- Jiann-Ming Su [EMAIL PROTECTED] 404-712-2603 Development

RE: java applets

2003-06-19 Thread Michele Neylon :: BlacknightSolutions
Hmm... My understanding of applets is that they are entirely client-side, so I don't think you can. Mr. Michele Neylon Blacknight Solutions http://www.blacknightsolutions.com/ Spam Virus scanning available # This message (and any

RE: Profiler for Servlets?

2003-06-19 Thread Shapira, Yoav
Howdy, Go to jakarta.apache.org. Click Mailing Lists on the left. Click here near the bottom of the page after reading the page. You'll see the Archives and Searching section then. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jiann-Ming Su [mailto:[EMAIL

RE: java applets

2003-06-19 Thread Michael Ni
i guess my question is in a java applet, can I import javabeans and use them. I'm having trouble because I cannot make instances of the beans I import. mike From: Michele Neylon :: BlacknightSolutions [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List'

RE: java applets

2003-06-19 Thread Shapira, Yoav
Howdy, Yes. The bean classes must be in the jar that you name as the applet codebase. That jar cannot reside under the /WEB-INF directory of your webapp. Yoav Shapira Millennium ChemInformatics -Original Message- From: Michael Ni [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19,

web.xml init param

2003-06-19 Thread Jing Huang
Hi, I am new to Tomcat. This might be a very simple question to the gurus here. Please help. I set initial parameters for a servlet in web.xml. When I start the server and run the servlet, the servlet can not get the initial parameters. It seems that the web.xml was not accessed at all. Can you

RE: web.xml init param

2003-06-19 Thread Mike Curwen
If you are invoking your servlet through /servlet it will not pick up the init-params from web.xml. You need to invoke it through a proper mapping. That's my best shot. ;) -Original Message- From: Jing Huang [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:46 PM To:

RE: java applets

2003-06-19 Thread Michael Ni
Hmm that really is dissapointing. I have a whole web app going with my java beans in my WEB-INF folder. I need to grab some information from the beans in my java applet so I can display graphical stuff, but there is no way to call the beans in my WEB-INF? mike From: Shapira, Yoav [EMAIL

RE: web.xml init param

2003-06-19 Thread Shapira, Yoav
Howdy, If you are invoking your servlet through /servlet it will not pick up the init-params from web.xml. Umm, no ;) If the invoker servlet is enabled then the init-param behavior is the same whether you use a servlet mapping or the invoker servlet. Hi, I am new to Tomcat. This might be a

RE: java applets

2003-06-19 Thread Shapira, Yoav
Howdy, Clients cannot access content under WEB-INF. That's a protected directory per the Servlet Specification. Yoav Shapira Millennium ChemInformatics -Original Message- From: Michael Ni [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 3:54 PM To: [EMAIL PROTECTED] Subject:

RE: java applets

2003-06-19 Thread Michael Ni
what is the server side alternative for java applets? mike From: Shapira, Yoav [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: java applets Date: Thu, 19 Jun 2003 15:54:48 -0400 Howdy, Clients cannot access content under

RE: java applets

2003-06-19 Thread Shapira, Yoav
Howdy, what is the server side alternative for java applets? Depends on your requirements: take a step back and tell us what you're trying to accomplish, and we can help pick the best design/implementation. Yoav Shapira This e-mail, including any attachments, is a confidential business

RE: java applets

2003-06-19 Thread Michael Ni
I'm trying to make a multiplayer online game. Basically the game is a java bean on the webserver. Multiple browsers access the same java bean...much like an application scope scenario. Now I need to display the game with information inside these beans. the beans reside in my

ServletRequestListener, ServletRequestAttributeListener examples

2003-06-19 Thread Shapira, Yoav
Howdy, I was about to write examples for the new Servlet 2.4 listeners for tomcat 5's example webapp, but before I make something up I wanted to ask: do people have any good ideas for when to use these new listeners? See SRV.14.2.20 for ServletRequestListener, SRV.14.2.18 for

Re: Can JDBCrealm ... be in META-INF/context.xml file?

2003-06-19 Thread Jim Lynch
Thanks, I'm making progress. I found samples of three different versions of the realm descriptor. JDBCRealm ... realm ... and Realm JDBCRealm and Realm both behave the same. When I use them with: connectionURL=jdbc:mysql://localhost/authority?user=jimpassword=jim I get an error message upon

RE: Can JDBCrealm ... be in META-INF/context.xml file?

2003-06-19 Thread Shapira, Yoav
Howdy, I'm surprised JDBCRealm even gets you that far. You should use Realm as the document says: Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=org.gjt.mm.mysql.Driver connectionURL=jdbc:mysql://localhost/authority?user=dbuserpassword=dbp ass

Re: ServletRequestListener, ServletRequestAttributeListener examples

2003-06-19 Thread Tim Funk
Just a quicky warning: Tomcat5's examples webapp is still 2.3 webapp. Doh! -Tim Shapira, Yoav wrote: Howdy, I was about to write examples for the new Servlet 2.4 listeners for tomcat 5's example webapp, but before I make something up I wanted to ask: do people have any good ideas for when to

RE: ServletRequestListener, ServletRequestAttributeListener examples

2003-06-19 Thread Shapira, Yoav
Howdy, That's OK, I was going to address that too ;) Thanks though... Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 4:28 PM To: Tomcat Users List Subject: Re: ServletRequestListener,

RE: java applets

2003-06-19 Thread Michael Ni
Hmm my solution to my problem is to get all the information i need first and pass it to the client where he loads in the applet. Too bad applets aren't server side. From: Michael Ni [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: java applets

RE: Can JDBCrealm ... be in META-INF/context.xml file?

2003-06-19 Thread Raible, Matt
Here's my realm from Tomcat 4.1.x Realm className=org.apache.catalina.realm.JDBCRealm debug=99 driverName=com.mysql.jdbc.Driver connectionURL=jdbc:mysql://localhost:3306/appfuse?autoReconnect=true connectionName=test connectionPassword=test userTable=app_user

Re: Can JDBCrealm ... be in META-INF/context.xml file?

2003-06-19 Thread Jim Lynch
Yes, I tried that too, but had the same problem. If I had put this in the server.xml file I would never have seen the problem. The fact I'm putting in the META-INF/context.xml file and am doing an ant deploy to send it via http is causing the problem. Turns out you've got to encode that stupid

  1   2   >