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 Felix Knecht <fe...@otego.com> on 2011/04/23 15:03:57 UTC
Move to Java 6 (was Build failed in Jenkins: james-server-trunk » Apache James Server JPA Data Persistence #1546)
On 04/23/2011 02:40 PM, Norman Maurer wrote:
> I just had a look on the release notes and it seems like it will only
> work with jdk 6. To be honest I think moving to jdk6 as minimum jdk in
> james-server and mailbox whould not hurt to much... Any thoughts ?
Absolutely. IMO it could be a good moment to switch and update to the
latest JDK for the JAMES-3.0 release. Java 5 has reached it's EOL in Oct
2009 and OTOH no JAMES-3.x release exists yet, so we don't need to
explain users that they must update there Java (JRE) version when
updating to a JAMES minor or bugfix release (e.g.. 3.0.1 -> 3.0.2 or so...).
Regards
Felix
>
> Bye,
> Norman
>
> 2011/4/23 Norman Maurer<no...@googlemail.com>:
>> Yeah seems like it needs jdk6. Not sure if thats really expected. I
>> will talk to the openjpa folks about it. In the meantime we need to
>> switch back to 2.0.1
>>
>> Bye,
>> Norman
>>
>>
>> 2011/4/23 Felix Knecht<fe...@apache.org>:
>>> Could it be that the openjpa-2.1.0 dependency (added in [1]) has been
>>> compiled with a later java version then the CI Jenkins is using?
>>>
>>> Regards
>>> Felix
>>>
>>> [1] http://svn.apache.org/viewvc?rev=1096013&view=rev
>>>
>>>
>>> On 04/23/2011 01:42 PM, Apache Jenkins Server wrote:
>>>>
>>>>
>>>>
See<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/1546/>
>>>>
>>>> ------------------------------------------
>>>> [JENKINS] Archiving
>>>>
/home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/pom.xml to
>>>>
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-SNAPSHOT/james-server-file-3.0-M3-SNAPSHOT.pom
>>>> [JENKINS] Archiving
>>>>
/home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/target/james-server-file-3.0-M3-SNAPSHOT.jar
>>>> to
>>>>
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-20110423.114231-261/james-server-file-3.0-M3-20110423.114231-261.jar
>>>> [JENKINS] Archiving
>>>>
/home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/target/james-server-file-3.0-M3-SNAPSHOT-tests.jar
>>>> to
>>>>
/home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-20110423.114231-261/james-server-file-3.0-M3-20110423.114231-261-tests.jar
>>>> [INFO]
>>>> [INFO]
>>>>
------------------------------------------------------------------------
>>>> [INFO] Building Apache James Server JPA Data Persistence
3.0-M3-SNAPSHOT
>>>> [INFO]
>>>>
------------------------------------------------------------------------
>>>> [INFO] [INFO]
>>>>
Deleting<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target>
>>>>
>>>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
>>>> james-server-jpa ---
>>>> [INFO]
>>>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @
>>>> james-server-jpa ---
>>>> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] skip non existing
>>>>
resourceDirectory<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/src/main/resources>
>>>> [INFO] Copying 3 resources
>>>>
>>>> [INFO] --- maven-resources-plugin:2.4.3:resources
(default-resources) @
>>>> james-server-jpa ---
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>>> james-server-jpa ---
>>>> [INFO] Compiling 6 source files
>>>>
to<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target/classes>
>>>> [INFO]
>>>> [INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @
>>>> james-server-jpa ---
>>>> [INFO]
>>>> [INFO] --- openjpa-maven-plugin:1.1:enhance (enhancer) @
james-server-jpa
>>>> ---
>>>> 192 WARN [pool-1-thread-1] openjpa.Enhance - The type
>>>> "org.apache.james.domainlist.jpa.model.JPADomain" must have a no-args
>>>> constructor. Adding a public no-args constructor.
>>>> 234 WARN [pool-1-thread-1] openjpa.Enhance - The type
>>>> "org.apache.james.rrt.jpa.model.JPARecipientRewrite" must have a
no-args
>>>> constructor. Adding a public no-args constructor.
>>>> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Copying 1 resource
>>>> [INFO] Copying 3 resources
>>>>
>>>> [INFO] --- maven-resources-plugin:2.4.3:testResources
>>>> (default-testResources) @ james-server-jpa ---
>>>> [INFO]
>>>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) @
>>>> james-server-jpa ---
>>>> [INFO] Compiling 3 source files
>>>>
to<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target/test-classes>
>>>> [INFO] -------------------------------------------------------------
>>>> [ERROR] COMPILATION ERROR :
>>>> [INFO] -------------------------------------------------------------
>>>>
>>>>
[ERROR]<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/src/test/java/org/apache/james/domainlist/jpa/JPADomainListTest.java>:[32,-1]
>>>> cannot access
org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
>>>> bad class file:
>>>>
/home/hudson/.m2/repository/org/apache/openjpa/openjpa/2.1.0/openjpa-2.1.0.jar(org/apache/openjpa/persistence/OpenJPAEntityManagerFactory.class)
>>>> class file has wrong version 50.0, should be 49.0
>>>> [INFO] 1 error
>>>> [INFO] -------------------------------------------------------------
>>>> mojoFailed
>>>>
org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile)
>>>> projectFailed org.apache.james:james-server-jpa:3.0-M3-SNAPSHOT
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
Re: Move to Java 6 (was Build failed in Jenkins: james-server-trunk » Apache James Server JPA Data Persistence #1546)
Posted by Norman Maurer <no...@googlemail.com>.
Ok I will start a vote...
Bye,
Norman
2011/4/23 Felix Knecht <fe...@otego.com>:
> On 04/23/2011 02:40 PM, Norman Maurer wrote:
>> I just had a look on the release notes and it seems like it will only
>> work with jdk 6. To be honest I think moving to jdk6 as minimum jdk in
>> james-server and mailbox whould not hurt to much... Any thoughts ?
>
> Absolutely. IMO it could be a good moment to switch and update to the latest
> JDK for the JAMES-3.0 release. Java 5 has reached it's EOL in Oct 2009 and
> OTOH no JAMES-3.x release exists yet, so we don't need to explain users that
> they must update there Java (JRE) version when updating to a JAMES minor or
> bugfix release (e.g.. 3.0.1 -> 3.0.2 or so...).
>
> Regards
> Felix
>
>>
>> Bye,
>> Norman
>>
>> 2011/4/23 Norman Maurer<no...@googlemail.com>:
>>> Yeah seems like it needs jdk6. Not sure if thats really expected. I
>>> will talk to the openjpa folks about it. In the meantime we need to
>>> switch back to 2.0.1
>>>
>>> Bye,
>>> Norman
>>>
>>>
>>> 2011/4/23 Felix Knecht<fe...@apache.org>:
>>>> Could it be that the openjpa-2.1.0 dependency (added in [1]) has been
>>>> compiled with a later java version then the CI Jenkins is using?
>>>>
>>>> Regards
>>>> Felix
>>>>
>>>> [1] http://svn.apache.org/viewvc?rev=1096013&view=rev
>>>>
>>>>
>>>> On 04/23/2011 01:42 PM, Apache Jenkins Server wrote:
>>>>>
>>>>>
>>>>>
>>>>> See<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/1546/>
>>>>>
>>>>> ------------------------------------------
>>>>> [JENKINS] Archiving
>>>>>
>>>>> /home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/pom.xml to
>>>>>
>>>>> /home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-SNAPSHOT/james-server-file-3.0-M3-SNAPSHOT.pom
>>>>> [JENKINS] Archiving
>>>>>
>>>>> /home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/target/james-server-file-3.0-M3-SNAPSHOT.jar
>>>>> to
>>>>>
>>>>> /home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-20110423.114231-261/james-server-file-3.0-M3-20110423.114231-261.jar
>>>>> [JENKINS] Archiving
>>>>>
>>>>> /home/hudson/hudson-slave/workspace/james-server-trunk/trunk/file/target/james-server-file-3.0-M3-SNAPSHOT-tests.jar
>>>>> to
>>>>>
>>>>> /home/hudson/hudson/jobs/james-server-trunk/modules/org.apache.james$james-server-file/builds/2011-04-23_11-36-30/archive/org.apache.james/james-server-file/3.0-M3-20110423.114231-261/james-server-file-3.0-M3-20110423.114231-261-tests.jar
>>>>> [INFO]
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Building Apache James Server JPA Data Persistence
>>>>> 3.0-M3-SNAPSHOT
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] [INFO]
>>>>>
>>>>> Deleting<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target>
>>>>>
>>>>> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
>>>>> james-server-jpa ---
>>>>> [INFO]
>>>>> [INFO] --- maven-remote-resources-plugin:1.1:process (default) @
>>>>> james-server-jpa ---
>>>>> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>> [INFO] skip non existing
>>>>>
>>>>> resourceDirectory<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/src/main/resources>
>>>>> [INFO] Copying 3 resources
>>>>>
>>>>> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
>>>>> james-server-jpa ---
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>>>>> james-server-jpa ---
>>>>> [INFO] Compiling 6 source files
>>>>>
>>>>> to<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target/classes>
>>>>> [INFO]
>>>>> [INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @
>>>>> james-server-jpa ---
>>>>> [INFO]
>>>>> [INFO] --- openjpa-maven-plugin:1.1:enhance (enhancer) @
>>>>> james-server-jpa
>>>>> ---
>>>>> 192 WARN [pool-1-thread-1] openjpa.Enhance - The type
>>>>> "org.apache.james.domainlist.jpa.model.JPADomain" must have a no-args
>>>>> constructor. Adding a public no-args constructor.
>>>>> 234 WARN [pool-1-thread-1] openjpa.Enhance - The type
>>>>> "org.apache.james.rrt.jpa.model.JPARecipientRewrite" must have a
>>>>> no-args
>>>>> constructor. Adding a public no-args constructor.
>>>>> [INFO] [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>>> [INFO] Copying 1 resource
>>>>> [INFO] Copying 3 resources
>>>>>
>>>>> [INFO] --- maven-resources-plugin:2.4.3:testResources
>>>>> (default-testResources) @ james-server-jpa ---
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile
>>>>> (default-testCompile) @
>>>>> james-server-jpa ---
>>>>> [INFO] Compiling 3 source files
>>>>>
>>>>> to<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/target/test-classes>
>>>>> [INFO] -------------------------------------------------------------
>>>>> [ERROR] COMPILATION ERROR :
>>>>> [INFO] -------------------------------------------------------------
>>>>>
>>>>>
>>>>> [ERROR]<https://builds.apache.org/hudson/job/james-server-trunk/org.apache.james$james-server-jpa/ws/src/test/java/org/apache/james/domainlist/jpa/JPADomainListTest.java>:[32,-1]
>>>>> cannot access
>>>>> org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
>>>>> bad class file:
>>>>>
>>>>> /home/hudson/.m2/repository/org/apache/openjpa/openjpa/2.1.0/openjpa-2.1.0.jar(org/apache/openjpa/persistence/OpenJPAEntityManagerFactory.class)
>>>>> class file has wrong version 50.0, should be 49.0
>>>>> [INFO] 1 error
>>>>> [INFO] -------------------------------------------------------------
>>>>> mojoFailed
>>>>>
>>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2(default-testCompile)
>>>>> projectFailed org.apache.james:james-server-jpa:3.0-M3-SNAPSHOT
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>>
>>>>
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org