You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Niket Anand <ni...@networkprograms.com> on 2002/12/19 18:59:46 UTC

Logging Error: Unknown error writing event.

Hello,
I have successfully integrated Apache2.0.4(WIN32) with
JBoss-2.4.7_Tomcat-4.0.4 with the help of mod_jk2.dll.
While running the Jboss server with catalina it is running properly but
showing some error in console mentioned at the end.
I think CoyoteRequest class is not able to assign Request object and giving
NullPointerException
I have put

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
acceptCount="10"
 bufferSize="2048" connectionTimeout="20000" debug="0" enableLookups="true"
 maxProcessors="75" minProcessors="5" port="8081"
 protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
 proxyPort="0" redirectPort="8443" scheme="http" secure="false"
 tcpNoDelay="true" useURIValidationHack="false" >
      <Factory
className="org.apache.catalina.net.DefaultServerSocketFactory"/>
</Connector>

in Catalina_Home/conf/server.xml and JBoss_Home/conf/catalina/jboss.jcml

Please help me as I have to track this error out asap.

[17:29:56,609,STDERR] Logging Error: Unknown error writing event.
[17:29:56,609,STDERR] java.lang.NullPointerException
[17:29:56,609,STDERR]  at
org.apache.coyote.tomcat4.CoyoteRequestFacade.getRequestURI(CoyoteRequestFac
ade.java:350)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.cocoon.environment.http.HttpRequest.getRequestURI(HttpRequest.jav
a:144)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.cocoon.util.log.CocoonLogFormatter.getURI(CocoonLogFormatter.java
:155)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.cocoon.util.log.CocoonLogFormatter.formatPatternRun(CocoonLogForm
atter.java:102)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.cocoon.util.log.ExtensiblePatternFormatter.format(ExtensiblePatte
rnFormatter.java:334)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.log.output.AbstractOutputTarget.format(AbstractOutputTarget.java:
133)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.log.output.AbstractOutputTarget.doProcessEvent(AbstractOutputTarg
et.java:92)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.log.output.AbstractTarget.processEvent(AbstractTarget.java:70)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at org.apache.log.Logger.output(Logger.java:559)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at org.apache.log.Logger.output(Logger.java:538)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at org.apache.log.Logger.debug(Logger.java:110)
[17:29:56,609,STDERR]
[17:29:56,609,STDERR]  at
org.apache.cocoon.servlet.CocoonServlet.getEnvironment(CocoonServlet.java:75
7)
[17:29:56,625,STDERR]
[17:29:56,625,STDERR]  at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:633)
[17:29:56,625,STDERR]
[17:29:56,625,STDERR]  at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[17:29:56,625,STDERR]
[17:29:56,625,STDERR]  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
[17:29:56,625,STDERR]
[17:29:56,625,STDERR]  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
[17:29:56,625,STDERR]
[17:29:56,625,STDERR]  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243)

Thanks
Niket



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>