JSP pages not refreshing

2004-12-03 Thread Mayuresh Kshirsagar
Hi Folks, I am on windows. have apache, tomcat and java. I have a test website up and running on my test machines. I have changed the contents on of the pages. they dont sem to be reflecting the changes. On Unix, we have a touch on these jsps, which solves the problem. How can we do it on

Re: Re: RE: Character Encodig/ CodePage Problem

2004-12-03 Thread esters
Sorry my mail from yesterday must be lost somewhere . Well, after further testing i figured that the encoding problem does only occur when you are sending the HTML generated Code through the java. io.PrintWriter. In my case the Printwriter ignores the

timeout + SingleSignOn + pre-compiled JSPs

2004-12-03 Thread Paulo Alvim
Hi, I'm using TC 5.0.28 running 3 WARs with SingleSignOn feature. I also have code that modify the user's timeout for authenticated users only. (Anonymous have 5 minutes and authenticated users have 1 hour). It has been worked for a year without problems! Recently I'm getting short (5

RE: Tomcat 5 notably slower than tomcat 4

2004-12-03 Thread sipdev
I cannot tell for your exact configuration, but for a single server, Java application + XML Tomcat 5.5.4 seems faster than 4.1.30 on JRE 1.4.2_05 Why don't you try the 5.5.4? -Original Message- From: Dan Foreman [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 5:25 AM To:

Help: Windows Server on Linux Client

2004-12-03 Thread Aris Javier
Good Afternoon! I have this problem on linux clients... My web apps simply won't run on linux client... http: 401 authorization problem always shows up on mozilla in linux. The server is Windows 2k (development pc) running tomcat 5.0.27 using jk2 connector to run on IIS... my web apps don't

Tomcat hangs up ... Huge count of webapps

2004-12-03 Thread Eberle Martin
Hi everybody and java experts, i have a huge count of webapps (approximately 25) in my Tomcat here, running on Suse Linux 9.1. After a few connection requests, Tomcat just hangs up and doesn't accept anymore connections. I can't kill the process anyway, only killall -9 java helps. Well,

RE: clustering help

2004-12-03 Thread Dale, Matt
How do you distinguish between the two servers in your URL? For the clustering to work you need to hit both through a single entry point such as a load balancer. This is because the session id is stored as a cookie which is stuck to a hostname, an inherent cookie behaivour. If when you hit

logging swallow output

2004-12-03 Thread Roberto Cosenza
For some reason I still have a lot of messages getting to catalina.out even If I have swallowoutput=3 and my logger gets a copy of the message. What can the problem be? I use tomcat 5.0.28 -- Roberto Cosenza Infoflex Connect AB, Sweden Tel: +46-(0)8-55576860, Fax: +46-(0)8-55576861 -- Nordic

Re: JSP pages not refreshing

2004-12-03 Thread vishal nalwa
Hi , Follow these points -Goto tomcat5.5/conf/ folder -open the web.xml -Find out the JSP servlet which will look like servlet servlet-namejsp/servlet-name servlet-classorg.apache.jasper.servlet.JspServlet/servlet-class init-param param-namefork/param-name

Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Peter Rossbach
Hey, you can configure the Ant Compiler with following steps: Copy ant.jar and ant-launcher.jar at common/lib Edit conf/web.xml or your own app web.xml ( Change servlet-name at definition and mappings!) servlet servlet-namejsp/servlet-name

Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Trond G. Ziarkowski
Hi all! I'm migrating from Apache2/JK2/Tomcat 5.0.28 to Tomcat standalone (don't need php anymore), and have some questions regarding the matter. 1) Since Tomcat now will be serving all the static content as well, will it require more threads than when only serving dynamic content? 2) In

Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Remy Maucherat
On Fri, 03 Dec 2004 11:23:42 +0100, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, you can configure the Ant Compiler with following steps: Copy ant.jar and ant-launcher.jar at common/lib Edit conf/web.xml or your own app web.xml ( Change servlet-name at definition and mappings!)

reloading, 5.0, context.xml

2004-12-03 Thread Christoph Kukulies
I'm running a 5.0 of some vintage. I'm currently in a developing phase where I need reloading. It is cumbersome to restart the server for every little source change. I've read through the archived messages and find that reloading = false is the default in 5.x. And that one had to set

