Re: Precompile JSP

2001-11-15 Thread Tom Drake
Try bin/jspc.bat or jspc.sh - Original Message - From: KL OOI [EMAIL PROTECTED] To: TOMCAT-USER [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 11:25 PM Subject: Precompile JSP Hi all, Do anyone here know how to compile all the JSP pages before I roll out for production??

AW: Byte Serving PDF's

2001-11-15 Thread Ralph Einfeldt
AFAIK the only thing you have to do is let tomcat 4.0 serve the PDF's instead of your own servlet. Tomcat 4 implements HTTP 1.1 which introduced something like 'byte range request' (I don't have the exact name at hand) which is used by the acrobat reader. -Ursprüngliche Nachricht-

Re: Precompile JSP

2001-11-15 Thread Nikola Milutinovic
Do anyone here know how to compile all the JSP pages before I roll out for production?? Every JSP, when called, is turned into a JAVA source code and compiled into a servlet, the first time it is called. You can do this manually: ${CATALINA_HOME}/bin/jasper.sh jspc

Tomcat 4.01 SSL stop

2001-11-15 Thread 123times . com webmaster
I run tomcat 4.01 in Solaris under JDK1.4. after i start tomcat ,http and https is work well, but after a minutes,https is unable to connect use by ie,but http is still visitable. Then i telnet to 443,It's have echo. Who can help me to resolve it. Thanks all.

Re: Precompile JSP

2001-11-15 Thread Pritpal Dhaliwal
I like to complie JSP's by visiting them once. This way you even verify that they actually work. Pritpal Dhaliwal - Original Message - From: KL OOI [EMAIL PROTECTED] To: TOMCAT-USER [EMAIL PROTECTED] Sent: Wednesday, November 14, 2001 11:25 PM Subject: Precompile JSP Hi all, Do

AW: Java and double

2001-11-15 Thread Ralph Einfeldt
That won't change anything, as the Math class uses the normal primitive datatypes. This is a 'problem' of representing numbers in double and float. -Ursprüngliche Nachricht- Von: Mangi, Rick [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 14. November 2001 17:47 An: 'Tomcat Users

mod_jk

