You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Marc Chamberlin <ma...@marcchamberlin.com> on 2014/06/10 01:37:37 UTC

Need help getting james-3.0.beta5-SNAPSHOT up and going

Hello -

I am trying to get the latest beta version of James running on an 
openSuSE13.1 x64 system and running into some troubles. Wonder if some 
kind guru can translate this into plain English for me. I suspect it may 
have something to do with my domainlist.conf file but I have tried all 
kinds of permutations with no joy so far... Anywise on startup I am 
getting the following messages in the wrapper.log file, and going on the 
assumption that the first error message is the best place to start 
resolving the problem, I will only include the initial messages and not 
the whole file. (unless someone asks me for it...)

My last attempt with domainlist.conf looked like this, and I have tried 
using both the JPA and XML segments with no joy -

<!-- JPA implementation for DomainList -->
<domainlist class="org.apache.james.domainlist.jpa.JPADomainList">
    <autodetect>true</autodetect>
    <autodetectIP>true</autodetectIP>
<!--
    <defaultDomain>mydomain.com</defaultDomain>
-->
    <defaultDomain>localhost</defaultDomain>
</domainlist>


<!-- XML based implementation for DomainList -->

<!--
<domainlist class="org.apache.james.domainlist.xml.XMLDomainList">
    <domainnames>
        <domainname>mydomain.com</domainname>
        <domainname>HHH-Server.mydomain.com</domainname>
        <domainname>localhost</domainname>
    </domainnames>
    <autodetect>false</autodetect>
    <autodetectIP>true</autodetectIP>
    <defaultDomain>localhost</defaultDomain>
</domainlist>


My guess is this is the main problem -

INFO   | jvm 1    | 2014/06/09 16:14:20 | WrapperSimpleApp: Encountered 
an error running main: 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'mailprocessor': Injection of resource dependencies 
failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'mailetcontext': Injection of resource dependencies 
failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'domainlist': Invocation of init method failed; nested 
exception is <openjpa-2.2.0-r422266:1244990 nonfatal general error> 
org.apache.openjpa.persistence.PersistenceException: There were errors 
initializing your configuration: <openjpa-2.2.0-r422266:1244990 fatal 
user error> org.apache.openjpa.util.UserException: A connection could 
not be obtained for driver class "null" and URL "null".  You may have 
specified an invalid URL.


Here is the initial contents of wrapper.log -

