isUserInRole

2005-03-30 Thread e-Denton Subscriber
I see that the session object is stored in the request object (request.getSession). And, I suppose, the methods such as isUserInRole from the request are actually querying the stuff from the session object. So, if the session is gone (invalidated), then there is no authorization info. Does this

Re: Root directory...

2004-11-09 Thread e-Denton Subscriber
Subscriber [EMAIL PROTECTED] Sent: Sunday, November 07, 2004 7:48 PM Subject: Re: Root directory... Hi, What do you mean by this? thanks, Luc. - Original Message - From: e-Denton Subscriber [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Sunday, November 07, 2004

Re: ClassLoader question

2004-11-08 Thread e-Denton Subscriber
shared is the right directory for things to be shared by all your web apps (shared class loader). server/lib is for the Catalina class loader. - Original Message - From: Mark Claassen [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, November 08, 2004 1:40 PM

Re: Root directory...

2004-11-07 Thread e-Denton Subscriber
Create a context for your app with path=. That makes it the root app. - Original Message - From: Luc Vantroys [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, November 06, 2004 9:40 PM Subject: Root directory... Hi, I work in a regular directory but I'm

Re: Deployment error

2004-10-30 Thread e-Denton Subscriber
I am not sure if this is your problem, but there can be a conflict between the versions of xml in the jdk and in tomcat. jdk ones load in preference to tomcat ones. I loaded: xalan.jar xercesImpl.jar xml-apis.jar into tomcat/common/endorsed to fix my problem. Endorsed allows them to load in

Default App

2004-10-29 Thread e-Denton Subscriber
Hi, I changed the default app to my app as follows: Context path= docBase=myApp and Host name=localhost appBase=C:/appBase only to discover that my Struts tags werent' working (putting in the context path), because the context path is . I would like to have my app in its own directory under

MySQL upgrade Problem

2004-10-26 Thread e-Denton Subscriber
Hi, I just upgraded from MySql 3.x to 4.0 and now I can't make connections work from Tomcat. I have read a bunch of stuff on the Web about this or similar problems, but, even though it worked before, I can't make it work now. I specify my connection info in server.xml and context.xml just like

Fixed: MySQL upgrade Problem

2004-10-26 Thread e-Denton Subscriber
! - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; e-Denton Subscriber [EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 10:09 AM Subject: RE: MySQL upgrade Problem Hi, Dollar sign in password is a no-no right now. It gets escaped. It's a PITA

Re: Application Deployment on Tomcat 5.1

2004-10-26 Thread e-Denton Subscriber
I would change appBase in server.xml to pint to WebDir. Then, create a context for each app with a URI relative to that base. Something like this: Host name=localhost debug=0 appBase=C:/WebDir and Context displayName=myApp1 path= docBase=myApp1 ... Context

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:

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

Context crossContext

2004-10-15 Thread e-Denton Subscriber
Hi, I was reading in a JSTL book about the Context crossContext attribute, but it explains nothing. What exactly does crossContext=true allow one to do? Thx. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Subdomain Set Up

2004-10-15 Thread e-Denton Subscriber
Hi, I am trying to get set up subdomains on a remote server (WebAppCabaret). I want to have the following valid URLs: cnw.xxx.com blog.xxx.com www.xxx.com They are all currently routed to Tomcat. I want each to map to a different directory or app. Do I set this up in Tomcat or in Apache? How?

ROOT Problem

2004-09-20 Thread e-Denton Subscriber
Hi, I set my context to use my app as the default app: Context displayName=e-Denton Portal Application docBase=e-Denton path= reloadable=true useNaming=true debug=5 It does call my app with this URL http://127.0.0.1:8080/, but it also starts up the

Re: ROOT Problem

2004-09-20 Thread e-Denton Subscriber
- From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; e-Denton Subscriber [EMAIL PROTECTED] Sent: Monday, September 20, 2004 11:12 AM Subject: RE: ROOT Problem Hi, You have autoDeploy enabled (this is the default). Turn it off by modifying the Host element in your

Re: Tomcat 5.0 and JavaMail - solved? not quite

2004-07-09 Thread e-Denton Subscriber
successfully using JavaMail with JNDI lookup on Tomcat 5.0.27 ? Should I report it as a bug? - Original Message - From: e-Denton Subscriber [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, July 08, 2004 9:10 AM Subject: Re: Tomcat 5.0 and JavaMail - solved? You're right

Re: Tomcat 5.0 and JavaMail - solved?

2004-07-08 Thread e-Denton Subscriber
... aris -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 11:23 PM To: Tomcat Users List; e-Denton Subscriber Subject: RE: Tomcat 5.0 and JavaMail I've found that you also need activation.jar for JavaMail, do you have this in common

Tomcat 5.0 and JavaMail

2004-07-07 Thread e-Denton Subscriber
I had JavaMail working in Tomcat 4, but in Tomcat 5, I am having trouble. I know it's something simple, perhaps you can see the problem. Mail.jar is in Tomcat 5.0\common\lib. I am getting this error: javax.naming.NamingException: Cannot create resource instance: Using this context in Tomcat

Upgrading to Tomcat 5.0

2004-07-07 Thread e-Denton Subscriber
I have another problem. webapps contains both an e-Denton.war file and an already expanded .war file (e-Denton directory). My Context (e-Denton.xml) is in Tomcat 5.0\conf\Catalina\localhost. Any idea why I would be getting this message? StandardHost[localhost]: Error deploying application at

Re: Upgrading to Tomcat 5.0--Fixed

2004-07-07 Thread e-Denton Subscriber
Nevermind--I figured this one out. I had saved a copy of my old web.xml, which Tomcat was also trying to load. - Original Message - From: e-Denton Subscriber [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 07, 2004 11:06 AM Subject: Upgrading to Tomcat 5.0

Sysdeo, Eclipse, Tomcat

2004-07-03 Thread e-Denton Subscriber
I am trying to figure out how to debug servlets and JSPs. I am running Windows ME, Tomcat 5.0, Eclipse 2.1.3, and Sysdeo Tomcat Plugin 3.0.0.alpha1. So, how should Sysdeo be set up? Should I be able to set a breakpoint normally in a servlet? How do I set a breakpoint in JSP? Where is my soruce

Tomcat 5.0 under Windows ME

2004-06-23 Thread e-Denton Subscriber
I just downloaded Tomcat 5.0 to run on my Windows ME system. When I try to run the Configure Tomcat program, I get: The tomcat5w.exe file is linked to missing export NETAPI32.DLL:MetwkstaGetInfo. NETAPI32.DLL seems to be a Windows XP file. I did the same download on my XP machine and it is

Re: Tomcat 5.0 under Windows ME

2004-06-23 Thread e-Denton Subscriber
Thx for your help. - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 11:27 AM Subject: RE: Tomcat 5.0 under Windows ME From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.0 under

Tomcat 4.1 - 5.0

2004-06-23 Thread e-Denton Subscriber
I am converting a Struts app from Tomcat 4.1 to 5.0 and don't know how to establish my context. Under 4.1, I placed a Context entry (at the end of this email) in server.xml. I gather it should now be in its own xml file within my application directory. But, where? and by what name? Is it found

Re: Tomcat 4.1 - 5.0

2004-06-23 Thread e-Denton Subscriber
Thanks--it works! - Original Message - From: Randall Svancara [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; e-Denton Subscriber [EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 2:23 PM Subject: RE: Tomcat 4.1 - 5.0 I believe they go into $catalina_home/conf/Catalina

Easy /servlet question

2004-06-23 Thread e-Denton Subscriber
I have a very simple question, to which neither I nor my wife can find the answer. My servlet is in the WEB-INF/classes directory of my application directory. For some reason, I can't get this simple construction--it's in all the JSP books--to work:

Re: Easy /servlet question

2004-06-23 Thread e-Denton Subscriber
-Original Message- From: e-Denton Subscriber [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 4:29 PM To: [EMAIL PROTECTED] Subject: Easy /servlet question I have a very simple question, to which neither I nor my wife can find the answer. My servlet is in the WEB-INF/classes

Tomcat 5.0 and NETAPI32.DLL

2004-06-22 Thread e-Denton Subscriber
Hi, I just downloaded Tomcat 5.0 to run on my Windows ME system. When I try to run the Configure Tomcat program, I get: The tomcat5w.exe file is linked to missing export NETAPI32.DLL:MetwkstaGetInfo. NETAPI32.DLL seems to be a Windows XP file. I did the same download on my XP machine and it is