RE: Silent (and I mean SILENT) install

2004-03-01 Thread Cocalea, Eugen
Tomcat 4.1.27, installer for windows. It is installing silently EXCEPT that I get that message box. I've heard many legends that if JAVA_HOME is set, the message appears no more. But they are only legends, in my opinion. EC -Original Message- From: Remy Maucherat [mailto:[EMAIL

Re: Lost the Administrator function

2004-03-01 Thread Adam Hardy
On 02/29/2004 09:01 PM George Hester wrote: Well it just died entirely. crap. Which? The fresh installation? -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Lost the Administrator function

2004-03-01 Thread Adam Hardy
On 03/01/2004 09:25 AM Adam Hardy wrote: On 02/29/2004 09:01 PM George Hester wrote: Well it just died entirely. crap. Which? The fresh installation? OK, just read your other messages. Glad you sorted it out. Adam -- struts 1.1 + tomcat 5.0.16 + java 1.4.2 Linux 2.4.20 Debian

Problem: Apache 2.0.48 + mod_jk 1.2.6 + tomcat 5.0.19

2004-03-01 Thread Ilyschenko, Vlad
Hi, I'm running Solaris 9, Apache 2.0.48, mod_jk 1.2.6 and tomcat 5.0.19 and I'm getting these messages in apache error log: (128)Network is unreachable: connect to listener Those aren't too frequent though but seem to present problems: We have a monitoring tool that uses commons-httpclient to

RE: Problem: Apache 2.0.48 + mod_jk 1.2.6 + tomcat 5.0.19

2004-03-01 Thread Ilyschenko, Vlad
Update. This is what happens when the load on tomcat is high: all requests are executed but for some of those tomcat is unable to send the response back (browser stalls and will eventually time out after the timeout set in httpd.conf has expired). As the load goes down tomcat is able to send

RE: Problem: Apache 2.0.48 + mod_jk 1.2.6 + tomcat 5.0.19

2004-03-01 Thread Ilyschenko, Vlad
More update. Tomcat response does get through to the client! But browser keeps spinning and then times out. JK bug may be? Any advise guys? This is a production environment so I have to get this sorted. Vlad -Original Message- From: Ilyschenko, Vlad Sent: Monday, March 01, 2004 10:45

Enabling logging for a Realm

2004-03-01 Thread Joan Jesús Pujol Espinar
Hi, I have authentication problems with the JAAS Realm. I downloaded the tomcat 5 sourcecode and in the JASSRealm.java there is some debug information like this: if( log.isDebugEnabled()) log.debug(Authenticating + appName + + username); But I can't see this info in any log. I

RE: Problem: Apache 2.0.48 + mod_jk 1.2.6 + tomcat 5.0.19

2004-03-01 Thread Ilyschenko, Vlad
More update on that: Tomcat returns a header: Transfer-Encoding: chunked And it doesn't always return \0 (zero) at the end of the content. That is what causes commons-httpclient to throw the exception and browsers to keep spinning after page is displayed. Can something be done about that?

Re: reclaiming memory problem

2004-03-01 Thread Tim Funk
Follow Sun's rules of garbage collection and all will be OK. Your session objects might have a reference to something that isn't letting the GC do its job. (I think) Profilers are good at find this kind of stuff. -Tim Jerald Powel wrote: Hello, How might I reclaim memory, e.g after a

Re: image not displayed

2004-03-01 Thread Peter Renken
I have tried the suggestions but i am missing something The Hello.java is in /project/app2/src/mypackage Using 'ant install' the application is deployed with target name=install depends=compile deploy url=${manager.url} username=${manager.username}

ReRe: Need Help in Session Management !!!

2004-03-01 Thread amit varshney
it did not work. The following error message is displayed /usr/tomcat/webapps/intra/work/org/apache/jsp/accounts/jdbcmenu_jsp.java:61: cannot resolve symbol symbol : variable getUserPricipal location: interface javax.servlet.http.HttpServletRequest String

how can i get a servlet instance from ServletPool

