RE: Recompiling jsp; Problems with "Access Denied" errors after I edit a file in a webapp; Admin app

2005-05-14 Thread Caldarale, Charles R
> From: Karr, David [mailto:[EMAIL PROTECTED] > Subject: Recompiling jsp; Problems with "Access Denied" > errors after I edit a file in a webapp; Admin app > > First of all, what is the "admin app"? The admin app lets you view and manipulate nearly all Tomcat configuration values. It's a web-b

Recompiling jsp; Problems with "Access Denied" errors after I edit a file in a webapp; Admin app

2005-05-14 Thread Karr, David
I've been away from Tomcat for a while, and just tried setting up 5.5.9 on WinXP, with JDK1.5.0_2. It's working reasonably well, but I'm having some issues. First of all, what is the "admin app"? It's obviously different from "manager", but I can't find any information about it. When I try to e

Re: delete temporary content after session timeout

2005-05-14 Thread Frank W. Zammetti
Let's see... (1) You are correct, it's nothing more than an entry in web.xml. Remember, this isn't a Tomcat-specific thing, it's a J2EE thing (servlet spec specifically I think), so it's YOUR APP'S web.xml. The entry is simply: com.company.app.MySessionListener Assuming that class is availab

Re: delete temporary content after session timeout

2005-05-14 Thread Tim Diggins
that sounds very useful, not something I've done before -- can I ask a few questions - 1) how does one bind that into Tomcat -- declare a session listener in (I presume) web.xml? 2) as I'm using Spring Framework, is this still relevant (or is there a spring-specific way of binding in a session

Re: delete temporary content after session timeout

2005-05-14 Thread Frank W. Zammetti
Write a SessionListener... it has two methods, one that fires when a session is created, one when it is destroyed. That should do the trick for you. That's not a Tomcat-specific solution either, so it should be rather portable should you ever need to move to another app server. -- Frank W. Za

delete temporary content after session timeout

2005-05-14 Thread Bob Wobbler
Hi, I have an app that uploads user files in a temporary folder. I want to delete them when the session ends. I know I could solve this with a cron-job, but I'm looking for a way to solve it with Tomcat. Does anyone have an idea how to solve it? Thx for your help in advance, cheers, Robert -

Re[2]: server opts

2005-05-14 Thread Sergey Livanov
DM> What is the platform and error message? Windows 2000 sp4, 1 Gb [2005-05-14 22:52:35] [418 javajni.c] [error] CreateJavaVM Failed [2005-05-14 22:52:35] [903 prunsrv.c] [error] Failed initializing java C:\Apache\Tomcat\bin\bootstrap.jar [2005-05-14 22:52:35] [1131 prunsrv.c] [error] ServiceSta

RE: server opts

2005-05-14 Thread Dale, Matt
What is the platform and error message? You haven't given us much to go on. -Original Message- From: Sergey Livanov [mailto:[EMAIL PROTECTED] Sent: 14 May 2005 18:56 To: Tomcat users Subject: server opts I have loaded 5.5.9 server. I want to set JVM options for Tomcat. When I add -ser

Re: Sessions and keep-alives

2005-05-14 Thread Tim Diggins
Well, unless I misunderstood, the requirement is to keep the session for webappA alive as long as the session for webappB is alive, so if webappB is to be alive, then it must have new pages from the server (no need for a refresh there. Then the webappB's pages (views) could include a reference

server opts

2005-05-14 Thread Sergey Livanov
I have loaded 5.5.9 server. I want to set JVM options for Tomcat. When I add -server -Xmx256m option server does not start. 680 Mb memory is free on the server. Thanks you in advance . regards, Sergey mailto:[EMAIL PROTECTED] --

Re: website hosting

2005-05-14 Thread Lutz Zetzsche
Am Samstag, 14. Mai 2005 18:47 schrieb t.n.a.: > Basically, I haven't heard once someone suggest you run it directly > on > :80 for a number of reasons (run as root, performance, availability > : of modules etc.). As regards performance, running Apache in front of Tomcat is not preferable. A stan

Re: website hosting

2005-05-14 Thread t.n.a.
suri.jagadish wrote: Hi I need to host a website using the tomcat Webserver How do I configure the tomcat for the default port 80 for answering the http request for the ip address in the net I had already done it using (Microsoft) IIS. Don't know if you want to hear this, but you might want

Re: website hosting

2005-05-14 Thread Lutz Zetzsche
Hi Suri, Am Samstag, 14. Mai 2005 17:05 schrieb suri.jagadish: > How do I configure the tomcat for the default port 80 for answering > the http request for the ip address in the net It is not recommended to run Tomcat as root. If you would configure to listen to port 80 instead of port 8080, yo

Re: website hosting

2005-05-14 Thread Barry Kimelman
Go to the directory where Tomcat is installed.   Under the Tomcat directory there will be a "conf" sub-directory. In the "conf" directory there will be a "server.xml" file. In the "server.xml" file you can configure many aspects of Tomcat, including the port on which Tomcat listens.     *

Re: AW: Directory Structure Rationale

2005-05-14 Thread Bill Winspur
Agreed, apps can go anywhere, but what is the advantage to installing admin and manager under /server/webapps, instead of under /webapps? Pfingstl Gernot wrote: You can install your apps whereever you want, you only have to put a context.xml file in conf/[enginename]/[hostname] and set the docBa

Re: Setting up the Admin Tool

2005-05-14 Thread Lutz Zetzsche
Hi Philip, Am Samstag, 14. Mai 2005 14:38 schrieb Philip Cote: > I'm having a hard time getting the admin tool up and running on > Tomcat 5.5.7 on Fedora Core Linux. When I try to link to it from the > localhost root page, I get a messge telling me I need to install the > "admin" package. Very w

website hosting

2005-05-14 Thread suri.jagadish
Hi I need to host a website using the tomcat Webserver How do I configure the tomcat for the default port 80 for answering the http request for the ip address in the net I had already done it using (Microsoft) IIS.

Xerces Endorsed Library Problem

2005-05-14 Thread stefan pickschneider
Hello, we are trying to add translated messages for xerces to a cocoon web project. Unfortunately it is not possible to override tomcat's endorsed xerces library with a own one in WEB-INF/lib. (see http://barracudamvc.org/lists/archives/barracuda/2003-January/005750.html) We are using Tomcat 5.0.

Setting up the Admin Tool

2005-05-14 Thread Philip Cote
I'm having a hard time getting the admin tool up and running on Tomcat 5.5.7 on Fedora Core Linux. When I try to link to it from the localhost root page, I get a messge telling me I need to install the "admin" package. Very well. I go off to download the admin tool and use file roller to unzip t

Re: Arabic encoding

2005-05-14 Thread Fadwa Barham
I tried what you suggested, the characters that I write inside the servlet will be displayed correctly, but the data from database are question marks. it is true that remote debugging is not easy, but many programmers face this problem who use languages other than english,french,espanol. I found

Re: Arabic encoding

2005-05-14 Thread Mark Thomas
From re-reading this thread it sounds as if an invalid assumption is being made somewhere about the encoding of your database data. I would suggest the following: 1. Use res.setContentType("text/html; charset=UTF-8") or res.setContentType("text/html; charset=windows-1256") in your servlets. 2. Wr