RE: Tomcat 3.3.1 Problem

2003-01-06 Thread Larry Isaacs
There doesn't appear to be anything wrong with the XML below,
assuming the '-' at the beginning of some lines are *not* in the
actual file.

Check the log output of Tomcat to make sure no problems are being
reported at startup and when tomcat receives the browser request.

Cheers,
Larry

 -Original Message-
 From: Sarah Stevens [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, January 06, 2003 12:12 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat 3.3.1 Problem
 
 
 Hello!
 
 I am having a problem with Tomcat 3.3.1 running with Apache.  
 I have set 
 up an xml file named apps-BS.xml under the conf directory as is shown 
 with the apps-examples.xml file.  However, I am still unable 
 to access 
 the BS app from a browser.  Basically, I copied the apps-examples.xml 
 file.but my XML file text is shown below.  Am I missing something 
 simple here?
 
  ?xml version=1.0 encoding=ISO-8859-1 ?
 - webapps
 - !--
  Setting special properties for /examples
  ( as an example of overriding the defaults )
  
 
   --
 - Context path=/BS docBase=webapps/BS debug=0 
 reloadable=true
   SimpleRealm filename=conf/users/BS-users.xml /
   /Context
   /webapps
 
 Thanks,
 
 Sarah
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat 3.3.1 Problem

2003-01-06 Thread Paul Campbell
Should it be apps-BS.xml?

This is what I saw in the docs:
·   Add a Context entry in the Tomcat apps.xml configuration file. This approach 
is described briefly below, and allows you to position the document root of your web 
application at some point other than the $TOMCAT_HOME/webapps/ directory. Doing this 
requires the following steps (for Tomcat 3.3): 
Adding a new Context entry in Tomcat's apps.xml file involves the following steps 
(for Tomcat 3.3): 
·   If the $TOMCAT_HOME/conf/apps.xml


At 10:12 AM 1/6/2003 -0700, you wrote:
Hello!

I am having a problem with Tomcat 3.3.1 running with Apache.  I have set up an xml 
file named apps-BS.xml under the conf directory as is shown with the 
apps-examples.xml file.  However, I am still unable to access the BS app from a 
browser.  Basically, I copied the apps-examples.xml file.but my XML file text is 
shown below.  Am I missing something simple here?

?xml version=1.0 encoding=ISO-8859-1 ?
- webapps
- !--
Setting special properties for /examples
( as an example of overriding the defaults )


 --
- Context path=/BS docBase=webapps/BS debug=0 reloadable=true
 SimpleRealm filename=conf/users/BS-users.xml /
 /Context
 /webapps

Thanks,

Sarah


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat 3.3.1 Problem

2003-01-06 Thread Sarah Stevens
Thanks, Larry and Paul.  (Paul, I don't think I got your whole message, 
it seemed to be truncated)  

The '-' at the beginning or some lines are *not* in the actual file.  I 
run tomcat from a window so that I can have live debugging on my 
development computer instead of running it as a servicein the Tomcat 
window, it shows ContextXMLReader:  Context 
config=$Tomcat_Home\conf\apps-BS.xml
AutoWebApp:  Loaded from config:  DEFAULT:/BS
ContextManager:  Tomcat configured and in stable state
ContextManager:  Adding DEFAULT:/BS

So that all looks goodbut then there is an error...
XMLMapper:  Can't find resource for entity: -//Sun Microsystems, 
Inc.//DTD Web Application 2.3//EN 
--http://java.sun.com/dtd/web-app_2.3.dtd null

What does this error mean?

Thanks a lot!

Sarah


Larry Isaacs wrote:

There doesn't appear to be anything wrong with the XML below,
assuming the '-' at the beginning of some lines are *not* in the
actual file.

Check the log output of Tomcat to make sure no problems are being
reported at startup and when tomcat receives the browser request.

Cheers,
Larry

 

-Original Message-
From: Sarah Stevens [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 06, 2003 12:12 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 3.3.1 Problem


Hello!

I am having a problem with Tomcat 3.3.1 running with Apache.  
I have set 
up an xml file named apps-BS.xml under the conf directory as is shown 
with the apps-examples.xml file.  However, I am still unable 
to access 
the BS app from a browser.  Basically, I copied the apps-examples.xml 
file.but my XML file text is shown below.  Am I missing something 
simple here?

?xml version=1.0 encoding=ISO-8859-1 ?
- webapps
- !--
Setting special properties for /examples
( as an example of overriding the defaults )


 --
- Context path=/BS docBase=webapps/BS debug=0 
reloadable=true
 SimpleRealm filename=conf/users/BS-users.xml /
 /Context
 /webapps

Thanks,

Sarah


--
To unsubscribe, e-mail:   
mailto:tomcat-user- [EMAIL PROTECTED]
For 
additional commands, 
e-mail: mailto:[EMAIL PROTECTED]


   


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



 




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat 3.3.1 Problem

2003-01-06 Thread Nathan Smith
Tomcat 3.3.1 can only use WEB.XML file that uses the servlet 2.2 dtd.
To be  more clear the top of your web.xml file should contain the following:

!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd;

The web-apps_2_2.dtd in the url above is the file that basically describes
how the web.xml should be formatted.
Tomcat 3.3.1 implements the Servlet 2.2 API and so does not understand the
web-app_2.3.dtd.

Hope this sheds some light on the problem.

Nathan.


- Original Message -
From: Sarah Stevens [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, January 07, 2003 9:09 AM
Subject: Re: Tomcat 3.3.1 Problem


 Thanks, Larry and Paul.  (Paul, I don't think I got your whole message,
 it seemed to be truncated)

 The '-' at the beginning or some lines are *not* in the actual file.  I
 run tomcat from a window so that I can have live debugging on my
 development computer instead of running it as a servicein the Tomcat
 window, it shows ContextXMLReader:  Context
 config=$Tomcat_Home\conf\apps-BS.xml
 AutoWebApp:  Loaded from config:  DEFAULT:/BS
 ContextManager:  Tomcat configured and in stable state
 ContextManager:  Adding DEFAULT:/BS

 So that all looks goodbut then there is an error...
 XMLMapper:  Can't find resource for entity: -//Sun Microsystems,
 Inc.//DTD Web Application 2.3//EN
 --http://java.sun.com/dtd/web-app_2.3.dtd null

 What does this error mean?

 Thanks a lot!

 Sarah


 Larry Isaacs wrote:

 There doesn't appear to be anything wrong with the XML below,
 assuming the '-' at the beginning of some lines are *not* in the
 actual file.
 
 Check the log output of Tomcat to make sure no problems are being
 reported at startup and when tomcat receives the browser request.
 
 Cheers,
 Larry
 
 
 
 -Original Message-
 From: Sarah Stevens [mailto:[EMAIL PROTECTED]]
 Sent: Monday, January 06, 2003 12:12 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat 3.3.1 Problem
 
 
 Hello!
 
 I am having a problem with Tomcat 3.3.1 running with Apache.
 I have set
 up an xml file named apps-BS.xml under the conf directory as is shown
 with the apps-examples.xml file.  However, I am still unable
 to access
 the BS app from a browser.  Basically, I copied the apps-examples.xml
 file.but my XML file text is shown below.  Am I missing something
 simple here?
 
  ?xml version=1.0 encoding=ISO-8859-1 ?
 - webapps
 - !--
  Setting special properties for /examples
  ( as an example of overriding the defaults )
 
 
   --
 - Context path=/BS docBase=webapps/BS debug=0
 reloadable=true
   SimpleRealm filename=conf/users/BS-users.xml /
   /Context
   /webapps
 
 Thanks,
 
 Sarah
 
 
 --
 To unsubscribe, e-mail:
 mailto:tomcat-user- [EMAIL PROTECTED]
 For
 additional commands,
 e-mail: mailto:[EMAIL PROTECTED]
 
 
 
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 
 
 
 
 



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]







--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]