[jira] [Commented] (KARAF-5728) Upgrade to Jetty 9.4.9.v20180320

2018-05-01 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16460488#comment-16460488
 ] 

Jean-Baptiste Onofré commented on KARAF-5728:
-

No, just a copy/paste mistake in the version.

> Upgrade to Jetty 9.4.9.v20180320
> 
>
> Key: KARAF-5728
> URL: https://issues.apache.org/jira/browse/KARAF-5728
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-webcontainer
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (KARAF-5728) Upgrade to Jetty 9.4.9.v20180320

2018-05-01 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-5728:

Summary: Upgrade to Jetty 9.4.9.v20180320  (was: Upgrade to Jetty 
9.4.7.v20170914)

> Upgrade to Jetty 9.4.9.v20180320
> 
>
> Key: KARAF-5728
> URL: https://issues.apache.org/jira/browse/KARAF-5728
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-webcontainer
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5728) Upgrade to Jetty 9.4.7.v20170914

2018-05-01 Thread Lijun Liao (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16460115#comment-16460115
 ] 

Lijun Liao commented on KARAF-5728:
---

Is there any reason to use 9.4.7.v20170914 instead the latest 9.4.9.v20180320?

> Upgrade to Jetty 9.4.7.v20170914
> 
>
> Key: KARAF-5728
> URL: https://issues.apache.org/jira/browse/KARAF-5728
> Project: Karaf
>  Issue Type: Dependency upgrade
>  Components: karaf-webcontainer
>Reporter: Jean-Baptiste Onofré
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5724) Add support of JDK 10

2018-05-01 Thread Lijun Liao (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459958#comment-16459958
 ] 

Lijun Liao commented on KARAF-5724:
---

This indicates karaf should be tested with both OpenJDK and Oracle JDK.

> Add support of JDK 10
> -
>
> Key: KARAF-5724
> URL: https://issues.apache.org/jira/browse/KARAF-5724
> Project: Karaf
>  Issue Type: New Feature
>Affects Versions: 4.2.0
> Environment: Java Version:
> {{$JAVA_HOME/bin/java -version}}
> {{java version "10.0.1" 2018-04-17}}
> {{Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)}}
> {{Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)}}
> OS:
> {{Ubuntu 64 Bit 16.04}}
>Reporter: Lijun Liao
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> Due to the missing module corba in JDK 10 (tested with the 
> serverjre-10.0.1_linux-x64), karaf cannot be started.
> Here is the error message:
> {{apache-karaf-minimal-4.2.0$ bin/karaf }}
> {{Error occurred during initialization of boot layer}}
> {{java.lang.module.FindException: Module java.corba not found}}
> Removing "java.corba" from the line "--add-modules 
> java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws" 
> in bin/karaf fixed the above error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5725) Add support of JDK 11

2018-05-01 Thread Lijun Liao (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459950#comment-16459950
 ] 

Lijun Liao commented on KARAF-5725:
---

The version problem can be solved via the solution in KARAF-5641. But there are 
many other problems like modules, exported packages, etc.

> Add support of JDK 11
> -
>
> Key: KARAF-5725
> URL: https://issues.apache.org/jira/browse/KARAF-5725
> Project: Karaf
>  Issue Type: New Feature
>Affects Versions: 4.2.0
>Reporter: Lijun Liao
>Priority: Major
> Fix For: 4.2.1
>
>
> JDK 11 is the first JDK with LTS (at least 5 years) since version 9. It will 
> be released in September 2018. Currently the EA for JDK 11 is available under 
> http://jdk.java.net/11/. So, if possible, please consider it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KARAF-5728) Upgrade to Jetty 9.4.7.v20170914

2018-05-01 Thread JIRA
Jean-Baptiste Onofré created KARAF-5728:
---

 Summary: Upgrade to Jetty 9.4.7.v20170914
 Key: KARAF-5728
 URL: https://issues.apache.org/jira/browse/KARAF-5728
 Project: Karaf
  Issue Type: Dependency upgrade
  Components: karaf-webcontainer
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
 Fix For: 4.2.1






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5641) Karaf boot scripts need to deal with JDK10 version patterns

2018-05-01 Thread Sanne Grinovero (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459595#comment-16459595
 ] 

Sanne Grinovero commented on KARAF-5641:


Thanks a lot! Seems to work fine on JDK10, now just need a working pax-exam too 
to be able to use it.

