You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Brett McCormick <br...@mail.flyingcroc.net> on 2000/08/08 23:55:09 UTC

cocoon 1.7.5-dev issues under freebsd

I'm using the latest version of cocoon out of cvs (the error page says
Cocoon 1.7.5-dev) and I'm having some troubles on FreeBSD 4.0.  I've
also had similar problems using cocoon 1.7.3.  The last version that I
was able to use was 1.7.0 but I'm betting it has some bugs that more
recent versions have fixed.

However, I seem to be running into some sort of VM bug (possible -- I
don't know enough about java to tell).  I attempted to debug the
problem, but I had trouble getting the java debugger up and running.
I was hoping someone on this list might have some tips.

Architecture: intel x86 (dual p2)
Operating System: FreeBSD 4.0
JDK version: jdk 1.1.8
xalan version: 1_1_D01
xerces version: 1_1_2
apache jserv: 1.1.1.1
jsdk version: 2.0

xalan and xerces are coming right out of the jar files in
xml-cocoon/lib from the CVS repository.

xalan works great on the command line, but cocoon never seems to work
and I get bizarre error messages, shown below.

If anyone has any advice or needs more information, I would be happy
to provide it.  I could also send you the contents of my *.properties
files, which are the same as the ones I used in 1.7.0..

--brett

error message:

Publishing Engine could not be initialized.

    java.lang.NullPointerException
            at 
            at 
            at 
            at org.apache.cocoon.framework.Manager.create(Manager.java)
            at org.apache.cocoon.framework.Router.init(Router.java)
            at org.apache.cocoon.framework.Manager.create(Manager.java)
            at org.apache.cocoon.Engine.(Engine.java)
            at org.apache.cocoon.Engine.getInstance(Engine.java)
            at org.apache.cocoon.Cocoon.init(Cocoon.java)
            at org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
            at org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:498)
            at org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
            at org.apache.jserv.JServConnection.run(JServConnection.java:188)
            at java.lang.Thread.run(Thread.java)

Re: cocoon 1.7.5-dev issues under freebsd

Posted by Brett McCormick <br...@mail.flyingcroc.net>.
I get the same results if I use the linux jdk-1.2.2 under the same
system (haven't tried it under linux yet).

I'm going to try recompiling cocoon under the new jdk

--brett

On Wednesday, 9 August 2000, at 00:09:59, Stefano Mazzocchi wrote:

> Brett McCormick wrote:
> > 
> > I'm using the latest version of cocoon out of cvs (the error page says
> > Cocoon 1.7.5-dev) and I'm having some troubles on FreeBSD 4.0.  I've
> > also had similar problems using cocoon 1.7.3.  The last version that I
> > was able to use was 1.7.0 but I'm betting it has some bugs that more
> > recent versions have fixed.
> > 
> > However, I seem to be running into some sort of VM bug (possible -- I
> > don't know enough about java to tell).  I attempted to debug the
> > problem, but I had trouble getting the java debugger up and running.
> > I was hoping someone on this list might have some tips.
> > 
> > Architecture: intel x86 (dual p2)
> > Operating System: FreeBSD 4.0
> > JDK version: jdk 1.1.8
> > xalan version: 1_1_D01
> > xerces version: 1_1_2
> > apache jserv: 1.1.1.1
> > jsdk version: 2.0
> > 
> > xalan and xerces are coming right out of the jar files in
> > xml-cocoon/lib from the CVS repository.
> > 
> > xalan works great on the command line, but cocoon never seems to work
> > and I get bizarre error messages, shown below.
> > 
> > If anyone has any advice or needs more information, I would be happy
> > to provide it.  I could also send you the contents of my *.properties
> > files, which are the same as the ones I used in 1.7.0..
> > 
> > --brett
> > 
> > error message:
> > 
> > Publishing Engine could not be initialized.
> > 
> >     java.lang.NullPointerException
> >             at
> >             at
> >             at
> >             at org.apache.cocoon.framework.Manager.create(Manager.java)
> >             at org.apache.cocoon.framework.Router.init(Router.java)
> >             at org.apache.cocoon.framework.Manager.create(Manager.java)
> >             at org.apache.cocoon.Engine.(Engine.java)
> >             at org.apache.cocoon.Engine.getInstance(Engine.java)
> >             at org.apache.cocoon.Cocoon.init(Cocoon.java)
> >             at org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
> >             at org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:498)
> >             at org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
> >             at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> >             at java.lang.Thread.run(Thread.java)
> 
> Sounds like a JVM problem to me
> 
> -- 
> Stefano Mazzocchi      One must still have chaos in oneself to be
>                           able to give birth to a dancing star.
> <st...@apache.org>                             Friedrich Nietzsche
> --------------------------------------------------------------------
>  Missed us in Orlando? Make it up with ApacheCON Europe in London!
> ------------------------- http://ApacheCon.Com ---------------------

Re: cocoon 1.7.5-dev issues under freebsd

Posted by Stefano Mazzocchi <st...@apache.org>.
Brett McCormick wrote:
> 
> I'm using the latest version of cocoon out of cvs (the error page says
> Cocoon 1.7.5-dev) and I'm having some troubles on FreeBSD 4.0.  I've
> also had similar problems using cocoon 1.7.3.  The last version that I
> was able to use was 1.7.0 but I'm betting it has some bugs that more
> recent versions have fixed.
> 
> However, I seem to be running into some sort of VM bug (possible -- I
> don't know enough about java to tell).  I attempted to debug the
> problem, but I had trouble getting the java debugger up and running.
> I was hoping someone on this list might have some tips.
> 
> Architecture: intel x86 (dual p2)
> Operating System: FreeBSD 4.0
> JDK version: jdk 1.1.8
> xalan version: 1_1_D01
> xerces version: 1_1_2
> apache jserv: 1.1.1.1
> jsdk version: 2.0
> 
> xalan and xerces are coming right out of the jar files in
> xml-cocoon/lib from the CVS repository.
> 
> xalan works great on the command line, but cocoon never seems to work
> and I get bizarre error messages, shown below.
> 
> If anyone has any advice or needs more information, I would be happy
> to provide it.  I could also send you the contents of my *.properties
> files, which are the same as the ones I used in 1.7.0..
> 
> --brett
> 
> error message:
> 
> Publishing Engine could not be initialized.
> 
>     java.lang.NullPointerException
>             at
>             at
>             at
>             at org.apache.cocoon.framework.Manager.create(Manager.java)
>             at org.apache.cocoon.framework.Router.init(Router.java)
>             at org.apache.cocoon.framework.Manager.create(Manager.java)
>             at org.apache.cocoon.Engine.(Engine.java)
>             at org.apache.cocoon.Engine.getInstance(Engine.java)
>             at org.apache.cocoon.Cocoon.init(Cocoon.java)
>             at org.apache.jserv.JServServletManager.load_init(JServServletManager.java:579)
>             at org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:498)
>             at org.apache.jserv.JServConnection.processRequest(JServConnection.java:269)
>             at org.apache.jserv.JServConnection.run(JServConnection.java:188)
>             at java.lang.Thread.run(Thread.java)

Sounds like a JVM problem to me

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------