I think that is exactly it.  I had the same problem
and had emailed you both when I discovered this was
the problem.  I had just signed up for this list,
though, so I emailed you personally and you probably
didn't recognize my addy so deleted the msg.

Just wanted to thank you Dave for the help.  It was
funny that I stumbled upon this user list this weekend
and am doing the EXACT same setup as Chris and having
the EXACT same problems and getting the EXACT same
help you are giving to result in getting it all
working!  I expect Chris will now too, thanks again.

Kent


--- "Short, Dave" <[EMAIL PROTECTED]> wrote:
> It looks as though when you commented out the 8080
> in the server.xml file
> you might have messed up the comments, hence the
> "--" error message on line
> 92.  It should look like this:
> 
>     <!-- Out of the box 8080 port
>     <Connector
>
className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="8080" minProcessors="5"
> maxProcessors="75"
>                enableLookups="true"
> redirectPort="8443"
>                acceptCount="100" debug="0"
> connectionTimeout="20000"
>                useURIValidationHack="false"
> disableUploadTimeout="true" />
>     -->
> 
> Notice the "<!--" and matching "-->".  Also, if that
> doesn't help try
> enclosing your paths in double quotes like so:
> 
> [config:]
> #file=${serverRoot}/conf/workers2.properties
> file="c:/Program Files/Apache
> Group/Apache2/conf/workers2.properties"
> debug=0
> debugEnv=0
> 
> -----Original Message-----
> From: Chris Dodunski
> [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 16, 2003 3:27 AM
> To: Tomcat Users List
> Subject: Re: JK2 (cont.)
> 
> 
> Hi again,
> 
> ----- Original Message -----
> From: "Short, Dave" <[EMAIL PROTECTED]>
> To: "'Tomcat Users List'"
> <[EMAIL PROTECTED]>
> Sent: Sunday, March 16, 2003 2:30 PM
> Subject: RE: JK2 (cont.)
> 
> 
> > Paths must match up.  Check the paths in the
> config files I sent against
> > your paths.  If they don't match up, adjust the
> paths in the config files
> I
> > sent.  This configuration works on W2K with Apache
> 2.0.44 and Tomcat
> 4.1.18.
> > Comment out 8080 in the server.xml file because
> Apache will serve up
> > everything except .jsp and servlet files.  See the
> [uri:/examples/*.jsp]
> and
> > [uri:/examples/servlet/*] in the
> workers2.properties file?
> 
> Yes, paths now match up (workers2.properties appears
> at the end of this
> post).  Now, when Apache starts, I get a fatal error
> (log extracts below).
> Windows attempts to shut Apache down - 'send report'
> dialog etc. - but
> Apache apparently restarts.  Any ideas?  At least I
> am making progress.
> Well, I hope ;-).
> 
> 
> <<<error.log>>>
> [Sun Mar 16 22:51:44 2003] [notice] Parent: child
> process exited with status
> 3221225622 -- Restarting.
> [Sun Mar 16 22:51:44 2003] [notice] Parent: Created
> child process 1888
> [Sun Mar 16 22:51:44 2003] [notice] Child 1888:
> Child process is running
> [Sun Mar 16 22:51:45 2003] [error] mod_jk child init
> 1 0
> [Sun Mar 16 22:51:45 2003] [error] mod_jk child
> workerEnv in error state 1
> [Sun Mar 16 22:51:45 2003] [notice] Child 1888:
> Acquired the start mutex.
> [Sun Mar 16 22:51:45 2003] [notice] Child 1888:
> Starting 250 worker threads.
> [Sun Mar 16 22:51:54 2003] [notice] Parent: child
> process exited with status
> 3221225622 -- Restarting.
> [Sun Mar 16 22:51:54 2003] [notice] Parent: Created
> child process 1748
> [Sun Mar 16 22:51:54 2003] [notice] Child 1748:
> Child process is running
> [Sun Mar 16 22:51:55 2003] [error] mod_jk child init
> 1 0
> [Sun Mar 16 22:51:55 2003] [error] mod_jk child
> workerEnv in error state 2
> [Sun Mar 16 22:51:55 2003] [notice] Child 1748:
> Acquired the start mutex.
> [Sun Mar 16 22:51:55 2003] [notice] Child 1748:
> Starting 250 worker threads.
> [Sun Mar 16 22:52:09 2003] [notice] Parent: child
> process exited with status
> 3221225622 -- Restarting.
> [Sun Mar 16 22:52:10 2003] [notice] Parent: Created
> child process 940
> [Sun Mar 16 22:52:10 2003] [notice] Child 940: Child
> process is running
> [Sun Mar 16 22:52:11 2003] [error] mod_jk child init
> 1 0
> [Sun Mar 16 22:52:11 2003] [error] mod_jk child
> workerEnv in error state 3
> [Sun Mar 16 22:52:11 2003] [notice] Child 940:
> Acquired the start mutex.
> [Sun Mar 16 22:52:11 2003] [notice] Child 940:
> Starting 250 worker threads.
> 
> 
> <<<stdout.log>>>
> Bootstrap: Create Catalina server
> Catalina.start: org.xml.sax.SAXParseException: The
> string "--" is not
> permitted within comments.
> org.xml.sax.SAXParseException: The string "--" is
> not permitted within
> comments.
>  at
>
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:118
> 9)
>  at
>
org.apache.commons.digester.Digester.parse(Digester.java:1479)
>  at
>
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:187)
>  at
>
org.apache.catalina.startup.CatalinaService.load(CatalinaService.java:258)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>  at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>  at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at
>
org.apache.catalina.startup.BootstrapService.init(BootstrapService.java:231)
>  at
>
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:297)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>  at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>  at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>  at java.lang.reflect.Method.invoke(Method.java:324)
>  at
>
org.apache.jk.apr.TomcatStarter.run(TomcatStarter.java:127)
>  at java.lang.Thread.run(Thread.java:536)
> 
> 
> <<<stderr.log>>>
> TomcatStarter: main()
> Try  org.apache.tomcat.startup.Main
> Try  org.apache.catalina.startup.BootstrapService
> Starting
> org.apache.catalina.startup.BootstrapService
> Created catalinaLoader in: c:/Program Files/Apache
> Group/Tomcat
> 4.1\server\lib
> Mar 16, 2003 10:55:20 PM
> org.apache.commons.modeler.Registry loadRegistry
> INFO: Loading registry information
> Mar 16, 2003 10:55:20 PM
> org.apache.commons.modeler.Registry getRegistry
> INFO: Creating new Registry instance
> Mar 16, 2003 10:55:21 PM
> org.apache.commons.modeler.Registry getServer
> INFO: Creating MBeanServer
> Mar 16, 2003 10:55:22 PM
> org.apache.commons.digester.Digester fatalError
> SEVERE: Parse Fatal Error at line 92 column 9: The
> string "--" is not
> permitted within comments.
> org.xml.sax.SAXParseException: The string "--" is
> not permitted within
> comments.
>  at
>
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHand
> lerWrapper.java:232)
>  at
>
org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.ja
> va:213)
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

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

Reply via email to