答复: james v3-beta4 start

2016-10-04 Thread li hai ming
I follow https://github.com/apache/james-project, below section

##

Run James with Java 8 + Guice + Cassandra + ElasticSearch
Requirements

Built artifacts should be in ./dockerfiles/run/guice/destination folder. If you 
haven’t already:

$ docker build -t james/project dockerfiles/compilation/java-8

$ docker run -v $HOME/.m2:/root/.m2 -v $PWD:/origin \

  -v $PWD/dockerfiles/run/guice/destination:/destination \

  -t james/project -s HEAD



##



I got below error:

##

[root@localhost james-project]# pwd

/home/haimingli/store/james-project

[root@localhost james-project]# docker run -v $HOME/.m2:/root/.m2 -v 
$PWD:/origin -v $PWD/dockerfiles/run/guice/destination:/destination -t 
james/project -s HEAD



fatal: repository '/origin/.' does not exist

##



Anything possibly missed in my operation?



发送自 Windows 10 版邮件应用



发件人: Matthieu Baechler<mailto:mbaech...@linagora.com>
发送时间: 2016年9月20日 15:53
收件人: server-user@james.apache.org<mailto:server-user@james.apache.org>
主题: Re: james v3-beta4 start



Hi,

We provide a docker image that works out of the box and the README
explains how to build the image, too.

Could you please have a try with docker ?

We will also try to release a beta soon, beta4 is very old now (maybe
two years).

Regards,

--

Matthieu Baechler


On 09/20/2016 09:10 AM, li hai ming wrote:
> thanks.
>
> does james-dev know the issue and has plan to fix?
>
> as a beta version, such _obvious_ issue is not good.
>
> via Newton 
> Mail<https://cloudmagic.com/k/d/mailapp?ct=pa&cv=8.5.43&pv=5.0.2&source=email_footer_2>
> On Tue, Sep 20, 2016 at 1:29 PM, Shawn Fu Sheng 
> mailto:sh...@victz.com>> wrote:
>
>
> Hi,
>
> I had same problem with you. I tried JDK 6&7&8,
>
> JDK 6 Started ok. Able to sent out emails, able to receive email from local 
> domain. Can't receive from outside domain. Pop working ok, imap can see how 
> many new email, but unable download.
>
> JDK7&8 unable start, same issue with yours. even after I copied jaxb-impl.jar
>
> I didn't try run.sh
>
> Hope this is helpful to you.
>
> Thanks and Regards,
> Shawn
>
>> On 20 Sep 2016, at 1:06 PM, lihai ming  wrote:
>>
>> i already copied jaxb-impl.jar under ../conf/lib
>> my java is [root@iZ28m97ac83Z lib]# java -versionopenjdk version 
>> "1.8.0_101"OpenJDK Runtime Environment (build 1.8.0_101-b13)OpenJDK 64-Bit 
>> Server VM (build 25.101-b13, mixed mode)
>> i use sudo su to root
>> then under .../james/bin/
>> using ./run.sh, james starts OK
>> using ./james start, no lucky. in wrapper.log it always says
>> ##STATUS | wrapper  | 2016/09/20 12:55:30 | --> Wrapper Started as 
>> DaemonSTATUS | wrapper  | 2016/09/20 12:55:30 | Launching a JVM...INFO   | 
>> jvm 1| 2016/09/20 12:55:32 | Wrapper (Version 3.2.3) 
>> http://wrapper.tanukisoftware.orgINFO   | jvm 1| 2016/09/20 12:55:32 |   
>> Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.INFO   | jvm 
>> 1| 2016/09/20 12:55:32 |INFO   | jvm 1| 2016/09/20 12:55:33 | INFO  
>> 12:55:33,101 | 
>> org.apache.james.container.spring.context.JamesServerApplicationContext | 
>> Refreshing 
>> org.apache.james.container.spring.context.JamesServerApplicationContext@32ef1cd4:
>>  startup date [Tue Sep 20 12:55:33 CST 2016]; root of context hierarchyINFO  
>>  | jvm 1| 2016/09/20 12:55:35 |INFO   | jvm 1| 2016/09/20 12:55:35 | 
>> WrapperSimpleApp: Encountered an error running main: 
>> org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
>> create the JAXB binder; nested exception is javax.xml.bind.JAXBException: 
>> Provider com.sun.xml.internal.bind.v2.ContextFactory could not be 
>> instantiated: 
>> com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts 
>> of IllegalAnnotationExceptionsINFO   | jvm 1| 2016/09/20 12:55:35 | 
>> Class has two properties of the same name "outputs"##
>> what could be the possible reason?should i have to login as root to run 
>> ./james start?
>> or i can live with ./run.sh& ?
>>



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



Re: james v3-beta4 start

2016-09-20 Thread Matthieu Baechler

Hi,

We provide a docker image that works out of the box and the README 
explains how to build the image, too.


Could you please have a try with docker ?

We will also try to release a beta soon, beta4 is very old now (maybe 
two years).