2004-03-01 Thread Edson Alves Pereira
Hello dudes, is there a way to get a servlet instance from Tomcat´s pool? Is there a replacement to getServletContext( ).getServlet( )? Regards, Edson

RE: 5.0.19. [Newbie] Why it doesnt run my HelloServlet

2004-03-01 Thread Shapira, Yoav
Howdy, The good news is that I rechecked again, and there are two modifications required for Tomcat 5's xml regarding the invoker. And it works! Did you bother to read why the invoker servlet was commented out in the first place? ;) Yoav Shapira This e-mail, including any attachments, is a

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Shapira, Yoav
Howdy, Hello dudes, is there a way to get a servlet instance from Tomcat´s pool? Is there a replacement to getServletContext( ).getServlet( )? As always, there's a way. But is it portable/reliable/advisable? No, no, and no. Was there a reason getServlet was deprecated? Sure. Why

RE: Tomcat users

2004-03-01 Thread Shapira, Yoav
Howdy, I would like to know how many users can access Tomcat 5.0.19 per second. i.e I need to know the hit ratio. Can some one help me please? 1 zillion jillion. Or zero. Depends on if you use the -XaTonOfUsers=true java runtime option. Just kidding, of course: it depends on your webapp,

Re: ReRe: Need Help in Session Management !!!

2004-03-01 Thread Daniel Savard
Le lun 01/03/2004 à 08:58, Tim Kelly a écrit : There are missing parenthesis in the line: String user1=request.getUserPricipal.getName(); It should be String user1=request.getUserPricipal().getName(); Thats why you get the cannot resolve symbol :) Tim amit varshney wrote:

RE: Webapp on it's own port

