cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pat Laplante" <plapla...@vanteon.com>
Subject RE: Install problem: Cocoon 1.7.3 with WebLogic...
Date Fri, 12 May 2000 14:51:38 GMT
I got it to work.  I simply put the cocoon.properties file under
j:\weblogic\myserver\public_html\cocoon.properties.

And I set the location in the weblogic.properties file to map to
cocoon.properties like that:

weblogic.httpd.initArgs.*.xml=\properties=cocoon.properties

Thanks for all the reply...

-----Original Message-----
From: Pat Laplante [mailto:plaplante@vanteon.com]
Sent: Friday, May 12, 2000 9:19 AM
To: cocoon-users@xml.apache.org
Subject: RE: Install problem: Cocoon 1.7.3 with Orion 1.0rc1


I have the exact same problem with weblogic.... Here is the error in
detail...




Cocoon 1.7.3




Publishing Engine could not be initialized.
java.lang.NullPointerException
	at org.apache.cocoon.Cocoon.init(Cocoon.java:135)
	at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:390)
	at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va, Compiled Code)
	at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:338)
	at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:16
4)
	at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:99)
	at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:742)
	at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:686)
	at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:247)
	at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
	at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)


Warning: this page has been dynamically generated.


Copyright (c) 1999-2000 The Apache XML Project.
All rights reserved.

-----Original Message-----
From: Dan North [mailto:dan@wirestation.com]
Sent: Friday, May 12, 2000 6:09 AM
To: Cocoon List
Subject: Install problem: Cocoon 1.7.3 with Orion 1.0rc1


Hi there.

I'm getting the following error from Orion with the hello-page.xml example:

java.lang.NullPointerException
	at org.apache.cocoon.Cocoon.init(Cocoon.java:135)
	...
	(the rest of the errors are internal JAX stuff)

The appropriate .jar files are in the class path and the WEB-INF/web.xml
contains the correct reference to the <servlet>.  (I get the same error with
any .xml file, which makes me think it might be the config).

It seems from the code (Cocoon.java:135) that the Configurations object is
not
being created.  There's a try block with a catch that sets an error message
but doesn't re-throw the exception, so the null object gets dereferenced a
few
lines later.  However, I'm a newbie to Java so there is a high probability I
am talking rubbish.

I've been lurking for a few weeks now, and I've seen lots of messages about
bogus installation settings, but I have RTFM so now I'm asking you guys!

Thanks in advance,
--
Dan North <mailto:dan@wirestation.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message