RE: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Allistair Crossley
Hi 1) Since Tomcat now will be serving all the static content as well, will it require more threads than when only serving dynamic content? That doesn't *have* to be the case. You could still have Apache serve up your static resources by pointing the document root at your webapp's root

RE: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Allistair Crossley
OK, i've just re-read your message and d'oh I see you want to move away from Apache and JK2. Sorry. Will take another look ... -Original Message- From: Allistair Crossley Sent: 03 December 2004 11:23 To: Tomcat Users List Subject: RE: Migrating from Apache2/JK2 to Tomcat standalone

RE: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Allistair Crossley
OK :) 1) Since Tomcat now will be serving all the static content as well, will it require more threads than when only serving dynamic content? Same as before. 2) In Apache I'm using mod_rewrite to rewrite requests to mydomain.com/ to mydomain.com/myapp. I've implemented this behaviour by

RE: reloading, 5.0, context.xml

2004-12-03 Thread Allistair Crossley
You should do this ... Create a file called mywebapp.xml (matching your webapp's name of course) and whack it in tomcat/conf/Catalina/localhost In that file Context path= docBase=/mywebapp reloadable=true / Note this is for 5.0.x NOT 5.5.x which removes the path attribute. Restart.

Re: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Peter Rossbach
Hello Remy, your right, the new JDT is the best option. What I say Ant/ tools.jar/jikes works also, but the future is the JDT support. Peter Remy Maucherat schrieb: On Fri, 03 Dec 2004 11:23:42 +0100, Peter Rossbach [EMAIL PROTECTED] wrote: Hey, you can configure the Ant Compiler with

Re: JSP pages not refreshing

2004-12-03 Thread Mayuresh Kshirsagar
One more solution I found was to delete the TOMCAT_HOME\works\* and restart tomcat and apache. any more solutions to this ? - Original Message - From: vishal nalwa [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 03, 2004 2:59 PM Subject: Re: JSP pages

Re: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Trond G. Ziarkowski
Thanks for your replies Allistair :) 2) In Apache I'm using mod_rewrite to rewrite requests to mydomain.com/ to mydomain.com/myapp. I've implemented this behaviour by using response.sendRedirect in a scriptlet in the index.jsp of my ROOT app. Is this the preferred way of doing this?

Stopping creation of sessions

2004-12-03 Thread Mark O'Driscoll
My application uses FOP to create pdf documents on the fly. The xsl description for docn creation includes a directive to load an external object, eg a jpeg file. The spec looks like this fo:external-graphic [EMAIL PROTECTED] scaling=uniform vertical-align=middle width={$width} / So for each

Re: FW: Tomcat 5 notably slower than tomcat 4

2004-12-03 Thread David Stevenson
Try JDK 1.4.2_06. It has less bugs. Might be faster. David Stevenson On Thu, 2004-12-02 at 22:25, Dan Foreman wrote: Hi, While upgrading application servers from Tomcat 4.0.5 to Tomcat 5.0.29 I am noticing slower browser response when hitting the tomcat 5 servers. We use tomcat as an

Re: JSP pages not refreshing

2004-12-03 Thread David Stevenson
The equivalent of touch on Windows: 1. Open JSP page. 2. Add space. Remove space. 3. Press Save. David Stevenson On Fri, 2004-12-03 at 03:11, Mayuresh Kshirsagar wrote: Hi Folks, I am on windows. have apache, tomcat and java. I have a test website up and running on my test machines. I

Re: References to resources outside a webapp

2004-12-03 Thread QM
On Fri, Dec 03, 2004 at 05:10:16PM +1100, Chong, Kwong wrote: : application needs to reference a directory structure of files outside of : my webapp; any suggestions on how I should go about this? Be specific: what sort of resources? If you mean images and other static content, there was a

Re: Stopping creation of sessions

2004-12-03 Thread David Stevenson
Did you try: %@ page session=false % http://java.sun.com/products/jsp/tags/12/syntaxref1210.html David Stevenson On Fri, 2004-12-03 at 07:32, Mark O'Driscoll wrote: My application uses FOP to create pdf documents on the fly. The xsl description for docn creation includes a directive to