2001-11-15 Thread Arnaud Héritier
although my web application is correctly running I always have this errors in the mod_jk.log : [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_uri_worker_map.c

suggestions for avoiding javascript problems

2001-11-15 Thread G.Nagarajan
some problems that I faced using javascript libraries - sometimes the libraries will not be loaded, especially in very slow connections. Because of this, the other scripts in the page might not execute. This is a big problem especially if you have some dynamic menus etc. The only solution is to

RE: mod_jk / Ajp13 config fix on heavily loaded system

2001-11-15 Thread GOMEZ Henri
We are currently experiencing heavy load using ajpv13. Good a system which could reproduce the problem. We had set those parameters as Henri specified as 100, 50 and 20 and still she died. Try to replace it with -1, which will make you have unlimited number of threads : Ajp13Connector

Restarting a particular webapp

2001-11-15 Thread BacardiWasabi
Is it possible to restart a particular webapp alone. Instead of entire tomcat server. Dont you think this will be nice feature? what is invoker servler? some neat explaination please __ Do You Yahoo!? Find the one for you at Yahoo! Personals

HTTP POST request: maximum allowed data?

2001-11-15 Thread Sonia Galilea Varea
Hi all, I have to tranfer data from a html form to a servlet, by using the HTTP POST request. I do it by javascript: myWin = window.open(../servlet/myServlet?query=+myQuery); I wonder what's the maximum allowed data to send with a POST command. And the GET? I had a look in the RFC but didn't

Tomcat startup error

2001-11-15 Thread Srinivas Velidanda
Following error is occuring while starting up the Tomcat server. I have downloaded tomcat archive for 2 times still i am not able to work with JSPs. Server is working fine with Servlets. Please suggest me the solution. java.lang.ClassNotFoundException:

Re: mod_webapp compiling problems

2001-11-15 Thread Pier Fumagalli
On 14/11/2001 04:17 pm, Petry Roman, ITS-IT [EMAIL PROTECTED] wrote: Hello... first.. tnaks for your fast answers.. Apachetoolbox is a nice shell-script, which helps you to compile Apache with a lot of modules, if you want.. nice thing.. btw.. Well, apparently it screws things up

Re: Precompile JSP

2001-11-15 Thread Lars Nielsen Lind
The first time you use the page with the web server the page will compile it self - if it is not already compiled. - Original Message - From: KL OOI [EMAIL PROTECTED] To: TOMCAT-USER [EMAIL PROTECTED] Sent: Thursday, November 15, 2001 8:25 AM Subject: Precompile JSP Hi all, Do anyone

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Pier Fumagalli
On 22/10/2001 03:54 pm, Nancy Crisostomo Martinez [EMAIL PROTECTED] wrote: Hello everybody! I hope you could help me, please.. Actually, I'm begining to use Tomcat, and I have a succeded start because it still works PERFECT to me... But muy problem is very strange : I installed Tomcat to

Server Element in server.xml

2001-11-15 Thread Tarek M. Nabil
The documentation that ships with Tomcat 4.01 does not include debug as one of the attributes that can be specified in the Server element in config/server.xml and yet the example config/server.xml that comes with the distribution does use it...is this a problem with the document or a problem with

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Pier Fumagalli
On 14/11/2001 07:07 pm, Nikola Milutinovic [EMAIL PROTECTED] wrote: Tom Drake wrote: This has nothing to do with tomcat. It is standard unix behavior. When a user logs out, all processes created by that user are killed. No, when a user logs out all processes that are children to that

RE: HTTP POST request: maximum allowed data?

2001-11-15 Thread Ion Larranaga
In your example you are not using the POST method. Any time you see a URL with the ? character in it, it means you are sending data with the GET method. The GET method allows parameters, but has a size limitation, as you have seen. If you want to make sure you are using the POST method you have

Re: Precompile JSP

2001-11-15 Thread Lars Nielsen Lind
I don't know if there are any other ways to compile the pages - other than using the pages with the webserver. The books I have read, all states that the JSP-page will be compiled to a Servlet, when used with the webserver, if it has not yet been compiled. - Original Message - From: KL

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Pier Fumagalli
Nikola Milutinovic [EMAIL PROTECTED] wrote: Good point. Every well written daemon will do the following: 1. parse input and complain if necessary 2. spawn a child and exit 3. a child will close STDIN, STDOUT, STDERR 4. a child will catch/ignore SIGHUP, SIGTERM, ... 5. a child will

WebApp: Error 404 - Strange goings on!

2001-11-15 Thread David Molloy
Hi, I have recently managed to combine Apache 1.3.20, SSL and Tomcat4.0.1 together using a self compiled DEAPI web_app connector. After much pain, everything seemed to be working very well. However, I am getting the following problem: When I start Tomcat and then Apache everything works

Benchmark

2001-11-15 Thread Laurent Michenaud
Hi, I would like to bench my web server( apache/tomcat ) What's the best ? I would like to indicate a list of urls( with somes params in it ) and that it takes care of sessions. Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe: mailto:[EMAIL

RE: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread GOMEZ Henri
If you want a process to be independant from user connection, disconnection on a Unix boxes (and more generally on any system), you should make it run as a service. For example on Linux, you make it run at init time via script in /etc/rc.d/init.d/. And to be sure your tomcat has nothing to do

Re: Benchmark

2001-11-15 Thread David Cassidy
Try http://webperformanceinc.com We've used it here and its really rather good. You 'train' it by setting your browser to use it as a proxy and then go through the bits of the site you want to test. You login and it records the data you sent Then you can get it to give your site alot of pain.

Jikes Tomcat 4.0.1 on Windows NT

2001-11-15 Thread Gordon Barr
I wonder if anybody out there can help I am trying to get Jikes to compile my JSP pages but all to no avail. I have set up the catalina.bat web.xml files as detailed in the release notes (details listed below) but it still does not work (error thrown listed below). Suspect

AW: HTTP POST request: maximum allowed data?

2001-11-15 Thread Ralph Einfeldt
With POST I don't know any size restrictions. We have used post requests to upload several hundred KBytes. With GET there are size restrictions which are limited by the browser, the http server and sometimes even by the proxies between the browser and your web server. The limit is typically a

Re: HTTP POST request: maximum allowed data?

2001-11-15 Thread Sonia Galilea Varea
Hi Ion, Sorry for not having explained well. Just tell you that I already do what you say, so I'm sure I'm using the post method, and Tomcat or the navigator has a maximun lenght even for its post URI... Do you know if there is any way of changing the maximum lenght and which is that maximun

RE: Byte Serving PDF's

2001-11-15 Thread GOMEZ Henri
Not necessary, if tomcat 3.x/4.0 forward the Range information to the end Servlet - Henri Gomez ___[_] EMAIL : [EMAIL PROTECTED](. .) PGP KEY : 697ECEDD...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6

Re: AW: HTTP POST request: maximum allowed data?

2001-11-15 Thread Sonia Galilea Varea
Hi Ralph, Sorry for not having explained well, but what I exactly do is: What I exactly do is: FORM NAME=form1 ACTION=javascript:myFunc() METHOD=post INPUT TYPE=hidden NAME=myQuery VALUE=myquery ... /FORM and in my javascript file: function myFunc() { myWin =

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Nikola Milutinovic
Good point. Every well written daemon will do the following: 1. parse input and complain if necessary 2. spawn a child and exit 3. a child will close STDIN, STDOUT, STDERR 4. a child will catch/ignore SIGHUP, SIGTERM, ... 5. a child will spawn a daemon process and

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Nikola Milutinovic
If you want a process to be independant from user connection, disconnection on a Unix boxes (and more generally on any system), you should make it run as a service. For example on Linux, you make it run at init time via script in /etc/rc.d/init.d/. And suppose it just blocks or I

AW: AW: HTTP POST request: maximum allowed data?

2001-11-15 Thread Ralph Einfeldt
This won't work. Your form is perfoming a post, but your js function performs just a get: window.open(../servlet/myServlet?query=+document.form1.myQuery.value); This is always a GET, independent of the way you called it. -Ursprüngliche Nachricht- Von: Sonia Galilea Varea

AW: AW: HTTP POST request: maximum allowed data?

2001-11-15 Thread Ralph Einfeldt
Solution: FORM NAME=form1 ACTION=../servlet/myServlet METHOD=post TARGET=WindowForm1 INPUT TYPE=hidden NAME=query VALUE=myquery ... /FORM -Ursprüngliche Nachricht- Von: Sonia Galilea Varea [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 15. November 2001 12:11 An: Tomcat

Re: Major (guru mode) help required

2001-11-15 Thread raj
Sorry, this was a major boo boo on my part. I had JDBC realm turned on for the standalone service but not the Tomcat-Apache service. It all hangs together now. PS: Though I have described the web application Contexts within the standalone service, I can still access them when going through the

RE: Dynamic Email

2001-11-15 Thread Randy Layman
Here's an idea. Its sketched out in Java, but most technologies would work. Use HttpURLConnection to open the page you want (i.e. request the page through the Tomcat server). Copy the result text into the body of the email message. Send the email message. Randy

Drivers

2001-11-15 Thread Law Kim Soon
Hi, How can i conect tomcat 3.2.1 to a SQL Server 7. Sorry for this newbie question,but i need so guide Thanks all Regards, Andy

RE: Drivers

2001-11-15 Thread Barney Hamish
They have a database of JDBC drivers on the Java website http://industry.java.sun.com/products/jdbc/drivers You can search there for a JDBC driver that matches your requirements -Original Message- From: Law Kim Soon [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 1:30 PM To:

RE: Drivers

2001-11-15 Thread Randy Layman
I would suggest you look at the list of JDBC drivers on Sun's website - they list all the drivers from vendors who have registered with them. Randy -Original Message- From: Law Kim Soon [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 7:30 AM To: [EMAIL

Re: AW: AW: HTTP POST request: maximum allowed data?

2001-11-15 Thread Sonia Galilea Varea
Hi Ralph, I don't understand your solution. I think WindowForm1 is the var which, in your javascript, you do: WindowForm1 = window.open(...); But if it's a javascript var, you cann't access to it like that. Also, what I have to do is: WindowForm1 = window.open( --servlet call--); I

AW: AW: AW: HTTP POST request: maximum allowed data?

2001-11-15 Thread Ralph Einfeldt
The WindowForm1 is just a symbolic name for a new window that will be opened to display the result of the form action (it it is not already open). This has nothing to do with javascript, it's just basic simple HTML. Just give it a try... -Ursprüngliche Nachricht- Von: Sonia Galilea

jsp and VB

2001-11-15 Thread oilayo
helo.. i am having some problem here I used VB to develop an application, but my online aplication is using JSp. any1 have any idea. can JSP communicate with JSP ( I mean directly, not through Database) from, layyong -- To unsubscribe: mailto:[EMAIL PROTECTED] For

RE: Byte Serving PDF's

2001-11-15 Thread MacDonald, Todd
This doesn't seem to work for me. To test the theory, I dropped an 11.5 meg optimized PDF (i.e. a PDF prepared by Adobe Acrobat for byte serving) in the context root of an app in Tomcat 4. When I access the pdf directly using the file name in the URL, the whole thing still downloads before it

RE: Restarting a particular webapp

2001-11-15 Thread Jim Urban
Check out the manager application provided with Tomcat 4.0. It can start, stop and reload a single webapp. The documentation is on the TC 4.0 site and it works quite well. We use it in development to reload our application whenever we change a cached file. Jim -Original Message-

Re: Logout with basic autorization

2001-11-15 Thread kevin ritter
Thank you for your quick response; however, I have a follow on question regarding BASIC authentication and WebDAV. If I implement FORM based authentication will I still be able to drag and drop folders using Slide's WebDAV capabilities and perform File | Open | Open as Web Folder from Internet

Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-15 Thread Corey A. Johnson
Sounds like you may have a: script language=JavaScript src=filename.js statement in your returned HTML code.. and the .js file can not be found... hope that helps. Cj James Adams wrote: I have a page (JSP) which contains a form with a servlet as the action of the form. However whenever I

RE: Dynamic Email

2001-11-15 Thread Timothy Shadel
I actually tried that earlier (my last of 3 attempts before sending this e-mail), but the InputStream associated with the HttpURLConnection has run past all the content by the time I get it. I have no idea why it does that. Here's a snipet of the code: String strURL; if(

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-15 Thread Nancy Crisostomo Martinez
Hi again! And thank you very much to all of you who had been sending some advice!! I tried to start Tomcat with the following sentence: tomcat.sh start And it didn't work again... I'm going to try with nohup... When I work with the server (Solaris) I open a terminal window and I close it

Security question

2001-11-15 Thread Laurent Michenaud
Hi, It is possible de verify that a servlet has been called by a specific servlet or jsp and that it can't be called by another one. Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL

Re: Security question

2001-11-15 Thread Frank Lawlor
You can pass (possibly encrypted) information that only the two parties know. This is essentially authentication like your username/password. Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned consulting firm integrating technology strategy and software

Session

2001-11-15 Thread Laurent Michenaud
Hi, Is it possible to see the active session ? Is it possible to see what there is in a session ? Is it possible to know which ip is assigned to each session ? Are they stored in memory ? files ? Thanks Michenaud Laurent - Adeuza - [ Développeur Web - Administrateur Réseau ] -- To

Re: jsp and VB

2001-11-15 Thread greyson . smith
What are you trying to do? Are you trying to tie the two systems together, or are you instead trying to develop a core set of functions that both systems can use?

Security question - grant entries

2001-11-15 Thread Antony Bowesman
Hi, How do you grant permissions in the policy file to jsp pages. I've tried grant codeBase file:${catalina.home}/work/localhost/examples/jsp/security/protected/- { permission java.security.AllPermission; }; but I get an AccessControlException when some code in the jsp tries to do

what does this error mean?

2001-11-15 Thread Maureen Fisher
[Thu Nov 15 11:18:53 2001] [jk_ajp13_worker.c (228)]: connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed [Thu Nov 15 11:18:53 2001] [jk_ajp13_worker.c (712)]: Error reading reply [Thu Nov 15 11:18:53 2001] [jk_ajp13_worker.c (845)]: In jk_endpoint_t::service, get_reply failed in

Re: session and authentication issues

2001-11-15 Thread kevin ritter
Hi I just asked this question yesterday. Search the archive for Logout with basic autorization. Mr Craig R. McClanahan responded as follows: The problem is that when you are using BASIC authentication, the browser sends the credentials on every request, and I don't know of any way to tell it to

set log files

2001-11-15 Thread Hong Jiang
Hi All, I am trying to set some log files for my application on Tomcat 4.0.1 on NT. What I did is adding the following lines in the server.xml, Context path=/pdfTest docBase=pdfTest debug=4 privileged=true reloadable=true Logger

Sessions being shared... (TC 3.2.3)

2001-11-15 Thread Paul Rubenis
I have some strangeness happening when using Tomcat 3.2.3, Apache and an EJB Server. Though it appears to be a session issue. The application is using SSL via Apache. Basically people log into the application via a jsp, the jsp creates a session for that person and stuffs

AW: Sessions being shared... (TC 3.2.3)

2001-11-15 Thread Ralph Einfeldt
Typically this kind of errors doesn't mean that the users access the same session but the jsp's/servlets you use store information in place that is not local to the session. (e.g.: class or instance variables) To verify that the users have different sessions, have a look at the session id. If

Chunked Output

2001-11-15 Thread Tarek M. Nabil
What does chunked output mean? Tarek Nabil [EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Help with multiple security domains

2001-11-15 Thread Trever M. Shick
I'd like to have two different JDBC realms within my server.xml and then I'd like to reference those within my web.xml file. I already have one JDBC realm working, I would like to add a second one. Is there some sort of name or key that can be set for a JDBC realm and then referenced by the

Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp

2001-11-15 Thread Robert Schmid
FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples

servlet as RMI client - registry not found

2001-11-15 Thread Guenter Wildmann
Hi! At first I want to say: I have read the how-tos, faq, guides, tutorials etc. regarding servlet and rmi but I did not find a solution for my problem. I am using tomcat 4.0.1 on RedHat Linux 7.1, kernel 2.4.4, using IBM JDK 1.3.0. The task is to have a servlet (MyServlet) which uses

RE: Drivers

2001-11-15 Thread Carl Boudreau
You could also go to the BEA site and down load theirs too... Carl -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 6:02 AM To: Tomcat Users List Subject: RE: Drivers I would suggest you look at the list of JDBC drivers on

RE: Apache-Soap and Tomcat 3.3

2001-11-15 Thread David Brunkow
Thanks for the response. I only want my web application to respond to SOAP requests. The soap files are in my web app. The problem is, they still have to be in the Server classpath. My Toplink classes won't work if they are in the Server classpath, so says experience and the Toplink vendor.

RE: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp

2001-11-15 Thread Suzanne Reiner 8423
Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/\ What is the appBase (for the Apache-Tomcat service) specified in the Tomcat server.xml file? WebAppConnection tomcat4 warp localhost:9090 WebAppConnection warpConnection warp localhost:9090 WebAppDeploy myapp tomcat4

RE: Tomcat 3.2.3 - Image loading problem

2001-11-15 Thread Larry Isaacs
What is the mod_jk configuration being included in Apache's httpd.conf file? I don't think Apache will recognize corner_top.jpg;jsessionid=92s03xnlw1 as a .jpg file because of the ;jsessionid I think Tomcat will need to serve this file. Larry -Original Message- From: Marko

Re: Apache-Soap and Tomcat 3.3

2001-11-15 Thread Tom Drake
Dave: I don't know anything about Toplink, so I can't really help you there. I do know, from my own experience with Apache Soap, that you call classes in jar files stored in your webapps WEB-INF/lib directory. What sorts of error messages are you getting when attempting this? - Original

RE: mod_jk

2001-11-15 Thread Larry Isaacs
A bug in mod_jk for Tomcat 3.2.x causes this to always print, error or not. Since you are not like to be getting errors, it may be ignored. This is fixed in Tomcat 3.3's version of mod_jk. I believe you can use Tomcat 3.3's mod_jk with Tomcat 3.2.x, though I haven't tried it. Note that the

RE: Tomcat startup error

2001-11-15 Thread Larry Isaacs
This is likely a CLASSPATH problem. For example, having j2ee.jar on your CLASSPATH. Remove any non-Tomcat entries from your CLASSPATH and see if Tomcat will start. Add them back it one at a time until you see which one is causing the problem. Larry -Original Message- From: Srinivas

AJP and Tomcat 4.0

2001-11-15 Thread Brian . Lantz
I KNOW this is probably a FAQ, though I cannot find the answer I need. I found a couple of messages dealing with using mod_jk and Tomcat 4.0. They mention uncommenting a portion of the server.xml file. Unfortunely, the recent 4.0 releases don't HAVE this section anymore. Can someone

mod_webapp/Tomcat4 bug?

2001-11-15 Thread Brian . Lantz
I have a webapp (named 'home'), with a default page (index.jsp). If I hit http://server:8080/home/; I get the expected page. If I hit http://server/home/; I do not, but if I use http://server/home/index.jsp; it gets there fine. Is this a known problem, and if so, is there a workaround

Mod_Jk and Multiple Tomcats

2001-11-15 Thread David Wilson
Does anyone know how to do the following: For testing purposes we want to have one Apache running and use multiple Tomcats. We are using mod_jk and I can only find information on multiple tomcats via JServ. But you cannot use jserv and mod_jk at the same time. Can I do this with mod_jk? We are

RE: Tomcat to read cookies on session start?

2001-11-15 Thread Craig R. McClanahan
On Thu, 15 Nov 2001, Deacon Marcus wrote: Date: Thu, 15 Nov 2001 06:52:57 +0100 From: Deacon Marcus [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Tomcat to read cookies on session start? Hi, -Original

RE: Responding to a disconnected client

2001-11-15 Thread Brett Knights
Check out the long running servlet example in the Jason Hunter book. Wrap the result holder/processor in a Session listener. If the browser requests the result then get it from the session and return it. If they eventually log off or their session expires you can reclaim the result memory. HTH

RE: Mod_Jk and Multiple Tomcats

2001-11-15 Thread Brett Knights
(terse response) for each tomcat create a different worker (listening on different ports or from different servers). Map the urls to workers as appropriate. remember to modify server.xml to listen on the correct ports. HTH -Original Message- From: David Wilson [mailto:[EMAIL

Re: Authentication Filter

2001-11-15 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, Pritpal Dhaliwal wrote: Date: Wed, 14 Nov 2001 22:13:06 -0800 From: Pritpal Dhaliwal [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Authentication Filter Is there an authentication filter that could

Re: Servlet Mapping...:(

2001-11-15 Thread Craig R. McClanahan
With the servlet mapping you've defined, the correct URL is: http://localhost:8080/framework/action not http://localhost:8080/framework/servlet/action Craig On Wed, 14 Nov 2001, BacardiWasabi wrote: Date: Wed, 14 Nov 2001 23:02:57 -0800 (PST) From: BacardiWasabi [EMAIL PROTECTED]

Problem with ResourceBumdles using tomcat4.0.1

2001-11-15 Thread Ansari, yaser
I have a web application which provides support for 4 different languages. I am using the resource bundle files for this. However tomcat4.0 is unable to load these files and reports a java.util.MissingResourceException: Can't find resource for base name actionStrings, locale en_US . This

jndi.properties

2001-11-15 Thread Andrew
Hi, I've some ejbeans on other host(EJB container) and I want to use it in Tomcat(4.0.1). My question is: How I can specify/place jndi.properties file for successful lookup my beans.If Tomcat supports some other means through webapp configuration options (I mean Tomcat jndi namespace)-

Solaris 7 x86 mod_webapp success

2001-11-15 Thread Kerry_Boguszewski
Hi, For the benefit of any other Solaris 7 x86 user, I was successful in compiling and using mod_webapp on this archictecture. In the hopes of saving an other from wasting time scratching their heads, The following is a brief listing of the experience. started with a working stand

Re: Server Element in server.xml

2001-11-15 Thread Craig R. McClanahan
On Thu, 15 Nov 2001, Tarek M. Nabil wrote: Date: Thu, 15 Nov 2001 12:18:27 +0200 From: Tarek M. Nabil [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' (E-mail) [EMAIL PROTECTED] Subject: Server Element in server.xml The documentation that ships

RE: Dynamic Email (Workaround)

2001-11-15 Thread Timothy Shadel
I found a workaround. Apparently the content wasn't ready as soon as my thread continued, so I just added a try to Thread.sleep( 100 ) a few times and then the InputStream had data ready to go. One drawback is that the input stream never returns -1 indicating the end of the input (because

RE: Mod_Jk and Multiple Tomcats

2001-11-15 Thread Travis Schmid
David, We are using Tomcat 3.2.3 with mod_jk but it should be similar in 4.0. We set it up like this to utilize multiple processors and machines efficiently for better scalability. Here's what we did: We setup Apache to start 4 Ajp13 workers all communicating on a different port number. Then

Re: set log files

2001-11-15 Thread Craig R. McClanahan
There is at most one Logger associated with a particular Context. In your scenario, only the last one (writing to System.out) would be used, because it would replace the previous definitions. If you want to broadcast output to several places, you would need to write your own Logger

Tomcat 4.01 SOAP 2.2 message-style services

2001-11-15 Thread Chris Malley
I'm been using Apache SOAP 2.2 with Tomcat 3.2.3. I recently upgraded to Tomcat 4.0.1 and my SOAP message-style services have stopped working. RPC-style services still work fine, so I'm confident that I'm installing my jar files in the correct place (ie, $CATALINA_HOME/lib). Has anyone else

Re: Help with multiple security domains

2001-11-15 Thread Craig R. McClanahan
On Thu, 15 Nov 2001, Trever M. Shick wrote: Date: Thu, 15 Nov 2001 09:52:39 -0700 From: Trever M. Shick [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Help with multiple security domains I'd like to have two different JDBC realms within my

Re: Help with multiple security domains

2001-11-15 Thread Trever M. Shick
Thanks.. Do you know if this works with previous versions of tomcat (3.2.3)? It's not a requirement, I just don't feel like upgrading now. Trever - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 15, 2001

Re: Help with multiple security domains

2001-11-15 Thread Craig R. McClanahan
On Thu, 15 Nov 2001, Trever M. Shick wrote: Date: Thu, 15 Nov 2001 12:38:31 -0700 From: Trever M. Shick [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Help with multiple security domains Thanks.. Do you know if this

Tc 3.2.3 SSL/HTTPS config (fwd)

2001-11-15 Thread Richard Troy
Date: Wed, 17 Oct 2001 16:19:06 -0700 (PDT) From: Richard Troy [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat-user [EMAIL PROTECTED] Subject: Tc 3.2.3 SSL/HTTPS config - Message Text - Hi All, I've got an older Tomcat 3.2.2 installation that's apparently fully functional

Re: blocking access using filter (fwd)

2001-11-15 Thread Richard Troy
Date: Wed, 17 Oct 2001 16:41:33 -0700 (PDT) From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: blocking access using filter On Wed, 17 Oct 2001, Taavi Tiirik wrote: Date: Wed, 17 Oct 2001 22:47:53 +0200 From: Taavi Tiirik [EMAIL

Figuring out why Tomcat isn't serving a servlet (fwd)

2001-11-15 Thread Richard Troy
Date: 18 Oct 2001 01:06:18 - From: Dr. Evil [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Figuring out why Tomcat isn't serving a servlet I am completely stumped by a seemingly simple problem. I have created a very simple servlet: import java.io.*; import

RE: blocking access using filter (fwd)

2001-11-15 Thread Richard Troy
Date: Thu, 18 Oct 2001 11:58:34 +0200 From: Taavi Tiirik [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: blocking access using filter Thanks, Craig! 1. If user is not logged in or if the session has timed out then it should open login page and after

Re: regd classloader (fwd)

2001-11-15 Thread Richard Troy
Date: Thu, 18 Oct 2001 08:08:03 -0700 (PDT) From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: regd classloader On Thu, 18 Oct 2001, E B wrote: Date: Thu, 18 Oct 2001 10:28:27 +0100 (BST) From: E B [EMAIL

Re: Precompile JSP

2001-11-15 Thread Tom Drake
Tom: I'm not aware of any such option. I have always just lived with this recompiled all JSP's. You could create an Ant Task for this. It could be a very nice addition Ant's optional taskdefs. Tom Drake - Original Message - From: Tom Parker [EMAIL PROTECTED] To: Tomcat Users List

RE: Precompile JSP

2001-11-15 Thread pero
Note: Jspc doesn't compile your jsps as the webserver would do. That means that when you call jspc and start the server afterwards then the webserver will compile the jsps itselft again (at least this is my experience). I think the main purpose of jspc is to get rid of your jsp-files since it

OOOPS! APPLOLGIES!

2001-11-15 Thread Richard Troy
Hi All, In an attempt to better organize the fire-hose of inbound Tomcat email messages, I created an account called tomcat to receive the posts. I then set about moving over the older mails I'd saved, and forwarded them to tomcat. What I neglected to notice for several mails was that my mail

RE: Figuring out why Tomcat isn't serving a servlet (fwd)

2001-11-15 Thread Larry Isaacs
I think session-config should come after servlet. An exception is probably being thrown, so the web.xml isn't fully read. Try checking the log. Larry -Original Message- From: Richard Troy [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 3:01 PM To: Tomcat-user Subject:

RE: Precompile JSP

2001-11-15 Thread Chen, Gin
Doesnt Tomcat offer anything like a precompile when starting up the server? In BEA WebLogic, you can edit the XML configuration files so that it will automatically precompile ur JSPs on startup. It takes a bit longer to start up the server.. but then u dont need ants or have to go through each

RE: Sessions being shared... (TC 3.2.3)

2001-11-15 Thread Geoff Howard
I've heard of this type of thing as a classic example of non-thread-safe code. Is there any possibility it could be this? Geoff -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 11:43 AM To: Tomcat Users List Subject: AW: Sessions

RE: Precompile JSP

2001-11-15 Thread pero
actually I tried to implement such behaviour, but I think I got the wrong hook. I implemented it as a servlet, which then will run at startup - but the funny thing is, that the server accepts calls to jsps only after the server is completely finished with initialization. So I start my servlet by

Re: Precompile JSP

2001-11-15 Thread Tom Drake
Not true. You can deploy your pre-compiled jsp's in the form of java classes. There is no need to deploy jsp source code. You'll need to make corresponding mapping entries in your web.xml, however. - Original Message - From: pero [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]

  1   2   >