You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Hi...@gmx.net on 2000/10/12 10:31:26 UTC

cocoon-tomcat-apache

hi all

i know this is a bit offtopic, but i think lots of you are using cocoon
with tomcat and apache...

k first problem is...
when i start apache and then tomcat i get an error messages of

 tomcatjava.net.BindException: Address already in use
.........
org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)

ok i think thats normal, coz u have to start tomcat first.. when i do so
it works (i can use all examples of tomcat).. but the problem is when i type
"tomcat.sh" and then "apachectl start"
i get the normal /apache/bin/apachectl start: httpd started message.. but
i CAN'T see any processes of apache (no httpd processes) and its definitly
NOT running...
but why i dont get an errormessage then ? why it tell httpd started ?
why apache dont start ?
i did all changes to my conf files that are in the "install on solaris"
page.. but no success...(i think i can try cocoon with tomcat w/o apache.. but
i would prefer it when all 3 modules are running)

and my 2nd problem is that i get the "Publishing engine could not be
initialized" message when i try to watch the sample cocoon pages, but i havnt
upgraded from an older version (which is meant in the FAQ).
thats the whole message i get of cocoon :

Publishing Engine could not be initialized.

         java.lang.NullPointerException
                 at
org.apache.cocoon.parser.AbstractParser.init(AbstractParser.java:75)
                 at
org.apache.cocoon.framework.Manager.create(Manager.java:101)
                 at org.apache.cocoon.Engine.(Engine.java:139)
                 at org.apache.cocoon.Engine.getInstance(Engine.java:218)
                 at org.apache.cocoon.Cocoon.init(Cocoon.java:141)
                 at
org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java:315)
                 at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:445)
                 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
                 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
                 at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
                 at java.lang.Thread.run(Thread.java:484)

i am running solaris 2.6 and would be really happy for some help

thx

michael

-- 
Sent through GMX FreeMail - http://www.gmx.net


Re: cocoon-tomcat-apache

Posted by Matthew Cordes <mc...@maine.edu>.
> when i start apache and then tomcat i get an error messages of
> 
>  tomcatjava.net.BindException: Address already in use
> .........
> org.apache.tomcat.core.ContextManager.start(ContextManager.java:253)
> at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:157)
> at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
> 
> ok i think thats normal, coz u have to start tomcat first.. when i do so
> it works (i can use all examples of tomcat).. but the problem is when i type
> "tomcat.sh" and then "apachectl start"
> i get the normal /apache/bin/apachectl start: httpd started message.. but
> i CAN'T see any processes of apache (no httpd processes) and its definitly
> NOT running...
> but why i dont get an errormessage then ? why it tell httpd started ?
> why apache dont start ?
> i did all changes to my conf files that are in the "install on solaris"
> page.. but no success...(i think i can try cocoon with tomcat w/o apache.. but
> i would prefer it when all 3 modules are running)

Sadly I get the BindException sometimes too.  I haven't seen a correlation 
between starting apache first and this happening though. I think to help
you with the apache not starting problem we'd need to know what version 
of apache you're using.

Does 'apachectl configtest' reveal any errors?

-matt