Re: JDK 9 images are now modular with JDK 9 Early Access build 41

2015-01-20 Thread Rory O'Donnell
Many thanks for the feedback Mark !

Rgds, Rory

> On 20 Jan 2015, at 11:57, Mark Thomas  wrote:
> 
>> On 12/01/2015 10:44, Rory O'Donnell wrote:
>> Hi Mark,
>> 
>> Have you been able to test Tomcat with JDK 9 modular images, would
>> appreciate any feedback you might have ?
> 
> I did a quick test this morning. Currently, Tomcat fails to start
> because of the use of -Djava.endorsed.dirs
> 
> Once I remove that setting everything appears to be fine. Not I only did
> a quick smoke test with some of the WebSocket examples.
> 
> I think we can drop the use of -Djava.endorsed.dirs by default and add
> something to the docs that explains how to set it up via
> setenv.[sh|bat] if appropriate for the JVM being used. I'll follow that
> up in a separate thread on the Tomcat dev list.
> 
> Mark
> 
> 
>> 
>> Rgds,Rory
>>> On 09/12/2014 08:36, Rory O'Donnell wrote:
>>> 
>>> Hi Mark/Mladen,
>>> 
>>> The initial changesets for JEP 220: Modular Run-Time Images [1] are
>>> available
>>> with JDK 9 early-access build 41 [2].
>>> 
>>> To summarize (please see the JEP for details):
>>> 
>>>- The "jre" subdirectory is no longer present in JDK images.
>>> 
>>>- The user-editable configuration files in the "lib" subdirectory
>>>   have been moved to the new "conf" directory.
>>> 
>>>- The endorsed-standards override mechanism has been removed.
>>> 
>>>- The extension mechanism has been removed.
>>> 
>>>- rt.jar, tools.jar, and dt.jar have been removed.
>>> 
>>>- A new URI scheme for naming stored modules, classes, and resources
>>>   has been defined.
>>> 
>>>- For tools that previously accessed rt.jar directly, a built-in NIO
>>>   file-system provider has been defined to provide access to the
>>> class
>>>   and resource files within a run-time image.
>>> 
>>> More details are available at Mark Reinhold's latest blog entry [3]
>>> 
>>> Rgds, Rory
>>> 
>>> [1] http://openjdk.java.net/jeps/220
>>> [2] https://jdk9.java.net/download/
>>> [3] http://mreinhold.org/blog/jigsaw-modular-images
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: JDK 9 images are now modular with JDK 9 Early Access build 41

2015-01-20 Thread Mark Thomas
On 12/01/2015 10:44, Rory O'Donnell wrote:
> Hi Mark,
> 
> Have you been able to test Tomcat with JDK 9 modular images, would
> appreciate any feedback you might have ?

I did a quick test this morning. Currently, Tomcat fails to start
because of the use of -Djava.endorsed.dirs

Once I remove that setting everything appears to be fine. Not I only did
a quick smoke test with some of the WebSocket examples.

I think we can drop the use of -Djava.endorsed.dirs by default and add
something to the docs that explains how to set it up via
setenv.[sh|bat] if appropriate for the JVM being used. I'll follow that
up in a separate thread on the Tomcat dev list.

Mark


> 
> Rgds,Rory
> On 09/12/2014 08:36, Rory O'Donnell wrote:
>>
>> Hi Mark/Mladen,
>>
>> The initial changesets for JEP 220: Modular Run-Time Images [1] are
>> available
>> with JDK 9 early-access build 41 [2].
>>
>> To summarize (please see the JEP for details):
>>
>> - The "jre" subdirectory is no longer present in JDK images.
>>
>> - The user-editable configuration files in the "lib" subdirectory
>>have been moved to the new "conf" directory.
>>
>> - The endorsed-standards override mechanism has been removed.
>>
>> - The extension mechanism has been removed.
>>
>> - rt.jar, tools.jar, and dt.jar have been removed.
>>
>> - A new URI scheme for naming stored modules, classes, and resources
>>has been defined.
>>
>> - For tools that previously accessed rt.jar directly, a built-in NIO
>>file-system provider has been defined to provide access to the
>> class
>>and resource files within a run-time image.
>>
>> More details are available at Mark Reinhold's latest blog entry [3]
>>
>> Rgds, Rory
>>
>> [1] http://openjdk.java.net/jeps/220
>> [2] https://jdk9.java.net/download/
>> [3] http://mreinhold.org/blog/jigsaw-modular-images
>>
>>
>>
> 


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: JDK 9 images are now modular with JDK 9 Early Access build 41

2015-01-12 Thread Rory O'Donnell

Hi Mark,

Have you been able to test Tomcat with JDK 9 modular images, would
appreciate any feedback you might have ?

Rgds,Rory
On 09/12/2014 08:36, Rory O'Donnell wrote:


Hi Mark/Mladen,

The initial changesets for JEP 220: Modular Run-Time Images [1] are 
available

with JDK 9 early-access build 41 [2].

To summarize (please see the JEP for details):

- The "jre" subdirectory is no longer present in JDK images.

- The user-editable configuration files in the "lib" subdirectory
   have been moved to the new "conf" directory.

- The endorsed-standards override mechanism has been removed.

- The extension mechanism has been removed.

- rt.jar, tools.jar, and dt.jar have been removed.

- A new URI scheme for naming stored modules, classes, and resources
   has been defined.

- For tools that previously accessed rt.jar directly, a built-in NIO
   file-system provider has been defined to provide access to the 
class

   and resource files within a run-time image.

More details are available at Mark Reinhold's latest blog entry [3]

Rgds, Rory

[1] http://openjdk.java.net/jeps/220
[2] https://jdk9.java.net/download/
[3] http://mreinhold.org/blog/jigsaw-modular-images





--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA, Dublin,Ireland


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org