Hey Marc, Matt here.
The provided stack only says that you given "classpath" to some
parameter wich expectes a url in some config file. So I guess it could
help if you also show the config where you set "classpath" so one can
figure out, if "classpath" is a legal input for the setting you set it.
To get current source, just clone git:
git clone -b master https://github.com/apache/james-project <your james
folder>
branch 3.2.0 is completed and isn't worked on anymore, branch 3.2.x got
last update in Dec 10, 2018 - so you have to use master branch to get
current fixes
to compile james from source - cd into your james directory and type:
mvn clean package
I would recommend to also add: -DskipTests
to save time - and, well, if you haven't set up docker, the tests fail
at this point wich fails the whole project. With skipping tests depend
on power takes about 15min to compile. Completed pack is then found in
<james folder>/server/app/target/james-server-[version]-app.tar.gz (and
.zip). Simple extract it to where you want - check config in
<james-root>/conf (check domainlist.xml is most important - all other
shouldn't need not touch at all) - and james should be able to start up
with <james-root>/bin/james start
Matt
Am 17.02.2019 um 08:29 schrieb Marc Chamberlin:
I am still trying to configure and set up a new Apache James 3.2.0 with Spring
wiring and am running into a new snag. I suspect I am overlooking something in
the config files. So can a kind guru decipher this stack walkback, shown in the
wrapper.log file, and give me a clue on how to fix and make James a happy
camper?
I won't show the entire stack walkback just what I think are the highlights,
but if anyone wants the whole thing I certainly can provide it.
(Benoit - I have not figured out how to acquire the source code, with the fixes
you mentioned in my previous threads, and build/test the new version of James.
Perhaps you could send me instructions? Just send me a link to the source code
and a Makefile preferably, I have never used Docker and don't understand how
that works.. )
Thanks in advance... Marc
INFO | jvm 1 | 2019/02/16 22:51:04 | 22:51:04.843 [WrapperSimpleAppMain]
DEBUG org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loaded 13
bean definitions from location pattern
[classpath:META-INF/spring/loaders-context.xml]
INFO | jvm 1 | 2019/02/16 22:51:04 | 22:51:04.843 [WrapperSimpleAppMain]
DEBUG org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader
- Imported 13 bean definitions from URL location
[classpath:META-INF/spring/loaders-context.xml]
INFO | jvm 1 | 2019/02/16 22:51:04 | 22:51:04.843 [WrapperSimpleAppMain]
INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading
XML bean definitions from class path resource
[META-INF/org/apache/james/spring-mailbox-authenticator.xml]
INFO | jvm 1 | 2019/02/16 22:51:04 | 22:51:04.844 [WrapperSimpleAppMain]
DEBUG org.springframework.beans.factory.xml.DefaultDocumentLoader - Using JAXP
provider [com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl]
INFO | jvm 1 | 2019/02/16 22:51:04 | 22:51:04.846 [WrapperSimpleAppMain]
DEBUG org.springframework.beans.factory.xml.ResourceEntityResolver - Could not
resolve XML entity
[classpath:org/springframework/beans/factory/xml/spring-beans-3.0.xsd] against
system root URL
INFO | jvm 1 | 2019/02/16 22:51:04 | java.net.MalformedURLException:
unknown protocol: classpath
INFO | jvm 1 | 2019/02/16 22:51:04 | at
java.net.URL.<init>(URL.java:600)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
java.net.URL.<init>(URL.java:490)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
java.net.URL.<init>(URL.java:439)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
org.springframework.beans.factory.xml.ResourceEntityResolver.resolveEntity(ResourceEntityResolver.java:79)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.util.EntityResolverWrapper.resolveEntity(EntityResolverWrapper.java:110)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.resolveEntity(XMLEntityManager.java:1081)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.resolveDocument(XMLSchemaLoader.java:654)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(XMLSchemaValidator.java:2431)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1768)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:741)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:613)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3132)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:852)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:842)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO | jvm 1 | 2019/02/16 22:51:04 | at
com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
yada yada yada...
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org