In the meantime I'm testing JDK11 now, added some comments on KARAF-5725 as 
it's related to this one: the version detection pattern needs another little 
tweak.

Thanks

> Karaf boot scripts need to deal with JDK10 version patterns
> ---
>
> Key: KARAF-5641
> URL: https://issues.apache.org/jira/browse/KARAF-5641
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core
>Affects Versions: 4.2.0.M2
>Reporter: Sanne Grinovero
>Assignee: Guillaume Nodet
>Priority: Major
> Fix For: 4.2.0
>
>
> The {{checkJvmVersion()}} function in the {{/bin/inc}} script of the 
> distribution is not dealing with the new output of {{java -version}} of JDK10 
> (and later?).
> The {{VERSION}} variable is left undefined, which then has the main 
> bootscript to not set the Jigsaw modules correctly (the various JVM flags 
> which need to be enabled since Java 9).
> This is a blocker to use Karaf on Java 10, which is already in candidate 
> release. I don't think much else is changed compared to Java 9 so it would be 
> great to sort this.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (KARAF-5725) Add support of JDK 11

2018-05-01 Thread Sanne Grinovero (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459593#comment-16459593
 ] 

Sanne Grinovero edited comment on KARAF-5725 at 5/1/18 10:34 AM:
-

Karaf currently fails to boot on JDK11 because JDK11 is not released yet, so 
the output of {{java -version}} is: 



{noformat}
openjdk version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+10)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+10, mixed mode)
{noformat}


The boot _bin/karaf_ script fails with: 

{noformat}
/opt/apache-karaf-4.2.0/bin/inc: line 212: [: 11-ea: integer expression expected
./karaf: line 274: [: 11-ea: integer expression expected
{noformat}


Probably related to KARAF-5641


was (Author: sanne):
Karaf currently fails to boot on JDK11 because JDK11 is not released yet, so 
the output of {{java -version}} is: 



{noformat}
openjdk version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+10)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+10, mixed mode)
{noformat}


The boot _bin/karaf_ script fails with: 

{noformat}
/opt/apache-karaf-4.2.0/bin/inc: line 212: [: 11-ea: integer expression expected
./karaf: line 274: [: 11-ea: integer expression expected
{noformat}




> Add support of JDK 11
> -
>
> Key: KARAF-5725
> URL: https://issues.apache.org/jira/browse/KARAF-5725
> Project: Karaf
>  Issue Type: New Feature
>Affects Versions: 4.2.0
>Reporter: Lijun Liao
>Priority: Major
> Fix For: 4.2.1
>
>
> JDK 11 is the first JDK with LTS (at least 5 years) since version 9. It will 
> be released in September 2018. Currently the EA for JDK 11 is available under 
> http://jdk.java.net/11/. So, if possible, please consider it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KARAF-5724) Add support of JDK 10

2018-05-01 Thread Sanne Grinovero (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16459588#comment-16459588
 ] 

Sanne Grinovero commented on KARAF-5724:


FWIW I've tested to boot Karaf 4.2.0 using OpenJDK 10 and it seemed to boot 
fine.

Used the default OpenJDK version included in Fedora 28 (which is a version 10 
already!):
{code}
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment (build 10+46)
OpenJDK 64-Bit Server VM (build 10+46, mixed mode)
{code}


> Add support of JDK 10
> -
>
> Key: KARAF-5724
> URL: https://issues.apache.org/jira/browse/KARAF-5724
> Project: Karaf
>  Issue Type: New Feature
>Affects Versions: 4.2.0
> Environment: Java Version:
> {{$JAVA_HOME/bin/java -version}}
> {{java version "10.0.1" 2018-04-17}}
> {{Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)}}
> {{Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)}}
> OS:
> {{Ubuntu 64 Bit 16.04}}
>Reporter: Lijun Liao
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Fix For: 4.2.1
>
>
> Due to the missing module corba in JDK 10 (tested with the 
> serverjre-10.0.1_linux-x64), karaf cannot be started.
> Here is the error message:
> {{apache-karaf-minimal-4.2.0$ bin/karaf }}
> {{Error occurred during initialization of boot layer}}
> {{java.lang.module.FindException: Module java.corba not found}}
> Removing "java.corba" from the line "--add-modules 
> java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws" 
> in bin/karaf fixed the above error.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)