You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Morrison, John" <Jo...@uk.experian.com> on 2001/07/25 11:10:03 UTC
[C2][SE3.1] broke again :(
Hi All (esp Dims!)
Would somebody please be kind enough and test the latest C2 with SE3.1 -
it's throwing exceptions again... (I really ought to check this more often)
ERROR 99605 [cocoon ] (Unknown-URI) main/Cocoon: Could not configure
Cocoon environment
java.lang.NullPointerException
at org.apache.cocoon.Cocoon.configure(Cocoon.java:212)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:644)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:165)
at
com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec.java)
at
com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletConte
xt.java)
at
com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServ
letContext.java)
at
com.newatlanta.servletexec.ApplicationInfo.LoadExternalServlets(ApplicationI
nfo.java)
at
com.newatlanta.servletexec.ServerHostInfo.LoadExternalServlets(ServerHostInf
o.java)
at
com.newatlanta.servletexec.ServletExec.LoadExternalServlets(ServletExec.java
)
at com.newatlanta.servletexec.ServletExec.Init(ServletExec.java)
at com.newatlanta.servletexec.ServletExec.Init(ServletExec.java)
DEBUG 99605 [cocoon ] (Unknown-URI) main/DefaultComponentFactory:
ComponentFactory decommissioning instance of
org.apache.cocoon.components.parser.JaxpParser.
ERROR 99605 [cocoon ] (Unknown-URI) main/CocoonServlet: Exception
reloading
org.apache.avalon.framework.configuration.ConfigurationException: Error
trying to load configurations
at org.apache.cocoon.Cocoon.configure(Cocoon.java:220)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:644)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:165)
at
com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec.java)
at
com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletConte
xt.java)
at
com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServ
letContext.java)
at
com.newatlanta.servletexec.ApplicationInfo.LoadExternalServlets(ApplicationI
nfo.java)
at
com.newatlanta.servletexec.ServerHostInfo.LoadExternalServlets(ServerHostInf
o.java)
at
com.newatlanta.servletexec.ServletExec.LoadExternalServlets(ServletExec.java
)
at com.newatlanta.servletexec.ServletExec.Init(ServletExec.java)
at com.newatlanta.servletexec.ServletExec.Init(ServletExec.java)
java.lang.NullPointerException
at org.apache.cocoon.Cocoon.configure(Cocoon.java:212)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:160)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:644)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:165)
at
com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec.java)
at
com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletConte
xt.java)
at
com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServ
letContext.java)
at
com.newatlanta.servletexec.ApplicationInfo.LoadExternalServlets(ApplicationI
nfo.java)
at
com.newatlanta.servletexec.ServerHostInfo.LoadExternalServlets(ServerHostInf
o.java)
at
com.newatlanta.servletexec.ServletExec.LoadExternalServlets(ServletExec.java
)
at com.newatlanta.servletexec.ServletExec.Init(ServletExec.java)
at com.newatlanta.servletexec.ServletExec.Init(ServletExec.java)
I *think* it's the same problem as before, but I can't locate when this was
altered :( The line reads:
208 try {
209 this.configurationFile.refresh();
210 p = (Parser)startupManager.lookup(Parser.ROLE);
211 SAXConfigurationHandler b = new SAXConfigurationHandler();
212 InputStream inputStream =
ClassUtils.getResource("org/apache/cocoon/cocoon.roles").openStream();
213 InputSource is = new InputSource(inputStream);
214 is.setSystemId(this.configurationFile.getSystemId());
215 p.setContentHandler(b);
216 p.parse(is);
217 roleConfig = b.getConfiguration();
218 } catch (Exception e) {
219 getLogger().error("Could not configure Cocoon environment",
e);
220 throw new ConfigurationException("Error trying to load
configurations", e);
221 } finally {
222 if (p != null) startupManager.release(p);
223 }
I *also* think that this has been fixed in SE4.0 - but the PTB won't allow
me to upgrade ATM *sigh*.
Thanks,
J.
=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission. There is no intention to
create any legally binding contract or other commitment through the use
of this email.
Experian Limited (registration number 653331).
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org