Bit off topic : What happened to RedHat?

2003-11-18 Thread achana
Hi, does anyone know what happened to RedHat, its mailing list and forum? Haven't used it for a while and it seems they are no more. Also, I run JVM and TC4 on RH7.1 kernel 2.4.2 and thinking about RH9, but someone said that's the last version and there won't be a *stability* version coming out

tomcat 4.1.29 and static content in non Latin (ISO-8895-1) characters

2003-11-18 Thread Yavor Trapkov
Hello, I red some similar problems reported, but I'd like to post my question to the tomcat user community. I have an existing static documents (something.html) which has to be seen in Cyrillic (Windows-1251). An appropriate meta tag is included to tell the browser to use the right charset:

[offtopic] accessing ms access database from Linux

2003-11-18 Thread Laurent Michenaud
Hi, Do u know how to access a microsoft access database located on a windows machine from a j2ee application running on Tomcat on a Linux machine ? Thanks

AW: Increase The Heap

2003-11-18 Thread Nitschke Michael
Maybe there are other problems too. Did you try to analyse your application with a profiler? It shows where possible bottlenecks are hidden. Hope it helps Mike -Ursprüngliche Nachricht- Von: Scott Purcell [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. November 2003 18:09 An: [EMAIL

Re: https -- http session problem

2003-11-18 Thread Harry Mantheakis
Hello On 11/17/2003 06:32 AM Andrew Mottaz wrote: Option 1 is unacceptable -- the overhead of having all of these connections encrypted is not a viable option. What are the 'overheads' in using SSL? How much harder does the server have to work, and - in practice - what sort of performance

Re: https -- http session problem

2003-11-18 Thread Adam Hardy
On 11/18/2003 07:45 AM Bill Barker wrote: You'll have to go back at least two years to get the tomcat-dev discussion ;-). I had another search for it but can't find anything. Ploughing thro the whole list of threads doesn't fit in my schedule unfortunately. I guess I'm just going to have sit on

RE: [offtopic] accessing ms access database from Linux

2003-11-18 Thread Francois JEANMOUGIN
Hi, Do u know how to access a microsoft access database located on a windows machine from a j2ee application running on Tomcat on a Linux machine ? Thanks There is an official JDBC form Microsoft. Not that bad. You need to define a connection pool for best performances. François.

Character problem

2003-11-18 Thread Burak Takmaz
On my jsp pages,i am calling a method from my class.Its return type is String.But in the browser the Turkish caracteres like þ,ð,ç seem to be corrupted.I put page directive on the of my jsp pages.Is that Tomcat who is changing my encoding?Where can i set the default encoding of Tomcat?Thanks

Re: [OT] Re: UNSUBSCRIBE!!!

2003-11-18 Thread Graham Reeds
I think I couldn't see it when I had MS Outlook Express. They have since upgraded me to regular Outlook so I can't test for it now. From the UNSUBSCRIBE messages we get on the list, it seams like some can't see it. I'm in OE and I can see it. I think that they are getting swamped and hotmail

Query..

2003-11-18 Thread Krishna Kumar
Hi, Can u please send me the link to download isapi_redirect.dll Tx Reg Krishna - Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

Re: Query..

2003-11-18 Thread Antony Paul
http://mirrors.midco.net/pub/apache.org/jakarta/tomcat-connectors/ Antony Paul - Original Message - From: Krishna Kumar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 10:53 AM Subject: Query.. Hi, Can u please send me the link to download isapi_redirect.dll

Re: Character problem

2003-11-18 Thread Andoni
Have a look at this entry in the tomcat FAQ and then come back with further questions: http://jakarta.apache.org/tomcat/faq/printer/misc.html#utf8 Andoni. - Original Message - From: Burak Takmaz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 9:54 AM Subject:

Tomcat version

2003-11-18 Thread Aggarwal, Gautam (IE03)
I have a link on a page in my JSP application that is supposed to open an Excel file. The link is a href=taxCalc.xls target=_blankTax Calculator/a. If the application runs on Tomcat 4.1.24, it works fine. A new browser window opens, the excel file gets downloaded and opens up in the browser. But,

RE: Tomcat version

2003-11-18 Thread Tom Lyle
At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml -Original Message- From: Aggarwal, Gautam (IE03) [mailto:[EMAIL PROTECTED] Sent: 18 November 2003 13:36 To: [EMAIL PROTECTED] Subject: Tomcat version I have a link on a page in my JSP application that is

RE: Tomcat version

2003-11-18 Thread Aggarwal, Gautam (IE03)
Please tell me how to set the mime type. -Original Message- From: Tom Lyle [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 6:56 PM To: Tomcat Users List Subject: RE: Tomcat version At a guess the excel mime type is not set in Tomcat 4.0.3 conf/web.xml -Original

RE: Tomcat version

2003-11-18 Thread Aggarwal, Gautam (IE03)
I added the following and it seems to be working fine. mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping Thanks a lot, Tom! -Original Message- From: Aggarwal, Gautam (IE03) Sent: Tuesday, November 18, 2003 7:18 PM To: Tomcat

RE: Tomcat version

2003-11-18 Thread Tom Lyle
Assuming that tomcat 4.0.3 s web.xml layout is the same as as 4.1.24 try adding mime-mapping extensionxls/extension mime-typeapplication/vnd.ms-excel/mime-type /mime-mapping to conf/web.xml and restart Tomcat -Original Message- From: Aggarwal, Gautam (IE03)

RE: Java core w TC 4.1.24

2003-11-18 Thread Shapira, Yoav
Howdy, 1. Try latest stable tomcat (4.1.29), fixed have been made in this area. 2. Ensure your redhat OS has the latest patches installed as required for your JDK. Yoav Shapira Millennium ChemInformatics -Original Message- From: J D [mailto:[EMAIL PROTECTED] Sent: Monday, November 17,

mod_jk2, load balancing with two tomcats favors a single servlet engine

2003-11-18 Thread Bernhard Erdmann
Hi, running Apache 2.0.47 / mod_jk2 2.0.2 / Tomcat 4.1.24 on RedHat Linux 8.0 with two instances of Tomcat having an identical webapps tree. The second servlet engine never gets as many sessions as the first servlet engine. I wrote a script to record the session counter available from

RE: Tomcat/JVM heap dump

2003-11-18 Thread Shapira, Yoav
Howdy, I see you already have this solved, which is good. These past three months or so have seen an unprecedented amount of issues reported with RedHat on this list ;( Yoav Shapira Millennium ChemInformatics -Original Message- From: Sunitha Kumar [mailto:[EMAIL PROTECTED] Sent:

RE: tomcat 4.1.29 and static content in non Latin (ISO-8895-1) characters

2003-11-18 Thread George Sexton
Have you tried running the page through native2ascii and then using the output of that as your JSP? -Original Message- From: Yavor Trapkov [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 1:16 AM To: [EMAIL PROTECTED] Subject: tomcat 4.1.29 and static content in non Latin

Log4j setup

2003-11-18 Thread Bender, Christopher
Im using tomcat to house a few servlets. These servlets are under webapps/myServ/WEB_INF/classes. What these servlets are, are a web-interface around another java app that I have located somewhere on my drive (/home/myOtherApp/ for instance). I also have a common library of middleware tools

RE: tomcat 4.1.29 and static content in non Latin (ISO-8895-1) characters

2003-11-18 Thread Galbayar
Hi I have same problem. If you change apache httpd.conf file AddDefaultCharset windows-1251 static data has to be seen Cyrillic. However it is very bad solution:-) -Original Message- From: George Sexton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 10:06 PM To: 'Tomcat

RE: Log4j setup

2003-11-18 Thread Andreas Mohrig
Hi Chris, this is probably a classloader issue, and those puzzle me most of the time, too. Try placing an additional log4j.properties file into your webapps/myServ/WEB_INF/classes directory (duplicating your original one). Specifying the location of your log4j.properties file on the commandline

Re: tomcat 4.1.29 and static content in non Latin (ISO-8895-1) characters

2003-11-18 Thread Remy Maucherat
Galbayar wrote: Hi I have same problem. If you change apache httpd.conf file AddDefaultCharset windows-1251 static data has to be seen Cyrillic. However it is very bad solution:-) For a real fix, you can apply a patch to the Tomcat code: Index: Response.java

What is this error??

2003-11-18 Thread Lane Weast
What is this error?? Event Type: Error Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 1 Date: 11/18/2003 Time: 9:10:31 AM User: N/A Computer: [censored] Description: Emerg: [jk_isapi_plugin.c (427)]: HttpFilterProc

Connector and MBean

2003-11-18 Thread Arthur . Cieslik
Hello, I wrote my own Connector for Tomcat which have to be registered on the MbeanServer since version 4.1. Without registration, Tomcat throw an Exception ManagedBean is not found ... and the MBeanServer is not available for the Tomcat Administration. I tried to register the Connector using my

Tomcat 4.1.29 Configuration Problem

2003-11-18 Thread Vaneet Sharma
Hi all, I am having a problem in configurating tomcat. 1) I made a web application under webapps called hSolutions. 2) In conf , directory , there are three - four server.xml files. I put the context (hSolutions) in server-noexamples.xml.config 3) I copied my servlet to

Re: Tomcat 4.1.29 Configuration Problem

2003-11-18 Thread Harry Mantheakis
Hello 3) I copied my servlet to webapps/hSolutions/WEB-INF/classes/hLibManagSolutions/Hello.class servlet servlet-name Hello /servlet-name servlet-class hLibManagSystem.Hello /servlet-class /servlet Looks like either 'hLibManagSolutions' should be 'hLibManagSystem' or the other way

Re: Java core w TC 4.1.24

2003-11-18 Thread Christopher Schultz
Unexpected Signal : 11 occurred at PC=0x4002245E Function=(null)+0x4002245E Library=/lib/i686/libpthread.so.0 Does this happen frequently? Only under load? RH 7.3 is pretty stable, and I've never had a problem with it along with pretty much any JDK. I've heard a lot of suggestions to bypass

reloadable

2003-11-18 Thread Laurent Michenaud
Hi, I've got a web application with reloadable=false. I start tomcat. I call a jsp file ( ex: toto.jsp ). The JSP is compiled in the work directory. I stop tomcat I update the jsp toto.jsp. I start tomcat. What does Tomcat ? Does it recompile the new jsp or does it use the old file in the work

RE: Tomcat 4.1.29 Problem not solved

2003-11-18 Thread Vaneet Sharma
Dear Harry, Thankx, i tried it but didnt worked out. The error is same. After making changes, i went on to Tomcat manager interface and reloaded the context. (I think that restarts the server, am i right ?) There aer three or four SERVER.XML Files. Which file to

RE: reloadable

2003-11-18 Thread Shapira, Yoav
Howdy, Tomcat will recompile the JSP. Reloadable affects only runtime performance. Yoav Shapira Millennium ChemInformatics -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 10:42 AM To: [EMAIL PROTECTED] Subject: reloadable Hi,

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread Christopher Schultz
Hi, does anyone know what happened to RedHat? Haven't used it for a while and it seems they are no more. Yeah, they decided to stop giving away their operating system under the name RedHat. RH 9 is the last one. You can still purchase RedHat Enterprise, of course. They're not going out of

Tomcat 4.1.29 Configuration .. please see Attachments

2003-11-18 Thread Vaneet Sharma
The error is same. After making changes, i went on to Tomcat manager interface and reloaded the context. (I think that restarts the server, am i right ?) Tomcat is finding the Registration.html but not the classes . It is giving 404 error. There aer three or four SERVER.XML Files. Which

Re: Bit off topic : What happened to RedHat?

2003-11-18 Thread Ben Souther
Or, you could bail on RH and go with another Distro. Feel free to start a flame war by asking which one :) Please don't. :-o RH 7.3 has been a rock for us. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

URL rewriting question ..

2003-11-18 Thread Mufaddal Khumri
In order to enable URL rewriting as opposed to storing cookies automatically we need to use the encodeURL(String url) or encodeRedirectURL(String url) method in the Servlets and/or JSPs. Is there a more easier way to do this as opposed to going thru the entire webapp and doing this for every

Automatically instantiate Servlet

2003-11-18 Thread ambiesense
Hi, usually Tomcat Servlets are instanciated after a webapplication is accessing its url first time. Is there a method of automatically do this? Can I tell Tomcat to instanciate a servlet directly after startup using a config file (web.xml, server.xml)? If the answer is yes, can anybody provide

mod_jk in multiple site environnement

2003-11-18 Thread Mike Baroukh
Hi. I am managing a server wich host many site. Each have it's own jvm. To make things simple, each site have a piece of httpd.conf wich is included in the main httpd.conf. To be able to add/remove easily sites, it would be useful to have the possibility to specify multiple JkWorkersFile.

Re: https -- http session problem

2003-11-18 Thread Christopher Schultz
Harry, Option 1 is unacceptable -- the overhead of having all of these connections encrypted is not a viable option. What are the 'overheads' in using SSL? How much harder does the server have to work, and - in practice - what sort of performance impact does this have? I don't have any numbers,

RE: Tomcat/JVM heap dump

2003-11-18 Thread David Muller
It is fixed? How? Details please! -Dave -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 5:55 AM To: Tomcat Users List Subject: RE: Tomcat/JVM heap dump Howdy, I see you already have this solved, which is good. These past three months

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Are there some configuration settings in Tomcat 4.1.x that can be set in say the server.xml or web.xml that can be used ? Nope. Tomcat won't look through your responses for things that look like URLs and append all the things you need (like sessison id, etc.). However, if you are

Re: Automatically instantiate Servlet

2003-11-18 Thread Christopher Schultz
Ralf, Can I tell Tomcat to instanciate a servlet directly after startup using a config file (web.xml, server.xml)? servlet servlet-nameyourServlet/servlet-name servlet-classyourClass/servlet-class load-on-startup1/load-on-startup /servlet -chris

RE: Automatically instantiate Servlet

2003-11-18 Thread Andreas Mohrig
Ralf, web.xml is the right place. You just have to put another entry in your desired servlet.../servlet section: servlet [...] load-on-startup1/load-on-startup /servlet The number specified determines the order the servlets are instantiated at startup (if you instantiante more

mod_jk2 tomcat4.1.29 apache2.0.48

2003-11-18 Thread pablo
Hey Folks, I am having a bit of a challenge setting up mod_jk2 . It seems very different from its predecessor mod_jk. I try putting diectives in my httpd.conf just like I did with mod_jk and all I get is an error stating that the objective is for a module that does not exist or it is

Re: reloadable

2003-11-18 Thread Andoni
Hi, Would it be fair to say that especially with older versions of tomcat this cannot always be guaranteed to work correctly? I would recommend that if you are having any doubts that you delete the files from your work directory when you redeploy. Andoni. - Original Message - From:

RE: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Vaneet Sharma
Can someone solve my problem , it is a bit urgent Thankx Van -Original Message- From: Vaneet Sharma Sent: Tue 18/11/2003 16:48 To: Tomcat Users List Cc: Subject: Tomcat 4.1.29 Configuration .. please see Attachments

RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread David Muller
Hello all, Can anyone please confirm or deny rumors that moving from RH8 to RH9 fixes random Sig 11 crashes when an Apache2/Tomcat4/JVM1.4X app is loaded? We have gone through a huge matrix of heap sizes, stack sizes, connectors, connector settings, hyperthreading off, etc. with jvm gcverbose

Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Christopher Schultz
Vaneet, The error is same. After making changes, i went on to Tomcat manager interface and reloaded the context. (I think that restarts the server, am i right ?) Tomcat is finding the Registration.html but not the classes . It is giving 404 error.

RE: reloadable

2003-11-18 Thread Shapira, Yoav
Howdy, It would be fair to say that nothing is always guaranteed to work correctly. Yoav Shapira Millennium ChemInformatics -Original Message- From: Andoni [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 11:24 AM To: Tomcat Users List Subject: Re: reloadable Hi, Would it

Re: Automatically instantiate Servlet

2003-11-18 Thread Andoni
Check out the load-on-startup tag in we.xml. The documentation can explain it much better than I. servlet servlet-namemyServ/servlet-name servlet-classcom.myaddress.myapp.HelloServlet/servlet-class load-on-startup1/load-on-startup /servlet Andoni. - Original Message - From:

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread Christopher Schultz
Dave, Can anyone please confirm or deny rumors that moving from RH8 to RH9 fixes random Sig 11 crashes when an Apache2/Tomcat4/JVM1.4X app is loaded? If it happens under load (when the CPU gets hot :) and it's always in a different place, then get another server and try again (really).

RE: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Vaneet Sharma
No, we are not using Tomcat as a webserver It is running as a service liek 195. . . :8080/html/Regisrtation.html In html page, i have put action to ../servlet/Hello And after pressing submit , it is not picking up the servle. Is it anything to do with server.xml Can anyone explain me

Re: Automatically instantiate Servlet

2003-11-18 Thread ambiesense
Hi, thank you very much. It works. What do the 1 mean? Is it just a binary value 0 = off 1 = on ?? Cheers, Ralf Ralf, Can I tell Tomcat to instanciate a servlet directly after startup using a config file (web.xml, server.xml)? servlet

RE: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Vaneet Sharma
Please see attachments -Original Message- From: Vaneet Sharma Sent: Tue 18/11/2003 17:22 To: Tomcat Users List Cc: Subject: RE: Tomcat 4.1.29 Configuration .. No, we are not using Tomcat as a webserver

Re: Automatically instantiate Servlet

2003-11-18 Thread Andoni
The one is the order in which you want numbered servlets to start up. Non-numbered servlets don't start until called. Andoni. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 4:22 PM Subject: Re: Automatically

RE: Automatically instantiate Servlet - solved :)

2003-11-18 Thread Ralf Bierig
Thank you very much! Ralf, web.xml is the right place. You just have to put another entry in your desired servlet.../servlet section: servlet [...] load-on-startup1/load-on-startup /servlet The number specified determines the order the servlets are instantiated at

WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Steph Richardson
I have a web app containing resource files in several jar files, but I am unable to access the resources at runtime unless they are exploded into the classes directory. When trying to access the resource files using ClassLoader.getResourceAsStream( /meta-inf/com/kvasar/data.xml ) I always get

Would this work? (Load Balance Question)

2003-11-18 Thread David O'Brien
I have one apache web server conversing with two separate tomcat servers with access a fourth MySql server. Could I set it up like this? pre The Internet | | (real IP addresses) -- External Network | --- ---

RE: Automatically instantiate Servlet

2003-11-18 Thread Ralph Einfeldt
No, it's a numeric value giving the start priority to define the order if you have more than one servlet to start. (The servlets are started in ascending order of this value) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 5:23

RE: WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Jay Garala
Put the JARs in the WEB-INF/lib dir! -Original Message- From: Steph Richardson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 11:34 AM To: Tomcat Users List Subject: WebappClassLoader won't load resource from jar file ?!? I have a web app containing resource files in

RE: Automatically instantiate Servlet

2003-11-18 Thread Shapira, Yoav
Howdy, Although be careful of depending on the order. It's undefined if there are multiple servlets with the same load-on-startup number, and negative values are permissible as well. Yoav Shapira Millennium ChemInformatics -Original Message- From: Ralph Einfeldt [mailto:[EMAIL

RE: Would this work? (Load Balance Question)

2003-11-18 Thread Andreas Mohrig
Dave, although I have never set up such a configuration, I have thought about it quite a lot. This is exactly the thing I would try and I'm pretty much convinced that it should work. It is even quite attractive from a security point of view, because neither your tmocat servers nor your

RE: WebappClassLoader won't load resource from jar file ?!?

2003-11-18 Thread Shapira, Yoav
Howdy, He's already doing that. I think the problem is in the argument to ClassLoader#getResourceAsStream, specifically the case of meta-inf should be all uppercase. But to be safe, put your resource in the top level of the jar and try getResourceAsStream(/data.xml). Yoav Shapira Millennium

JSTL Configuration

2003-11-18 Thread Thyago Lisboa Mota
Do u know how to configure JSTL in Tomcat ? Is it just copying JSTL package to CATALINA_HOME/shared/lib ? And also, is there a single JSTL downloadable package at javasoft or I have to download the full J2EE SDK ? Thyago - To

RE: Automatically instantiate Servlet

2003-11-18 Thread Ralph Einfeldt
Just one addition from the spec (2.4 pfd3): 'If the value is a negative integer, or the element is not present, the container is free to load the servlet whenever it chooses.' So what I said (wrote) is just true from zero on. -Original Message- From: Shapira, Yoav [mailto:[EMAIL

Forcing SSL to handle requests

2003-11-18 Thread deric stroud
Hi, I'm running a standalone Tomcat webserver 4.0.6 and am trying to force a resource on my web server to only serve a particular URL through SSL, so I've inserted the following lines in the web.xml file: security-constraint web-resource-collection web-resource-nameProtected

Tomcat4.1 and i18n

2003-11-18 Thread Fernandez Angil Marian
Hi Friends I am trying to change my webserver from tomcat3.3 to tomcat4.1, but i have encountered a problem with jakarta_i18n, the pages are not reflecting the changes when i change the language. The whole code worked on tomcat3.3, Does anyone had the same problem? Any workaround or solutions?

Re: URL rewriting question ..

2003-11-18 Thread Mufaddal Khumri
Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. On Tuesday, November 18, 2003, at 09:13 AM, Christopher Schultz wrote: Mufaddal, Are there

RE: JSTL Configuration

2003-11-18 Thread Shapira, Yoav
Howdy, Download a JSTL implementation by itself, e.g. from jakarta-taglibs. Put the jar in the WEB-INF/lib directory of your webapp, not in shared/lib or common/lib or any other place. Follow the standards JSTL instructions to add the JSTL library declarations to your WEB-INF/web.xml file.

Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Christopher Schultz
Vaneet, Please see attachments Your attachments do not come through. Please paste all servlet and servlet-mapping elements from your web.xml into a post to the list. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: https -- http session problem

2003-11-18 Thread Harry Mantheakis
Hello Chris Thank you so much for the feed-back. It is a very useful insight, and much appreciated! Kind regards Harry Mantheakis London, UK Harry, Option 1 is unacceptable -- the overhead of having all of these connections encrypted is not a viable option. What are the 'overheads' in

Many process on Red Hat

2003-11-18 Thread Walter do Valle
Hello all I'm running Tomcat 4.1 with IBM J2RE 1.3.0 on Red Hat Linux, but some times Tomcat turns crazy and open many process (about 80 - 90) and hangs. When this happens, command tomcat4 stop does not work. It's necessary to kill process by process. At this time, I'm running seven different

Re: Forcing SSL to handle requests

2003-11-18 Thread Adam Hardy
On 11/18/2003 06:00 PM deric stroud wrote: Hi, I'm running a standalone Tomcat webserver 4.0.6 and am trying to force a resource on my web server to only serve a particular URL through SSL, so I've inserted the following lines in the web.xml file: Deric you have to maintain that order as well.

RE: Many process on Red Hat

2003-11-18 Thread Shapira, Yoav
Howdy, I guess you're looking at processes using the top command? If so, these are likely threads, not actual processes, and this may be normal. What triggers the spawning of all this threads? What version of RedHat are you using? There have been a lot of RedHat NPTL-related issues reported

Re: mod_jk in multiple site environnement

2003-11-18 Thread Tim Funk
You define JkWorkersFile /projects/site1/conf/workers.properties once and only once. Then your JkMounts can be defined per vhost -Tim Mike Baroukh wrote: Hi. I am managing a server wich host many site. Each have it's own jvm. To make things simple, each site have a piece of httpd.conf wich

Re: Would this work? (Load Balance Question)

2003-11-18 Thread Tim Funk
Yes. And that is a prefered way to set things up. [Don't expose your app servers to the Internet if you don't have to.] -Tim David O'Brien wrote: I have one apache web server conversing with two separate tomcat servers with access a fourth MySql server. Could I set it up like this? pre

Re: Forcing SSL to handle requests

2003-11-18 Thread Christopher Schultz
Deric, PARSE error at line 858 column 11 What's on line 858 of your web.xml file? org.xml.sax.SAXParseException: The content of element type web-app must match (icon?,display-name?,description?,distributable?,context-param*,filter* ,filter-

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. Feel free to submit a patch :) -chris

Connection failed from other computers

2003-11-18 Thread LOU, YONGMING (SBCSI)
Hi, I installed tomcat 4.1.29 on window 2000 professional. I selected it as service. It starts and stops fine. But I can not access it from http://localhost:8088/ http://localhost:8088/ (8080 is used by another application). However it will work fine when I start tomcat from DOS or click

Hosting SSL clients within Tomcat

2003-11-18 Thread Justin Brister
I am trying to open a connection to an SSL server hosting WebServices. I am using the Glue libraries to abstract away all the nasty Web Service stuff, and my WebService client is implemented as a Servlet. I have imported the SSL certificate into my .keystore If I run my client code as a

Re: Forcing SSL to handle requests

2003-11-18 Thread Tim Funk
If you use IE, you can use a XML validator on microsoft's site: http://msdn.microsoft.com/downloads/samples/internet/xml/xml_validator/validate_js.htm -Tim Christopher Schultz wrote: Deric, PARSE error at line 858 column 11 What's on line 858 of your web.xml file?

Re: Connection failed from other computers

2003-11-18 Thread Ralf B
Hi, are you sure you are running Tomcat on port 8088? For that you need to modify server.xml. Standard is 8080 and if this port is taken already, the batch file will fail. If you want to access Tomcat from another computer you will need to use either its name or its IP address like:

RE: Bit off topic : What happened to RedHat?

2003-11-18 Thread Goehring, Chuck Mr., RCI - San Diego
Rumor was they were not going to allow free downloading of binaries. They have launched http://fedora.redhat.com as an open source project. It has binaries under a different naming/numbering scheme. I expect they will shut down ftp.redhat.org to the public. So, they may be

Tomcat 5, session replication problem

2003-11-18 Thread tuong . d . ly
Deear I'm having problems with the session replication with Tomcat 5. I'm trying to cluster two Tomcat's across two machines. The first Tomcat starts fine, but whenever I start the second Tomcat on a different machine I get the errors shown below. I followed the directions exactly-have the

RE: Connection failed from other computers

2003-11-18 Thread LOU, YONGMING (SBCSI)
Ralf, I changed the port number from 8080 to 8088. everything works fine locally as long as I start tomcat as an application, not as a NT service. I did try connect it from another computer use http://ipaddress:8088/ It failed. Connection is refused. Yongming -Original Message-

Re: Tomcat 4.1.29 Configuration ..

2003-11-18 Thread Harry Mantheakis
Hello In html page, i have put action to ../servlet/Hello I recall that you have registered your servlet in the deployment descriptor and mapped it to '/Hello' so you should be able to invoke that servlet without specifying 'servlet' in the URL path. You must also specify the context name

Tomcat terminated unexpectedly

2003-11-18 Thread Mauro Pencov
Hi, I?m have: - Tomcat 4.1.27 - JDK 1.4 - Apache 1.3.29 with mod_ssl - Windows 2k Server BD: Sql Server Enterprise. For some reason, some times to the day, the Apache Tomcat 4.1 service crashes under Win2k without message in the log. I have one schedule configured to restart after 1 minutes,

Re: Many process on Red Hat

2003-11-18 Thread Walter do Valle
Howdy, I guess you're looking at processes using the top command? If so, these are likely threads, not actual processes, and this may be normal. Ok. I'm using ps. About threads ok. What triggers the spawning of all this threads? Sorry, what? What version of RedHat are you using? 7.3

Running a Service

2003-11-18 Thread Karl Coleman
I need to run a process at a specific time every day, say 3:00am. How do you configure Tomcat to have a service running in the background.

RE: Running a Service

2003-11-18 Thread Shapira, Yoav
Howdy, You mean like a cron job? ;) Or the Windows Scheduler on windows, or a 3rd party tool like 12Ghosts Timer? Or do you mean already have a tomcat running around the clock but you'd like something to happen at 3am? A tool like Quartz (quarts.sf.net) would help... Yoav Shapira Millennium

Re: RH9 fixes sig 11 with Apache2/Tomcat4/JVM1.4X/RH8??

2003-11-18 Thread Oscar Carrillo
What's your hardware? Are you running multiple processors? Do you compile your own Apache2 and mod_jk/mod_jk2? Have you tried compiling your own kernel from the more recent sources. Kernel 2.4 had some shaky releases and RedHat8 fell in the middle of it. Kernel 2.4.22 is the latest. Have

java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator

2003-11-18 Thread Anna Lissa Saupan
Hi, Any help will be greatly appreciated. My current server has the following environment: Tomcat Version = Apache Tomcat/5.0.12 JVM Version = 1.4.2-b28 JVM Vendor = Sun Microsystems Inc. Redhat Linux 9 OS Name = Linux OS Version = 2.4.20-8 OS Architecture = i386 Tag Library = 1.1

RE: Connection failed from other computers

2003-11-18 Thread Wendell Holmes
Is there a firewall between the other computer and installedTomcat that might not allow traffic on 8088? Does Tomcat not start at all as an NT service, or does it have problems with .jsp files? Wendell -Original Message- From: LOU, YONGMING (SBCSI) [mailto:[EMAIL PROTECTED] Sent:

RE: Running a Service

2003-11-18 Thread Karl Coleman
I apologize for being so broad. Let me be more specific. It might help some. We are running an intranet application running on apache and tomcat. It's all Java, using JSP and Servlets, and Struts. One function of the application is scanning in faxes. After being scanned, these documents are

RE: Running a Service

2003-11-18 Thread Karl Coleman
I checked out quartz and it looks like exactly what I need. Thanks. If my detailed description gives anybody aother ideas, please let me know. Thanks again. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2003 3:07 PM To: Tomcat Users List

setUserPrincipal

2003-11-18 Thread Gary Hardy
I'm going around google circles... Within a servlet how do you go about creating a java.security.Principal given a username and password? i.e. how-to login within a servlet given a username and password? Thanks, gary... - To

RE: Connection failed from other computers

2003-11-18 Thread LOU, YONGMING (SBCSI)
Wendell, There is no firewall between the two computers. Both are on the same subnet and inside the firewall. The installedTomcat is a laptop. I tested in my home as well using wireless connection. Ping works fine in both cases. Tomcat starts and stop fine as an NT service. It just not let you

RE: Running a Service

2003-11-18 Thread Shapira, Yoav
Howdy, Quartz would be a good choice. Just take the code out of a servlet and put it into a little class that implements Runnable, and you're all set. Yoav Shapira Millennium ChemInformatics -Original Message- From: Karl Coleman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18,

Re: Tomcat 5, session replication problem

2003-11-18 Thread Christopher Schultz
Tuong, I'm having problems with the session replication with Tomcat 5. I'm trying to cluster two Tomcat's across two machines. The first Tomcat starts fine, but whenever I start the second Tomcat on a different machine I get the errors shown below. I followed the directions exactly-have the

  1   2   >