Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sep 18, 2009 2:12:35 AM org.apache.catalina.core.StandardContext start

Status
Not open for further replies.

jose123thadathil

Programmer
Sep 18, 2009
1
US
Enter your full question here
I was trying to depoly a war file in tomcat 6.0.0.20 web server.But, whenever i try to start the tomcat server . i was getting the following error . I dont know how to fix it . i am pretty much new in this technology also. Any type of answer for solving this problem is appreciateable

Here is my error log
=======================
<br>.
Sep 17, 2009 3:46:12 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 3:46:12 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 3:46:12 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 668 ms
Sep 17, 2009 3:46:12 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 3:46:12 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 3:46:13 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 3:46:13 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 3:46:13 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/49 config=null
Sep 17, 2009 3:46:13 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 966 ms
Sep 17, 2009 4:38:29 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 4:38:29 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 4:38:29 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 337 ms
Sep 17, 2009 4:38:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 4:38:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 4:38:30 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 4:38:30 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 4:38:30 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
Sep 17, 2009 4:38:30 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 485 ms
Sep 17, 2009 10:26:00 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 10:26:00 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:26:00 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 352 ms
Sep 17, 2009 10:26:00 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 10:26:00 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 10:26:03 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 10:26:03 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 10:26:03 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:26:03 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 10:26:03 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
Sep 17, 2009 10:26:03 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3211 ms
Sep 17, 2009 10:26:44 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:26:45 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 17, 2009 10:26:45 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:27:02 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 10:27:02 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:27:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 341 ms
Sep 17, 2009 10:27:02 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 10:27:02 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 10:27:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 10:27:05 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 10:27:05 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:27:05 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 10:27:05 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/19 config=null
Sep 17, 2009 10:27:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2975 ms
Sep 17, 2009 10:28:45 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/objectstream]
Sep 17, 2009 10:28:55 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive objectstream.war
Sep 17, 2009 10:28:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 10:28:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 10:29:02 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:29:03 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 17, 2009 10:29:03 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:29:06 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 10:29:06 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:29:06 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 350 ms
Sep 17, 2009 10:29:06 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 10:29:06 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 10:29:06 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive objectstream.war
Sep 17, 2009 10:29:09 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 10:29:09 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 10:29:09 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:29:09 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 10:29:09 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
Sep 17, 2009 10:29:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3082 ms
Sep 17, 2009 10:30:07 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:30:08 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 17, 2009 10:30:08 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:31:31 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 10:31:31 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:31:31 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 357 ms
Sep 17, 2009 10:31:31 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 10:31:31 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 10:31:31 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive objectstream.war
Sep 17, 2009 10:31:35 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 10:31:35 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 10:31:35 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 10:31:35 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 10:31:35 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Sep 17, 2009 10:31:35 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3872 ms
Sep 17, 2009 11:37:06 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/objectstream]
Sep 17, 2009 11:37:06 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/objectstream] has not been started
Sep 17, 2009 11:37:06 PM org.apache.tomcat.util.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:925)
at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:193)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1140)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1173)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1271)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: addChild: Child name 'Faces Servlet' is not unique
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:781)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:2114)
... 32 more
Sep 17, 2009 11:37:06 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
SEVERE: Parse error in application web.xml file at jndi:/localhost/objectstream/WEB-INF/web.xml
java.lang.IllegalArgumentException: addChild: Child name 'Faces Servlet' is not unique
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2808)
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2834)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1143)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1173)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1271)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: addChild: Child name 'Faces Servlet' is not unique
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:781)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:2114)
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:925)
at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:193)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1140)
... 25 more
Sep 17, 2009 11:37:06 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
SEVERE: Occurred at line 50 column 164
Sep 17, 2009 11:37:06 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Sep 17, 2009 11:37:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Sep 17, 2009 11:37:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 11:37:16 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/objectstream]
Sep 17, 2009 11:37:16 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/objectstream] has not been started
Sep 17, 2009 11:37:19 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 11:37:19 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 11:37:40 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:422)
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:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
Sep 17, 2009 11:42:14 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 11:42:14 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:42:14 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 374 ms
Sep 17, 2009 11:42:14 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 11:42:14 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 11:42:15 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive objectstream.war
Sep 17, 2009 11:42:15 PM org.apache.tomcat.util.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:956)
at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:789)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1140)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name Spring Web MVC Dispatcher Servlet
at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2470)
at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2450)
... 45 more
Sep 17, 2009 11:42:15 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
SEVERE: Parse error in application web.xml file at jndi:/localhost/objectstream/WEB-INF/web.xml
java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name Spring Web MVC Dispatcher Servlet
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2808)
at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2834)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1143)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1644)
at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:365)
at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1066)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4339)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.IllegalArgumentException: Servlet mapping specifies an unknown servlet name Spring Web MVC Dispatcher Servlet
at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2470)
at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2450)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:956)
at org.apache.catalina.startup.CallMethodMultiRule.end(WebRuleSet.java:789)
at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1140)
... 38 more
Sep 17, 2009 11:42:15 PM org.apache.catalina.startup.ContextConfig applicationWebConfig
SEVERE: Occurred at line 53 column 28
Sep 17, 2009 11:42:15 PM org.apache.catalina.startup.ContextConfig start
SEVERE: Marking this application unavailable due to previous error(s)
Sep 17, 2009 11:42:15 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Sep 17, 2009 11:42:15 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 11:42:15 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:42:15 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 11:42:15 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/19 config=null
Sep 17, 2009 11:42:15 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 872 ms
Sep 17, 2009 11:44:40 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:44:41 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Sep 17, 2009 11:44:41 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:45:26 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 11:45:26 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:45:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 342 ms
Sep 17, 2009 11:45:26 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 11:45:26 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 11:45:26 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive objectstream.war
Sep 17, 2009 11:45:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 11:45:30 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 11:45:30 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:45:30 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 11:45:30 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/19 config=null
Sep 17, 2009 11:45:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3985 ms
Sep 17, 2009 11:49:30 PM org.apache.catalina.startup.HostConfig checkResources
INFO: Reloading context [/objectstream]
Sep 17, 2009 11:49:30 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/objectstream] has not been started
Sep 17, 2009 11:49:32 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 11:49:32 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 11:51:43 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:180)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:422)
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:597)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
Sep 17, 2009 11:51:48 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_14\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.6.0_14\bin;C:\tools\apache-maven-2.2.0\bin;C:\Program Files\CollabNet\Subversion Server;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Python;C:\Program Files\bin
Sep 17, 2009 11:51:48 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:51:48 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 376 ms
Sep 17, 2009 11:51:48 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 17, 2009 11:51:48 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Sep 17, 2009 11:51:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive objectstream.war
Sep 17, 2009 11:51:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Error filterStart
Sep 17, 2009 11:51:51 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/objectstream] startup failed due to previous errors
Sep 17, 2009 11:51:51 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 17, 2009 11:51:51 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 17, 2009 11:51:51 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/17 config=null
Sep 17, 2009 11:51:51 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3126 ms
====================================
My XML Look Like this
=====================================

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns=" xmlns:xsi=" xsi:schemaLocation=" <context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<description>Springs application configuration</description>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter>
<filter-name>logFilter</filter-name>
<filter-class>
com.objectstream.web.filter.LogFilter
</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.faces</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
</web-app>


===========================================================
please let me know why i am getting this error.

have a great weekend
<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top