Regards,

--

Matthieu Baechler


On 09/20/2016 09:10 AM, li hai ming wrote:

thanks.

does james-dev know the issue and has plan to fix?

as a beta version, such _obvious_ issue is not good.

via Newton 
Mail
On Tue, Sep 20, 2016 at 1:29 PM, Shawn Fu Sheng 
mailto:sh...@victz.com>> wrote:


Hi,

I had same problem with you. I tried JDK 6&7&8,

JDK 6 Started ok. Able to sent out emails, able to receive email from local 
domain. Can't receive from outside domain. Pop working ok, imap can see how 
many new email, but unable download.

JDK7&8 unable start, same issue with yours. even after I copied jaxb-impl.jar

I didn't try run.sh

Hope this is helpful to you.

Thanks and Regards,
Shawn


On 20 Sep 2016, at 1:06 PM, lihai ming  wrote:

i already copied jaxb-impl.jar under ../conf/lib
my java is [root@iZ28m97ac83Z lib]# java -versionopenjdk version 
"1.8.0_101"OpenJDK Runtime Environment (build 1.8.0_101-b13)OpenJDK 64-Bit 
Server VM (build 25.101-b13, mixed mode)
i use sudo su to root
then under .../james/bin/
using ./run.sh, james starts OK
using ./james start, no lucky. in wrapper.log it always says
##STATUS | wrapper  | 2016/09/20 12:55:30 | --> Wrapper Started as DaemonSTATUS | wrapper 
 | 2016/09/20 12:55:30 | Launching a JVM...INFO   | jvm 1| 2016/09/20 12:55:32 | Wrapper 
(Version 3.2.3) http://wrapper.tanukisoftware.orgINFO   | jvm 1| 2016/09/20 12:55:32 |   
Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.INFO   | jvm 1| 
2016/09/20 12:55:32 |INFO   | jvm 1| 2016/09/20 12:55:33 | INFO  12:55:33,101 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@32ef1cd4: startup 
date [Tue Sep 20 12:55:33 CST 2016]; root of context hierarchyINFO   | jvm 1| 2016/09/20 
12:55:35 |INFO   | jvm 1| 2016/09/20 12:55:35 | WrapperSimpleApp: Encountered an error 
running main: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
create the JAXB binder; nested exception is javax.xml.bind.JAXBException: Provider 
com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated: 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptionsINFO   | jvm 1| 2016/09/20 12:55:35 | Class has two 
properties of the same name "outputs"##
what could be the possible reason?should i have to login as root to run ./james 
start?
or i can live with ./run.sh& ?





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



Re: james v3-beta4 start

2016-09-20 Thread li hai ming
thanks.

does james-dev know the issue and has plan to fix?

as a beta version, such _obvious_ issue is not good.

via Newton 
Mail
On Tue, Sep 20, 2016 at 1:29 PM, Shawn Fu Sheng 
mailto:sh...@victz.com>> wrote:


Hi,

I had same problem with you. I tried JDK 6&7&8,

JDK 6 Started ok. Able to sent out emails, able to receive email from local 
domain. Can't receive from outside domain. Pop working ok, imap can see how 
many new email, but unable download.

JDK7&8 unable start, same issue with yours. even after I copied jaxb-impl.jar

I didn't try run.sh

Hope this is helpful to you.

Thanks and Regards,
Shawn

> On 20 Sep 2016, at 1:06 PM, lihai ming  wrote:
>
> i already copied jaxb-impl.jar under ../conf/lib
> my java is [root@iZ28m97ac83Z lib]# java -versionopenjdk version 
> "1.8.0_101"OpenJDK Runtime Environment (build 1.8.0_101-b13)OpenJDK 64-Bit 
> Server VM (build 25.101-b13, mixed mode)
> i use sudo su to root
> then under .../james/bin/
> using ./run.sh, james starts OK
> using ./james start, no lucky. in wrapper.log it always says
> ##STATUS | wrapper  | 2016/09/20 12:55:30 | --> Wrapper Started as 
> DaemonSTATUS | wrapper  | 2016/09/20 12:55:30 | Launching a JVM...INFO   | 
> jvm 1| 2016/09/20 12:55:32 | Wrapper (Version 3.2.3) 
> http://wrapper.tanukisoftware.orgINFO   | jvm 1| 2016/09/20 12:55:32 |   
> Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.INFO   | jvm 1 
>| 2016/09/20 12:55:32 |INFO   | jvm 1| 2016/09/20 12:55:33 | INFO  
> 12:55:33,101 | 
> org.apache.james.container.spring.context.JamesServerApplicationContext | 
> Refreshing 
> org.apache.james.container.spring.context.JamesServerApplicationContext@32ef1cd4:
>  startup date [Tue Sep 20 12:55:33 CST 2016]; root of context hierarchyINFO   
> | jvm 1| 2016/09/20 12:55:35 |INFO   | jvm 1| 2016/09/20 12:55:35 | 
> WrapperSimpleApp: Encountered an error running main: 
> org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
> create the JAXB binder; nested exception is javax.xml.bind.JAXBException: 
> Provider com.sun.xml.internal.bind.v2.ContextFactory could not be 
> instantiated: 
> com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
> IllegalAnnotationExceptionsINFO   | jvm 1| 2016/09/20 12:55:35 | Class 
> has two properties of the same name "outputs"##
> what could be the possible reason?should i have to login as root to run 
> ./james start?
> or i can live with ./run.sh& ?
>


