[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-user
Subject: Re: [jboss-user] After upgrading to JSF 2.3 - WildFly 13 Java EE8 preview mode,
From: "George Labuschagne" <george.labuschagne () megchem ! co ! za>
Date: 2018-07-30 10:19:18
Message-ID: 006201d427ee$c665d850$533188f0$ () megchem ! co ! za
[Download RAW message or body]
This is a multipart message in MIME format.
Good day
According to this SO question's comments:
https://stackoverflow.com/questions/51484592/site-rendering-broken-on-mobile-after-moving-to-jdk-10-and-jsf-2-3
and this error for Payara:
https://github.com/payara/Payara/issues/2625
It seems to be a problem that has to do with HTTP/2 PUSH
So why is this only effecting iOS and Mac OSX? And any suggestions on how to resolve \
this issue?
Kind regards,
George
From: jboss-user-bounces@lists.jboss.org <jboss-user-bounces@lists.jboss.org> On \
Behalf Of George Labuschagne
Sent: Monday, 30 July 2018 11:29
To: 'The JBoss User main mailing list' <jboss-user@lists.jboss.org>
Subject: Re: [jboss-user] After upgrading to JSF 2.3 - WildFly 13 Java EE 8 preview \
mode, iOS and Mac OSX fails to load HTTPS site getting UT005085 errors.
Good day
I was able to get onto the local LAN with my phone and connected to a normal HTTP \
session from my iPhone. Works 100%, fast, beautifully rendered with no warnings or \
error in any logs.
Kind regards,
George
From: jboss-user-bounces@lists.jboss.org <mailto:jboss-user-bounces@lists.jboss.org> \
<jboss-user-bounces@lists.jboss.org <mailto:jboss-user-bounces@lists.jboss.org> > On \
Behalf Of George Labuschagne
Sent: Monday, 30 July 2018 11:02
To: jboss-user@lists.jboss.org <mailto:jboss-user@lists.jboss.org>
Subject: [jboss-user] After upgrading to JSF 2.3 - WildFly 13 Java EE 8 preview mode, \
iOS and Mac OSX fails to load HTTPS site getting UT005085 errors.
Good day
We are using WildFly 13 in Java EE 8 preview mode with TLS enabled for HTTPS
However, since updating the POM file (contents included below) and a few places in \
the code itself, we are able to run JSF 2.3.5.SP1 with PrimeFaces 6.2.7 and OmniFaces \
3.1 on all devices and browser combinations apart from Apple products without any \
issue.
When connecting with a non Apple based device to the site, there are zero warnings or \
errors in the log file.
Connecting using an Apple based device fails to load the site correctly as the log \
file (relevant snippets included below) shows lots of resources failing to load. The \
weird thing is that this only happens with iOS (even on iOS 12 beta 3) and latest Mac \
OSX (don't have older version of Mac OSX to test with).
I logged this as a bug on Apple's site but it is my personal opinion based on past \
experience that the chances of getting a speedy reply from Apple on this is slim.
The error log starts with these long one line errors:
/* error log snippet line 1
2018-07-30 09:09:18,741 ERROR [io.undertow] (default task-3078) UT005085: Connection \
io.undertow.server.protocol.http2.Http2ServerConnection@7e55834 \
<mailto:io.undertow.server.protocol.http2.Http2ServerConnection@7e55834> for \
exchange HttpServerExchange{ GET /edsnext/javax.faces.resource/omnifaces.js.xhtml \
request {accept=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8], \
accept-language=[en-us], :authority=[edsnext.megchemsa.com:62543], \
accept-encoding=[gzip, deflate], \
:path=[/edsnext/javax.faces.resource/omnifaces.js.xhtml?ln=omnifaces&v=3.1], \
user-agent=[Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) \
AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1], \
:scheme=[https], cookie=[JSESSIONID=U5X9u-A83bccAnpA1XUnEFzmngqI9iDJwuIiU_Qo], \
:method=[GET], Referer=[https://edsnext.megchemsa.com:62543/edsnext/], \
upgrade-insecure-requests=[1], Host=[edsnext.megchemsa.com:62543]} response \
{Expires=[Mon, 30 Jul 2018 09:57:18 GMT], ETag=[W/"5933-1532705069245"], \
Last-Modified=[Fri, 27 Jul 2018 15:24:29 GMT], \
Set-Cookie=[JSESSIONID=U5X9u-A83bccAnpA1XUnEFzmngqI9iDJwuIiU_Qo.edsnext; \
path=/edsnext], Content-Type=[application/javascript], Date=[Mon, 30 Jul 2018 \
07:09:18 GMT], :status=[200]}} was not closed cleanly, forcibly closing connection
/* end of error log snippet line 1
It iterates over all the javax.faces.resources, giving one long error line per \
resource.
Then it ends with long PrimeFaces warnings starting with:
/* start of PrimeFaces warnings
2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3091) JSF1064: \
Unable to find or serve resource, fa/fontawesome-webfont.eot, from library, \
primefaces.
2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3084) JSF1064: \
Unable to find or serve resource, fonts/lato-regular-webfont.svg, from library, \
primefaces-omega.
2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3082) JSF1064: \
Unable to find or serve resource, fa/fontawesome-webfont.ttf, from library, \
primefaces.
2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3100) JSF1064: \
Unable to find or serve resource, fa/fontawesome-webfont.svg, from library, \
primefaces.
2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3103) JSF1064: \
Unable to find or serve resource, fonts/lato-bold-webfont.svg, from library, \
primefaces-omega.
2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3091) : \
java.nio.channels.ClosedChannelException
/* end of PrimeFaces warnings
This is followed by a stack trace dump from PrimeFaces
But like I said previously, this only happens when browsing via iOS or Mac OSX… \
CentOS 7.5 with Chrome latest and FireFox Developer Edition latest as well as Windows \
10 with all browsers works 100% no warnings or errors.
Kind regards,
George
/* POM File
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 \
http://maven.apache.org/xsd/maven-4.0.0.xsd \
<http://maven.apache.org/POM/4.0.0%20http:/maven.apache.org/xsd/maven-4.0.0.xsd> "
>
<!-- Model Version -->
<modelVersion>4.0.0</modelVersion>
<!-- Application package information -->
<groupId>com.domain</groupId>
<artifactId>app</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<!-- Application final name and URL -->
<name>${project.artifactId}</name>
<description>EDSNext</description>
<url>http://edsnext.headoffice.megchem.co.za \
<http://edsnext.headoffice.megchem.co.za%3c/url> </url>
<!-- Properties -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
<!-- mvn repositories -->
<repositories>
<repository>
<id>JBoss</id>
<name>public-jboss</name>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss/ \
<http://repository.jboss.org/nexus/content/groups/public-jboss/%3c/url> </url>
</repository>
<repository>
<id>java.net-maven2-SNAPSHOT-repository</id>
<name>Java.net SNAPSHOT-Repository for Maven</name>
<url>https://maven.java.net/content/repositories/snapshots/ \
<https://maven.java.net/content/repositories/snapshots/%3c/url> </url>
<layout>default</layout>
</repository>
<repository>
<id>java.net-maven2-repository</id>
<name>Java.net Repository for Maven</name>
<url>https://maven.java.net/content/repositories/releases/ \
<https://maven.java.net/content/repositories/releases/%3c/url> </url>
<layout>default</layout>
</repository>
<repository>
<id>oss.sonatype.org</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/ \
<https://oss.sonatype.org/content/repositories/snapshots/%3c/url> </url>
</repository>
<repository>
<id>bintray-snapshot</id>
<name>libs-snapshot</name>
<url>http://oss.jfrog.org/artifactory/libs-snapshot \
<http://oss.jfrog.org/artifactory/libs-snapshot%3c/url> </url>
</repository>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-deluan-maven</id>
<name>bintray</name>
<url>http://dl.bintray.com/deluan/maven \
<http://dl.bintray.com/deluan/maven%3c/url> </url>
</repository>
</repositories>
<!-- Dependencies -->
<dependencies>
<!-- Server specific dependencies for WildFly 13 -->
<dependency>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-spec-api</artifactId>
<version>13.0.0.Final</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.wildfly.bom</groupId>
<artifactId>wildfly-javaee7-with-tools</artifactId>
<scope>provided</scope>
<type>pom</type>
<version>13.0.0.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.3.1.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.common</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>5.0.2.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
<version>6.0.10.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.persistence</groupId>
<artifactId>javax.persistence-api</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search-orm</artifactId>
<version>5.5.8.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec.javax.faces</groupId>
<artifactId>jboss-jsf-api_2.3_spec</artifactId>
<version>2.3.5.SP1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-impl</artifactId>
<version>2.3.5.SP1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec.javax.el</groupId>
<artifactId>jboss-el-api_3.0_spec</artifactId>
<version>1.0.11.Final</version>
</dependency>
<dependency>
<groupId>javax.el</groupId>
<artifactId>javax.el-api</artifactId>
<version>3.0.1-b06</version>
</dependency>
<!-- Runtime dependencies. -->
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>6.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.6</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>4.4.10</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-ehcache</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>6.2.7</version>
</dependency>
<dependency>
<groupId>org.primefaces.extensions</groupId>
<artifactId>primefaces-extensions</artifactId>
<version>6.2.7</version>
</dependency>
<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omnifaces</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.4</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-web</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.intellij</groupId>
<artifactId>annotations</artifactId>
<version>12.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>3.17</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.3.3</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.0</version>
</dependency>
<!-- Test dependencies. -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>2.5.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<version>1.4.0.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-persistence-dbunit</artifactId>
<version>1.0.0.Alpha7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.shrinkwrap.resolver</groupId>
<artifactId>shrinkwrap-resolver-impl-maven-archive</artifactId>
<version>3.1.3</version>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
<artifactId>graphene-webdriver</artifactId>
<version>2.3.2</version>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>25.1-jre</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- End Of Dependencies -->
<dependencyManagement>
<dependencies>
<!-- Test dependencies. -->
<dependency>
<groupId>org.jboss.arquillian</groupId>
<artifactId>arquillian-bom</artifactId>
<version>1.4.0.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.extension</groupId>
<artifactId>arquillian-drone-bom</artifactId>
<version>2.5.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- Build settings -->
<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M2</version>
<executions>
<execution>
<id>enforce-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.3.9</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
/* end of POM file
Disclaimer
The content of this e-mail message and all attachments thereto (`this message`) does \
not necessarily reflect the views of MegChem (Pty) Ltd (`MegChem`). Before acting on \
the contents thereof, the recipient should verify that the originator has the \
appropriate delegated authority. In the event that this message has not been \
appropriately authorised in terms of MegChem`s delegation of authority, or in the \
event of the personal usage of MegChem`s e-mail facility, MegChem will not be liable \
for the contents of this message.
1. This message may contain information which is confidential, private or privileged \
in nature and subject to legal privilege. If you are not the intended recipient you \
may not peruse, use, disseminate, distribute or copy this message or its attachments. \
Please notify the sender immediately by e-mail, facsimile or telephone and thereafter \
return and or destroy this original message.
2. Please note that the recipient must scan this message and any attachments for \
viruses and the like. MegChem accepts no liability, damage or expense resulting \
directly or indirectly from the access of any message or it`s attachments or the use \
thereof.
3. MegChem reserves the right to monitor, read, filter, block, delete, use and act \
upon any incoming or outgoing message or it`s attachments sent or received by the \
employee, including hyperlinks in such message attachments and files copied or saved, \
automatically or by the employee on MegChem`s equipment.
4. Please report email abuse / misuse to mailabuse@megchem.co.za \
<mailto:mailabuse@megchem.co.za>
This email has been scanned for viruses and malware, and automatically archived by \
Mimecast SA (Pty) Ltd, an innovator in Software as a Service (SaaS) for business. \
Mimecast Unified Email Management ™ (UEM) offers email continuity, security, \
archiving and compliance with all current legislation. To find out more, contact \
Mimecast <http://www.mimecast.co.za/uem> .
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.style1, li.style1, div.style1
{mso-style-name:style1;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle24
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-ZA link="#0563C1" \
vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Good day<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>According to this SO \
question's comments:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal><a href="https://stackoverflow.com/questions/51484592/site-rendering-b \
roken-on-mobile-after-moving-to-jdk-10-and-jsf-2-3">https://stackoverflow.com/question \
s/51484592/site-rendering-broken-on-mobile-after-moving-to-jdk-10-and-jsf-2-3</a><o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>and this error for \
Payara:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a \
href="https://github.com/payara/Payara/issues/2625">https://github.com/payara/Payara/issues/2625</a><o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It seems to be a problem that \
has to do with HTTP/2 PUSH<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>So why is this only effecting iOS and Mac OSX? And any suggestions on \
how to resolve this issue?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Kind regards,<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>George<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid \
#E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US \
style='mso-fareast-language:EN-ZA'>From:</span></b><span lang=EN-US \
style='mso-fareast-language:EN-ZA'> jboss-user-bounces@lists.jboss.org \
<jboss-user-bounces@lists.jboss.org> <b>On Behalf Of </b>George \
Labuschagne<br><b>Sent:</b> Monday, 30 July 2018 11:29<br><b>To:</b> 'The JBoss User \
main mailing list' <jboss-user@lists.jboss.org><br><b>Subject:</b> Re: \
[jboss-user] After upgrading to JSF 2.3 - WildFly 13 Java EE 8 preview mode, iOS and \
Mac OSX fails to load HTTPS site getting UT005085 \
errors.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Good day<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>I was able to get onto the local LAN with my phone and connected to a \
normal HTTP session from my iPhone. Works 100%, fast, beautifully rendered with no \
warnings or error in any logs.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kind \
regards,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>George<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid \
#E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US \
style='mso-fareast-language:EN-ZA'>From:</span></b><span lang=EN-US \
style='mso-fareast-language:EN-ZA'> <a \
href="mailto:jboss-user-bounces@lists.jboss.org">jboss-user-bounces@lists.jboss.org</a> \
<<a href="mailto:jboss-user-bounces@lists.jboss.org">jboss-user-bounces@lists.jboss.org</a>> \
<b>On Behalf Of </b>George Labuschagne<br><b>Sent:</b> Monday, 30 July 2018 \
11:02<br><b>To:</b> <a \
href="mailto:jboss-user@lists.jboss.org">jboss-user@lists.jboss.org</a><br><b>Subject:</b> \
[jboss-user] After upgrading to JSF 2.3 - WildFly 13 Java EE 8 preview mode, iOS and \
Mac OSX fails to load HTTPS site getting UT005085 \
errors.<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Good day<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>We are using WildFly 13 in Java EE 8 preview mode with TLS enabled \
for HTTPS<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>However, since updating the POM file (contents included below) and a \
few places in the code itself, we are able to run JSF 2.3.5.SP1 with PrimeFaces 6.2.7 \
and OmniFaces 3.1 on all devices and browser combinations apart from Apple products \
without any issue.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>When connecting with a non Apple based device to the site, there are \
zero warnings or errors in the log file.<o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Connecting using an Apple \
based device fails to load the site correctly as the log file (relevant snippets \
included below) shows lots of resources failing to load. The weird thing is that this \
only happens with iOS (even on iOS 12 beta 3) and latest Mac OSX (don't have older \
version of Mac OSX to test with).<o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>I logged this as a bug on \
Apple's site but it is my personal opinion based on past experience that the chances \
of getting a speedy reply from Apple on this is slim.<o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>The error log starts with \
these long one line errors:<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>/* error log snippet line 1<o:p></o:p></p><p \
class=MsoNormal>2018-07-30 09:09:18,741 ERROR [io.undertow] (default task-3078) \
UT005085: Connection <a \
href="mailto:io.undertow.server.protocol.http2.Http2ServerConnection@7e55834">io.undertow.server.protocol.http2.Http2ServerConnection@7e55834</a> \
for exchange HttpServerExchange{ GET /edsnext/javax.faces.resource/omnifaces.js.xhtml \
request {accept=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8], \
accept-language=[en-us], :authority=[edsnext.megchemsa.com:62543], \
accept-encoding=[gzip, deflate], \
:path=[/edsnext/javax.faces.resource/omnifaces.js.xhtml?ln=omnifaces&v=3.1], \
user-agent=[Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) \
AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1], \
:scheme=[https], cookie=[JSESSIONID=U5X9u-A83bccAnpA1XUnEFzmngqI9iDJwuIiU_Qo], \
:method=[GET], Referer=[https://edsnext.megchemsa.com:62543/edsnext/], \
upgrade-insecure-requests=[1], Host=[edsnext.megchemsa.com:62543]} response \
{Expires=[Mon, 30 Jul 2018 09:57:18 GMT], ETag=[W/"5933-1532705069245"], \
Last-Modified=[Fri, 27 Jul 2018 15:24:29 GMT], \
Set-Cookie=[JSESSIONID=U5X9u-A83bccAnpA1XUnEFzmngqI9iDJwuIiU_Qo.edsnext; \
path=/edsnext], Content-Type=[application/javascript], Date=[Mon, 30 Jul 2018 \
07:09:18 GMT], :status=[200]}} was not closed cleanly, forcibly closing \
connection<o:p></o:p></p><p class=MsoNormal>/* end of error log snippet line \
1<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>It \
iterates over all the javax.faces.resources, giving one long error line per \
resource.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>Then it ends with long PrimeFaces warnings starting \
with:<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>/* \
start of PrimeFaces warnings<o:p></o:p></p><p class=MsoNormal>2018-07-30 09:09:21,056 \
WARNING [javax.enterprise.resource.webcontainer.jsf.application] (default task-3091) \
JSF1064: Unable to find or serve resource, fa/fontawesome-webfont.eot, from library, \
primefaces.<o:p></o:p></p><p class=MsoNormal>2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3084) JSF1064: \
Unable to find or serve resource, fonts/lato-regular-webfont.svg, from library, \
primefaces-omega.<o:p></o:p></p><p class=MsoNormal>2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3082) JSF1064: \
Unable to find or serve resource, fa/fontawesome-webfont.ttf, from library, \
primefaces.<o:p></o:p></p><p class=MsoNormal>2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3100) JSF1064: \
Unable to find or serve resource, fa/fontawesome-webfont.svg, from library, \
primefaces.<o:p></o:p></p><p class=MsoNormal>2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3103) JSF1064: \
Unable to find or serve resource, fonts/lato-bold-webfont.svg, from library, \
primefaces-omega.<o:p></o:p></p><p class=MsoNormal>2018-07-30 09:09:21,056 WARNING \
[javax.enterprise.resource.webcontainer.jsf.application] (default task-3091) : \
java.nio.channels.ClosedChannelException<o:p></o:p></p><p class=MsoNormal>/* end of \
PrimeFaces warnings<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>This is followed by a stack trace dump from \
PrimeFaces<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>But like I said previously, this only happens when browsing via iOS \
or Mac OSX… CentOS 7.5 with Chrome latest and FireFox Developer Edition latest as \
well as Windows 10 with all browsers works 100% no warnings or \
errors.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Kind \
regards,<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>George<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal>/* POM File<o:p></o:p></p><p class=MsoNormal><?xml \
version="1.0" encoding="UTF-8"?><o:p></o:p></p><p \
class=MsoNormal><project<o:p></o:p></p><p \
class=MsoNormal> xmlns:xsi="<a \
href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"<o:p></o:p></p><p \
class=MsoNormal> xmlns="<a \
href="http://maven.apache.org/POM/4.0.0">http://maven.apache.org/POM/4.0.0</a>"<o:p></o:p></p><p \
class=MsoNormal> \
xsi:schemaLocation="<a \
href="http://maven.apache.org/POM/4.0.0%20http:/maven.apache.org/xsd/maven-4.0.0.xsd">http://maven.apache.org/POM/4.0.0 \
http://maven.apache.org/xsd/maven-4.0.0.xsd</a>"<o:p></o:p></p><p \
class=MsoNormal>> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <!-- \
Model Version --><o:p></o:p></p><p class=MsoNormal> \
<modelVersion>4.0.0</modelVersion><o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal> <!-- Application package information \
--><o:p></o:p></p><p class=MsoNormal> \
<groupId>com.domain</groupId><o:p></o:p></p><p \
class=MsoNormal> \
<artifactId>app</artifactId><o:p></o:p></p><p \
class=MsoNormal> \
<version>1.0-SNAPSHOT</version><o:p></o:p></p><p \
class=MsoNormal> \
<packaging>war</packaging><o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal> <!-- Application final name and URL \
--><o:p></o:p></p><p class=MsoNormal> \
<name>${project.artifactId}</name><o:p></o:p></p><p \
class=MsoNormal> \
<description>EDSNext</description><o:p></o:p></p><p \
class=MsoNormal> <url><a \
href="http://edsnext.headoffice.megchem.co.za%3c/url">http://edsnext.headoffice.megchem.co.za</url</a>><o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal> <!-- Properties --><o:p></o:p></p><p \
class=MsoNormal> <properties><o:p></o:p></p><p \
class=MsoNormal> \
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><o:p></o:p></p><p \
class=MsoNormal> \
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding><o:p></o:p></p><p \
class=MsoNormal> \
<maven.compiler.source>1.8</maven.compiler.source><o:p></o:p></p><p \
class=MsoNormal> \
<maven.compiler.target>1.8</maven.compiler.target><o:p></o:p></p><p \
class=MsoNormal> \
<failOnMissingWebXml>false</failOnMissingWebXml><o:p></o:p></p><p \
class=MsoNormal> </properties><o:p></o:p></p><p \
class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p \
class=MsoNormal> <!-- mvn repositories --><o:p></o:p></p><p \
class=MsoNormal> <repositories><o:p></o:p></p><p \
class=MsoNormal> \
<repository><o:p></o:p></p><p \
class=MsoNormal> \
<id>JBoss</id><o:p></o:p></p><p \
class=MsoNormal> \
<name>public-jboss</name><o:p></o:p></p><p \
class=MsoNormal> \
<url><a href="http://repository.jboss.org/nexus/content/groups/public-jboss/%3c/ \
url">http://repository.jboss.org/nexus/content/groups/public-jboss/</url</a>><o:p></o:p></p><p \
class=MsoNormal> \
</repository><o:p></o:p></p><p \
class=MsoNormal> \
<repository><o:p></o:p></p><p \
class=MsoNormal> \
<id>java.net-maven2-SNAPSHOT-repository</id><o:p></o:p></p><p \
class=MsoNormal> \
<name>Java.net SNAPSHOT-Repository for Maven</name><o:p></o:p></p><p \
class=MsoNormal> \
<url><a href="https://maven.java.net/content/repositories/snapshots/%3c/url">htt \
ps://maven.java.net/content/repositories/snapshots/</url</a>><o:p></o:p></p><p \
class=MsoNormal> \
<layout>default</layout><o:p></o:p></p><p \
class=MsoNormal> \
</repository><o:p></o:p></p><p \
class=MsoNormal> \
<repository><o:p></o:p></p><p \
class=MsoNormal> \
<id>java.net-maven2-repository</id><o:p></o:p></p><p \
class=MsoNormal> \
<name>Java.net Repository for Maven</name><o:p></o:p></p><p \
class=MsoNormal> \
<url><a href="https://maven.java.net/content/repositories/releases/%3c/url">http \
s://maven.java.net/content/repositories/releases/</url</a>><o:p></o:p></p><p \
class=MsoNormal> \
<layout>default</layout><o:p></o:p></p><p \
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user
--===============1915029870360759860==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic