RE: Setting up Tomcat as a service

2008-07-29 Thread Riaz, Bob
than an admin will work fine but you'll need to get JAVA_HOME set correctly and start it using the startup.bat script or wrap it in your own script that sets JAVA_HOME manually. -Original Message----- From: Riaz, Bob [mailto:[EMAIL PROTECTED] Sent: 29 July 2008 17:25 To: Tomcat

Setting up Tomcat as a service

2008-07-29 Thread Riaz, Bob
My environment: Windows XP-Pro Tomcat 6.0.16 I'm trying to set up Tomcat as a service so that I can use my computer as a server for dev/test purposes. Hoping to drop a .war file into \webapps, and make it available that way. I can't start Tomcat using startup.bat because my JAVA_HOME v

RE: Contextlistener problem - my problem!

2008-07-25 Thread Riaz, Bob
Sorry! Apparently, it was my null pointer that was causing the problem in the listener. My apologies if you've spent a moment on this. -Original Message- From: Riaz, Bob [mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2008 1:54 PM To: users@tomcat.apache.org Subject: Contextlis

Contextlistener problem

2008-07-25 Thread Riaz, Bob
Using NetBeans 6.1 with Tomcat 6.0 in Windows XP-Pro. I have a ContextListener in my webapp. It's been working fine, until now. I have not made any changes to the Listener class since it was last in working shape. When I run the app through NetBeans I get the following: SEVERE: Exception send

RE: ContextListener executes twice

2008-07-22 Thread Riaz, Bob
://www.mail-archive.com/[EMAIL PROTECTED]/msg23408.html Fu-Tung --- On Tue, 7/22/08, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Caldarale, Charles R <[EMAIL PROTECTED]> > Subject: RE: ContextListener executes twice > To: "Tomcat Users List" > D

RE: ContextListener executes twice

2008-07-22 Thread Riaz, Bob
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 11:52 AM To: Tomcat Users List Subject: RE: ContextListener executes twice > From: Riaz, Bob [mailto:[EMAIL PROTECTED] > Subject: RE: ContextListener executes twice > > &

RE: ContextListener executes twice

2008-07-22 Thread Riaz, Bob
-Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 11:12 AM To: Tomcat Users List Subject: RE: ContextListener executes twice > From: Riaz, Bob [mailto:[EMAIL PROTECTED] > Subject: RE: ContextListener executes twice >

RE: ContextListener executes twice

2008-07-22 Thread Riaz, Bob
al Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 22, 2008 10:49 AM To: Tomcat Users List Subject: RE: ContextListener executes twice > From: Riaz, Bob [mailto:[EMAIL PROTECTED] > Subject: ContextListener executes twice > > In my webapp I have a

ContextListener executes twice

2008-07-22 Thread Riaz, Bob
My environment: NetBeans 6.1 Tomcat 6.0 In my webapp I have a ContextListener class in which I initialize a DB connection. I've noticed that when I run the project this code executes twice. Anyone know why this would happen? Thanks. Bob

RE: Tomcat Users List

2008-05-21 Thread Riaz, Bob
Thanks, Antonio! -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 21, 2008 10:08 AM To: Tomcat Users List Subject: Re: Tomcat Users List 2008/5/21 Riaz, Bob <[EMAIL PROTECTED]>: > http://java.sun.com/xml/ns/j2ee"; >xmlns:x

Tomcat Users List

2008-05-21 Thread Riaz, Bob
Hi, This is my web.xml file. Nothing special. I'm just getting started. http://java.sun.com/dtd/web-app_2_3.dtd";> http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml

Add context definition

2008-05-21 Thread Riaz, Bob
Hi, I'm using: * Eclipse JEE * Tomcat 6 * Windows XP Pro Created a new web app, and tried to see the index.html page, just to test. Comes up blank. There is no context in server.xml for my project. Update context definition in Eclipse doesn't do anything. Any thoughts wo