STATUS | wrapper  | 2014/06/09 16:14:13 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2014/06/09 16:14:13 | Launching a JVM...
INFO   | jvm 1    | 2014/06/09 16:14:14 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2014/06/09 16:14:14 |   Copyright 1999-2006 Tanuki 
Software, Inc.  All Rights Reserved.
INFO   | jvm 1    | 2014/06/09 16:14:14 |
INFO   | jvm 1    | 2014/06/09 16:14:14 | INFO  16:14:14,860 | 
org.apache.james.container.spring.context.JamesServerApplicationContext 
| Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@17ef1258: 
startup date [Mon Jun 09 16:14:14 PDT 2014]; root of context hierarchy
INFO   | jvm 1    | 2014/06/09 16:14:17 | log4j:WARN No appenders could 
be found for logger (org.apache.commons.configuration.ConfigurationUtils).
INFO   | jvm 1    | 2014/06/09 16:14:17 | log4j:WARN Please initialize 
the log4j system properly.
INFO   | jvm 1    | 2014/06/09 16:14:17 | log4j:WARN See 
http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
INFO   | jvm 1    | 2014/06/09 16:14:17 | INFO  16:14:17,732 | 
org.apache.james.container.spring.context.JamesServerApplicationContext 
| Bean 'logprovider' of type [class 
org.apache.james.container.spring.lifecycle.LogProviderImpl] is not 
eligible for getting processed by all BeanPostProcessors (for example: 
not eligible for auto-proxying)
INFO   | jvm 1    | 2014/06/09 16:14:17 | INFO  16:14:17,823 | 
james.mailrepositorystore | JamesMailStore init...
INFO   | jvm 1    | 2014/06/09 16:14:17 | INFO  16:14:17,836 | 
james.mailrepositorystore | Registering Repository instance of class 
org.apache.james.mailrepository.file.FileMailRepository to handle file 
protocol requests for repositories with key file
INFO   | jvm 1    | 2014/06/09 16:14:17 | INFO  16:14:17,836 | 
james.mailrepositorystore | Registering Repository instance of class 
org.apache.james.mailrepository.jdbc.JDBCMailRepository to handle db 
protocol requests for repositories with key db
INFO   | jvm 1    | 2014/06/09 16:14:17 | INFO  16:14:17,837 | 
james.mailrepositorystore | Registering Repository instance of class 
org.apache.james.mailrepository.jdbc.JDBCMailRepository to handle dbfile 
protocol requests for repositories with key dbfile
INFO   | jvm 1    | 2014/06/09 16:14:17 | INFO  16:14:17,837 | 
james.mailrepositorystore | Registering Repository instance of class 
org.apache.james.mailrepository.file.MBoxMailRepository to handle mbox 
protocol requests for repositories with key mbox
INFO   | jvm 1    | 2014/06/09 16:14:18 | INFO  16:14:18,605 | 
james.dnsservice | DNS Server is: <url deleted but is correct>
INFO   | jvm 1    | 2014/06/09 16:14:18 | INFO  16:14:18,619 | 
james.dnsservice | Registered cache, resolver and search paths as 
DNSJava defaults
INFO   | jvm 1    | 2014/06/09 16:14:19 | 26  James  WARN 
[WrapperSimpleAppMain] openjpa.Runtime - An error occurred while 
registering a ClassTransformer with PersistenceUnitInfo: name 'James', 
root URL [file:/srv/james/apache-james-3.0-beta5-SNAPSHOT/conf/]. The 
error has been consumed. To see it, set your openjpa.Runtime log level 
to TRACE. Load-time class transformation will not be available.
INFO   | jvm 1    | 2014/06/09 16:14:19 | INFO  16:14:19,037 | 
james.domainlist | Set autodetect to: true
INFO   | jvm 1    | 2014/06/09 16:14:19 | INFO  16:14:19,037 | 
james.domainlist | Set autodetectIP to: true
INFO   | jvm 1    | 2014/06/09 16:14:19 | 65  James  INFO 
[WrapperSimpleAppMain] openjpa.Runtime - Starting OpenJPA 2.2.0
INFO   | jvm 1    | 2014/06/09 16:14:19 | 115  James  INFO 
[WrapperSimpleAppMain] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.MySQLDictionary".
INFO   | jvm 1    | 2014/06/09 16:14:20 |
INFO   | jvm 1    | 2014/06/09 16:14:20 | WrapperSimpleApp: Encountered 
an error running main: 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'mailprocessor': Injection of resource dependencies 
failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'mailetcontext': Injection of resource dependencies 
failed; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating 
bean with name 'domainlist': Invocation of init method failed; nested 
exception is <openjpa-2.2.0-r422266:1244990 nonfatal general error> 
org.apache.openjpa.persistence.PersistenceException: There were errors 
initializing your configuration: <openjpa-2.2.0-r422266:1244990 fatal 
user error> org.apache.openjpa.util.UserException: A connection could 
not be obtained for driver class "null" and URL "null".  You may have 
specified an invalid URL.
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.jdbc.schema.DataSourceFactory.newConnectException(DataSourceFactory.java:255)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:241)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:733)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:295)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1671)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:203)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractEntityManagerFactoryBean.java:376)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean$ManagedEntityManagerFactoryInvocationHandler.invoke(AbstractEntityManagerFactoryBean.java:517)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
com.sun.proxy.$Proxy34.createEntityManager(Unknown Source)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.james.domainlist.jpa.JPADomainList.createEntityManager(JPADomainList.java:174)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.james.domainlist.jpa.JPADomainList.init(JPADomainList.java:60)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:346)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:299)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:132)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1448)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:442)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:416)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:549)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:159)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:303)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:442)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:416)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:549)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:159)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:303)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:39)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
java.lang.reflect.Method.invoke(Method.java:606)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
java.lang.Thread.run(Thread.java:744)
INFO   | jvm 1    | 2014/06/09 16:14:20 | Caused by: 
org.apache.commons.dbcp.SQLNestedException: Cannot create 
PoolableConnectionFactory (Communications link failure due to underlying 
exception:
INFO   | jvm 1    | 2014/06/09 16:14:20 |
INFO   | jvm 1    | 2014/06/09 16:14:20 | ** BEGIN NESTED EXCEPTION **
INFO   | jvm 1    | 2014/06/09 16:14:20 |
INFO   | jvm 1    | 2014/06/09 16:14:20 | java.net.SocketException
INFO   | jvm 1    | 2014/06/09 16:14:20 | MESSAGE: 
java.net.ConnectException: Connection refused
INFO   | jvm 1    | 2014/06/09 16:14:20 |
INFO   | jvm 1    | 2014/06/09 16:14:20 | STACKTRACE:
INFO   | jvm 1    | 2014/06/09 16:14:20 |
INFO   | jvm 1    | 2014/06/09 16:14:20 | java.net.SocketException: 
java.net.ConnectException: Connection refused
INFO   | jvm 1    | 2014/06/09 16:14:20 |     at 
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
I

        Marc...

-- 
"The Truth is out there" - Spooky


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


Re: Need help getting james-3.0.beta5-SNAPSHOT up and going

Posted by Eric Charles <er...@apache.org>.
The apache-james artificats are deprecated.
james-server-app is the one to use.

On 06/14/2014 02:17 PM, Özgür EROĞLU wrote:
> Hi,
> What are the differences between these snapshots in these folders?
> 
> https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/
> 
> https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-app/
> 
> 
> I am using a very new snapshot from
> https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-app/3.0.0-beta5-SNAPSHOT/
> 
> without problems.
> 
> Ozgur
> 
> On 06/14/2014 02:37 PM, Eric Charles wrote:
>> .conf files, strange, this should be .xml files...
>>
>> Which exact snapshot are you trying?
>>
>> On 06/10/2014 07:49 PM, Marc Chamberlin wrote:
>>> I decided to start over and reinstall James from scratch and do a
>>> minimal amount of configuration before starting James, so for the moment
>>> ignore my previous email requesting help. Seems I now have a different
>>> problem to resolve first. That said, I downloaded this version of James
>>> (I had to guess that it is the latest snapshot  ) from the repository at
>>>
>>>  
>>> https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/
>>>
>>>
>>>
>>> and the version I downloaded was -
>>>
>>> apache-james-3.0-beta5-20121229.091821-854-app.tar.gz
>>> <http://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/apache-james-3.0-beta5-20121229.091821-854-app.tar.gz>
>>>
>>>
>>>
>>> Next, I simply renamed 3 of the configuration template files for
>>> imapserver, pop3server, and smtpserver .conf files so as to remove the
>>> "-template" part from their names. Started up James, and I get the
>>> following error message in wrapper.log -
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 | ERROR 09:25:01,679 |
>>> james.mailprocessor | Unable to init matcher All:
>>> org.apache.mailet.MailetException: Could not load matcher (All)
>>> (java.lang.ClassNotFoundException:
>>> org.apache.james.transport.matchers.All)
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |
>>> org.apache.mailet.MailetException: Could not load matcher (All)
>>> (java.lang.ClassNotFoundException:
>>> org.apache.james.transport.matchers.All)
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:60)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:55)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:346)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:119)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:101)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:103)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:181)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:66)
>>>
>>>
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>
>>>
>>>
>>>
>>> I did some Googling on this error and found it had been reported about a
>>> year ago, but the apparent solution was to download the latest version
>>> of James (at that time) and use it. Well, I think I have downloaded the
>>> latest version, since we are now a year later than when this error was
>>> initially reported, so now what do I do? Thanks for any help offered, in
>>> advance...
>>>
>>>       Marc...
>>>
>>>
>>>
>>>
>>> On 06/09/2014 04:37 PM, Marc Chamberlin wrote:
>>>> Hello -
>>>>
>>>> I am trying to get the latest beta version of James running on an
>>>> openSuSE13.1 x64 system and running into some troubles. Wonder if some
>>>> kind guru can translate this into plain English for me. I suspect it
>>>> may have something to do with my domainlist.conf file but I have tried
>>>> all kinds of permutations with no joy so far... Anywise on startup I
>>>> am getting the following messages in the wrapper.log file, and going
>>>> on the assumption that the first error message is the best place to
>>>> start resolving the problem, I will only include the initial messages
>>>> and not the whole file. (unless someone asks me for it...)
>>>>
>>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
> 

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