Re: Tomcat/Java and SMP

2004-12-03 Thread Kwok Peng Tuck
Dan, U have 10 application servers on one machine or 10 application on 10 distinct machines ? Dan Foreman wrote: Hi, I have a setup of 10 application servers using Tomcat 4/5, jsdk 1.4.2_02, SMP, win2k. In watching the performance under load I am concerned that only one CPU is being

Maximum size of the request and response HTTP header

2004-12-03 Thread gicorron
Hi all We use Apache 2.0.50, Tomcat 4.1.30 and mod_jk 1.2.6 on Windows 2000 for our portal server. Apache is protected by the Siteminder SSO product. We have a content server on another Windows 2000 box, with Apache/Tomcat/mod_jk but we would like to use Coyote on this machine because SSO is not

Re: logging swallow output

2004-12-03 Thread Ben Souther
On Fri, 2004-12-03 at 04:28, Roberto Cosenza wrote: For some reason I still have a lot of messages getting to catalina.out even If I have swallowoutput=3 and my logger gets a copy of the message. What can the problem be? I use tomcat 5.0.28 You might want to take a look at the

RE: JSP pages not refreshing

2004-12-03 Thread Peter Crowther
From: David Stevenson [mailto:[EMAIL PROTECTED] The equivalent of touch on Windows: 1. Open JSP page. 2. Add space. Remove space. 3. Press Save. Or grab the UNIX utility ports from http://unxutils.sourceforge.net/ and use touch.exe :-) I use this suite daily; it does its job, and it does

Re: JSP pages not refreshing

2004-12-03 Thread Ben Souther
I am on windows. have apache, tomcat and java. I have a test website up and running on my test machines. This is an app that you built? You didn't just modify the contents of the sample apps shipped with Tomcat did you? I have changed the contents on of the pages. they dont sem to be

Re: logging swallow output

2004-12-03 Thread Roberto Cosenza
I did mean swallowOutput=true My typo. Problem still there, strange... (I'm using commons-logging + log4j to log) Ben Souther wrote: On Fri, 2004-12-03 at 04:28, Roberto Cosenza wrote: For some reason I still have a lot of messages getting to catalina.out even If I have swallowoutput=3 and

tomcat 4.1 + default session manager

2004-12-03 Thread Pieter Vandepitte
Hi, as i conclude from the tomcat documentation, a default session manager is used when you do not specify one in your Context. What i wanna do is changing the default session manager (with jdbc based store). Is there a way to do this (Tomcat 4.1)? best regards Pieter

RE: Does Tomcat 5.5 support jikes?

2004-12-03 Thread Shapira, Yoav
Hi, The technical points aside, we need to update the documentation section quoted by the OP for Tomcat 5.5. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 6:39 AM To: Tomcat Users List Subject:

RE: common image practice?

2004-12-03 Thread Shapira, Yoav
Hi, Ben's exactly right. More than deaf ears: rejecting fingers (the ones that close issues as RESOLVED-WONTFIX ;)). Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 5:00 PM To: Tomcat Users List

RE: Deployment problem

2004-12-03 Thread Shapira, Yoav
Hi, First, QM, about the work/ dir, too late. Already doing it. Doesn't seem to be causing any problems. Thanks for the warning tho... Just because it works in one version doesn't mean it'll work in another -- what QM said is right, and you should stop the practice of modifying the work

RE: Common error pages

2004-12-03 Thread Shapira, Yoav
Hi, Is there a way to have tomcat (4 and/or 5) share error files between all applications (contexts). No, there isn't. There's a similar thread going on right now for common images. And there have been many similar threads in the past. Use a version control system and package complete,

RE: Maximum size of the request and response HTTP header

2004-12-03 Thread Shapira, Yoav
Hi, Good reason to upgrade to Tomcat 5 ;) I'm not sure the maxHttpHeaderSize enhancement was back-ported to 4.1.30, even though the connector code is largely the same for Tomcat 5.0.x and the later 4.1.x releases. 4.1.31 has a number of enhancements over 4.1.30, I'd check the release notes for

RE: Migrating from Apache2/JK2 to Tomcat standalone

2004-12-03 Thread Shapira, Yoav
Hi, I'm migrating from Apache2/JK2/Tomcat 5.0.28 to Tomcat standalone (don't need php anymore), and have some questions regarding the matter. Good. 1) Since Tomcat now will be serving all the static content as well, will it require more threads than when only serving dynamic content? Probably

