tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Ajp connector giving error with Executor configuration. is this a bug?
Date Tue, 26 Feb 2008 17:58:59 GMT
please use the tomcat-user list for these kinds of questions.
executor is not a supported attribute for AJP connectors, since it 
doesn't make sense to have it

Filip

nitin dubey wrote:
> Hi,
>
> I tried configuring executor in tomcat 6.0.14 for AJP Connector like following:
> <!-- Define an AJP 1.3 Connector on port 8009 -->
> <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" allowTrace="false"
>         executor="tomcatThreadPool" connectionTimeout="20000" />
>
>
> While starting tomcat it gives this error.  Any problem with the configuration OR this
is a bug?
>
> Feb 26, 2008 1:42:36 PM org.apache.tomcat.util.digester.Digester startElement
> SEVERE: Begin event threw exception
> java.lang.NullPointerException
>     at org.apache.catalina.startup.ConnectorCreateRule._setExecutor(ConnectorCreateRule.java:61)
>     at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:54)
>     at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
>     at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
>     at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
>     at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
>     at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
> Feb 26, 2008 1:42:36 PM org.apache.catalina.startup.Catalina load
> WARNING: Catalina.start using C:\java\apache-tomcat-6.0.14\conf\server.xml:
> java.lang.NullPointerException
>     at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726)
>     at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752)
>     at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1279)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
>     at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
>     at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
>     at org.apache.catalina.startup.Catalina.load(Catalina.java:538)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
> Feb 26, 2008 1:42:36 PM org.apache.tomcat.util.digester.Digester startElement
> SEVERE: Begin event threw exception
> java.lang.NullPointerException
>     at org.apache.catalina.startup.ConnectorCreateRule._setExecutor(ConnectorCreateRule.java:61)
>     at org.apache.catalina.startup.ConnectorCreateRule.begin(ConnectorCreateRule.java:54)
>     at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
>     at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1276)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
>     at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
>     at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:558)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Feb 26, 2008 1:42:36 PM org.apache.catalina.startup.Catalina load
> WARNING: Catalina.start using C:\java\apache-tomcat-6.0.14\conf\server.xml:
> java.lang.NullPointerException
>     at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2726)
>     at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2752)
>     at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1279)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
>     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
>     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
>     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
>     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
>     at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
>     at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:558)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Feb 26, 2008 1:42:36 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 0 ms
> java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.lang.NullPointerException
>     at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:590)
>     ... 6 more
>
>
>
>
>       Save all your chat conversations. Find them online at http://in.messenger.yahoo.com/webmessengerpromo.php
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message