!!! Virus alerT !!!

2004-04-09 Thread Mail Antivirus System
VIRUS ALERT == The following message had attachment(s) which contained suspicious objects: Sender : [EMAIL PROTECTED] Recipients : [EMAIL PROTECTED] Date :

Re: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-09 Thread prasad chaturvedula
Hi Can pleae you give me pointers to solutions to the problem of a null for teh driverclass name, there seems to be no solution in the archives till date. Thanks. Prasad --- MARU, SOHIL (SBCSI) [EMAIL PROTECTED] wrote: Hello All, I have been scouring the mailing list archives and lot of

RE : Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-09 Thread Philippe Couas
Hi Have you add allowLinking=true in your Context path ? Philippe -Message d'origine- De : Kam Lung Leung [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 avril 2004 23:54 À : [EMAIL PROTECTED] Objet : Can someone help me

RE: Session behaviour across http/https boundary

2004-04-09 Thread Martin Alley
Hi Bill, Thanks for clarifying. BTW Do you know if this policy in the browser, or if tomcat uses the refer header to implement it on the server? Thanks Martin -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: 09 April 2004 06:22 To: [EMAIL

problem with authentication with sapdb 7.4

2004-04-09 Thread giovanni cortese
Hi we have the following problem. When performing login we get at times Authentication error. It happens when the database connection timeout expires. sapdbc performs the reconnect, but the jdbc driver of sapdb 7.4 seems to throw a Timeout exception anyway. Tomact redirects to the error page.

JNDI/MYSQL - Too many connections

2004-04-09 Thread Josh G
Hi, I'm getting this error after a while from tomcat, even though we're running removeAbandoned, and every connection opened is explicitly closed: Unrecoverable exception. Reason: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: Server connection

How to start a Realm from a servlet or a filter

2004-04-09 Thread Zsolt Koppany
Hi, because of technical reasons I want to start a Realm class during run-time, thus I cannot just configure Realm via Realm When I try to start MemoryRealm I get a null pointer exception, because the container of Realm is not set. The application does work (because I catch the exception) but

tomcat 4 vs 5 form based container auth filters

2004-04-09 Thread Martin Alley
Hi, Initial observation indicates that filters get executed when a form for form based container auth is served - under tomcat 4, but not under tomcat 5. I'm using sitemesh. The decorations go on the form based login page under tomcat 4, but not under tomcat 5. I need to do more research,

Returned Mail: Error During Delivery

2004-04-09 Thread Webshield . SMTP . V4 . 5 . MR1a . Mail . Service
-- Here is your List of Failed Recipients -- [EMAIL PROTECTED] Requested action not taken: mailbox unavailable. [SMTP Error Code 550] Here Is Your Returned Mail Received: FROM mailgate3.nec.co.jp BY oms.isop.yh.nec.co.jp ; Fri Apr 09 19:10:43 2004 +0900 Received:

Re: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-09 Thread Parsons Technical Services
Prasad, I DID. Did you miss it? Here it is again. First check you logs and see if any error messages are showing up. As a just for kicks try thing, move the username up in the configuration to before the password. Crazy thing but it caused mine to not see the password. I don't think you will

Re: JNDI/MYSQL - Too many connections

2004-04-09 Thread Parsons Technical Services
Josh, Two things come to mind: 1. You are running out of connections. DUH What I mean is that you have more requests for connections than connections. Probably not your case but had to point it out. 2. You have a leak and are not recovering the abandoned connections fast enough. Going on point

upload file with non-ascii characters in name

2004-04-09 Thread Ronald Klop
Hello, When I run Tomcat on Windows and upload (with IE)a file with non-ascii characters in the filename it goes well.But when I run Tomcat on Linux and do the same upload it doesn't recognize the non-ascii characters and prints them as squares or question mark. Does anybody have experience with

Re: Session behaviour across http/https boundary

2004-04-09 Thread Sandy McArthur
On Apr 9, 2004, at 3:28 AM, Martin Alley wrote: BTW Do you know if this policy in the browser, or if tomcat uses the refer header to implement it on the server? This is probably a side effect of the way cookies work. A cookie can have a 'secure' flag set, which means it won't get sent over a

Hi, it's me

2004-04-09 Thread tomcat-user
Norton AntiVirus gelöscht1.txt Description: plain/text - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

(Query)Running Program on Tomcat

2004-04-09 Thread mohit agarwal
Hello, Please help me come out of this problem. The environment i m having is: Operating System - Windows XP J2sdk1.4.2_04 Tomcat 5.0.19 I am able to compile my servlet program, but when it comes to running it i got the HTTP Status Error 404 which points to file not found. I came to

RE: (Query)Running Program on Tomcat

2004-04-09 Thread Shapira, Yoav
Hi, What is your servlet's mapping and what is the URL you're using to access the servlet? Do you have any errors in your logs? You don't need to map JSPs pages, the JSP servlet automagically handles that for you. Yoav Shapira Millennium Research Informatics -Original Message- From:

Tomcat/Web application conf: status code 404 versus status code 302 + 200

2004-04-09 Thread Farid C
Good Morning We use Tomcat 5.0.18 with 2 instances: A) For the both instances, we catch the 404 status code returned in the http response to display an index page. file web.xml: error-page error-code404/error-code location/index.jsp/location /error-page B) If a web browser asks a non existing