RE: minor glitch struts-config.xml tomcat 5.0.30

2004-12-03 Thread Shapira, Yoav
Hi, I posted this a couple of days ago: http://marc.theaimsgroup.com/?l=tomcat-userm=110184784714876w=2. Yoav Shapira http://www.yoavshapira.com -Original Message- From: D. Stimits [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 11:21 PM To: Tomcat Users List Subject: Re:

RE: Re: RE: Character Encodig/ CodePage Problem

2004-12-03 Thread Shapira, Yoav
Hi, Don't create the PrintWriter yourself, get it from response.getWriter. Let the container worry about its encoding. Yoav Shapira http://www.yoavshapira.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 3:20 AM To: [EMAIL

RE: number of sessions and OutOfMemoryException

2004-12-03 Thread Shapira, Yoav
Hi, I'm I getting it right: that once OOME occures I need more memory or need to deside in my application how to remove sessions ? Once an OOME occurs, you're hosed. Decide now on a session timeout (this is usually requirements-driven by your users, but if not, just leave the default of 30

Re: Fedora Core 3

2004-12-03 Thread Cott Lang
I have FC3, JDK 1.5, and Tomcat 5.0.28 working together just fine. On Wed, 2004-12-01 at 09:32 -0600, Matt Bathje wrote: Hey all - I searched around on mail-archive and google for a bit and couldn't find anybody mentioning that they upgraded their Tomcat machines to use Fedora Core 3

RE: root context equivalent to another context?

2004-12-03 Thread Shapira, Yoav
Hi, Turn off autoDeploy in the Host element in server.xml. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Frank Morton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 10:30 PM To: [EMAIL PROTECTED] Subject: root context equivalent to another context? I

RE: Tomcat 5 notably slower than tomcat 4

2004-12-03 Thread Shapira, Yoav
Hi, Tomcat 5.0 is faster than 4.1 as well. The degree to which it's faster depends on application characteristics, hardware, load, etc. Yoav Shapira http://www.yoavshapira.com -Original Message- From: sipdev [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 4:04 AM To: Tomcat

Re: JSP pages not refreshing

2004-12-03 Thread Mayuresh Kshirsagar
Hi Ben, No I have replicated a website onto my test machines. All the pages are JSPs and involve servlets. When I do a modification to them. They are not reflected readily. Any pointers? Thanks, Mayuresh. - Original Message - From: Ben Souther [EMAIL PROTECTED] To: Tomcat Users List

RE: Tomcat hangs up ... Huge count of webapps

2004-12-03 Thread Shapira, Yoav
Hi, i have a huge count of webapps (approximately 25) in my Tomcat here, I wouldn't classify 25 as huge, but I suppose that's subjective. We have servers running that many webapps, but they're small webapps. Well, beneath the fact that my server has 2 gigabytes of ram, only 40MB are available

RE: tomcat 4.1 + default session manager

2004-12-03 Thread Shapira, Yoav
Hi, as i conclude from the tomcat documentation, a default session manager is used when you do not specify one in your Context. What i wanna do is changing the default session manager (with jdbc based store). Is there a way to do this (Tomcat 4.1)? Yup. Just declare the session manager you

RE: Tomcat/Java and SMP

2004-12-03 Thread Shapira, Yoav
Hi, NTI: Not a Tomcat Issue. Parallelization depends on the VM implementation for your specific OS and might require special configuration switches: consult your JVM documentation. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Dan Foreman [mailto:[EMAIL PROTECTED]

Re: JSP pages not refreshing

2004-12-03 Thread Ben Souther
Any pointers? Yep, Check the dates on the machines involved. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RES: [java] Re: FW: Tomcat 5 notably slower than tomcat 4

2004-12-03 Thread Paulo Alvim
If you don't pre-compile your JSPs: We had this kind of problem related to lowercase web-inf in our JSPs tag-lib headers...TC5 always regenerates and recompiles JSP that aren't declared using uppercase WEB-INF... if you have only one Tile with lowercase web-inf it's enough to serious performance

Re: clustering help

2004-12-03 Thread Filip Hanik - Dev
that still didn't answer the question, see Matt's email Filip - Original Message - From: Nandish Rudra [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, December 02, 2004 4:39 PM Subject: RE: clustering help I have two jsp's for the same app on ebot

RE: tomcat 4.1 + default session manager

2004-12-03 Thread Pieter Vandepitte
Hi, sorry, that was not what i meant, my fault. What i mean is: can i change the default session manager in a general way. I don't want to create a .xml file for each webapp and include a Manager element(just read: i can't, because the application using the tomcat doesn't allow me to do

tomcat not sending all output

2004-12-03 Thread Jiang, Peiyun
I have a servlet that is doing a lot of work. After the work is done, I send out information to say that the work is done. But somehow tomcat disconnected and the browser is not getting the whole output. I logged the whole process and it does run to end. If I reduce the amount of work done by the

Re: UTF-8 Encoding in Jsp | RESOLVED

2004-12-03 Thread Andoni
I concur, thanks for posting your findings. Also if I may ask: please don't change the subject of your mails. Those of us who view this list as a newsgroup get all messed up! Andoni. - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] Newsgroups: gmane.comp.jakarta.tomcat.user

Re: tomcat not sending all output

2004-12-03 Thread Ben Souther
On Fri, 2004-12-03 at 09:28, Jiang, Peiyun wrote: I have a servlet that is doing a lot of work. After the work is done, I send out information to say that the work is done. But somehow tomcat disconnected and the browser is not getting the whole output. I logged the whole process and it does

Tomcat 5 + hostname

2004-12-03 Thread Lei Lin
Hi folks, We installed Tomcat 5 on Redhat Linux 9 server. In order to run our servlet, we need to use http://hostname:8080 instead of using our server's IP address URL eg: http://177.23.6.2:8080. The IP address URL works for our server, but not the hostname url. Any idea? Thanks Lei

RE: tomcat not sending all output

2004-12-03 Thread Jiang, Peiyun
No thread in other class. Usually I'll get result in about 1 minute and I do want immediate output. But right now it takes 2-3 minutes and it is not awfully long. I did not expect tomcat or the browser to drop connection. I thought of doing what you suggested, but I'm confused and I want to find

RE: Deployment problem

2004-12-03 Thread Dustin
--- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, First, QM, about the work/ dir, too late. Already doing it. Doesn't seem to be causing any problems. Thanks for the warning tho... Just because it works in one version doesn't mean it'll work in another -- what QM said is right, and you

RE: Error Preventing upgrade to Tomcat 5

2004-12-03 Thread Cox, Charlie
Is there a bugzilla number for this problem? I can't seem to find it. Also do you know if it is also a problem in 5.5? Thanks, Charlie -Original Message- From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 30, 2004 3:16 PM To: Tomcat Users List Subject: Re:

AW: Tomcat 5 + hostname

2004-12-03 Thread Eberle Martin
Same problem here ... can't get tomcat with domain name running :( -Ursprüngliche Nachricht- Von: Lei Lin [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 3. Dezember 2004 15:44 An: [EMAIL PROTECTED] Betreff: Tomcat 5 + hostname Hi folks, We installed Tomcat 5 on Redhat Linux 9 server.

[ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Shapira, Yoav
The Apache Jakarta Tomcat team is proud to announce the immediate availability of Tomcat 5.5.5-alpha. This build contains numerous bug fixes and other improvements on top of the stable 5.5.4 release. Release notes: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES Please refer to

AW: Tomcat hangs up ... Huge count of webapps

2004-12-03 Thread Eberle Martin
i have a huge count of webapps (approximately 25) in my Tomcat here, I wouldn't classify 25 as huge, but I suppose that's subjective. We have servers running that many webapps, but they're small webapps. ### Ok. It's not THAT huge .. but we have ~45 users per webapp which are going to connect

404 capture anywhere without apache

2004-12-03 Thread Frank Morton
Another view of a previous post... I have a context currently defined in server.xml as: Context path=/mycity docBase=mycity debug=9 reloadable=true crossContext=true Loader checkInterval=5 / Logger className=org.apache.catalina.logger.SystemOutLogger

RE: Tomcat 5 + hostname

2004-12-03 Thread Phillip Qin
Check your server.xml -Original Message- From: Eberle Martin [mailto:[EMAIL PROTECTED] Sent: December 3, 2004 10:32 AM To: Tomcat Users List Subject: AW: Tomcat 5 + hostname Same problem here ... can't get tomcat with domain name running :( -Ursprüngliche Nachricht- Von: Lei

RE: 404 capture anywhere without apache

2004-12-03 Thread Scott Purcell
The deployment descriptor will allow the following: error-page error-code404/error-code location/errorpage.jsp/location /error-page Give this a try and all 404 errors caught by the context will be sent to the errorpage.jsp file. Also check the docs, as there are other attributes that get

RE: Tomcat hangs up ... Huge count of webapps

2004-12-03 Thread Shapira, Yoav
Hi, ### Ok. It's not THAT huge .. but we have ~45 users per webapp which are going to connect on nearly the same time .. 25 apps * 45 users = virtually 1125 concurrent users, that's significant. I'm bringing up the JVM with /usr/j2re142_05/bin/java -server -Xmx1024m -Xms256m -D ... Then

Re: 404 capture anywhere without apache

2004-12-03 Thread Frank Morton
Thanks. I got this working, but what about 404 errors outside the context? On Dec 3, 2004, at 10:51 AM, Scott Purcell wrote: The deployment descriptor will allow the following: error-page error-code404/error-code location/errorpage.jsp/location /error-page Give this a try and all 404 errors

RE: tomcat 4.1 + default session manager

2004-12-03 Thread Benjamin Armintor
Have you tried setting the Manager in your Host's DefaultContext? Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -Original Message- From: Pieter Vandepitte [mailto:[EMAIL

2 Servers, 1 CMS, 1 Database Server + ? Tomcats ...

2004-12-03 Thread Allistair Crossley
Hi We are running 1 instance of Tomcat on a 2 yr old dual processor P3 1Ghz with 1GB RAM. The application is an intranet, and it integrates with SQL Server (running on the same server) via Tomcat-managed JNDI pools. The application has a business logic layer that has to cope with a mixture of

Re: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Andoni
Ok, forgive my ignorance but can someone show me where there are descriptions for the files available: http://apache.mirrors.esat.net/jakarta/tomcat-5/v5.5.5/README.html gives brief descriptions but I have other questions: Do the .zip and .exe contain all the others? If not which do they contain,

RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Allistair Crossley
Hi Andoni, The docs have sections on Deployer and Admin, not sure about Embedded. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/index.html I know what you mean, and I am currently working on complete new documentation set for some of these missing areas (although you may find that someone

RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Shapira, Yoav
Hi, Ok, forgive my ignorance but can someone show me where there are descriptions for the files available: http://apache.mirrors.esat.net/jakarta/tomcat-5/v5.5.5/README.html gives brief descriptions but I have other questions: We intend for the description on the download pages to be

Re: reloading, 5.0, context.xml

2004-12-03 Thread Christoph P. Kukulies
On Fri, Dec 03, 2004 at 11:29:00AM -, Allistair Crossley wrote: You should do this ... Create a file called mywebapp.xml (matching your webapp's name of course) and whack it in tomcat/conf/Catalina/localhost In that file Context path= docBase=/mywebapp reloadable=true / Note

RE: reloading, 5.0, context.xml

2004-12-03 Thread Shapira, Yoav
Hi, Unfortunately the leading / on docBase is misleading and not likely what you want: it implies an absolute path, i.e. /servlets on your file system. You probably want just servlets relative to your appBase, i.e. $CATALINA_HOME/webapps/servlets. For that, put docBase=servlets without a

Re: reloading, 5.0, context.xml

2004-12-03 Thread Ben Souther
docBase=/servlets You're telling Tomcat to look in the root directory of your file system for the servlets directory. try: docBase=servlets On Fri, 2004-12-03 at 11:29, Christoph P. Kukulies wrote: On Fri, Dec 03, 2004 at 11:29:00AM -, Allistair Crossley wrote: You should do this

RE: 2 Servers, 1 CMS, 1 Database Server + ? Tomcats ...

2004-12-03 Thread Shapira, Yoav
Hi, Clustering adds failover and reliability, but usually doesn't increase performance. Accordingly, if I were you the first setup I'd try is server A for CMS/SQL, and server B for one instance of Tomcat (unclustered). Run a stress test tool at that and see how it responds. If the response is

Re: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Andoni
Hi, I wanted answers to some bits and others were a bit of point-making. I think Yoav has answered most of my questions though except: Does the full standard Tomcat package contain the Deployer? I know it doesn't contain the Admin app. but not sure about the deployer. Glad to hear you are

Re: Tomcat 5 + hostname

2004-12-03 Thread Andoni
Post your server.xml (or at least the relevant parts) with no HTML comments and I'll have a look. Failing that, read the documentation, it shows how to set up virtual hosts in tomcat. Andoni. - Original Message - From: Eberle Martin [EMAIL PROTECTED] Newsgroups:

xercesImpl.jar xerces.jar TC 5.0.19

2004-12-03 Thread Giuseppe SANTAMARIA
Hi, I'm working with Apache Tomcat/5.0.19. In the \Tomcat 5.0\common\endorsed\ directory, I've got 2 libraries : xerces.jar (I think it's an old Xerces, I didn't put myself there : someone else need it) and xercesImpl.jar (a newer version of xerces). I coded a class that need xerces2, but

RE: [ANN] Apache Jakarta Tomcat 5.5.5-alpha Released

2004-12-03 Thread Allistair Crossley
when I am done I could forward you a private URL and you could see what you think / make changes/additions etc.. at the moment I have a concept and I want to get it up to scratch, then I think the more people the better! i am constantly saving mails off this list now to add into the docs ;)

RE: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-03 Thread Shapira, Yoav
Hi, I'm working with Apache Tomcat/5.0.19. In the \Tomcat 5.0\common\endorsed\ directory, I've got 2 libraries : xerces.jar (I think it's an old Xerces, I didn't put myself there : someone else need it) and xercesImpl.jar (a newer version of xerces). It's either or, not both. If you put them

Form based login fails after context reload

2004-12-03 Thread Phillips, Caleb
I have configured form based login for a resource collection in my web app and it works fine. I do not directly reference the login form page. Tomcat handles the redirection for me as it should. But I am encountering a problem. When this sequence of events occurs: - Request a protected

Re: Tomcat 5 + hostname

2004-12-03 Thread Lei Lin
Andoni, I didn't set anything in virtual hosts in server.xml. The only thing there is the default one, localhost. I just want to use server's hostname, not a domain name of the server. such as http://servername:8080/ accessed by other computer which is connected in our company's network. I

RE: Tomcat/Java and SMP

2004-12-03 Thread Dan Foreman
10 application servers. -Original Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 6:53 AM To: Tomcat Users List Subject: Re: Tomcat/Java and SMP Dan, U have 10 application servers on one machine or 10 application on 10 distinct machines ?

Re: FW: Tomcat 5 notably slower than tomcat 4

2004-12-03 Thread Navneet Karnani
Do you see this speed problem when you hit the application for the first time. Remember, the jsps need to be compiled. Try visiting each page atleast once and then compare the speeds. Check if there are any errors being logged in the log file. Also, 5.0.29 is a pre-beta release. 5.0.28 was

Re: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-03 Thread Giuseppe SANTAMARIA
Hi, Yoav Where can i find help about having two Tomcat instances? Thanks Giuseppe Santamaria - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, December 03, 2004 5:58 PM Subject: RE: xercesImpl.jar xerces.jar TC 5.0.19

Re: reloading, 5.0, context.xml

2004-12-03 Thread Christoph P. Kukulies
On Fri, Dec 03, 2004 at 11:30:47AM -0500, Shapira, Yoav wrote: Hi, Unfortunately the leading / on docBase is misleading and not likely what you want: it implies an absolute path, i.e. /servlets on your file system. You probably want just servlets relative to your appBase, i.e.

Re: xercesImpl.jar xerces.jar TC 5.0.19

2004-12-03 Thread Ben Souther
Where can i find help about having two Tomcat instances? Thanks If you search the archives, you'll find hundreds of threads addressing this issue. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: reloading, 5.0, context.xml

2004-12-03 Thread Ben Souther
What does the empty path= mean? It means it's the default app. http://localhost:8080; will bring that app up. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

lose query args when using cgi and ssi together

2004-12-03 Thread Brian Hill
We have set up Tomcat to process an SSI directive that is used in many pages on our site (www.pesticideinfo.org): !--#include virtual=/cgi-bin/myscript.pl?myqueryargs -- myscript.pl gets executed, but $ENV{QUERY_STRING} is defined but empty (and other things that I would have thought might be

Re: reloading, 5.0, context.xml

2004-12-03 Thread Christoph P. Kukulies
On Fri, Dec 03, 2004 at 11:30:47AM -0500, Shapira, Yoav wrote: Thanks for all the hellp. At least the server now starts up again without error: INFO: Processing Context configuration file URL file:/usr/local/jakarta-tomcat5.0/conf/Catalina/localhost/servlets.xml Now, when I formerly restarted

RE: lose query args when using cgi and ssi together

2004-12-03 Thread Shapira, Yoav
Hi, Using SSI and CGI together in Tomcat is something I haven't actually tried. But I would nonetheless recommend trying a later Tomcat version: 5.5.4 or 5.0.28 at least. The reason for this recommendation is that should you fine a bug in these versions, it's likely to get fixed, whereas if you

RE: Tomcat/Java and SMP

2004-12-03 Thread David Boyer
So these are 10 separate boxes? I think the clarification is necessary because application server in the context of java usually refers to the J2EE or (sometimes) servlet container. Are you taling about 10 instances of tomcat each running on their own box? [EMAIL PROTECTED] 12/3/2004 11:20:55

deploy app

2004-12-03 Thread Alexey Reztsov
I have two hosts deployed on Tomcat 5 - localhost and secondhost. After deploying application by using http://myserver/manager/install?path=/contextpathwar=file:/home/myhomedir/myapp.war i can see the new context installed on localhost. How can I deploy my application on the secondhost with the

RE: deploy app

2004-12-03 Thread Shapira, Yoav
Hi, You need to define a context for the manager app in the second host as well. You can have this done automatically by placing a copy of the manager app ni the second host's appBase, or you can do it yourself by adding a Context to the second host element. The manager webapp only works for

Re: Tomcat/Java and SMP

2004-12-03 Thread Wade Chandler
Dan Foreman wrote: 10 application servers. -Original Message- From: Kwok Peng Tuck [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 6:53 AM To: Tomcat Users List Subject: Re: Tomcat/Java and SMP Dan, U have 10 application servers on one machine or 10 application on 10

RE: Tomcat/Java and SMP

2004-12-03 Thread Dan Foreman
Yes, 10 separate boxes with a single JVM (tomcat instance) running on each box. All boxes are SMP. -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 12:32 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat/Java and SMP So these are 10 separate

Tomcat Connections And Memory Usage

2004-12-03 Thread David Rickard
Apache Version: 2.0.47 Tomcat Version: 4.1.29 Connector: mod_jk Server: SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,Ultra-250 Does Tomcat have a configurable maximum number of simultaneous connections (ala Apache's MaxClients property)? If so, how/where is this value configured? If not, is the

jsp on windows/linux

2004-12-03 Thread Jiang, Peiyun
I have my jsps on windows working fine. But after I moved to Linux, I got: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from

RE: jsp on windows/linux

2004-12-03 Thread Marot Laurent
are you sure you've got a jdk and not only a jre on that server ? -Message d'origine- De : Jiang, Peiyun [mailto:[EMAIL PROTECTED] Envoyé : vendredi 3 décembre 2004 21:02 À : 'Tomcat Users List' Objet : jsp on windows/linux I have my jsps on windows working fine. But after I moved to

  1   2   >