Re: tomcat startup processing

2004-10-23 Thread Edoardo Panfili
Didier McGillis wrote: is there away to have a jsp or something run some code on startup or to have it cache some data results so that I dont have to keep on going to the database each time the page is loaded. I use some cached informations on my application, the information are stored as static

Session ID in URL

2004-10-23 Thread Ben
Hi Is there a way to validate the session id? How do I deal with a situation where a user logged in and found something interesting on my site and decided to give the URL address (with jsessionid) of the page to his/her friend? Since the URL has the session id of the sender, the receiver clicks

Re: which one is a stable version of tomcat

2004-10-23 Thread Remy Maucherat
On Fri, 22 Oct 2004 11:48:10 -0700 (PDT), Linux Guru [EMAIL PROTECTED] wrote: Hello, I tried that too. No luck. almost every day I have to suffer the same problem. You mean you have correctly set LD_ASSUME_KERNEL=2.4.1, and it still doesn't work ? This would be the first time I hear this

AW: Session ID in URL

2004-10-23 Thread Steffen Heil
Hi How do I deal with a situation where a user logged in and found something interesting on my site and decided to give the URL address (with jsessionid) of the page to his/her friend? Since the URL has the session id of the sender, the receiver clicks on the link and will have access to the

[Slightly OT] coercing AWT/image libraries to release resources

2004-10-23 Thread Robert Hunt
I've got a servlet that produces thumbnail images on-the-fly (using TC 5.0.25, JDK 1.4.2). Once the servlet becomes active, it gobbles about 30mb per servlet/instance. I've gone through and tried to apply as many flush()/dispose()/gc()/etc. methods as I could find, but still, the memory

CLASSPATH Classloaders - Embedded Tomcat

2004-10-23 Thread sven morales
What are the CLASSPATH and Classloaders used when attempting to use the Embedded class to get a Tomcat 5 working? On a regular bundled Tomcat5, the catalina/common/lib, catalina/server/lib, catalina/common/endorsed are automatically searched for jars and loads them. Furthermore environment

Does Oracle 9i thin jdbc driver work in Tomcat 5?

2004-10-23 Thread Adrian Harrison
using tomcat 5.0.28, oracle 9.2.1.0 on windows 2000 (sp4) having a nightmare here, upgraded from oracle 8i to 9i, downloaded installed ojdbc14.jar file in Tomcat's common\lib directory. Now all I get when trying to create a connection pool is this exception - 2004-10-22 17:04:22

Enabling the admin webapp in Tomcat 5.5

2004-10-23 Thread Elam Daly
Howdy all, I'm running 5.5 on a Windows Xp laptop and have installed the admin package by unzipping it to the Tomcat home directory, but I am still getting the 'no longer installed by default' message. Can someone explain or point me to documentation that explains what else I need to do to get

Re: Enabling the admin webapp in Tomcat 5.5

2004-10-23 Thread Elam Daly
Elam Daly wrote: Howdy all, I'm running 5.5 on a Windows Xp laptop and have installed the admin package by unzipping it to the Tomcat home directory, but I am still getting the 'no longer installed by default' message. Can someone explain or point me to documentation that explains what else I

JDBCRealm

2004-10-23 Thread Roland Carlsson
Hi! I have to change realm from MemoryRealm to a JDBCRealm since we got the need to have everything in the database. So I have two questions that have arrised when trying out the JDBCRealm. In the memoryRealm I can define groups with a set of roles so that I don't have to give every user the

New User needing urgent help

2004-10-23 Thread Steven R. Christensen
Hello, I am new to using Tomcat and am having difficulty getting an application to work. Any help would be greatly appreciated. I have a web app that is giving me the following errors and can't seem to find why. Thanks in advance for your help. org.apache.jasper.JasperException: Unable to

Re: New User needing urgent help

2004-10-23 Thread Roland Carlsson
Hi Steve! I don't belive that you can import at root-level. You have to put your classes in a package (folder) that you then put in the web-inf/classes. Regards Roland - Original Message - From: Steven R. Christensen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, October 23,

AW: New User needing urgent help

2004-10-23 Thread Steffen Heil
Hi import Account; No. No. No. Import is used to make classes of foreign packages available. Classes in the same package are always available. And you should never have any package-less class, hence no problems. Regards, Steffen smime.p7s Description: S/MIME cryptographic signature

Re: New User needing urgent help

2004-10-23 Thread Larry Meadors
Correct. When you import w/o a package like you have, it will import from the current package - that is org.apache.somethingorother. Put them in a package, and change the imports. Larry [EMAIL PROTECTED] 10/23/04 11:47 AM Hi Steve! I don't belive that you can import at root-level. You have

RE: New User needing urgent help

2004-10-23 Thread Steven R. Christensen
From this I gathered that the import code isn't required and it looks like that fixed the problem. One thing I should have said was sun-java newbie as well so I am vastly ignorant on how all of this works. Only been trying to use it the last day or two. Appreciate the expert advice and very

RE: New User needing urgent help

2004-10-23 Thread Ben Souther
You'll probably have other problems later if you don't get your classes into packages (mapping servlets etc..). On Sat, 2004-10-23 at 14:01, Steven R. Christensen wrote: From this I gathered that the import code isn't required and it looks like that fixed the problem. One thing I should

RE: New User needing urgent help

2004-10-23 Thread Steven R. Christensen
Originally this app was setup to be located outside of the webapp directory in it's own directory. I had it working for the Tomcat 3.3.2 by setting the context on it with no problems. I wanted to make sure I had the latest Tomcat install to ensure that I wouldn't have to upgrade too soon so I

RE: New User needing urgent help

2004-10-23 Thread Ben Souther
Perhaps someone knows a way I can leave it outside the root and save me some extra work? This should help: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/deployer-howto.html On Sat, 2004-10-23 at 14:14, Steven R. Christensen wrote: Originally this app was setup to be located outside of

test, ignore it!

2004-10-23 Thread Zsolt Koppany
test Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

BASIC authentication without Popup Verification window

2004-10-23 Thread e-Denton Subscriber
Hi! I can't figure out why my BASIC authorization isn't working for my app. The pages show up as 401 Not Authorized, but no popup authorization window pops up! Further, the admin and manager apps are working using my JDBCRealm (:Enter Password window does pop up). Help appreciated. server.xml:

Multiple Hosts, multiple Root apps, path=/ -- Is it possible?

2004-10-23 Thread Brendan Colthurst
Can I setup my server.xml to have multiple root webapps, each with path=/ in its Context tag, if I use multiple Host descriptors? Has anyone done this who could share some server.xml configuration code? I mostly want to do this so that my session cookies don't have to have the webapp name in

Re: BASIC authentication without Popup Verification window

2004-10-23 Thread e-Denton Subscriber
Nevermind. I had a 401 page defined in web.xml, so it was being sent there instead of the browser. My mistake. - Original Message - From: e-Denton Subscriber [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, October 23, 2004 4:06 PM Subject: BASIC authentication

401 error

2004-10-23 Thread j r
hi, i just installed tomcat 5.0.28 and java 1.5. when i go to localhost:8080 i get the tomcat default page, when i go to my ip like xxx.xxx.xxx.xxx:8080 i can a 401 error. my router is forwarding port 8080 to the right ip and i'm baffled as to what could be going on. i'm a total newbie

Re: JDBCRealm

2004-10-23 Thread QM
On Sat, Oct 23, 2004 at 07:05:58PM +0200, Roland Carlsson wrote: : In the memoryRealm I can define groups with a set of roles so that I don't : have to give every user the same set over and over again. Is this possible : so solve with the built-in JDBCRealm? I can't say for certain, but I see