Registering session activity in Wildfly
by Nolan, Boyd
Hello All,
This may not be exactly the right forum / audience to ask this question, and if so please accept my apologies in advance. That being said, I need to understand what actions or events inside of Wildfly / Undertow are recognized as valid activity relating to the session timeout. I'm battling some issues in a web application where a user is doing legitimate actions via ajax that are being processed through wildfly, but they still end up getting their session terminated even though they are legitimately active. Is it a limited class or category of session event that is recognized as activity, which should result in resetting the timer for the session timeout?
Does anyone know, or can you point me to the information that explains it?
J. Boyd Nolan, P.E.
Director of Technical Development
Tyler Technologies, Inc.
P: 214.593.6733
www.tylertech.com<https://www.tylertech.com>
[Tyler Technologies]<https://www.tylertech.com/>
6 years, 4 months
RA subsystem: renaming <admin-object> "pool-name" attribute to "name"
by Tomas Hofman
The <admin-object> and <connection-definition> elements in resource adapters
subsystem have "pool-name" attribute that looks like it isn't used for
anything, which is misleading for users.
It looks that "pool-name" attribute was intended for functionality that wasn't
implemented. The attributes are only present in XML, and do not exist in
management model.
During resource creation the values are passed into service value objects
(ModifiableAdminObject, ModifiableConnDef), but #getPoolName() methods are not
called from anywhere.
The attributes can't be simply removed because their values are used for
resource addressing, e.g.
/subsystem=resource-adapters/.../admin-objects=test-a-o:add(...)
will produce
<admin-object ... pool-name="test-a-o"/>
so some "name" attribute is still needed.
Unless you think that this is not worth having new schema version (or the
intended functionality that requires "pool-name" attrs is planned to be
implemented), I would create new XSD schema version with "pool-name" renamed to
"name" and update the parser. I suppose the new XSD version should be 6.0,
rather than 5.1, no matter how small the change.
Also, AFAIK this change couldn't be backported to released product streams.
The issue where this was raised is https://issues.jboss.org/browse/JBEAP-15023
--
Tomas Hofman
Software Engineer, JBoss SET
Red Hat
6 years, 5 months
File permissions discrepancy between zip and rpms installation (part2)
by Romain Pelisse
Hi all,
a while back, we've discussed the discrepancies in file rights between the
zipfile produced for Wildfly and the one build to be embedded into a RPM
(see issue JBEAP-12374[1] and WFLY-9574[2]). It turned out that the root
reason for those discrepancies was due to the system being used for
building - Wildfly being built on MacOS X and the EAP being built on
Fedora. This means that, the default privileges attributed to some files,
on MacOS X, differed to the one attributed on Fedora.
Working on the previously mentioned issues, I have already reduced the
number of discrapencies. However, a few remains are described, in detail,
on the new issue (JBEAP-12374). For each type of discrepancy, I have a
proposal on how we should fix it.
The only thing I need now is agreement from a few core developer (or
disagreement) so that I can implement (or not) those proposal (or
alternatively, asked the RPM team to set those discrepancies to be
"expected").
So if you have the time to take a look and say "ay" or "nay", it will be
awesome :)
[1] https://issues.jboss.org/browse/JBEAP-12374
[2] https://issues.jboss.org/browse/WFLY-9574
[3] https://issues.jboss.org/browse/JBEAP-14922
6 years, 5 months
Re: [wildfly-dev] X/Post from User List: 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.
by George Labuschagne
Good day
For now disabling HTTP/2 resolved the issue.
https://developer.jboss.org/message/984406#984406
Hopefully this will be resolved in WildFly 14?
Kind regards,
George
From: wildfly-dev-bounces(a)lists.jboss.org <wildfly-dev-bounces(a)lists.jboss.org> On Behalf Of George Labuschagne
Sent: Monday, 30 July 2018 14:14
To: wildfly-dev(a)lists.jboss.org
Subject: [wildfly-dev] X/Post from User List: 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 all
I hope this is not frowned upon; if it is, sincerest apologies.
I posted to the users list but perhaps there is a better chance getting an answer from the development list?
Below is a copy and paste of the user list email chain so far:
Good day
According to this SO question’s comments:
https://stackoverflow.com/questions/51484592/site-rendering-broken-on-mob...
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(a)lists.jboss.org <mailto:jboss-user-bounces@lists.jboss.org> <jboss-user-bounces(a)lists.jboss.org <mailto: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(a)lists.jboss.org <mailto: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(a)lists.jboss.org <mailto:jboss-user-bounces@lists.jboss.org> <jboss-user-bounces(a)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(a)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....> "
>
<!-- 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(a)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> .
6 years, 5 months
X/Post from User List: 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.
by George Labuschagne
Good day all
I hope this is not frowned upon; if it is, sincerest apologies.
I posted to the users list but perhaps there is a better chance getting an
answer from the development list?
Below is a copy and paste of the user list email chain so far:
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(a)lists.jboss.org
<mailto:jboss-user-bounces@lists.jboss.org>
<jboss-user-bounces(a)lists.jboss.org
<mailto: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(a)lists.jboss.org
<mailto: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(a)lists.jboss.org
<mailto:jboss-user-bounces@lists.jboss.org>
<jboss-user-bounces(a)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(a)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 information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.
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, visit http://www.mimecast.co.za/uem.
6 years, 5 months
Project JBeret Plans 2018-2019
by Cheng Fang
I created the following draft planning document, including some high-level
tasks we are or will be working on, and tentative dates:
https://github.com/jberet/jsr352/wiki/JBeret-Roadmap-2018-2019
JBeret is a part of WildFly as the batch processing subsystem, and many
JBeret users deploy batch applications to WildFly. So I thought it will be
great to get feedback from WildFly community. Comments are welcome and
much appreciated.
Thank you,
Cheng
6 years, 5 months
WildFly Core Release Schedule
by Jeff Mesnil
As you know, WildFly has changed its release process to be more predictable and deliver time-boxed stable releases.
One of the key component of WildFly is WildFly Core. It provides the “kernel” of WildFly as well as some
extensions and subsystems.
The release process of WildFly is also impacting WildFly Core.
I have written a wiki page to highlight the release schedule of WildFly Core
https://github.com/wildfly/wildfly-core/wiki/WildFly-Core-Release-Schedule
****
TL;DR, we release new versions of WildFly Core and integrate them WildFly every 2 weeks (on the 1st and 3rd wednesdays of every month).
****
We can keep up on this time-boxed releases as we only merge features that are stable and tested according to the new release process.
This should have low impact on ongoing development from contributors but let’s highlight some points:
* At most, there will be a 2-week timeframe between a PR being merged in Core and being available in WildFly. If your code requires changes into the 2 projects, please take into account that buffer.
* Some team (e.g. Elytron) work on several related PRs in parallel but want to have them deliver in a single WildFly Core release. If that’s the case, please mention this explicitly in the PR when it is submitted so we can flag it accordingly and wait until all related PRs are ready to be merged and delivered in the same Core release
* We may have addition tags as we are closer to WildFly releases to deliver Beta, CR releases. We will communicate on this mailing list when we get closer to these dates.
We are planning to deliver WildFly 14 in August.
This means that:
* Friday August 10th - PR for WildFly Core should be ready (all requirements are met, QE checks, community docs, etc.)
* Monday August 13th - Feature freeze for WildFly Core 6.0.0
* Wednesday August 15th - Feature freeze for WildFly 14
* we only accept bug fixing after these dates
* End of august - Final tag for WildFly 14
jeff
--
Jeff Mesnil
JBoss, a division of Red Hat
http://jmesnil.net/
6 years, 5 months
Healtchecking the Console using unit test
by Romain Pelisse
Hi all,
Is there a unit inside HAL code base I could use to automate checking that
the console is working properly after firing Wildfly? I've try to look for
that myself, but i've been a bit confused by the code base I'm must confess.
(I've kept it short, but feel free to ask for more context if you need to)
6 years, 5 months
wildfly-9.0.2.Final : Resetting heartbeat timestamps because of huge system clock jump!
by wildflyuser
Not able to start wildfly-9.0.2.Final, looks like configuration issue. Please
help us.
22:07:12,403 INFO [com.hazelcast.cluster.impl.ClusterHeartbeatManager]
(cached1) [10.111.1.100]:5701 [dev] [3.6.1] System clock apparently jumped
from 2018-07-13T22:03:20.066 to 2018-07-13T22:07:12.214 since last heartbeat
(+227148 ms)
22:07:12,517 WARNING [com.hazelcast.cluster.impl.ClusterHeartbeatManager]
(cached1) [10.111.1.100]:5701 [dev] [3.6.1] Resetting master confirmation
timestamps because of huge system clock jump! Clock-Jump: 227148 ms,
Master-Confirmation-Timeout: 350000 ms
22:07:12,566 WARNING [com.hazelcast.cluster.impl.ClusterHeartbeatManager]
(cached1) [10.111.1.100]:5701 [dev] [3.6.1] Resetting heartbeat timestamps
because of huge system clock jump! Clock-Jump: 227148 ms, Heartbeat-Timeout:
300000 ms
--
Sent from: http://wildfly-development.1055759.n5.nabble.com/
6 years, 5 months