Re: Need help getting james-3.0.beta5-SNAPSHOT up and going

Posted by Özgür EROĞLU <oe...@gmail.com>.
Hi,
What are the differences between these snapshots in these folders?

https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-app/

I am using a very new snapshot from
https://repository.apache.org/content/repositories/snapshots/org/apache/james/james-server-app/3.0.0-beta5-SNAPSHOT/ 

without problems.

Ozgur

On 06/14/2014 02:37 PM, Eric Charles wrote:
> .conf files, strange, this should be .xml files...
>
> Which exact snapshot are you trying?
>
> On 06/10/2014 07:49 PM, Marc Chamberlin wrote:
>> I decided to start over and reinstall James from scratch and do a
>> minimal amount of configuration before starting James, so for the moment
>> ignore my previous email requesting help. Seems I now have a different
>> problem to resolve first. That said, I downloaded this version of James
>> (I had to guess that it is the latest snapshot  ) from the repository at
>>
>>   https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/
>>
>>
>> and the version I downloaded was -
>>
>> apache-james-3.0-beta5-20121229.091821-854-app.tar.gz
>> <http://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/apache-james-3.0-beta5-20121229.091821-854-app.tar.gz>
>>
>>
>> Next, I simply renamed 3 of the configuration template files for
>> imapserver, pop3server, and smtpserver .conf files so as to remove the
>> "-template" part from their names. Started up James, and I get the
>> following error message in wrapper.log -
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 | ERROR 09:25:01,679 |
>> james.mailprocessor | Unable to init matcher All:
>> org.apache.mailet.MailetException: Could not load matcher (All)
>> (java.lang.ClassNotFoundException: org.apache.james.transport.matchers.All)
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |
>> org.apache.mailet.MailetException: Could not load matcher (All)
>> (java.lang.ClassNotFoundException: org.apache.james.transport.matchers.All)
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:60)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:55)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:346)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:119)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:101)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:103)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:181)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:66)
>>
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>
>>
>>
>> I did some Googling on this error and found it had been reported about a
>> year ago, but the apparent solution was to download the latest version
>> of James (at that time) and use it. Well, I think I have downloaded the
>> latest version, since we are now a year later than when this error was
>> initially reported, so now what do I do? Thanks for any help offered, in
>> advance...
>>
>>       Marc...
>>
>>
>>
>>
>> On 06/09/2014 04:37 PM, Marc Chamberlin wrote:
>>> Hello -
>>>
>>> I am trying to get the latest beta version of James running on an
>>> openSuSE13.1 x64 system and running into some troubles. Wonder if some
>>> kind guru can translate this into plain English for me. I suspect it
>>> may have something to do with my domainlist.conf file but I have tried
>>> all kinds of permutations with no joy so far... Anywise on startup I
>>> am getting the following messages in the wrapper.log file, and going
>>> on the assumption that the first error message is the best place to
>>> start resolving the problem, I will only include the initial messages
>>> and not the whole file. (unless someone asks me for it...)
>>>
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>


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


