cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "maomaode (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-574) Helloworld servlet failed
Date Mon, 23 Apr 2007 09:16:15 GMT

     [ https://issues.apache.org/jira/browse/CXF-574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

maomaode resolved CXF-574.
--------------------------

    Resolution: Fixed

This has been fixed since DanK revert to the old version

> Helloworld servlet failed
> -------------------------
>
>                 Key: CXF-574
>                 URL: https://issues.apache.org/jira/browse/CXF-574
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 2.0-RC
>            Reporter: maomaode
>             Fix For: 2.0-RC
>
>
> Following the steps in README in helloworld dir.
> How to reproduce:
> 1. ant
> 2. ant war
> 3. ant deploy -Dtomcat=true
> 4. ant client-servlet -Dbase.url=http://localhost:8080
> Got the exception:
> javax.servlet.ServletException: Servlet.init() for servlet cxf threw exception
> 	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> 	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> 	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	java.lang.Thread.run(Thread.java:595)
> root cause
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line -1 in XML
document from class path resource [] is invalid; nested exception is org.xml.sax.SAXParseException:
Premature end of file.
> 	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:359)
> 	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
> 	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
> 	org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
> 	org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:108)
> 	org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
> 	org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:100)
> 	org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
> 	org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:73)
> 	org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:61)
> 	org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:141)
> 	org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet.java:95)
> 	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> 	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> 	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	java.lang.Thread.run(Thread.java:595)
> root cause
> org.xml.sax.SAXParseException: Premature end of file.
> 	com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
> 	com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
> 	com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
> 	com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
> 	com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:230)
> 	com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
> 	com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> 	com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
> 	com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:250)
> 	com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
> 	org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
> 	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:351)
> 	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
> 	org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
> 	org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
> 	org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:108)
> 	org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
> 	org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:100)
> 	org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
> 	org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:73)
> 	org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:61)
> 	org.apache.cxf.transport.servlet.CXFServlet.loadSpringBus(CXFServlet.java:141)
> 	org.apache.cxf.transport.servlet.CXFServlet.init(CXFServlet.java:95)
> 	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> 	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> 	org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> 	org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> 	org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> 	org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> 	org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> 	java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message