2004-03-01 Thread Shapira, Yoav
Howdy, Is it possible to configure Tomcat (I don't care which version) so that specific webapp only runs on specific port? So going to http://localhost:8080/examples would work, but https://localhost:8443/examples would not Sure, easily. Define an Engine for that webapp only: in the Engine

RE: Web site error.

2004-03-01 Thread Shapira, Yoav
Howdy, TC Main page http://jakarta.apache.org/tomcat/ Documentation for TC5 goes to http://jakarta.apache.org/tomcat/tomcat-5.0-doc/index.html JK Documentation goes to http://jakarta.apache.org/site/binindex.cgi Oops! Check again. It does to the 4.1 JK documentation (the JK docs have been

RE: Upgrading Tomcat from 4.1.x to 5.0.x

2004-03-01 Thread Shapira, Yoav
Hi, Are there any cautions/warnings/problems or just differences that I should expect between the two? For instance, will my servlets need to change in any way to run in 5.0.x? Will administration of the servlets change in any way? If there is anything I should do to prepare for the upgrade,

Configuring tomcat logs

2004-03-01 Thread STOCKHOLM, Raymond
Does anybody know if it is possible to configure tomcat to have a RollingFileAppender (as in log4j) for its log files ? I had a no space left on device due to too many logs in $TOMCAT/logs - To unsubscribe, e-mail: [EMAIL

Re: Help tomcat problem with memory

2004-03-01 Thread software
Hi, tahnks for you help, We actually running Java Applications with JDBC connectios to the databases, we have in this moment 13 application more or less, and one of the this application is on our website, we've received connections from any sites of the internet, and we are interesting to get

Re: ReRe: Need Help in Session Management !!!

2004-03-01 Thread Tim Kelly
There are missing parenthesis in the line: String user1=request.getUserPricipal.getName(); It should be String user1=request.getUserPricipal().getName(); Thats why you get the cannot resolve symbol :) Tim amit varshney wrote: it did not work. The following error message is displayed

Form-based authentication question

2004-03-01 Thread Edd Dawson
Hi I have successfully set up tomcat to protect various parts of my application using JDBCrealm and form-based-authentication, and it all works fine. Now i have written a system whereby new users can register and it creates them their chosen username and puts them in the right roles in the

RE: Configuring tomcat logs

2004-03-01 Thread Shapira, Yoav
Hi, Does anybody know if it is possible to configure tomcat to have a RollingFileAppender (as in log4j) for its log files ? I had a no space left on device due to too many logs in $TOMCAT/logs Tomcat's logs are rotated nightly as you've probably noticed by now. The catalina.out log is simply a

Re: reclaiming memory problem

2004-03-01 Thread Christopher Schultz
G, But, when I close down a client window, the memory consumption remains at it's peak (and climbs with each successive new client opened) In other words, memory consumption increments but never decrements, necessitating a server bounce at unacceptable frequency. What is your definition of

RE: reclaiming memory problem

2004-03-01 Thread Shapira, Yoav
Hola, But, when I close down a client window, the memory consumption remains at it's peak (and climbs with each successive new client opened) In other words, memory consumption increments but never decrements, necessitating a server bounce at unacceptable frequency. What is your definition

IIS logging of page requests

2004-03-01 Thread pete . storey
Hi, I need to analyse the logs of a site powered by Tomcat 4.1.27 and IIS, using the JK2 redirector DLL. Whenever a request gets put through, it logs it to /jakarta/isapi_redirector2.dll instead of the actual URL it went to eg /index.html . Is there any way to get IIS to log the URLs as

RE: Can someone direct me to the documentation.

2004-03-01 Thread Angus Mezick
Could a link be added to the docs stating something like: Web.xml format specified at LINK? I think this type of this would be VERY helpful for deflecting clueful newbies. Only a clue hammer will help the clueless :) --Angus -Original Message- From: Derek Clarkson [mailto:[EMAIL

RE: Can someone direct me to the documentation.

2004-03-01 Thread Shapira, Yoav
Howdy, Could a link be added to the docs stating something like: Web.xml format specified at LINK? I think this type of this would be VERY helpful for deflecting clueful newbies. Only a clue hammer will help the clueless :) Where do you suggest we add this link to the servlet specification?

RE: Can someone direct me to the documentation.

2004-03-01 Thread Angus Mezick
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html In the getting started topic. I do notice a blurb about web.xml in the application developers topic stating Covers basic organization of your web application source tree, the structure of a web application archive, and an introduction to

Re: Web site error.

2004-03-01 Thread Parsons Technical Services
Yoav, The one on the left of the page does work. But if you look further down the page in the main body there is another link for JK Documentation and it points to http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ which is redirected to the

Re: Virtual Hosts with Apache and Tomcat

2004-03-01 Thread Stephen Carville
Here is some more information on the problem. From a developer: According to the document that the link below refers to, a single instance of Tomcat will have multiple JVMs, where each JVM represents a virtual host. The following link clearly states this virtual host concept as it applies to

RE: Web site error.

2004-03-01 Thread Shapira, Yoav
Hi, The one on the left of the page does work. But if you look further down the page in the main body there is another link for JK Documentation and it points to http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/ which is redirected to the

RE: Virtual Hosts with Apache and Tomcat

2004-03-01 Thread Mike Curwen
I have a sneaking suspicion that someone is still blowing smoke. ;) Either 1) the oracle pool has a leak 2) oracle server has a problem closing connections 3) you have a leak in the application. For problem 3), I find the DBCP's ability to 'tattle' on bad JSP pages/classes invaluable in

classloader order

2004-03-01 Thread Charles N. Harvey III
Hello. I have questions about the order in which jars are loaded into the classloader. I have read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html many times over and I am still confused. The Overview relates parent and children classloaders to each other. It then says

RE: Can someone direct me to the documentation.

2004-03-01 Thread Shapira, Yoav
Hi, http://jakarta.apache.org/tomcat/tomcat-4.1-doc/index.html In the getting started topic. I do notice a blurb about web.xml in the application developers topic stating Covers basic organization of your web application source tree, the structure of a web application archive, and an

RE: classloader order

2004-03-01 Thread Shapira, Yoav
Howdy, I have read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html many times over and I am still confused. The Overview relates parent and children classloaders to each other. It then says that the Java 2 way is to put the Bootstrap classloader first. It then states

RE: Configuring tomcat logs

