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 m

Re: Root directory...

2004-11-09 Thread e-Denton Subscriber
Create a context element, something like this: - Original Message - From: "Luc Vantroys" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "e-Denton Subscriber" <[EMAIL PROTECTED]> Sent: Sunday, November 07, 2004 7:48 PM Su

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

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

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 prefe

Default App

2004-10-29 Thread e-Denton Subscriber
Hi, I changed the default app to my app as follows:

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: To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 5:53 PM Subject: Application Deployment on Tomcat 5.1 > Hi, > > I

Fixed: MySQL upgrade Problem

2004-10-26 Thread e-Denton Subscriber
$oon! - 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 si

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 I

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

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: -

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?

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 command

Re: ROOT Problem

2004-09-20 Thread e-Denton Subscriber
That doesn't seem to work. I still have both running. I changed the Host as below: I am running Tomcat 5.0.27 - Original Message - From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "e-Denton Su

ROOT Problem

2004-09-20 Thread e-Denton Subscriber
Hi, I set my context to use my app as the default app: It does call my app with this URL http://127.0.0.1:8080/, but it also starts up the app in /e-Denton. In other words, it is running both as the default app and as its own app. What am I doing wrong? Thx. -

Re: Tomcat 5.0 and JavaMail - solved? not quite

2004-07-09 Thread e-Denton Subscriber
// fails Is anyone 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

Re: Tomcat 5.0 and JavaMail - solved?

2004-07-08 Thread e-Denton Subscriber
o put activation.jar and mail.jar inside > >catalina_home\common\lib\ you need to put them inside > >java_home\jre\lib\ext... > > > >regards... > >aris > > > >-Original Message- > >From: Dale, Matt [mailto:[EMAIL PROTECTED] >

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, 200

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 cont

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 5.

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

Re: Easy /servlet question

2004-06-23 Thread e-Denton Subscriber
nd you should find something like this: > > > > > Just uncomment and it should work. Note that "/servlet/" is no longer part > of the specification as of 2.3. Mapping it is recommended. > > Regards, > Paul > > -Original Message- >

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: http://127.0.0.1:8080/e-Denton/servlet/Upload_C

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 -&g

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 auto

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:

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 wo

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