Re: Need help getting james-3.0.beta5-SNAPSHOT up and going

Posted by Eric Charles <er...@apache.org>.
.conf files, strange, this should be .xml files...

Which exact snapshot are you trying?

On 06/10/2014 07:49 PM, Marc Chamberlin wrote:
> I decided to start over and reinstall James from scratch and do a
> minimal amount of configuration before starting James, so for the moment
> ignore my previous email requesting help. Seems I now have a different
> problem to resolve first. That said, I downloaded this version of James
> (I had to guess that it is the latest snapshot  ) from the repository at
> 
>  https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/
> 
> 
> and the version I downloaded was -
> 
> apache-james-3.0-beta5-20121229.091821-854-app.tar.gz
> <http://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/apache-james-3.0-beta5-20121229.091821-854-app.tar.gz>
> 
> 
> Next, I simply renamed 3 of the configuration template files for
> imapserver, pop3server, and smtpserver .conf files so as to remove the
> "-template" part from their names. Started up James, and I get the
> following error message in wrapper.log -
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 | ERROR 09:25:01,679 |
> james.mailprocessor | Unable to init matcher All:
> org.apache.mailet.MailetException: Could not load matcher (All)
> (java.lang.ClassNotFoundException: org.apache.james.transport.matchers.All)
> INFO   | jvm 1    | 2014/06/10 09:25:01 |
> org.apache.mailet.MailetException: Could not load matcher (All)
> (java.lang.ClassNotFoundException: org.apache.james.transport.matchers.All)
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:60)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:55)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:346)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:119)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:101)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:103)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:181)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:66)
> 
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> INFO   | jvm 1    | 2014/06/10 09:25:01 |     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 
> 
> 
> I did some Googling on this error and found it had been reported about a
> year ago, but the apparent solution was to download the latest version
> of James (at that time) and use it. Well, I think I have downloaded the
> latest version, since we are now a year later than when this error was
> initially reported, so now what do I do? Thanks for any help offered, in
> advance...
> 
>      Marc...
> 
> 
> 
> 
> On 06/09/2014 04:37 PM, Marc Chamberlin wrote:
>> Hello -
>>
>> I am trying to get the latest beta version of James running on an
>> openSuSE13.1 x64 system and running into some troubles. Wonder if some
>> kind guru can translate this into plain English for me. I suspect it
>> may have something to do with my domainlist.conf file but I have tried
>> all kinds of permutations with no joy so far... Anywise on startup I
>> am getting the following messages in the wrapper.log file, and going
>> on the assumption that the first error message is the best place to
>> start resolving the problem, I will only include the initial messages
>> and not the whole file. (unless someone asks me for it...)
>>
>>
> 
> 

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


