mod_jk2/tomcat 4.1.29 uri mapping

2003-11-24 Thread Stefan Proels
Hi, I've encountered a strange problem which occurred after updating from mod_jk2 compiled from the jakarta-tomcat-connectors-4.1.27-src.tar.gz distribution to the new version from jakarta-tomcat-connectors-4.1.29-src.tar.gz. I have the following workers definition in workers2.properties:

Slow on Linux

2003-11-24 Thread Yonatan Goraly
I am in the process of evaluating Linux as a server platform for my application (this is my first Linux experience). The environment is: - Single AMD Opteron 1.8 GHz - Tyan motherboard with 1 GB memory - Mandrake Linux 9.2 AMD64 RC1 - SUN JDK 1.4.2_02 - Tomcat 4.29, without Apache web server The

Re: HTTP Error 302

2003-11-24 Thread Günter Kukies
Hi, after investigating the Problem, we found that we generate a redirect to login when the session is invalid. We have a servlet, that generates Images. If the client requests the Image servlet directly everything is fine. The session is valid and the user gets his image. But when the client

Re: tomcat start and stopping

2003-11-24 Thread Oscar Carrillo
I have some daemon scripts on my tutorial site. I wrote them for Linux but you should be able to change things if need be. I use chkconfig to make the sym links for the different runlevels, but you can just read the chkconfig line comment at the start of the script and do it yourself. I'm not sure

Re: Servlet Response Wrapper not able to get JSP data

2003-11-24 Thread Vincent Chain
Ok, I got this figured out. I was confused for a while where the data buffering happened: the buffering happens at the PrintWriter that I created when the getWriter() is called on the wrapper. So i need flush the print writer in order to make the data available to the underlying

Re: Slow on Linux

2003-11-24 Thread Oscar Carrillo
I'm no expert on Servlets so I'm not sure what's involved with all those calls, but it doesn't seem like it could be anything that takes 500ms. Have you tried running top while this is going on? You can set it to update quickly so that you can see what's taking up the processor, if anything.

Re: shared object cache

2003-11-24 Thread Rob Augustinus
thanks, 1) That's exactly what I would like to do, but I'm not quite sure how to do this. Could you point me to some documentation? 2) I have thought about the complications of the cache, and indeed I need to be carefull. On the other hand though it is not that critical in this application.

Re: My Solution to Intercepting Login Information Realm Username Password from TagSupport

2003-11-24 Thread Adam Hardy
On 11/21/2003 09:57 PM Hart, Justin wrote: -Original Message- On 11/21/2003 09:11 PM Hart, Justin wrote: I think that what we BOTH need to do in this case is create a subclass of whatever realm we are using, and using this subclass provide our specific functionality, in my case

RE: Tomcat cannot fine java classes