2004-03-01 Thread STOCKHOLM, Raymond
Thank's for the explanation. -Message d'origine- De : Shapira, Yoav [mailto:[EMAIL PROTECTED] Envoyé : lundi 1 mars 2004 15:31 À : Tomcat Users List Objet : RE: Configuring tomcat logs Hi, Does anybody know if it is possible to configure tomcat to have a RollingFileAppender (as in

Session Timeout and Direct Reference to login page

2004-03-01 Thread Renato Romano
I have two problems i'm facing with every web application using declarative security model, that is: 1) Detect that the user session has expired, and forward him to an appropriate login page; Usually we build webapp in which the home page shows a login form; to handle this, I use to make a

Re: classloader order

2004-03-01 Thread Charles N. Harvey III
Yoav, Thank you so much for confirming what I had basically already figured out. I think, originally, we had other things running on our Tomcat machines (web-service processes) and it made it easier to develop apps with those jars included. I am currently asking them to move all of these jars to

RE: Virtual Hosts with Apache and Tomcat

2004-03-01 Thread Kannan Sundararajan
Being yourself as SYSADMIN for UNIX and Network, it would be nice that developers or professional should take a lead into get into this problem. It looks like that to me that it has been stepping or bossing up the developers up there. And since there is lot of techonology involved, it would be

investigating SSL Cert handshake timeout

2004-03-01 Thread Jonathan Higa
I'm running Tomcat 4.1.27 on Solaris 2.6 with JDK 1.4.0_01. I have a webapp configured to use CLIENT-CERT authentication. When I attempt to point my browser at one of the resources guarded by a security-constraint, I can select and send a client certificate, but the server throws a

RE: classloader order

2004-03-01 Thread Shapira, Yoav
Howdy, that or remove them altogether from the machine and make each webapp carry around all jars - which really isn't so terrible. No, it's really not terrible and it's likely to save you many headaches. Yoav Shapira This e-mail, including any attachments, is a confidential business

Re: 5.0.19. [Newbie] Why it doesnt run my HelloServlet

2004-03-01 Thread Nathan Gross
Shapira, Yoav wrote: Howdy, The good news is that I rechecked again, and there are two modifications required for Tomcat 5's xml regarding the invoker. And it works! Did you bother to read why the invoker servlet was commented out in the first place? ;) Yoav Shapira Yep. I

Re: Tomcat users

2004-03-01 Thread Nathan Gross
Shapira, Yoav wrote: Howdy, I would like to know how many users can access Tomcat 5.0.19 per second. i.e I need to know the hit ratio. Can some one help me please? 1 zillion jillion. Or zero. Depends on if you use the -XaTonOfUsers=true java runtime option. Just kidding, of

FW: Apache Tomcat 4.0 vs 4.1

2004-03-01 Thread John Eaton
Has no-one any ideas about my issue below? -Original Message- From: John Eaton Sent: 24 February 2004 09:17 To: [EMAIL PROTECTED] Subject: RE: Apache Tomcat 4.0 vs 4.1 The jsp page in the work directory is as follows package org.apache.jsp; import javax.servlet.*; import

jar versions

2004-03-01 Thread Charles N. Harvey III
I have one little thing that sometimes drives me crazy about most products that I download off of the internet - jar versions. There aren't any. Its not just Tomcat, its Sun. How come the j2ee.jar never has a version? Does that bother anyone else? This never really bothered me that much

RE: Tomcat users

2004-03-01 Thread Kannan Sundararajan
What are you talking about Nat? Yoav Shapira, clearly mentioned about it. It all depends on the hardware, OS etc, which you are trying to run. -Original Message- From: Nathan Gross [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 11:17 AM To: Tomcat Users List Subject: Re:

Trouble with Tomcat5, SSI and crossContext

2004-03-01 Thread Ted Gittinger
jakarta-tomcat-5.0.18 Windows 2000 I cannot get SSI (server side includes) to work from one context to another. I CAN get it to work from one context to the ROOT context but not anywhere else. I have an index.html file with the following virtual include: !--#include virtual=/zinc/bdyhdr4.txt --

Re: Trouble with Tomcat5, SSI and crossContext

2004-03-01 Thread Tarik El Berrak
hi excuse me, can you tell me how to unsubscribe from the mailing list. thankx a lot - Original Message - From: Ted Gittinger [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 01, 2004 5:29 PM Subject: Trouble with Tomcat5, SSI and crossContext jakarta-tomcat-5.0.18

RE: jar versions

2004-03-01 Thread Shapira, Yoav
Howdy, Please let's not start another flamewar on this topic of eternal debate, this mailing list is voluminous enough as it is. There are pros and cons to each side, and many debates have taken place on this and other list on this topic. Suffice it to say it's a choice the developers make.

RE: Trouble with Tomcat5, SSI and crossContext

2004-03-01 Thread Kannan Sundararajan
To unsubscribe, e-mail: [EMAIL PROTECTED] -Original Message- From: Tarik El Berrak [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 11:41 AM To: Tomcat Users List Subject: Re: Trouble with Tomcat5, SSI and crossContext hi excuse me, can you tell me how to unsubscribe from the

serving binary files

2004-03-01 Thread Vladimer Shioshvili
Does anyone have a suggestion on how to server binary files through tomcat? I am creating a binary file as a result of a request and would like to let the user download it. Just setting mime type and passing through as an attachment doesn't work as write methods of the writer seem to truncate

Simple instructions

2004-03-01 Thread Michael Forster
I am trying to learn how everything slots together with Jakarta and other things (like openejb etc) has anyone seen or could help put together the Dummys guide to Installing Configuring and Understanding Tomcat Some headers that could be used are What is in the server.xml file How do I set up

Re: jar versions

2004-03-01 Thread Charles N. Harvey III
Didn't realize it was such a heated subject. Thanks for the reference, it made some good sense. I'm definately not the type to want to start an argument, so I can live with it as is. Thanks again. Charlie Shapira, Yoav wrote: Howdy, Please let's not start another flamewar on this topic of

RE: serving binary files

2004-03-01 Thread Shapira, Yoav
Howdy, Does anyone have a suggestion on how to server binary files through tomcat? I am creating a binary file as a result of a request and would like to let the user download it. Just setting mime type and passing through as an attachment doesn't work as write methods of the writer seem to

Re: Simple instructions

2004-03-01 Thread Tarik El Berrak
hi excuse me, can you tell me can i unsubscribe from this mailig list thanks a lot - Original Message - From: Michael Forster [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Sent: Monday, March 01, 2004 5:39 PM Subject: Simple instructions I am trying to learn how everything slots

Re: jar versions

2004-03-01 Thread Tarik El Berrak
hi excuse me, can you tell me can i unsubscribe from this mailig list thanks a lot - Original Message - From: Charles N. Harvey III [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 01, 2004 5:42 PM Subject: Re: jar versions Didn't realize it was such a

Re: serving binary files

2004-03-01 Thread Tarik El Berrak
hi excuse me, can you tell me can i unsubscribe from this mailig list thanks a lot - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 01, 2004 5:43 PM Subject: RE: serving binary files Howdy, Does anyone have a

Re: Simple instructions

2004-03-01 Thread Vladimer Shioshvili
scroll down and find the email address for unsubscribing... At 12:02 PM 3/1/2004, you wrote: hi excuse me, can you tell me can i unsubscribe from this mailig list thanks a lot - Original Message - From: Michael Forster [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Sent: Monday,

Syntax Question

2004-03-01 Thread Jack Lauman
I want to add a variable to the web.xml file and be able to call in from within a servlet, taglib or bean. In a JSP 2.0 page using JSTL 1.1 I can use: %=application.getInitParameter(variable_name)% Can this be done? If so, what's the correct syntax to do it. Thanks, Jack

Re: Tomcat users

2004-03-01 Thread Nathan Gross
Simple. It's a cell-phone! Why, can't run Tomcat on a cell phone? Shucks. -nat ps. Is top-posting ok/preferred on this forum? Kannan Sundararajan wrote: What are you talking about Nat? Yoav Shapira, clearly mentioned about it. It all depends on the hardware, OS etc, which you are trying to run.

Clustering Tomcat 5.0.19

2004-03-01 Thread Duma Rolando
Hi all, I have a problem running Tomcat 5.0.19 on HP Itanium with JRockit 1.4.2. If I comment out the Cluster ReplicationValve from server.xml as mentioned in the docs, leaving the default attribute values my catalina.out shows the following exception: GRAVE: Unable to start cluster.

digester MissingResourceException

2004-03-01 Thread Erik Price
Hi, I'm running into a problem trying to start Tomcat 4.1.30 on my development machine (Win2000). I've downloaded and extracted the Tomcat 4.1.30 zip, placed it at C:\jakarta-tomcat-4.1.30, and set %CATALINA_HOME% to this directory. When I try to start Tomcat from either a DOS prompt using

RE: serving binary files

2004-03-01 Thread Vladimer Shioshvili
That worked.. Thanks a lot Yoav.. PS now accepting useless suggestions :) At 11:43 AM 3/1/2004, you wrote: Howdy, Does anyone have a suggestion on how to server binary files through tomcat? I am creating a binary file as a result of a request and would like to let the user download it. Just

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Edson Alves Pereira
I have one servlet that make a SQL query and as result build a HTML table to display in user´s browser, i´d like to create a report servlet to use servlets like my query-servlet to print ( in our project report-servlets are a little different from our query-servlets ). Then i created this

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Mike Curwen
That sort of coding is probably not the way to go about solving this particular problem (how to re-use all the work you've done in the other servlet). But assuming you leave everything as is, the question I come up with is: Why do you need an instance of a servlet, if the method you want to call

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Edson Alves Pereira
No, i made it static `cause i couldn´t get servlet instance in another servlet, that´s solved my problem, but i´d like to know if is this the best way to solve problems like that? -- De: Mike Curwen[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada:

Running seperate apps with shared components - the best way forward

2004-03-01 Thread Andrew Waters
Hi, We have a suite of applications that are all deployed under one context in Tomcat. They are related applications, and share some common java code, the odd jpeg/gif, css files and (external) configuration files. However, as running applications, they do not interact with each other in

RE: Running seperate apps with shared components - the best way forward

2004-03-01 Thread Shapira, Yoav
Howdy, You can have a context for common static resources, or you could have copies of these static resources with every webapp (on the assumption that disk space is cheap and you're not working on some mobile/j2me platform). If you see a need in the future to independently

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Erik Price
--- Edson Alves Pereira [EMAIL PROTECTED] wrote: No, i made it static `cause i couldn´t get servlet instance in another servlet, that´s solved my problem, but i´d like to know if is this the best way to solve problems like that? Doesn't it seem like you could refactor that

Do servlet threads ever die?

2004-03-01 Thread Kenneth H. Cox
Problem: I call native code (Tcl) from my servlet. Tcl's thread model forces me to run Tcl only on the thread that created the Tcl interpreter. So now how do I cleanup these interpreters? The cleanup code needs to be run on the creating thread. I am using Tomcat 5. Do servlet threads ever

RE: Tomcat users

2004-03-01 Thread Kannan Sundararajan
That was not question posted on the initial thread. If you want to know about yours please start a different thread, rather than deviating this thread. Please try to read this again. The question posted by user was Hello, I would like to know how many users can access Tomcat 5.0.19 per second.

RE: Clustering Tomcat 5.0.19

2004-03-01 Thread Filip Hanik \(lists\)
works just fine for me. The configuration file changed between version 0.16 and 0.19, so make sure you have the 0.19 server.xml Filip -Original Message- From: Duma Rolando [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 9:22 AM To: [EMAIL PROTECTED] Subject: Clustering Tomcat

Difference found with jsp:include when migrating from 4.1.X to 5.0.18

2004-03-01 Thread Steve Burns
In our deployment we have hundreds of jsp files with static include statements, like !-- style 1 -- jsp:include page=SomeOtherJspFile.jsp flush=true /jsp:include Instead of shortening this to: !-- style 2 -- jsp:include page=SomeOtherJspFile.jsp flush=true/ we decided in our jsp coding

Re: Running seperate apps with shared components - the best way forward

2004-03-01 Thread Josh Rehman
This would require pointing to static resources in the new static context in both applications, right? Or is there a way (or a reason) to have tomcat serve up those resources as appearing under the same context? Shapira, Yoav wrote: Howdy, You can have a context for common static resources, or

RE: Difference found with jsp:include when migrating from 4.1.X to 5.0.18

2004-03-01 Thread Shapira, Yoav
Hi, I'll preface this by saying I'm not a JSP expert and don't use them frequently, so I could be wrong. That said, the JSP Specification v2.0 (which tomcat 5.x implements: tomcat 4.1.x implements the JSP Specification v1.2), section JSP.5.4 (page 1-110), explains the differences between the two

Re: Difference found with jsp:include when migrating from 4.1.X to 5.0.18

2004-03-01 Thread Tim Funk
Here's why: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25448 -Tim Steve Burns wrote: In our deployment we have hundreds of jsp files with static include statements, like !-- style 1 -- jsp:include page=SomeOtherJspFile.jsp flush=true /jsp:include Instead of shortening this to: !-- style

RE: how can i get a servlet instance from ServletPool

2004-03-01 Thread Edson Alves Pereira
Maybe i really should put those static methods in Java objects, in that way will get easyer to share with other servlets. It´s plain to see, you right. -- De: Erik Price[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: segunda-feira, 1 de março de 2004

Tomcat5 MBeans/JMX context creation

2004-03-01 Thread Randy Watler
I am currently experimenting with the Java 1.5 remote JMX/MBeans for use in our build process. In particular, I am attempting to install a new context in a running Tomcat5.18 server using an external Ant task/application, (without using the manager webapp). I found code in the admin webapp to

Re: Running seperate apps with shared components - the best way forward

2004-03-01 Thread Andrew Waters
Obviously solution really :-), doh! Thanks Yoav. Shapira, Yoav wrote: Howdy, You can have a context for common static resources, or you could have copies of these static resources with every webapp (on the assumption that disk space is cheap and you're not working on some mobile/j2me platform).

Re: Simple instructions

2004-03-01 Thread Rick Umali
Michael: I am trying to learn how everything slots together with Jakarta and other things (like openejb etc) has anyone seen or could help put together the Dummys guide to Installing Configuring and Understanding Tomcat I'm on a similar learning curve, experimenting and playing with Tomcat

Securing SSL from IIS to Tomcat

2004-03-01 Thread John MccLain
Since IIS decrypts the request and passes it unencrypted to Tomcat, How do I encrypt the request so that all communication from IIS with Tomcat is secure??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread Joe Miller
Hello, I'm experiencing sporadic crashing of the JVM running Tomcat in 2 of my environments. These environments both run the same webapps, and they both use JDK 1.4.2_03 on RHEL-3 ES. Other environments where these same webapps run are using JDK 1.4.1 and Redhat7.2, and are not experiencing

Re: serving binary files

2004-03-01 Thread Antonio Fiol Bonnín
Vladimer Shioshvili wrote: Does anyone have a suggestion on how to server binary files through tomcat? I am creating a binary file as a result of a request and would like to let the user download it. Just setting mime type and passing through as an attachment doesn't work as write methods of

RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread Kannan Sundararajan
Did you load test these servers? -Original Message- From: Joe Miller [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 1:37 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.1.29 JVM crash on RHEL-3-ES Hello, I'm experiencing sporadic crashing of the JVM running Tomcat in 2 of my

Re: Tomcat5 MBeans/JMX context creation

2004-03-01 Thread Remy Maucherat
Randy Watler wrote: I am currently experimenting with the Java 1.5 remote JMX/MBeans for use in our build process. In particular, I am attempting to install a new context in a running Tomcat5.18 server using an external Ant task/application, (without using the manager webapp). I found code in

Re: Do servlet threads ever die?

2004-03-01 Thread Antonio Fiol Bonnn
Hi, Threads may die... depending on your config. You can use the Servlet#destroy() method. (Not Tomcat-specific) Yours, Antonio Fiol Kenneth H. Cox wrote: Problem: I call native code (Tcl) from my servlet. Tcl's thread model forces me to run Tcl only on the thread that created the Tcl

Re: Securing SSL from IIS to Tomcat

2004-03-01 Thread Antonio Fiol Bonnín
John MccLain wrote: Since IIS decrypts the request and passes it unencrypted to Tomcat, How do I encrypt the request so that all communication from IIS with Tomcat is secure??? Do you really need it? It would probably affect your performance seriously. (No, I cannot prove that statement...)

RE: Securing SSL from IIS to Tomcat

2004-03-01 Thread Kannan Sundararajan
I doubt any has that kind of need. If that is the case, then everyone will pull their brains out. If we are worried about the IIS having SSL with Tomcat, then how about SSL between database and Tomcat. How about query tools used in database ( secured query tool? , I dont know who has like this).

RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread jmiller
The servers are only being used internally for testing at the moment. As best I can tell, the crashes occur at night when nothing (or very few people) are using the them. Original Message Subject: RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES From: Kannan Sundararajan [EMAIL

RE: Tomcat 4.1.29 JVM crash on RHEL-3-ES

2004-03-01 Thread Kannan Sundararajan
Did you go thru some profilers. 1. Which version of JVM you are running. 2. What is your hardware OS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 3:04 PM To: Tomcat Users List Cc: 'Tomcat Users List' Subject: RE: Tomcat 4.1.29 JVM

application unavailable

2004-03-01 Thread Jason Keltz
Hi. If I try to start up a web application and there's an error in web.xml, the tomcat server marks the application unavailable. Even after fixing the problem, I can't seem to make the application available until restarting the tomcat server. I'm sure there must be *some* file I can erase, or

RE: application unavailable

2004-03-01 Thread Shapira, Yoav
Howdy, If I try to start up a web application and there's an error in web.xml, the tomcat server marks the application unavailable. Even after fixing the problem, I can't seem to make the application available until restarting the tomcat server. I'm sure there must be *some* file I can erase,

RE: application unavailable

2004-03-01 Thread Jason Keltz
On Mon, 1 Mar 2004, Shapira, Yoav wrote: Don't be so sure ;) You can use the manager webapp (either graphically or via ant), you can write some custom JMX code in another webapps, or you can restart the server, but there are no other options. ... the problem is that I'm trying to run one

RE: application unavailable

2004-03-01 Thread Yansheng Lin
wow coool! If I make a mistake, I can get the whole class off. hehe:). -Original Message- From: Jason Keltz [mailto:[EMAIL PROTECTED] Sent: Monday, March 01, 2004 1:51 PM To: [EMAIL PROTECTED] Subject: RE: application unavailable On Mon, 1 Mar 2004, Shapira, Yoav wrote: Don't be

RE: application unavailable

2004-03-01 Thread Justin Ruthenbeck
At 12:50 PM 3/1/2004, you wrote: On Mon, 1 Mar 2004, Shapira, Yoav wrote: Don't be so sure ;) You can use the manager webapp (either graphically or via ant), you can write some custom JMX code in another webapps, or you can restart the server, but there are no other options. ... the

application unavailable

2004-03-01 Thread Shapira, Yoav
Hi, ... the problem is that I'm trying to run one tomcat server for a large group of students. I can handle the deploy/undeploy part, but if a student makes an error in their web.xml file, which is bound to happen, I don't want to have to restart the server. I'll need to look at a way to wrap

RE: application unavailable

2004-03-01 Thread Jason Keltz
Hi Justin, That's exactly the kind of thing I want to do. However, I just tried to use the manager app to restart my failed Hello example. When the context was up, the reload worked fine. However, when the context died because of an intentional error in web.xml, I get an error from manager:

RE: Cluster error when starting up web application

2004-03-01 Thread Filip Hanik \(lists\)
I just committed a fix into CVS, I didn't change the tellNew, instead I moved setValid(true) before I called tellNew() during session creation. Filip -Original Message- From: Aadi Deshpande [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 10:36 PM To: Tomcat Users List

  1   2   >