james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Knecht (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-1141) James Server 3.0-M2 failed to start because of firewall.
Date Wed, 16 Mar 2011 09:36:29 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007391#comment-13007391
] 

Felix Knecht commented on JAMES-1141:
-------------------------------------

I'm not sure, if it's really fixed. having the spring.schema file is ok - but where's the
activemq-core-5.4.1.xsd? It can't be found wether in the source code nor in the distribution.
We do have a dependency to activemq-core-5.4.2.jar and this is what it contains:

jar ft activemq-core-5.4.2.jar | grep xsd
activemq.xsd
activemq.xsd.html
activemq.xsd.wiki


So I'd suppose the spring.schemas file should contain
http\://activemq.apache.org/schema/core/activemq-core-5.4.1.xsd=activemq.xsd

Maybe you want to test it again, 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
>            Assignee: Norman Maurer
>             Fix For: 3.0-M3
>
>         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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message