<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div id="compose-container" itemscope="" itemtype="https://schema.org/EmailMessage" style="direction:ltr">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name"></span></span>
<div>
<div style="direction:ltr">
<div style="direction:ltr">I think we should report that to maven as well, if it does put something on the module path it should ensure the filename complies.
</div>
<div><br>
</div>
<div style="direction:ltr">(however imam unsure why it uses the module path at all?)</div>
</div>
<div><br>
</div>
<div class="acompli_signature">Gruss<br>
Bernd<br>
-- <br>
<a dir="ltr" href="http://bernd.eckenfels.net">http://bernd.eckenfels.net</a></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> undertow-dev-bounces@lists.jboss.org &lt;undertow-dev-bounces@lists.jboss.org&gt; on behalf of Tester &lt;spamcmon@gmail.com&gt;<br>
<b>Sent:</b> Thursday, August 31, 2017 5:47:53 PM<br>
<b>To:</b> Stuart Douglas<br>
<b>Cc:</b> Undertow Developers<br>
<b>Subject:</b> Re: [undertow-dev] Fwd: Issue with Java 9 (Jigsaw) when using Undertow</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr"><span style="font-size:12.8px">Hi Stuart,&nbsp;</span>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">I've tested it out for both spec jars by adding an Automatic-Module-Name to their respective manifest.mf files and then it's working. No more errors with regards to the bundle names.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">While tryout out the Jetty Spring Boot starter, I noticed they are using the javax.servlet.* libraries to pull in the api's. That solution isn't giving any issues neither, so that might be a viable option as well?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Do I log a defect for this or is this handled internally?</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">With kind regards,&nbsp;</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">Peter</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-08-31 3:25 GMT&#43;02:00 Stuart Douglas <span dir="ltr">
&lt;<a href="mailto:sdouglas@redhat.com" target="_blank">sdouglas@redhat.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
It sounds like we need to add an Automatic-Module-Name entry to these<br>
jars manifests to specify the actual module name. Is there any chance<br>
you could modify the jar's to test this out?<br>
<br>
Stuart<br>
<div>
<div class="h5"><br>
On Wed, Aug 30, 2017 at 9:05 PM, Tester &lt;<a href="mailto:spamcmon@gmail.com">spamcmon@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I'm using the Spring Boot starter for Undertow. The dependencies which are<br>
&gt; pulled in are:<br>
&gt;<br>
&gt; org.springframework.boot:<wbr>spring-boot-starter-undertow:<wbr>jar:2.0.0.M3:compile<br>
&gt;&nbsp; |&nbsp; &#43;- io.undertow:undertow-core:jar:<wbr>1.4.18.Final:compile<br>
&gt;&nbsp; |&nbsp; |&nbsp; &#43;- org.jboss.xnio:xnio-api:jar:3.<wbr>3.8.Final:compile<br>
&gt;&nbsp; |&nbsp; |&nbsp; \- org.jboss.xnio:xnio-nio:jar:3.<wbr>3.8.Final:runtime<br>
&gt;&nbsp; |&nbsp; &#43;- io.undertow:undertow-servlet:<wbr>jar:1.4.18.Final:compile<br>
&gt;&nbsp; |&nbsp; |&nbsp; \-<br>
&gt; org.jboss.spec.javax.<wbr>annotation:jboss-annotations-<wbr>api_1.2_spec:jar:1.0.0.Final:<wbr>compile<br>
&gt;&nbsp; |&nbsp; &#43;- io.undertow:undertow-<wbr>websockets-jsr:jar:1.4.18.<wbr>Final:compile<br>
&gt;&nbsp; |&nbsp; |&nbsp; \-<br>
&gt; org.jboss.spec.javax.<wbr>websocket:jboss-websocket-api_<wbr>1.1_spec:jar:1.1.0.Final:<wbr>compile<br>
&gt;&nbsp; |&nbsp; &#43;- javax.servlet:javax.servlet-<wbr>api:jar:3.1.0:compile<br>
&gt;&nbsp; |&nbsp; \- org.glassfish:javax.el:jar:3.<wbr>0.0:compile<br>
&gt;<br>
&gt; Now, when I run the application through Java 9 (Release candidate)&nbsp; and I<br>
&gt; have a module-info.java (Jigsaw), then I get the following error:<br>
&gt;<br>
&gt; Error occurred during initialization of boot layer<br>
&gt; java.lang.module.<wbr>FindException: Unable to derive module descriptor for<br>
&gt; C:\Users\xxxxx\.m2\repository\<wbr>org\jboss\spec\javax\<wbr>annotation\jboss-annotations-<wbr>api_1.2_spec\1.0.0.Final\<wbr>jboss-annotations-api_1.2_<wbr>spec-1.0.0.Final.jar<br>
&gt; Caused by: java.lang.<wbr>IllegalArgumentException:<br>
&gt; jboss.annotations.api.1.2.<wbr>spec: Invalid module name: '1' is not a Java<br>
&gt; identifier<br>
&gt;<br>
&gt; It seems there is an issue with the determination of the naming of the<br>
&gt; automatic module. I expect to have the same issue for<br>
&gt; jboss-websocket-api_1.1_spec.<br>
&gt;<br>
&gt; The name of the jar file isn't aligned on the algorithm defined under<br>
&gt; (<a href="http://download.java.net/java/jigsaw/docs/api/java/lang/module/ModuleFinder.html" rel="noreferrer" target="_blank">http://download.java.net/<wbr>java/jigsaw/docs/api/java/<wbr>lang/module/ModuleFinder.html</a>)<wbr>.<br>
&gt;<br>
&gt; Is anyone aware of this issue? Is this something that can be resolved?<br>
&gt;<br>
&gt;<br>
</div>
</div>
&gt; ______________________________<wbr>_________________<br>
&gt; undertow-dev mailing list<br>
&gt; <a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">
https://lists.jboss.org/<wbr>mailman/listinfo/undertow-dev</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>