Re: Need help getting james-3.0.beta5-SNAPSHOT up and going

Posted by Marc Chamberlin <ma...@marcchamberlin.com>.
I decided to start over and reinstall James from scratch and do a 
minimal amount of configuration before starting James, so for the moment 
ignore my previous email requesting help. Seems I now have a different 
problem to resolve first. That said, I downloaded this version of James 
(I had to guess that it is the latest snapshot  ) from the repository at

  https://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/

and the version I downloaded was -

apache-james-3.0-beta5-20121229.091821-854-app.tar.gz 
<http://repository.apache.org/content/repositories/snapshots/org/apache/james/apache-james/3.0-beta5-SNAPSHOT/apache-james-3.0-beta5-20121229.091821-854-app.tar.gz>

Next, I simply renamed 3 of the configuration template files for 
imapserver, pop3server, and smtpserver .conf files so as to remove the 
"-template" part from their names. Started up James, and I get the 
following error message in wrapper.log -

INFO   | jvm 1    | 2014/06/10 09:25:01 | ERROR 09:25:01,679 | 
james.mailprocessor | Unable to init matcher All: 
org.apache.mailet.MailetException: Could not load matcher (All) 
(java.lang.ClassNotFoundException: org.apache.james.transport.matchers.All)
INFO   | jvm 1    | 2014/06/10 09:25:01 | 
org.apache.mailet.MailetException: Could not load matcher (All) 
(java.lang.ClassNotFoundException: org.apache.james.transport.matchers.All)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:60)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.container.spring.bean.factory.mailetcontainer.MatcherLoaderBeanFactory.getMatcher(MatcherLoaderBeanFactory.java:55)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:346)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:119)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:101)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:103)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:181)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:66)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 1    | 2014/06/10 09:25:01 |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


I did some Googling on this error and found it had been reported about a 
year ago, but the apparent solution was to download the latest version 
of James (at that time) and use it. Well, I think I have downloaded the 
latest version, since we are now a year later than when this error was 
initially reported, so now what do I do? Thanks for any help offered, in 
advance...

      Marc...




On 06/09/2014 04:37 PM, Marc Chamberlin wrote:
> Hello -
>
> I am trying to get the latest beta version of James running on an 
> openSuSE13.1 x64 system and running into some troubles. Wonder if some 
> kind guru can translate this into plain English for me. I suspect it 
> may have something to do with my domainlist.conf file but I have tried 
> all kinds of permutations with no joy so far... Anywise on startup I 
> am getting the following messages in the wrapper.log file, and going 
> on the assumption that the first error message is the best place to 
> start resolving the problem, I will only include the initial messages 
> and not the whole file. (unless someone asks me for it...)
>
>


-- 
"The Truth is out there" - Spooky