can iframe include files in web-inf folder?

2004-04-09 Thread bjyang_dream
1.in my jsp page information.jsp I do this: iframe width=100% height=400 frameborder=1 scrolling=Auto src=/web-inf/test.jsp but when the Tomcat 5.0 just tell me that such page is not available. 2.Then i try another way. i created another page called import page,in this page: c:import

Re: can iframe include files in web-inf folder?

2004-04-09 Thread Matt Woodings
Do you run this through apache or other http server? The reason that I ask is that the jsp file could have restricted access from the outside world because it is in the WEB-INF folder. As a pointer, I wouldn't put you want to be seen by the outside world under the WEB-INF folder. You need to

RE: can iframe include files in web-inf folder?

2004-04-09 Thread Shapira, Yoav
(BHi, (BPer the servlet spec, a servlet container is not allowed to serve content under (B/WEB-INF to the browser. That's why your normal HTML links and references like (Bsrc="/WEB-INF/xxx" fail. You can get around this (but you shouldn't) by streaming the (Bcontent yourself using your

tomcat 3.3 and jstl

2004-04-09 Thread Peter Bosmans
Hi all, Short question. I'm using JSTL within tomcat3.3, but i've got the next error message : org.apache.jasper.compiler.CompileException: D:\jakarta-tomcat-3.3.2\webapps\standard-examples\elsupport\Out.jsp(10,2) Unable to load class null Is it possible to use JSTL with tomcat3.3 ? If so,

No Suitable Driver Problem

2004-04-09 Thread MARU, SOHIL (SBCSI)
Hey Doug, I tried moving the username up, still does not work, any other clues, am still stumped. Thanks, Sohil Server.xml Context path=/loa docBase=C:\software\eclipse\workspace\HRTechnology\TOMCAT_ROOT reloadable=true

RE: Known problem with tomcat, jndi datasourc - PLEASE HELP

2004-04-09 Thread MARU, SOHIL (SBCSI)
Prasad, My internet access is down right now, as soon as I get that up and running I will send you a link to the archives where I saw a thread regarding your problem. Thanks, Sohil -Original Message- From: prasad chaturvedula [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 1:50

How to hack up a custom session tracking method.

2004-04-09 Thread Sandy McArthur
For the curios I was able to hack a custom session tracking method with Valve and overriding two methods in StandardManager. There are a few ways to do this but this was easiest for me. Hopefully it will help someone who has weird requirements on sessions. First create a Valve and in the

Need help

2004-04-09 Thread chandras
sir, i installed tomcat5 the path also specified correctly. but when executing the examples the following exception is thrown. please do help. message description The server encountered an internal error () that prevented it from fulfilling this request. exception

RE: DefaultServlet character encoding

2004-04-09 Thread Mark Thomas
Hi, Tomcat ignores META tags (for good reasons I won't go in to). Use %@ page pagEncoding=... %. Mark -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 7:11 PM To: [EMAIL PROTECTED] Subject: DefaultServlet character encoding

RE: DefaultServlet character encoding

2004-04-09 Thread Allistair Crossley
or specify -Dfile.encoding=UTF or whatever in your tomcat startup -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 09 April 2004 16:55 To: 'Tomcat Users List' Subject: RE: DefaultServlet character encoding Hi, Tomcat ignores META tags (for good reasons I won't go in

RE: Session behaviour across http/https boundary

2004-04-09 Thread Mark Thomas
This is implemented within tomcat. Mark -Original Message- From: Martin Alley [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 8:28 AM To: 'Tomcat Users List' Subject: RE: Session behaviour across http/https boundary Hi Bill, Thanks for clarifying. BTW Do you know

Link to the archive

2004-04-09 Thread MARU, SOHIL (SBCSI)
Hey Prasad, here is the Link to the archive http://www.mail-archive.com/[EMAIL PROTECTED]/msg04803.htm l - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DefaultServlet character encoding

2004-04-09 Thread Matt Woodings
if your tomcat is a NT Service, this needs to go in the registry HKLM/System/ControlSet001/Services/Apache Tomcat xxx/Parameters/JVM Option Number n also updating the JVM Option Count you should see the other parameters there, just follow these as an example when adding your new one Matt

RE: DefaultServlet character encoding

2004-04-09 Thread Allistair Crossley
I just alter the service.bat file to include this option and then reinstall the service :) -Original Message- From: Matt Woodings [mailto:[EMAIL PROTECTED] Sent: 09 April 2004 17:08 To: Tomcat Users List Subject: Re: DefaultServlet character encoding if your tomcat is a NT Service,

RE: No Suitable Driver Problem

2004-04-09 Thread Daniel Huang
Please double check and make sure your ojdbc.jar is in $CATALINA_HOME/common/lib. -Original Message- From: MARU, SOHIL (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 8:02 AM To: [EMAIL PROTECTED] Subject: No Suitable Driver Problem Hey Doug, I tried moving the username

RE: No Suitable Driver Problem

2004-04-09 Thread MARU, SOHIL (SBCSI)
Hi Daniel, I managed to solve this one, my database url was missing the schema name, that was causing the problem. I changed it from jdbc:oracle:[EMAIL PROTECTED] To jdbc:oracle:thin:[EMAIL PROTECTED] But it is still throwing an exception though a different one. Any pointers?

RE: No Suitable Driver Problem

2004-04-09 Thread MARU, SOHIL (SBCSI)
Never mind, even though I am using jdk1.4 and tomcat5.0, I had to replace ojdbc14.jar with classes version to get it to work. -Original Message- From: MARU, SOHIL (SBCSI) Sent: Friday, April 09, 2004 11:26 AM To: 'Tomcat Users List' Subject: RE: No Suitable Driver Problem Hi Daniel,

RE: How to start a Realm from a servlet or a filter

2004-04-09 Thread Daniel Huang
Realm is not accessible to servlet or filter. In anther word, you can't do what you are trying to do. Let's suppose for a second that your code could work, then I can write a servlet to replace your realm or any realm tomcat is using. And image what could happen if the tomcat manager interface is

Re: No Suitable Driver Problem

2004-04-09 Thread Parsons Technical Services
Sohil, At what line in your code is it blowing up? As a follow up, once you have it all fixed would try the username back at the bottom to see if it breaks it again? I'm running MySQL so I didn't spot the error, sorry. Doug - Original Message - From: MARU, SOHIL (SBCSI) [EMAIL

Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
streaming the content yourself using your own code, or in this case your Struts code. Couled more detials please? bjyang [EMAIL PROTECTED] 2004-04-10 Hi, Per the servlet spec, a servlet container is not allowed to serve

Re: DefaultServlet character encoding

2004-04-09 Thread Hassan Schroeder
Mark Thomas wrote: Tomcat ignores META tags (for good reasons I won't go in to). Use %@ page pagEncoding=... %. ...which doesn't work for static HTML pages, where I'm having the problem... Allistair Crossley wrote: or specify -Dfile.encoding=UTF or whatever in your tomcat startup ..which I

Re: Re: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
Thanks,Matt! I work with Tomcat 5.0 and I do need to access files in the Web-inf folder. Would you tell me,how can i manage to do that? Thank you again. Do you run this through apache or other http server? The reason that I ask is that the jsp file could have restricted access from

RE: Tomcat/Web application conf: status code 404 versus status code 302 + 200

2004-04-09 Thread Daniel Huang
If you don't want tomcat to serve your /index.jsp when 404 is encountered, just remove the error-page config from your web.xml. Is this what you are asking? Not sure I got your question right. Regards, Daniel -Original Message- From: Farid C [mailto:[EMAIL PROTECTED] Sent: Friday, April

Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread Parsons Technical Services
bjyang, The jvm running under Tomcat can read any file with the standard file read/write operations provided in the Java api as long as the user that the jvm is running as has rights to that file. So write a servlet that receives the request reads the file from the directory and the streams it

RE: How to start a Realm from a servlet or a filter

2004-04-09 Thread Shapira, Yoav
Hi, Realm is not accessible to servlet or filter. In anther word, you can't do what you are trying to do. How authoritative and conclusive. And wrong. Realms and all other tomcat internals are accessible to any code you write. You just have to mark your webapp as privileged and in some

RE: How to start a Realm from a servlet or a filter

2004-04-09 Thread Zsolt Koppany
Hi Yoav, How authoritative and conclusive. And wrong. Realms and all other tomcat internals are accessible to any code you write. You just have to mark your webapp as privileged and in some instances (depending on your code) place portions of your code in the common rather than your

RE: RE: can iframe include files in web-inf folder?

2004-04-09 Thread Shapira, Yoav
Hi, streaming the content yourself using your own code, or in this case your Struts code. Couled more detials please? a href=WEB-INF/someFile.txtClick Here!/a would lead to a 404 if the user clicks on it as I previously explained. Now imagine a servlet: public class BadServlet extends

RE: How to start a Realm from a servlet or a filter

2004-04-09 Thread Shapira, Yoav
Hi, And how can I access or start a Realm? What is up with this list? Do people don't know how to read JavaDocs, or do they simply not care? Sigh... Server server = ServerFactory.getServer(); Service service = server.findService(Catalina); Container serviceContainer = service.getContainer();

Re: Re: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
Thanks,Doug! Let me try,since it looks a bit trouble to write a servlet to do that. I do get the file in web-inf folder with jsp:include,but failed to make it flush in the iframe. Thans again. bjyang, The jvm running under Tomcat can read any file with the standard file read/write operations

Re: RE: RE: can iframe include files in web-inf folder?

2004-04-09 Thread bjyang
haha,May be i have to persuade my boss the point you've illustrated enoughly Hi, streaming the content yourself using your own code, or in this case your Struts code. Couled more detials please? a href=WEB-INF/someFile.txtClick Here!/a would lead to a 404 if the user clicks on it as I

Yoav --RE: TC 5 production use

2004-04-09 Thread Norris Shelton
What are you thoughts on a JBoss 4 setup? Do you still recommend staying away from Apache? --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, I'm using it in production, no issues. But then again I steer clear of the practices that tend to cause issues frequently: I don't redeploy my

OT How many subscribers to the list?

2004-04-09 Thread Parsons Technical Services
How many subscribers are there to the list? Just a ballpark idea. I have a idea but before I get athletes mouth I thought might see if it's feasible. Doug - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Shapira, Yoav
Hi, What are you thoughts on a JBoss 4 setup? Do you still recommend staying away from Apache? I don't have thoughts on JBoss 4 setup. I recommend what I always have: evaluate your needs carefully and don't make design or deployment decisions, such as placing Apache in front of tomcat,

RE: OT How many subscribers to the list?

2004-04-09 Thread Shapira, Yoav
Howdy, I don't know, and the ezmlm command to find out is disabled by default even for moderators. I do know (from http://nagoya.apache.org/eyebrowse) that this is the biggest Apache list in terms of total messages (143K) and total distinct posters (19K). Yoav Shapira Millennium Research

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Evgeny Gesin
Yoav, I use Apache in front of Tomcat a long ago and see no problems? BTW, Apache executes all static content, such as image files. Why you don't recommend Apache? -- Evgeny Javadesk --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, What are you thoughts on a JBoss 4 setup? Do you still

RE: Tomcat/Web application conf: status code 404 versus status code 302 + 200

2004-04-09 Thread Farid C
Good evening I want that it serve the /index.jsp file when a page is not found but as I described (see below) I need a 404 status code in the http response header. thank you for any advise F --- Daniel Huang [EMAIL PROTECTED] a écrit : If you don't want tomcat to serve your /index.jsp when

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Shapira, Yoav
Hi, I use Apache in front of Tomcat a long ago and see no problems? BTW, Apache executes all static content, such as image files. Why you don't recommend Apache? Again, that's not what I said. You just have to evaluate your requirements carefully. Various factors like the content mix (%static

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Evgeny Gesin
Hi, --- Shapira, Yoav [EMAIL PROTECTED] wrote: Again, that's not what I said. You just have to evaluate your requirements carefully. Various factors like the content mix (%static vs. %dynamic), scalability requirements, SSL load, and others all figure into this decision. Apache is web

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Daniel Gibby
If only tomcat had the mod_rewrite capabilities that apache does, and strong perl and php performance, I would be glad to trash mod_jk (thus getting rid of apache as well). Are there any good rewrite-like capabilities available for URL matching / rewriting that someone could share? I'm sure a

RE: Getting basic Logging up and running

2004-04-09 Thread Jason Palmatier
Thank you very much Yoav! I actually ended up just adding the following lines to startup.sh instead of creating the configuration file commons-logging.properties : export -s CATALINA_OPTS=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Josh Rehman
Daniel Gibby wrote: If only tomcat had the mod_rewrite capabilities that apache does, and strong perl and php performance, I would be glad to trash mod_jk (thus getting rid of apache as well). Would this work for you as a mod_rewrite replacement? http://noodle.tigris.org/ (perl php support

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Shapira, Yoav
Hi, Apache is web server, but Tomcat is not, while Tomcat is a web server: all that a piece of software needs to do in order to be a web server is implement the HTTP protocol, which tomcat does. It is not a problem with JK connector, I don't use JK2. It's not a problem for you, and not for

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Shapira, Yoav
Hi, If only tomcat had the mod_rewrite capabilities that apache does, and strong perl and php performance, I would be glad to trash mod_jk (thus getting rid of apache as well). This is a good example of something that hits on Apache's strong points: perl, mod_php, rewriting. So it's probably

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Daniel Gibby
Also, I definitely don't want to be changing the configuration whenever I have a new partner that needs another cobranded version of the webapp (meaning I would need to give them their own hostname or subdomain... Can tomcat be setup to allow a VirtualHost to accept multiple domain names?

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Tom . Williams
One issue I've had with using an Apache front-end to Tomcat 4 and 5 is having to restart Apache if I need to restart Tomcat. So, if I have Apache 2 w/ mod_jk2 connected to Tomcat 5 and I deploy a new webapp using the Tomcat Manager web interface I have to restart Tomcat after using the

mod_rewrite replacement within tomcat

2004-04-09 Thread Daniel Gibby
If only tomcat had the mod_rewrite capabilities that apache does, and strong perl and php performance, I would be glad to trash mod_jk (thus getting rid of apache as well). Are there any good rewrite-like capabilities available for URL matching / rewriting that someone could share? I'm sure a

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Tom . Williams
Is Tomcat considered to *be* a web server vs *having* a web server? I thought the HTTP connector was the way to connect HTTP clients (browsers) to the JSP/Servlet container. Peace... Tom Shapira,

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Shapira, Yoav
Hi, (perl php support in any servlet container seems...unlikely :) PHP, not so unlikely ;) http://wiki.apache.org/jakarta-tomcat/UsingPhp http://marc.theaimsgroup.com/?l=tomcat-devm=108099227127507w=2 http://www.jcp.org/en/jsr/detail?id=223 As for perl, you can do it through CGI. Yoav

Tomcat5/IIS6/ Virtual host to subdir problem

2004-04-09 Thread Fedor Smirnoff
I am running IIS6 with Tomcat 5 and jspISAPI to connect the two. I been trying to setup virtual hosting with no luck for the past 2 days. I know how to do so that a domain name user.com goes to a standalone java application in Tomcat/webapps/userApp but what I actually need to do is to have all

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Shapira, Yoav
Hi, Is Tomcat considered to *be* a web server vs *having* a web server? I thought the HTTP connector was the way to connect HTTP clients (browsers) to the JSP/Servlet container. Purely a philosophical question IMHO ;) Technically, a piece of software that can respond to HTTP requests per the

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Parsons Technical Services
Since the fire is burning I'll add my load (of what you can decide). Equate it to buying a vehicle. Car SUV Truck Van Motorcycle Tractor-Trailer 2wd 4wd Awd Each has features the other don't. Each can serve multiple purposes. NONE can serve ALL purposes. Look at your needs. Pick the best one.

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Josh Rehman
Shapira, Yoav wrote: Hi, (perl php support in any servlet container seems...unlikely :) PHP, not so unlikely ;) http://wiki.apache.org/jakarta-tomcat/UsingPhp Fascinating - I'd love to know what the web.xml looks like and what the server looks like. I'd guess the php servlet is a very simple

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Parsons Technical Services
Having something implies that you could lose that something and not change what it is. Thus Tomcat would *be* a web server. For without it , it would not be fundamentally the same. As said this is a Purely a philosophical question . And as I said in other post, this is my opinion. Feel free to

RE: tomcat 3.3 and jstl

2004-04-09 Thread Larry Isaacs
I believe JSTL expects JSP 1.2 support. Tomcat 3.3.x provides JSP 1.1. I think the simplest choice to use JSTL is to upgrade your Tomcat. Cheers, Larry -Original Message- From: Peter Bosmans [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 10:39 AM To: [EMAIL PROTECTED]

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Remy Maucherat
Norris Shelton wrote: What are you thoughts on a JBoss 4 setup? Do you still recommend staying away from Apache? JBoss 4 is alpha for now. I recommend trying JBoss 3.2.4 RC 1 if you want something more stable. -- x Rémy Maucherat Developer Consultant JBoss Group

RE: Yoav --RE: TC 5 production use

2004-04-09 Thread Mladen Turk
-Original Message- From: Josh Rehman (perl php support in any servlet container seems...unlikely :) But don't put your money on it. Perhaps we'll surprise few peoples :-) MT. - To unsubscribe, e-mail: [EMAIL

Re: Yoav --RE: TC 5 production use

2004-04-09 Thread Denis Haskin
Also keep in mind that Apache isn't the *only* thing you can put in front of Tomcat. grin While we do have Apache in the mix (for some legacy apps), we also run Squid [1] in reverse-proxy mode in front of *that* to (a) reduce response time on cachable content and (b) remove some of the load

[OFF-TOPIC] Chiba

2004-04-09 Thread Shapira, Yoav
Hi, Does anyone use Chiba (http://chiba.sourceforge.net/) in production? If so, please share your experience, opinions, thoughts, etc. Yoav Shapira Millennium Research Informatics This e-mail, including any attachments, is a confidential business communication, and may contain information

RE: How to start a Realm from a servlet or a filter

2004-04-09 Thread Zsolt Koppany
Yoav, I have written this code, but srv is always an empty array. I use tomcat-5.0.19 Server server = ServerFactory.getServer(); Service service = server.findService(Catalina); Service[] srv = server.findServices(); for (int i = 0; i srv.length; i++) {

Re: mod_rewrite replacement within tomcat

2004-04-09 Thread Duane Burchell
On Fri, 9 Apr 2004, Daniel Gibby wrote: If only tomcat had the mod_rewrite capabilities that apache does, and strong perl and php performance, I would be glad to trash mod_jk (thus getting rid of apache as well). http://tuckey.org Look for his urlrewriter. It is a java implementation of

Multi Threads

2004-04-09 Thread shyam
Hi all, I have a question. When tomcat starts , I have a loadonstartup servlet which creates new thread and this thread will not die. Now the question is when I shut down tomcat , I want this thread to die . I want to know how tomcat notifies its sub processes about the shut down. Currently

jdk1.4 tomcat5 log4j finds java.util.logging Logger not log4j

2004-04-09 Thread Robert . Walker
hi all I am running tomcat 5, with jdk 1.4 and have not changed any of the jar directories (server/lib or common/lib) by adding my log4j.jar and the problem is when I got log, it is finding the jdk1.4 logging and not log4j. I have do log4j.jar in my WEB-INF/lib below is my init log4j init

Re: Multi Threads

2004-04-09 Thread QM
On Fri, Apr 09, 2004 at 03:29:47PM -0400, shyam wrote: : I have a question. When tomcat starts , I have a loadonstartup servlet : which creates new thread and this thread will not die. Now the question : is when I shut down tomcat , I want this thread to die . I want to know : how tomcat notifies

RE: jdk1.4 tomcat5 log4j finds java.util.logging Logger not log4j

2004-04-09 Thread D'Alessandro, Arthur
What are your imports? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Fri Apr 09 16:58:08 2004 To: [EMAIL PROTECTED] Subject:jdk1.4 tomcat5 log4j finds java.util.logging Logger not log4j hi all I am running tomcat 5, with jdk 1.4 and have

Struts with Tomcat and Apache

2004-04-09 Thread Ralf Schneider
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts documentation only talks about Tomcat 3.x. My first try was to follow the instructions for Tomcat 3.2.1. I copied the war files included with the binary distribution

RE: Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-09 Thread Kam Lung Leung
Thank Subir, The link does help me to fix the problem. After creating a context for my web component DistributedInputOutput in the server.xml file. Tomcat is no longer unpack my web componemt DistributeInputOutput.war at startup. Tomcat complains the directory is not accessible. In fact Tomcat

RE: Struts with Tomcat and Apache

2004-04-09 Thread John Thompson
Ralf, I'm not familiar with the document you refer to but Struts is essentially a library of functions and JSP tags that are part of your servlet. Neither the Tomcat nor Apache configurations are really affected by Struts. The documents at http://jakarta.apache.org/struts/ talk about how to put

RE: Struts with Tomcat and Apache

2004-04-09 Thread David Short
Hey John, When you get home, would you mind posting the names of the books? Thanks, Dave -Original Message- From: John Thompson [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 2:55 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Struts with Tomcat and Apache Ralf,

Unexpected tomcat 4.1.27-30 shutdown problem

2004-04-09 Thread Nocera, Andrew A (Andy), ALABS
Hi, I am running tomcat 4.1.27/29/30 on a Solaris 5.7 or 5.8 and it shutsdown for no apparent reason. Sometimes it can go for hours without a problem, othetimes it stops much sooner. There is no obvious error, just a shutdown. The same code built on another Solaris box and/or HPUX runs

RE: Struts with Tomcat and Apache

2004-04-09 Thread John Thompson
You bet. One is at home and the other at the office. I'll post as soon as I can. -Original Message- From: David Short [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 5:02 PM To: 'Tomcat Users List' Subject: RE: Struts with Tomcat and Apache Hey John, When you get home, would

Re: Struts with Tomcat and Apache

2004-04-09 Thread QM
On Fri, Apr 09, 2004 at 11:38:38PM +0200, Ralf Schneider wrote: : I want to use Struts 1.1 with Tomcat 5.0.16 and Apache 2.0.48. The Struts : documentation only talks about Tomcat 3.x. Setting up Apache+Tomcat and Tomcat+Struts are two separate processes that don't necessarily have to be done at

RE: Struts with Tomcat and Apache

2004-04-09 Thread David Short
Would also mind stating which one you recommend the most? -Original Message- From: John Thompson [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 3:03 PM To: 'Tomcat Users List'; [EMAIL PROTECTED] Subject: RE: Struts with Tomcat and Apache You bet. One is at home and the other at

RE: Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-09 Thread Subir Sengupta
Kam, Your war file should still get unpacked. Having a context defined will not affect that. You probably have a misconfiguration in your server.xml. If you post your server.xml here then someone may spot the problem. Subir -Original Message- From: Kam Lung Leung [mailto:[EMAIL

Re: Can someone help me to fix the soft link problem in Tomcat 4.1.27

2004-04-09 Thread Parsons Technical Services
Kam, The existence of a context in the server.xml will not prevent Tomcat from unpacking a war. I have a development box that has the context defined and the manager can undeploy and deploy the war just fine. Also restart is not required. What Tomcat will not do is unpack any war for which a

Virtual Host - combo with Apache Virtual host

2004-04-09 Thread John B. Moore
Greetings, Can't seem to get the dots connect between an Apache defined Virtual host and one defined in server.xml. The desired effect is that I want static html pages loaded from Apache and jsp/servlet loaded by Tomcat from the same virtual host definition. Read a lot of

Re: Struts with Tomcat and Apache

2004-04-09 Thread QM
On Fri, Apr 09, 2004 at 03:01:30PM -0700, David Short wrote: : Hey John, : : When you get home, would you mind posting the names of the books? I'm not John, but I'll play him on TV. ;) Seriously: Struts in Action (Husted et al, Manning Press) has been my guide. It's a little heavy on the

RE: Struts with Tomcat and Apache

2004-04-09 Thread David Short
Thanks! -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 3:15 PM To: Tomcat Users List Subject: Re: Struts with Tomcat and Apache On Fri, Apr 09, 2004 at 03:01:30PM -0700, David Short wrote: : Hey John, : : When you get home, would you mind posting the

Clustering Application Scope Objects

2004-04-09 Thread Mike Duffy
I've read documentation for The Tomcat 5 Servlet/JSP Container: Clustering/Session Replication HOW-TO http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cluster-howto.html I understand clustering for individual user sessions. Are there any correlated methods for clustering application scope

Re: Virtual Host - combo with Apache Virtual host

2004-04-09 Thread John B. Moore
Followup I commented out the original Apache VirtualHost... settting and that finally allowed my Tomcat setting two work.. That still leaves me trying to get the static pages to load from the Apache contexts...??? John B. Moore wrote: Greetings, Can't seem to get the dots connect

Tomcat performance issue?

2004-04-09 Thread Denise Mangano
Hi all, I've tried searching the archives but have come up empty-handed. A few days ago I received a few complaints that my users hit a certain point in the application and could go no further. This point was when Apache gives control to Tomcat. I checked the log and found this. Apr 4, 2004