mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niklas Gustavsson (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FTPSERVER-301) XmlBeanDefinitionStoreException on db-user-manager with res/conf/ftpd-full.xml
Date Sat, 30 May 2009 22:19:07 GMT

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

Niklas Gustavsson closed FTPSERVER-301.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1

Thanks for reporting! Fixed in rev 780342 and 780343

> XmlBeanDefinitionStoreException on db-user-manager with res/conf/ftpd-full.xml
> ------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-301
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-301
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0
>         Environment: CentOS 5.3: Linux pydev1 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59
EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.5.0_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
>            Reporter: Peter Lokus
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0.2, 1.1
>
>
> It is a new installation of FTPServer. No configuration was made. 
> Just the following command was performed in ~/apache-ftpserver-1.0.0:
> [root@pydev1 apache-ftpserver-1.0.0]# bin/ftpd.sh res/conf/ftpd-full.xml
> Using XML configuration file res/conf/ftpd-full.xml...
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 57 in XML
document from file [/home/apacheftp/apache-ftpserver-1.0.0/res/conf/ftpd-full.xml] is invalid;
nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content
was found starting with element 'db-user-manager'. One of '{"http://mina.apache.org/ftpserver/spring/v1":native-filesystem,
"http://mina.apache.org/ftpserver/spring/v1":filesystem, "http://mina.apache.org/ftpserver/spring/v1":commands,
"http://mina.apache.org/ftpserver/spring/v1":messages}' is expected.
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
>         at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
>         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
>         at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:80)
>         at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
>         at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
>         at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:140)
>         at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:84)
>         at org.apache.ftpserver.main.CommandLine.getConfiguration(CommandLine.java:134)
>         at org.apache.ftpserver.main.CommandLine.main(CommandLine.java:58)
> Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
found starting with element 'db-user-manager'. One of '{"http://mina.apache.org/ftpserver/spring/v1":native-filesystem,
"http://mina.apache.org/ftpserver/spring/v1":filesystem, "http://mina.apache.org/ftpserver/spring/v1":commands,
"http://mina.apache.org/ftpserver/spring/v1":messages}' is expected.
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
>         at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:172)
>         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)
>         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1831)
>         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)
>         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)
>         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.DOMParser.parse(DOMParser.java:250)
>         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
>         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
>         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)

-- 
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