You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Tennille Christensen <te...@kidar.org> on 2000/08/04 19:27:40 UTC
newbie installation question...
Hi there. I am running Cocoon 1.7.4 (or trying) on linux, through
BEA WebLogic 5.1 sp3.
I tried to follow the installation instructions on the Cocoon website,
but get the following error:
Cocoon 1.7.4
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:133)
at
org.apache.cocoon.Engine.getInstance(Engine.java:202)
at
org.apache.cocoon.Cocoon.init(Cocoon.java:141)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:464)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:423)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:412)
at
weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java:332)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:190)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:117)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Warning: this page has been dynamically generated.
I placed all of the jar files in my weblogic.class.path (and Cocoon is
actually giving the error, so I'm assuming that they are found)
When I looked at the FAQ, it said that this error was due to running
Cocoon with the wrong version of cocoon.properties. So, I tried to make
it work with every cocoon.properties file in the distribution (restarted
weblogic with every change, then shift-refreshed, still got the same
error). Any help would be greatly appreciated.
Thanks,
tennille
My weblogic.properties file registers cocoon as follows:
weblogic.httpd.register.*.xml=org.apache.cocoon.Cocoon
#servlet.org.apache.cocoon.Cocoon.initArgs=properties=\
weblogic.httpd.initArgs.*.xml=properties=
#
/home/tennille/cocoon-1.7.4/build/classes/org/apache/cocoon/cocoon.properties
# /home/tennille/cocoon-1.7.4/conf/cocoon.properties
#
/home/tennille/cocoon-1.7.4/build/src/org/apache/cocoon/cocoon.properties
/home/tennille/cocoon-1.7.4/src/org/apache/cocoon/cocoon.properties