Re: james v3-beta4 start

2016-09-19 Thread Shawn Fu Sheng
Hi,

I had same problem with you. I tried JDK 6&7&8, 

JDK 6 Started ok. Able to sent out emails, able to receive email from local 
domain. Can't receive from outside domain. Pop working ok, imap can see how 
many new email, but unable download.

JDK7&8 unable start, same issue with yours. even after I copied jaxb-impl.jar 

I didn't try run.sh

Hope this is helpful to you.

Thanks and Regards,
Shawn

> On 20 Sep 2016, at 1:06 PM, lihai ming  wrote:
> 
> i already copied jaxb-impl.jar under ../conf/lib
> my java is [root@iZ28m97ac83Z lib]# java -versionopenjdk version 
> "1.8.0_101"OpenJDK Runtime Environment (build 1.8.0_101-b13)OpenJDK 64-Bit 
> Server VM (build 25.101-b13, mixed mode)
> i use sudo su to root
> then under .../james/bin/
> using ./run.sh, james starts OK
> using ./james start, no lucky. in wrapper.log it always says
> ##STATUS | wrapper  | 2016/09/20 12:55:30 | --> Wrapper Started as 
> DaemonSTATUS | wrapper  | 2016/09/20 12:55:30 | Launching a JVM...INFO   | 
> jvm 1| 2016/09/20 12:55:32 | Wrapper (Version 3.2.3) 
> http://wrapper.tanukisoftware.orgINFO   | jvm 1| 2016/09/20 12:55:32 |   
> Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.INFO   | jvm 1 
>| 2016/09/20 12:55:32 |INFO   | jvm 1| 2016/09/20 12:55:33 | INFO  
> 12:55:33,101 | 
> org.apache.james.container.spring.context.JamesServerApplicationContext | 
> Refreshing 
> org.apache.james.container.spring.context.JamesServerApplicationContext@32ef1cd4:
>  startup date [Tue Sep 20 12:55:33 CST 2016]; root of context hierarchyINFO   
> | jvm 1| 2016/09/20 12:55:35 |INFO   | jvm 1| 2016/09/20 12:55:35 | 
> WrapperSimpleApp: Encountered an error running main: 
> org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
> create the JAXB binder; nested exception is javax.xml.bind.JAXBException: 
> Provider com.sun.xml.internal.bind.v2.ContextFactory could not be 
> instantiated: 
> com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
> IllegalAnnotationExceptionsINFO   | jvm 1| 2016/09/20 12:55:35 | Class 
> has two properties of the same name "outputs"##
> what could be the possible reason?should i have to login as root to run 
> ./james start?
> or i can live with ./run.sh& ?
> 


james v3-beta4 start

2016-09-19 Thread lihai ming
i already copied jaxb-impl.jar under ../conf/lib
my java is [root@iZ28m97ac83Z lib]# java -versionopenjdk version 
"1.8.0_101"OpenJDK Runtime Environment (build 1.8.0_101-b13)OpenJDK 64-Bit 
Server VM (build 25.101-b13, mixed mode)
i use sudo su to root
then under .../james/bin/
using ./run.sh, james starts OK
using ./james start, no lucky. in wrapper.log it always says
##STATUS | wrapper  | 2016/09/20 12:55:30 | --> Wrapper Started as DaemonSTATUS 
| wrapper  | 2016/09/20 12:55:30 | Launching a JVM...INFO   | jvm 1| 
2016/09/20 12:55:32 | Wrapper (Version 3.2.3) 
http://wrapper.tanukisoftware.orgINFO   | jvm 1| 2016/09/20 12:55:32 |   
Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.INFO   | jvm 1   
 | 2016/09/20 12:55:32 |INFO   | jvm 1| 2016/09/20 12:55:33 | INFO  
12:55:33,101 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | 
Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@32ef1cd4:
 startup date [Tue Sep 20 12:55:33 CST 2016]; root of context hierarchyINFO   | 
jvm 1| 2016/09/20 12:55:35 |INFO   | jvm 1| 2016/09/20 12:55:35 | 
WrapperSimpleApp: Encountered an error running main: 
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to 
create the JAXB binder; nested exception is javax.xml.bind.JAXBException: 
Provider com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated: 
com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of 
IllegalAnnotationExceptionsINFO   | jvm 1| 2016/09/20 12:55:35 | Class has 
two properties of the same name "outputs"##
what could be the possible reason?should i have to login as root to run ./james 
start?
or i can live with ./run.sh& ?