2003-11-24 Thread David Sierra Fernandez
Perhaps it is a bit obvious but I can help in other way...have you deployed correctly the app? I mean...do you have the web.xml file and the servlets declared in it? Sorry if you do...i can help more :-( David Sierra Fernandez e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Mensaje

Re: mod_jk2/tomcat 4.1.29 uri mapping

2003-11-24 Thread Dionisio Ruiz de Zarate
i have the same problem. i must to downgrade to the 4.1.27 version. there is other problem; if you have one dir with, for example, images, you must to map the directory. [uri:/erfx/*] worker=ajp13:localhost:9602 context=/erfx tomcatId=localhost:9602 [uri:/erfx/images/*]

Re: lame,encoding problem

2003-11-24 Thread bwasko
Hi I 've tried to execute insert statement that contains my national characters with the mysql command-line client tool and all looks ok. The strings are properly written into database. But writing into it with use of jdbc driver ends with chars like '??'. I use mysql-connector and i think it

RE: Production Issues | Correction

2003-11-24 Thread Arnab Chakravarty
Hi, One correction in the mail. What do you use to balance the load between the apaches ? -We are using the mod_jk to load balance between tomcats and not apaches (for apaches we have a hardware loadbalancer in place). The load is not high during the other week days but only twice in a week.

our findings with Apache2.0.47/Modjk2/Tomcat4.1.29/IBMJDK1.4.1 and sig 11s

2003-11-24 Thread David Muller
I have seen numerous postings about sig 11 problems with few remedies so here is one I hope helps someone. We put together a huge matrix of Java, Tomcat, Apache and OS parameters and finally worked around a jdk bug. Under fairly heavy load (7-8 transactions/s) we were getting sig 11s with the

Tomcat JSP/HTML caching

2003-11-24 Thread Neal
Is there anyway to cache the output of JSP and HTML pages served by Tomcat or do I need an HTTP server for this (e.g. Apache, IIS)? I have a site begin hosted by Tomcat Standalone which relies upon XML web services to render the contents and consequently the page render time is really slow.

RE: IIS is not supported in Tomcat 4.1.29.

2003-11-24 Thread Roeland Meyer
Before I sound too much like byting the hand that feeds, let me thank you for the useful information that you have provided. From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 4:26 AM and I will make due allowances for the time of your response as well. Late

RE: lame,encoding problem

2003-11-24 Thread Galbayar
jdbc:mysql://127.0.0.1:3306/test/?useUnicode=true -Original Message- From: bwasko [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 4:50 PM To: Tomcat Users List Subject: Re: lame,encoding problem Hi I 've tried to execute insert statement that contains my national characters

RE: lame,encoding problem

2003-11-24 Thread Galbayar
jdbc:mysql://127.0.0.1:3306/test?useUnicode=true -Original Message- From: Galbayar [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 5:48 PM To: Tomcat Users List Subject: RE: lame,encoding problem jdbc:mysql://127.0.0.1:3306/test/?useUnicode=true -Original Message-

MBeanServer in Tomcat 5.0.10

2003-11-24 Thread santoshsprabhu
Hi, As mentioned in the changelogs of Tomcat version 5.0.10 MX4J 1.1.1 is being replaced by JMX 1.2 RI Please refer to page http://jakarta.apache.org/tomcat/tomcat-5.0-doc/changelog.html for details. Has any one tried out to get the MBeans in this new implementation ? I am trying to get the

RE: IIS is not supported in Tomcat 4.1.29.

2003-11-24 Thread Tom Lyle
Jesus, what a way to start a Monday morning. Is there really any point in shouting at each other like this? If you've still not got Tomcat working with IIS try this: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html I followed that and got it all working. Tomcat isn't as well documented

Re: Workers.properties for 4.1.29

2003-11-24 Thread Walter do Valle
http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm - Original Message - From: Roeland Meyer To: Tomcat Users (E-mail) Sent: Saturday, November 22, 2003 7:35 PM Subject: Workers.properties for 4.1.29 does one exist and where can I get a example? The version for 3.x

Re: lame,encoding problem

2003-11-24 Thread bwasko
I ve also tried connection strings manipulations ?use Unicode and ?characterEncoding . Doesn't work :( Bartek Wasko - Original Message - From: Galbayar [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, November 24, 2003 10:47 AM Subject: RE: lame,encoding problem

I18N problems with JVM 1.3.1

2003-11-24 Thread Alexandre Roger
I have a problem with accents that is occurring when I run Tomcat under JVM 1.3.1, but not under 1.4. I am trying to convert a byte[] (that comes from a socket in the production code) to a String. The bytes come from a CGI and are ISO8859-1. When I do String(myByteArray), I get a question mark

Hosting Company moved three of my sites to new servers.

2003-11-24 Thread Kent Gilley
and my jsp pages aren't working. They say it's simple syntax error on my part. SORRY, I sent the first email from the wrong address. I've loaded a page with only two lines of code in them, and the problem is with calling the driver. Example: http://www.azlehornets.com/apps/g092603.jsp old

cannot load jdbc driver class 'null'

2003-11-24 Thread Ralf Poppen
We are using the tomcat 4.1.24 and the j2sdk1.4.2_02. The jdbc- driver we use is 'mysql-connector-java-3.0.8-stable-bin.jar' As database we use mysql Version 3.23.58-nt. When we call the web-service we get the message cannot load jdbc driver class 'null' . Who can help? Here is an extract of the

form authentication doesnt't work well

2003-11-24 Thread cyril vidal
Hi, Perhaps the problem is well known. I'm under Tomcat/4.1.18-LE-jdk14 When I use form authentication, with the following code snippet included in web.xml: web-app security-constraint ... web-resource-collection web-resource-namedeclarativetest/web-resource-name

tomcat stats and performances

2003-11-24 Thread arinsoun
Hi to all, I have two questions. We have Tomcat as server for a struts web application. - We need do stats for that web application, stats like what pages user enter, who user enter more to the application, performance stats ... I have seen that one choice is do a manual filter, other choice use

Re: Apache Tomcat connector FAQ admin?

2003-11-24 Thread Tim Funk
Its already on the Wiki (Which is linked by the FAQ) http://nagoya.apache.org/wiki/apachewiki.cgi?Tomcat/Links Since the links are so many links on the connectors page and many are dups of the Links above - I'll probably shorten the connectors list and reorg the Wiki Link above. (When I have

Re: Apache 2, Tomcat 5, and JK2.

2003-11-24 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/ Any where it say tomcat 4.1 (its probbaly the same for 5) -Tim John Bell wrote: Hi, Can anyone point me to a how-to please. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: ScriptAlias equivalent in tomcat

2003-11-24 Thread Tim Funk
See the release notes. Its described there. (Hint: edit $CATALINA_HOME/web.xml) -Tim Yochi Toledano wrote: Hi, I'm running tomcat version 4.X on HPUX system as a standalone server. I have read the CGI howto for tomcat and I have enabled CGI capability on the server. My question is -

Re: tomcat stats and performances

2003-11-24 Thread Remy Maucherat
[EMAIL PROTECTED] wrote: Hi to all, I have two questions. We have Tomcat as server for a struts web application. First, don't crosspost. Thanks. - We need do stats for that web application, stats like what pages user enter, who user enter more to the application, performance stats ... I have

Re: Apache 2, Tomcat 5, and JK2.

2003-11-24 Thread Davide Gurgone
Thanks a lot!!! Davide Gurgone! http://jakarta.apache.org/tomcat/faq/ Any where it say tomcat 4.1 (its probbaly the same for 5) -Tim John Bell wrote: Hi, Can anyone point me to a how-to please. - To unsubscribe,

Re: Tomcat JSP/HTML caching

2003-11-24 Thread Tim Funk
There are taglibs available on the web that also do caching. -Tim Neal wrote: Is there anyway to cache the output of JSP and HTML pages served by Tomcat or do I need an HTTP server for this (e.g. Apache, IIS)? I have a site begin hosted by Tomcat Standalone which relies upon XML web services

AW: Multiple Tomcats handled by one Apache

2003-11-24 Thread Wegener, Dierk
Hi, btw I'm using Apache 1.3.27 and Tomcats 3.3.1a and 4.1.24 on Solaris 8. But testing doesn't even work on win2k. Thanks Dierk -Ursprungliche Nachricht- Von: Wegener, Dierk [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. November 2003 09:11 An: 'Tomcat Users List' Betreff: AW:

RE: Hosting Company moved three of my sites to new servers.

2003-11-24 Thread Schalk
Do you have the DB driver in your WEB-INF/lib Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message

filter problem

2003-11-24 Thread bwasko
My web.xml fragment: filter-nameSet Character Encoding/filter-name filter-classfilters.SetCharacterEncodingFilter/filter-class init-param param-nameencoding/param-name param-valueISO-8859-2/param-value /init-param /filter filter-mapping filter-nameSet Character Encoding/filter-name

Hot Reload

2003-11-24 Thread Leonardo Lopez
Hi gurus, I`m using tomcat 4.0.6 and I need to know how to configure, a hot reload of an application. I mean if a put a recompiled class, because it suffered any change, on the directory webapps/Aplication/WEB-INF/classes/... , how could I make Tomcat detect that change and reload that

How to set the user runnig tomcat ? ( + start/stop problem)

2003-11-24 Thread Julien Oix
Hi everyone, I used to run a tomcat 4.1.18 rpm on a linux top box, where I put the TOMCAT_USER variable in a tomcat4.conf file ( nobody user in my case ...) Now i try to upgrade to 4.1.29 full archive (jakarta-tomcat-4.1.29.tar.gz) and I didn't see any doc's on configuring this variable .. Is

RE: Hot Reload

2003-11-24 Thread Stuart Stephen
It does this already if you have reloadable=true in your context settings in server.xml - it can sometimes take a small amount of time to kick in. Context path=/mycontext docBase=context debug=0 reloadable=true / or DefaultContext reloadable=true/ -Original Message- From: Leonardo

Re: mod_jk2/tomcat 4.1.29 uri mapping

2003-11-24 Thread Stefan Proels
Hi, this turns out to be a bug indeed. In fact, it has already been reported to Bugzilla as 21561. Thanks to that bug report which pointed me to the right file I could track down this problem and attached a patch to fix it. In jk/native2/common/jk_uriEnv.c: --- old_jk_uriEnv.c 2003-11-24

RE: tomcat start and stopping

2003-11-24 Thread Shapira, Yoav
Howdy, Search the archives, these are posted every few weeks. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tom Bartos [mailto:[EMAIL PROTECTED] Sent: Sunday, November 23, 2003 11:40 PM To: Tomcat Users List Subject: tomcat start and stopping Does anyone have any

RE: filter problem

2003-11-24 Thread Shapira, Yoav
Howdy, Perhaps something is messed up in your browser? I don't like using spaces in servlet or filter names, but that's just me ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: bwasko [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 7:29 AM To: Tomcat Users

RE: how to customize HTTPSession

2003-11-24 Thread Shapira, Yoav
Howdy, Also, Servlet 2.4 adds the HttpRequestListener which you can implement: use tomcat 5. This may be perfect for your needs. Yoav Shapira Millennium ChemInformatics -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Sunday, November 23, 2003 10:32 PM To:

RE: HTTP Error 302

2003-11-24 Thread Shapira, Yoav
Howdy, It's your responsibility to handle these redirects ;) After all, it's your generating them. Maybe add an extra parameter to requests coming from the web application so that your ImageGenerator knows it doesn't need to authenticate? Or make the web application authenticate before it

RE: Server URL Before Request

2003-11-24 Thread Shapira, Yoav
Howdy, I couldn't agree more with what Justin said in his previous message. These developer vs. deployer responsibilities questions come up frequently, especially with new developers. This issue has been taken very seriously and treated very carefully by the various spec expert groups since the

RE: shared object cache

2003-11-24 Thread Shapira, Yoav
Howdy, If you're using servlets, getServletContext().setAttribute(myPersistenceManager, myPersistenceManager) would do the trick. If you're using JSPs, it's pageContext.setAttribute(...). The WeakHashMap is one approach: not one I'd use initially, but only if you run into issues with a more

Re: tomcat stats and performances

2003-11-24 Thread Peter Lin
The first thing you will want to consider is do you really need to use JSP tags. If you read my little article on performance, you'll see jsp tags reduces performance. The newest jasper in tomcat5 has a plugin feature, which allows you to convert jsp tags to pure java code. You're going to

RE: Tomcat JSP/HTML caching

2003-11-24 Thread Shapira, Yoav
Howdy, It could also be done with a trivial filter, maintaining a map of request URLs to output html Strings. Just be careful if your request includes POST parameters that affect the output... Yoav Shapira Millennium ChemInformatics -Original Message- From: Tim Funk [mailto:[EMAIL

RE: Slow on Linux

2003-11-24 Thread Shapira, Yoav
Howdy, First of all, how fast was the forward call on another platform? OTOH, 500ms for the line of code you gave below is not that atrocious. Both the getRequestDispatcher and forward calls are not lightweight. Yoav Shapira Millennium ChemInformatics -Original Message- From: Yonatan

RE: Starting Tomcat as nobody...

2003-11-24 Thread Shapira, Yoav
Howdy, I like sudo and have been using it for years. I like commons-daemon too (naturally). Yoav Shapira Millennium ChemInformatics -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Sunday, November 23, 2003 7:52 PM To: Tomcat Users List Subject: Re:

RE: Tomcat 4 request filter

2003-11-24 Thread Shapira, Yoav
Howdy, That's because modifying the contents of a request is: a. Much less common b. Much more difficult c. Indicates bad design usually A request is a request: someone asked for something. If they wanted something else, they'd ask for something else. You shouldn't pretend you know what they

Sending to Printer?

2003-11-24 Thread Luc Foisy
Is there any code I could use to send something to a printer? Via the print writer I suppose would be needed. Is there some kind of jsp tag library to do this, or some particular way I can send a page that would be pushed to thier browsers printing functions?

Re: shared object cache

2003-11-24 Thread Vidar Langberget
- Original Message - From: Shapira, Yoav [EMAIL PROTECTED] Howdy, If you're using servlets, getServletContext().setAttribute(myPersistenceManager, myPersistenceManager) would do the trick. If you're using JSPs, it's pageContext.setAttribute(...). Is there any reason why it is

Re: shared object cache

2003-11-24 Thread Tim Funk
Warning! In a JSP ... pageContext.setAttribute(...) should be application.setAttribute(...) or pageContext.setAttribute(..., PageContext.APPLICATION_SCOPE) -Tim Shapira, Yoav wrote: Howdy, If you're using servlets, getServletContext().setAttribute(myPersistenceManager,

RE: Sending to Printer?

2003-11-24 Thread Shapira, Yoav
Howdy, You can use the JavaScript window.print() function ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 9:10 AM To: Tomcat User List (E-mail) Subject: Sending to Printer? Is there any code I

RE: shared object cache

2003-11-24 Thread Shapira, Yoav
Howdy, Ahh yes, shows how much JSP writing I do ;) I didn't see servlet context is necessarily better than a static manager class, but now that you ask, I'll give two reasons: - Less code for you to write, always good - Much simpler handling of application restart/reload Yoav Shapira Millennium

Re: OutOfMemory Error in Catalina

2003-11-24 Thread Abhijeet Selukar
Hi, I tried to increase the heap size to 1200 MB in catalina.sh file (JAVA_OPTS=-Xms64m -Xmx1200m), It didn't work. I was suggested one more way is to increase the server's maximum file descriptor limit. But I don't know where to increase this limit. Apart from that, is there any other way /

i18n problem

2003-11-24 Thread Fernandez Angil Marian
Jakarta i18n does not work with tomcat 4.1, does anyone know the reason. I am trying desperately trying to get it work through any help is greatly appreciated Thanks in advance Fernandez - To unsubscribe, e-mail: [EMAIL

Re: OutOfMemory Error in Catalina

2003-11-24 Thread Tim Funk
I bet your going down the wrong path for debugging, from the FAQ: -- You have too many threads running. Some OS's have a limit to the number of threads which may be executed by a single process. (Which is what the JVM is.) Refer to your OS docs for more information on how to raise this

RE: OutOfMemory Error in Catalina

2003-11-24 Thread Shapira, Yoav
Howdy, I tried to increase the heap size to 1200 MB in catalina.sh file (JAVA_OPTS=-Xms64m -Xmx1200m), It didn't work. I was suggested one more It didn't work in what way? Did the JVM actually allocate 1200MB and then die with an OutOfMemoryError, or did it never allocate that much (e.g.

Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Charles Gardner
I am converting from 3.3.1 to 4.1.29. Everything seems to be works, got the admin part working. It will bring up my application web pages but when it goes to run a servlet which is in the same place as it was in 3.3.1, it give me the following error on any servlet. The web page specifies the

mod_jk2 and ajp12-Support

2003-11-24 Thread mfleige
hi there, i'm pretty new to this apache/tomcat connector thingy and so, there are two open questions i was unable to solve by googling... maybe some of you can help me? :-) ok, here they are: 1.) does mod_jk2 (v2.0.2) still support ajp12? 2.) how do i compile mod_jk2 into apache2 statically?

RE: Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Simon Taylor
You need to explicitly specify a servlet mapping for all servlets or uncomment the invoker section in the server.xml Being a newbie I asked this question just the other day - see:- http://marc.theaimsgroup.com/?l=tomcat-userm=103945394724196w=2 Simon -Original Message- From: Charles

Re: How to set the user runnig tomcat ? ( + start/stop problem)

2003-11-24 Thread Timothy Stone
Julien, If I can just provide you some feedback, at least if only to let you know that someone is reading and following this thread. :) I'm am trying to do the same, not on Linux but Mac OS X. I'm very interested in this as well. That said, allow me to provide some comments on your post:

simple classpath / webapp question

2003-11-24 Thread Mark D. Hansen
Is there any way to put .jar files on a Webapp's classpath other than placing the .jar files into the WEB-INF\lib directory? I've got a lot of webapps, and it is a real chore keeping these WEB-INF\lib directories up-to-date as all the various java libraries that they rely on get updated. Is

Re: Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Charles Gardner
Thanks that did the trick. Charles @ home - Original Message - From: Simon Taylor [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, November 24, 2003 8:42 AM Subject: RE: Moving from 3.3.1 to 4.1.29 question You need to explicitly specify a servlet mapping

Re: simple classpath / webapp question

2003-11-24 Thread Ben Souther
You could put them in TOMCAT_HOME/common/lib. Then the jars will be accessible to all webapps running in that instance of Tomcat. On Monday 24 November 2003 10:13 am, Mark D. Hansen wrote: Is there any way to put .jar files on a Webapp's classpath other than placing the .jar files into the

RE: Moving from 3.3.1 to 4.1.29 question

2003-11-24 Thread Bodycombe, Andrew
Please read the tomcat FAQ: http://jakarta.apache.org/tomcat/faq/misc.html#invoker -Original Message- From: Charles Gardner [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 14:35 To: Tomcat Users List Subject: Moving from 3.3.1 to 4.1.29 question I am converting from 3.3.1 to

Tomcat connectors on Aix

2003-11-24 Thread Jose
Hello. I need your help to compile mod_jk2 connectors on Aix 4.3.3 I use gcc 3.2.1, libtool 1.4.2, autoconf 2.53, automake 1.5 I have downloaded jakarta-tomcat-4.1.29 and it is works fine. Now i need apache 2.0.48 works with tomcat and i have downloaded jakarta-tomcat-connectors-4.1.29-src (i

RE: simple classpath / webapp question

2003-11-24 Thread Mark D. Hansen
Unfortunately, I can't do that because I've got webapps that use different versions of the same runtime libraries. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 10:24 AM To: Tomcat Users List Subject: Re: simple classpath / webapp

RE: simple classpath / webapp question

2003-11-24 Thread Shapira, Yoav
Howdy, Or you could have ant scripts that create and deploy WAR files for you. Yoav Shapira Millennium ChemInformatics -Original Message- From: Mark D. Hansen [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 10:14 AM To: Tomcat User (E-mail) Subject: simple classpath / webapp

Re: tomcat stats and performances

2003-11-24 Thread arinsoun
When I say it doesn't respond very well I refer that when there are most people entering to the application sometimes when you type a action on the navigation bar on the browser it doesn't respond anything, it doesn't show the page, appear error 404 not found, and if you wait a moment and try

AW: Multiple Tomcats handled by one Apache

2003-11-24 Thread Wegener, Dierk
Another hello, so it seems that putting the include mod_jk.conf in a VirtualHost directive is ignored by Apache. Every time I try I get a workers not found - jk will not work. Maybe someone can help me getting on - or say that it isn't possible at all. Thanx! Dierk -Ursprungliche

Tomcat Dies

2003-11-24 Thread Rob Wichterman
I have two tomcat instances each on a separate folder. My problem is that after a few days we get one the following errors in Catalina.out 1. Exception java.lang.OutOfMemoryError: requested 24 bytes for promotion. Out of swap space? 2. SEVERE: Caught exception executing [EMAIL

RE: Tomcat Dies

2003-11-24 Thread Peter Guyatt
Hi There, It looks like there is a memory lieak in your code, do you have any listeners, and if so are you storing the session objects in a collection and not removing them from the collection when they are being invalidated. Thanks Pete -Original Message- From: Rob Wichterman

Re: tomcat 4.1.29 in SSL mode on AIX 5; Algorithm SunX509 not available

2003-11-24 Thread Michael E. Allen
Bill Barker wrote: I'm guessing that you are running IBM's JVM. The Tomcat 5 ssl-howto has been updated for what you need for running with IBM (Tomcat only defaults to Sun). The main thing is to add 'algorithm=IbmX509' to the Factory element. Michael E. Allen [EMAIL PROTECTED] wrote in message

download file issue

2003-11-24 Thread Ostad, James
I have created a web site that allows users to download files. It is working at the server level, but not out site of the server, at user level. Server is win2k adv. server. Tomcat is 4.1.29 Any suggestion would appreciated. James Out--- (1)

Re: tomcat stats and performances

2003-11-24 Thread Peter Lin
when you say SAP, I take it is refering to SAPDB. The first thing you to do is to time how long it takes to execute the query. If the query is not a problem, then I would move on to timing the processing time in struts. What I've done in the past is to take some of the production queries and

RE: IIS is not supported in Tomcat 4.1.29.

2003-11-24 Thread Januski, Ken
It's hard not to think that there's a lot of misspent energy here. Many people have problems setting up Tomcat, esp. with IIS, and I'm one of them. In fact I had a thread that went on for 50+ messages before it got solved. But generally most people to get their problems resolved. The original

RE: tomcat-jg vs tomcat-replication

2003-11-24 Thread jean-philippe . belanger
I just tried changing to tomcat-replication and well, that didn't go as well as I wished! :) Seams like the setAttribute, getAttribute and sessionCreation does work. Both my server gets the replication messages. My problem is that the browse never gets the request back! Everything looks done on

Re: IIS is not supported in Tomcat 4.1.29.

2003-11-24 Thread Christopher Schultz
Roeland, Before I sound too much like byting the hand that feeds, let me thank you for the useful information that you have provided. Fair enough. Although we must be in different time zones, 'cause I definately didn't write that at 4:26 AM :) For one thing, whether you guys know it or not,

alias directive/Virtual host problem

2003-11-24 Thread john-paul delaney
Hello List... In order that a virtual host respond correctly to urls: http://mydomain.com http://www.mydomain.com I've had to add two host entries in server.xml (one for mydomain.com, the other for www.mydomain.com). I thought it would have been enough to add the alias directive for the

Re: HTTP 404 response for directory listing

2003-11-24 Thread Christopher Schultz
Atreya, In terms of URI directives that is the only one. I don't have a specific directive in httpd.conf to include workers2.properties, that file gets loaded automatically when I load the jk2 module. Also I don't have any JkMount directives in my httpd.conf file. Hmmm... this is very strange.

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, I have created a web site that allows users to download files. It is working at the server level, but not out site of the server, at user level. Can you describe what you mean by doesn't work outside the server? What happens when you try to download? -chris

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
So considering TC is writing these temp files to whereever it is started from and *not* the /work directory should I log this as a bug? -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 20 November 2003 14:59 To: Tomcat Users List Subject: Re: jsp cache issue

RE: alias directive/Virtual host problem

2003-11-24 Thread Patrick Willart
Hi JP, You don't need to do that. The Alias directive is able to do this. Alias111.111.111.111/Alias Aliasmydomain.com/Alias Aliaswww.mydomain.com/Alias grts, Patrick --- From: john-paul delaney [mailto:[EMAIL PROTECTED]

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, While I am within the host server, everything works fine. But let say that I try to get the site from a local workstation through internet. I am able to login, pass the information, and even get the database file information with an hyperlink to the file. But when I double click on it

Re: jsp cache issue

2003-11-24 Thread Tim Funk
Look at bugzilla (use ant in the description), it might be an ANT config related issue. I remember something about files being written to weird places and it was due to ant. -Tim Euan Guttridge wrote: So considering TC is writing these temp files to whereever it is started from and *not* the

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, I am not using IIS at this time. So, this is standalone Tomcat. Okay. I am able to login, pass the information, and even get the database file information with an hyperlink to the file. But when I double click on it gives me an error page, or if I right click on it to save the target as,

XSQL installation

2003-11-24 Thread Daniel Fullum
I have been trying to install Oracle's XSQL in Tomcat 4.1.29 without much success. I am using Windows2k and Java 1.4 The closest I get is by installing all JAR files, including OJDBC14 driver. in ...\WEB-INF\lib\ and creating a context with the Administration tools. Even then I keep getting:

RE: download file issue

2003-11-24 Thread Ostad, James
Chris, Here is the error page: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

RE: jsp cache issue

2003-11-24 Thread Euan Guttridge
Nothing found in bugzilla. Logged as new bug. Thanks Euan -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 16:59 To: Tomcat Users List Subject: Re: jsp cache issue Look at bugzilla (use ant in the description), it might be an ANT config related

RE: simple classpath / webapp question

2003-11-24 Thread Schalk
Mark I would think the easiest is including al your .jar's in Tomcat's common\lib\ directory. Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL

Re: download file issue

2003-11-24 Thread Christopher Schultz
James, Here is the error page: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Sorry for the back-and-forth: is this a Tomcat error (light blue and

Re: Starting Tomcat as nobody...

2003-11-24 Thread QM
: % sudo -u nobody /path/to/startup.sh I use a tool called erni to kick off daemons and such. Then again, I'm a little biased. ;) In addition to the change to user X, execute command Y provided by su and sudo, erni lets you: - chroot the command - assign group memberships on-the-fly - set the

RE: alias directive/Virtual host problem

2003-11-24 Thread john-paul delaney
Thanks Patrick... then as suspected, I must have a misconfiguration: Host name=mydomain.com debug=0 appBase=webapps/mdom unpackWARs=true autoDeploy=true Context path= docBase= debug=0 reloadable=true crossContext=true Aliaswww.mydomain.com/Alias ... Now

RE: simple classpath / webapp question

2003-11-24 Thread Shapira, Yoav
Howdy, He already said he needs different versions of those jars, so common/lib or shared/lib is NOT a solution. Yoav Shapira Millennium ChemInformatics -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 12:20 PM To: 'Tomcat Users List' Subject:

Re: jsp cache issue

2003-11-24 Thread Tim Funk
Is it similar to: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18485 -Tim Euan Guttridge wrote: Nothing found in bugzilla. Logged as new bug. Thanks Euan -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 24 November 2003 16:59 To: Tomcat Users List Subject: Re: jsp

RE: mod_jk2/tomcat 4.1.29 uri mapping

2003-11-24 Thread Dennis McRitchie
This problem also does not occur when you build mod_jk2 from jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz . Dennis -Original Message- From: Stefan Proels [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 8:32 AM To: Tomcat Users List Subject: Re: mod_jk2/tomcat 4.1.29 uri

Re: simple classpath / webapp question

2003-11-24 Thread Ben Souther
I assume from the backslashes in your pathname that you are running on Windows. Otherwise, I would suggest using symlinks to point to the jar files that need to be updated often. Since that's not an option, I would go with Yoav's suggestion and use an ant script for updating your libs. On

Re: jsp cache issue

2003-11-24 Thread Christopher Schultz
Tim, Is it similar to: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18485 This seems to indicate that Tomcat uses ant internally to compile (translated) JSP files. Is this accurate? -chris - To unsubscribe, e-mail: [EMAIL

  1   2   >