Re: Newbie Problems

2002-11-25 Thread Andoni
What do the error messages say?

I.e.: can you paste them into a message (and maybe your server.xml also)
then we could tell you what each one means.

Andoni.


- Original Message -
From: Bob Tilley [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 6:03 PM
Subject: Newbie Problems


 Our shop is using Tomcat 4.0.5 and Apache 1.3.27 on FreeBSD with mixed
 results.  Apache can be brought up and down with the normal 'apachectl
 start|stop'.  Tomcat can be started normally via the startup.sh script but
 when the shutdown-sh script is run there is a burst of error messages from
 the parsing of server.xml.

 I am confused as to how no errors occur when I ./startup.sh the Tomcat
 server but the shutdown.sh script has problems with server.xml format.
 Don't both scripts actually deal with the same server.xml?

 Bob Tilley

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

2002-11-25 Thread Bob Tilley
The FreeBSD box is on an intranet in our office that does not link to the
outside world, but I'll try to communicate the errors:

  PARSE error at line 55, column 23 of ... server.xml
  org.xml.sax.SAXParseException:  Attribute name IfModule must be followed 
  by the '=' character.

Then more errors cascade from the one above.  Here is the relevant line from
the server.xml file:

  # Tomcat 4 Webapp Warp
  IfModule mod_webapp.c
  ...
  /IfModule

Any ideas?

-Original Message-
From: Andoni [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 25, 2002 1:18 PM
To: Tomcat Users List
Subject: Re: Newbie Problems


What do the error messages say?

I.e.: can you paste them into a message (and maybe your server.xml also)
then we could tell you what each one means.

Andoni.

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




RE: Newbie Problems

2002-11-25 Thread p niemandt
Just going to take a stab at it, but it looks like you are trying to
combine the apache configuration and the tomcat configuration into one
file.

basic xml dictates ...

1. Comments are the same as html comments, meaning !-- -- and not #
2. Attributes are followed by an = sign and quotes, IfModule
mod_webapp.c does not make sense for XML. {In apache it does!!} 

So, in your apache.conf file it would be {like you have it}

IfModule ... 


/IfModule

But this will NOT work in the tomcat server.xml or web.xml.

Hope this helps.

On Mon, 2002-11-25 at 18:45, Bob Tilley wrote:
 The FreeBSD box is on an intranet in our office that does not link to the
 outside world, but I'll try to communicate the errors:
 
   PARSE error at line 55, column 23 of ... server.xml
   org.xml.sax.SAXParseException:  Attribute name IfModule must be followed 
   by the '=' character.
 
 Then more errors cascade from the one above.  Here is the relevant line from
 the server.xml file:
 
   # Tomcat 4 Webapp Warp
   IfModule mod_webapp.c
   ...
   /IfModule
 
 Any ideas?
 
 -Original Message-
 From: Andoni [mailto:[EMAIL PROTECTED]]
 Sent: Monday, November 25, 2002 1:18 PM
 To: Tomcat Users List
 Subject: Re: Newbie Problems
 
 
 What do the error messages say?
 
 I.e.: can you paste them into a message (and maybe your server.xml also)
 then we could tell you what each one means.
 
 Andoni.
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-- 
p niemandt [EMAIL PROTECTED]


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