You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Eric Charles (JIRA)" <se...@james.apache.org> on 2010/11/28 11:48:39 UTC
[jira] Commented: (JAMES-1141) James Server 3.0-M2 failed to start
because of firewall.
[ https://issues.apache.org/jira/browse/JAMES-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964527#action_12964527 ]
Eric Charles commented on JAMES-1141:
-------------------------------------
The spring.schemas file contains a line "http\://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd=activemq-core-5.4.1.xsd".
Do we have to add the activemq-core-5.4.1.xsd file somewhere to let it work ?
tks,
Eric
> James Server 3.0-M2 failed to start because of firewall.
> --------------------------------------------------------
>
> Key: JAMES-1141
> URL: https://issues.apache.org/jira/browse/JAMES-1141
> Project: JAMES Server
> Issue Type: Bug
> Components: Spring Container
> Affects Versions: 3.0-M2
> Environment: Any OS system with proxy in place
> Reporter: Zhou Wu
> Attachments: spring.schemas
>
>
> The error is:
> C:\temp\james-server-container-spring-3.0-M2\james-server-container-spring-3.0-M2\bin>run
> INFO 19:04:19,012 | org.apache.james.container.spring.JamesServerApplicationContext | Refreshing org.apache.james.conta
> iner.spring.JamesServerApplicationContext@1193779: startup date [Sun Nov 14 19:04:19 PST 2010]; root of context hierarch
> y
> WARN 19:04:39,778 | org.springframework.beans.factory.xml.XmlBeanDefinitionReader | Ignored XML validation warning
> org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://activemq.apache.org/schema/cor
> e/activemq-core-5.4.1.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root eleme
> nt of the document is not <xsd:schema>.
> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.warning(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaWarning(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Sou
> rce)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.j
> ava:388)
> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.jav
> a:334)
> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.jav
> a:302)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:143)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:178)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:149)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:212)
> at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationC
> ontext.java:126)
> at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationC
> ontext.java:92)
> at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefresha
> bleApplicationContext.java:130)
> at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationCont
> ext.java:467)
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java
> :139)
> at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java
> :93)
> at org.apache.james.container.spring.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:37)
> at org.apache.james.container.spring.Main.main(Main.java:29)
> Exception in thread "main" org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 155 in XML docume
> nt from class path resource [spring-beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-comple
> x-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'amq:broker'.
> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.j
> ava:396)
> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.jav
> a:334)
> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.jav
> a:302)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:143)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:178)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:149)
> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefini
> tionReader.java:212)
> at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationC
> ontext.java:126)
> at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationC
> ontext.java:92)
> at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefresha
> bleApplicationContext.java:130)
> at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationCont
> ext.java:467)
> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
> at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java
> :139)
> at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java
> :93)
> at org.apache.james.container.spring.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:37)
> at org.apache.james.container.spring.Main.main(Main.java:29)
> Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration ca
> n be found for element 'amq:broker'.
> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
> at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Sou
> rce)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
> at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
> at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.j
> ava:388)
> ... 15 more
> C:\temp\james-server-container-spring-3.0-M2\james-server-container-spring-3.0-M2\bin>notepad run.bat
> C:\temp\james-server-container-spring-3.0-M2\james-server-container-spring-3.0-M2\bin>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: [jira] Commented: (JAMES-1141) James Server 3.0-M2 failed to
start because of firewall.
Posted by Zhou Wu <zw...@yahoo.com>.
For my system, No, I don't need to add the xsd to local machine. But I'm not
a Spring expert, I don't know why it works by doing this.
Zhou
[
https://issues.apache.org/jira/browse/JAMES-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964527#action_12964527
]
Eric Charles commented on JAMES-1141:
-------------------------------------
The spring.schemas file contains a line
"http\://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd=activemq-core-5.4.1.xsd".
Do we have to add the activemq-core-5.4.1.xsd file somewhere to let it work
?
tks,
Eric
--
View this message in context: http://old.nabble.com/-jira--Created%3A-%28JAMES-1141%29-James-Server-3.0-M2-failed-to-start-because-of-firewall.-tp30320903p30325210.html
Sent from the James - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org