Date   
Re: [gf] GlassFish-5.0-b10 is promoted and available for download

David Delabassee
 

On Sun, Jul 2, 2017 at 11:08 pm, David Delabassee wrote:
not in promoted build 10 indeed... but CDI 2 support should be back shortly, see here.
CDI 2 support is now back in the nightly builds (http://download.oracle.com/glassfish/5.0/nightly/).

--David

Arquillian Container GlassFish 1.0.1 Released

David Delabassee
 

http://arquillian.org/blog/2017/07/06/arquillian-container-glassfish-1-0-1/

Kudos to the Arquillian community!

GlassFish-5.0-b11 is promoted and available for download

Arindam Bandyopadhyay
 

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b11 is promoted and available for download. It can be downloaded from the following location

This is the first GlassFish promoted build containing Weld 3 integration.

Following important changes are included in this build

Component updates

  • JSON-B API 1.0
  • Yasson 1.0
  • Mojarra 2.3.2
  • Jersey 2.26-b07
  • CDI API 2.0
  • Weld 3.0.0.Final
  • EclipseLink 2.7.0-RC1
  • JPA 2.2.0-RC1

Bugs Fixed

  • #21891 Add default-context-path test in an ear application with a war
  • #21887 Add permisson check in Security Manager before setting Global Context
  • #21847Async listener onTimeout calling complete causes NPE
  • #21808 Add Security Devtest for soteria RI
  • #19281 Warn if SFSB lifecycle callbacks use container-transaction that is not RequiresNew or NotSupported
  • #21837 “Confidential” property is not masked in "Edit Admin Object Resource” of Admin Console (Bug #19480 has not been fixed)
  • #21838 In Admin Object Resource, check for confidential property match is not working (Bug #19480 has not been fixed)
  • #21685 Unable to Save in "Edit Connector Connection Pool Security Map" in Admin GUI
  • #21682 Connection Pool bug occurs when Connection Validation is enabled and "On Any Failure Close All Connections" option is used
  • #21682 Connection Pool bug occurs when Connection Validation is enabled and "On Any Failure Close All Connections" option is used
  • #21889 Add IdentityStore specific soteria tests to glassfish devtests
  • #21894 Remove redundant bean-validation implementations from GlassFish
  • #21898 Add encoded names for config names
  • #21919 Weaken RegExs in MappingDiscovery test in preparation for Grizzly change for Grizzly
  • #21937 Direct String references to AS-WEB-GLUE- or AS-WEB-CORE- LogFacade.java
  • #21738 Number of Stateful session beans in Passive state is not updated (always 0) in Jconsole
  • #21934 Add defaultContextPathEar in web test build.xml and not include in the run
  • #21918 Links to Web Application in "Web Application Links" page is not correct
  • #21832 asadmin list-jdbc-connection-pools or list-connector-connection-pools subcommand always output CLI031 warning message
  • #21874 update-connector-security-map can't delete backend principal password
  • #21183 Web container still does not call AsynContext.complete() on timeout/exception
  • #21960 ServletContext#setSessionTimeout should ISE if ServletContext initialized
  • #21452 No Content-Type header for JSON files
  • #21955 Move Managed Bean DOL validation code
  • #21954 Default TimerPool resource absent in cluster-config
  • #21866 {resourcename.isnot.unique} message key is shown when create-connector-resource with same resource name as other pool name
  • #21844 Subject not set correctly after HttpServletRequest.authenticate()
  • #20763 No confirmation message is displayed when Enable/Disable action is successfully performed
  • #21536 NPE at org.glassfish.api.jdbc.SQLTraceRecord.toString(SQLTraceRecord.java:231)
  • #21893 Unable to start cluster if Japanese (or Non-ASCII) characters are entered in description field
  • #21223 Cannot create new LDAP realm
  • #21896 Default group to role mapping
  • #21262 Jbatch db2 database creaition script is incorrect
  • #21983 Handle log messages in MessageFormat by escaping double single quote
  • #21698 Running the application client fails to bind the managed bean having a resource definition
  • #21997 Need to update implementation of Request#isTrailerFieldsReady
  • #21297 asadmin set command throws NPE on beans with read only properties

Please do try out the bits and share your experience with us.

Thanks,

Arindam

Twice a week GlassFish promotions in coming weeks

Arindam Bandyopadhyay
 

As we are approaching towards the end of JavaEE8 development cycle, we are planning to promote GlassFish twice a week in order to catch the integration issues much sooner. Starting from this week, we would be promoting GlassFish on Tuesday and Friday every week (if there is no promotion blocker i.e no spec compliance test failure). Earlier the promotion schedule was Wednesday every week.


--
Thanks,
Arindam

GlassFish-5.0-b12 is promoted and available for download

Arindam Bandyopadhyay
 

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b12 is promoted and available for download. It can be downloaded from the following location

This is the first GlassFish promoted build containing Bean Validation 2.0.0.CR3 integration.

Following important changes are included in this build

Component updates

  • MQ 5.1.1-b04
  • JAXWS-API 2.3.0
  • Metro 2.4.0-b170703.2107
  • JAXB-API 2.3.0
  • JAXB 2.3.0-b170624.2321
  • javax.annotation-api 1.3
  • HK2 2.5.0-b42
  • Jersey 2.26-b08
  • Bean Validation (javax.validation) 2.0.0.CR3
  • Hibernate validator 6.0.0.CR3
  • Shoal 1.6.51
  • Grizzly 2.4.0-beta12

Bugs Fixed

  • #21930 Resolve Findbugs low priority issues
  • #21963 Honour default-context-path in web.xml in case of an ear
  • #21953 Intermittent failure on nonBlockingInputWithAsyncDispatch
  • #21707 Dead lock occurs when both HttpSession#invalidate() and HttpSession#getAttribute(String) are called at the same time
  • #21916 Handle NULL byte injection in the repository path of a PartItem object
  • #21974 Add Yasson basic test
  • #21307 Secure Client-Initiated Renegotiation cannot be disabled: DoS Danger
  • #21532 com.sun.jts.CosTransactions.GlobalTID breaks the equals/hashCode contract
  • #21499 Invocation of Webservice deployed from directory fails on Windows
  • #21915 Error unregistering ProbeProvider
  • #21909 Error message "Flashlight listener registration failed for listener class" is found in server.log when EJB monitoring is HIGH
  • #21846 getHttpServletMapping() after getNamedDispatcher() returns null

Please do try out the bits and share your experience with us.

Thanks,

Arindam

-- 
Thanks,
Arindam

GlassFish-5.0-b13 is promoted and available for download

Arindam Bandyopadhyay
 

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b13 is promoted and available for download. It can be downloaded from the following location

Following important changes are included in this build

Component updates

  • orb 4.1.0
  • pfl 4.0.1-b001
  • grizzly 2.4.0-beta13

Bugs Fixed

  • #21992 Commons fileupload and tomcat derived issue still exists in glassfish
  • #21018 set-batch-runtime-configuration change not reflected in admin gui
  • #22034 No check for duplicate @managedbean names
  • #21713 change-master-broker command should return error if can't connect to current master MQ broker
  • #21843 When asadmin get-client-stubs doesn't find application, then command should fail
  • #22079 HttpServletMapping returned after AsyncContext.dispatch() has incorrect values

Please do try out the bits and share your experience with us.

Thanks,

Arindam

_._,_._,_

GlassFish-5.0-b14 is promoted and available for download

Arindam Bandyopadhyay
 
Edited

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b14 is promoted and available for download. It can be downloaded from the following location

Following important changes are included in this build

Component updates

  • corba 4.1.1-b001
  • mq5.1.1-b05
  • javamail 1.6.0
  • grizzly 2.4.0
  • hk2 2.5.0-b44
  • commons-io 2.5

Please do try out the bits and share your experience with us.

Thanks,

Arindam

Re: GlassFish-5.0-b14 is promoted and available for download

kjjaeger@...
 

Hello,

It looks the last URL for the source is pointing to the wrong place 5.0-b08 instead of 5.0-b14.

Just wanted to let you know.

Re: GlassFish-5.0-b14 is promoted and available for download

David Delabassee
 

On Fri, Jul 28, 2017 at 12:13 am, <kjjaeger@...> wrote:
It looks the last URL for the source is pointing to the wrong place 5.0-b08 instead of 5.0-b14
Thanks for spotting this, it's now fixed!

--David

GlassFish-5.0-b15 is promoted and available for download

Arindam Bandyopadhyay
 
Edited

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b15 is promoted and available for download. It can be downloaded from the following location

Following important changes are included in this build

Component updates

  • ant 1.10.1
  • antlr 2.7.7

Bugs Fixed

  • #22098 EE schema metadata-complete attribute should only be applicable to annotations without corresponding deployment descriptor element
  • #21496 Directory traversal exposes file system resources
  • #21867 update-connector-security-map cannot change user-groups based to principals based and vice versa.
  • #21355 Race condition in ConnectionPool (connectors-runtime)

Please do try out the bits and share your experience with us.

Thanks,
Arindam

GlassFish-5.0-b16 is promoted and available for download

Arindam Bandyopadhyay
 

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b16 is promoted and available for download. It can be downloaded from the following location

Following important changes are included in this build

Component updates

  • security-api 1.0-b09
  • soteria 1.0-b10
  • derby 10.13.1.1

Bugs Fixed

  • #22104 Fix Findbugs warnings in GlassFish
  • #21590 Can't create Connector Connection Pool for inbound RA deployed on a cluster
  • #21858 Resource validation during deployment
  • #22125 Bug in resource validation while processing module names

Please do try out the bits and share your experience with us.

-- 
Thanks,
Arindam

GlassFish-5.0-b17 is promoted and available for download

Arindam Bandyopadhyay
 

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b17 is promoted and available for download. It can be downloaded from the following location

Following important changes are included in this build

Component updates

  • jersey 2.26-b09
  • commons-fileupload 1.3.3

Bugs Fixed

  • #21905 Using Hibernate 5.x and Oracle driver throws IllegalAccessException.
  • #21392 Web-service endpoint is not available for the deployed EJB application
  • #21190 Properties substitution issue
  • #22131 Improper message from start-domain
  • #21718  @priority Interceptor from external JAR not picked up
  • #22140 remove compile time dependency on BV 1.1 APIs and OSGi headers
  • #22132 Allow admin console to take a default context path of a web application.
  • #21486 Invoking a query in extended persistence context outside transaction clears it
  • #21365 No content from web application without web.xml

Please do try out the bits and share your experience with us.

-- 
Thanks,
Arindam

How to diagnose non-working session replication?

Clemens Eisserer
 

Hi there,

To be able to test a web-application in an environment similar to the
final production system, I've set up a glassfish-4.1 cluster with a
apache+mod_jk load-balancer (round-robin) in front.

Everything seems to work fine (load-balancer, cluster, deploying to
the cluster), except for session replication ( an identical setup
usnig a clustered tomcat-8 works as expected).

I performed the following steps:
- <distributeable/> tag added to web.xml
- enabled availability in the cluster-configuration (replicated /
web-method / scope: session)
- enabled availability when deploying the web application

also, the instances seem to find each other (log appended at the bottom).

Yet, even with the most simple test-servlet, each trime a request is
directed to a different instance the original session id is
invalidated, a new one is generated and all session data is lost.

I am quite lost - any ideas how to diagnose the issue further are
highly appreciated.

Thank you in advance, Clemens

Domain-Log of server1 (admin + i1):

[2017-08-08T12:08:04.315+0200] [glassfish 4.1] [INFO]
[view.window.view.change] [ShoalLogger] [tid: _ThreadID=25
_ThreadName=GMS ViewWindowThread Group-c1] [timeMillis: 1502186884315]
[levelValue: 800] [[
GMS1092: GMS View Change Received for group: c1 : Members in view
for JOINED_AND_READY_EVENT(before change analysis) are :
1: MemberId: i1, MemberType: CORE, Address:
192.168.56.102:9101:228.9.158.134:24403:c1:i1
2: MemberId: i2, MemberType: CORE, Address:
192.168.56.101:9114:228.9.158.134:24403:c1:i2
3: MemberId: server, MemberType: SPECTATOR, Address:
192.168.56.102:9200:228.9.158.134:24403:c1:server
]]

[2017-08-08T12:08:04.316+0200] [glassfish 4.1] [INFO]
[membership.snapshot.analysis] [ShoalLogger] [tid: _ThreadID=25
_ThreadName=GMS ViewWindowThread Group-c1] [timeMillis: 1502186884316]
[levelValue: 800] [[
GMS1016: Analyzing new membership snapshot received as part of
event: JOINED_AND_READY_EVENT for member: i2 of group: c1]]

[2017-08-08T12:08:04.317+0200] [glassfish 4.1] [INFO] [] [ShoalLogger]
[tid: _ThreadID=25 _ThreadName=GMS ViewWindowThread Group-c1]
[timeMillis: 1502186884317] [levelValue: 800] [[
GMS1025: Adding Joined And Ready member: i2 group: c1 StartupState:
GROUP_STARTUP ]]

[2017-08-08T12:08:08.915+0200] [glassfish 4.1] [INFO] []
[javax.enterprise.system.core] [tid: _ThreadID=175
_ThreadName=pool-28-thread-2] [timeMillis: 1502186888915] [levelValue:
800] [[
Waiting for i2 to start
..................................................................................................................
Successfully started the instance: i2
instance Location: /home/ce/glassfish4/glassfish/nodes/localhost.localdomain/i2
Log File: /home/ce/glassfish4/glassfish/nodes/localhost.localdomain/i2/logs/server.log
Admin Port: 24849
Command start-local-instance executed successfully.]]

[2017-08-08T12:08:09.185+0200] [glassfish 4.1] [INFO]
[NCLS-CLSTR-30001] [javax.enterprise.cluster.gms.admin] [tid:
_ThreadID=122 _ThreadName=admin-listener(10)] [timeMillis:
1502186889185] [levelValue: 800] [[
GMSAnnounceAfterStartClusterCommand: exitCode:SUCCESS members [i1,
i2] clusterMembers:[i1, i2]]]

[2017-08-08T12:08:09.222+0200] [glassfish 4.1] [INFO]
[gms.group.startup] [ShoalLogger] [tid: _ThreadID=122
_ThreadName=admin-listener(10)] [timeMillis: 1502186889222]
[levelValue: 800] [[
GMS1098: GMS:Announcing GroupStartup[COMPLETED_SUCCESS] for group:
c1 members: i1,i2,]]

[2017-08-08T12:08:09.223+0200] [glassfish 4.1] [INFO]
[mgmt.masternode.groupstartcomplete] [ShoalLogger] [tid: _ThreadID=122
_ThreadName=admin-listener(10)] [timeMillis: 1502186889223]
[levelValue: 800] [[
GMS1062: GroupStart for group: c1 State: COMPLETED_SUCCESS Started
Members: i1,i2,]]

GlassFish-5.0-b18 is promoted and available for download

Arindam Bandyopadhyay
 

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b18 is promoted and available for download. It can be downloaded from the following location

Following important changes are included in this build

Component updates

  • javax.interceptor-api 1.2.1

Bugs Fixed

  • #21356 Validation : Ensure that valid resource-adapter name is specified in @ConnectionFactoryDefinition/@administeredobjectdefinition
  • #22160 Exception while loading the app : EJB Timer Service is not available.
  • #22163 Add log message in server.log when skipping resource validation
  • #22150 org.jboss.cdi.tck.tests.interceptors.definition.enterprise.jms.MessageDrivenBeanInterceptorInvocationTest is failing in GlassFish5
  • #21716 IIOP Listener SSL page is not displaying new button
  • #22122 RESOURCE DEFINITIONS IN A POJO OF AN APP CLIENT MODULE ARE NOT PROCESSED

Please do try out the bits and share your experience with us.

-- 
Thanks,
Arindam

GlassFish-5.0-b19 is promoted and available for download

Arindam Bandyopadhyay
 

The latest GlassFish 5.0 promotion i.e glassfish-5.0-b19 is promoted and available for download. It can be downloaded from the following location

Following important changes are included in this build

Component updates

  • security-api 1.0-b11
  • soteria 1.0-b11
  • jax-rs 2.1
  • jersey 2.26
  • metro 2.4.0
  • jaxb 2.3.0
  • soap 1.4.0

Bugs Fixed

  • #21239 Monitoring is not displayed in the console if the administrator password is not blank
  • #21667 SessionContext.getCallerPrincipal() returns previous principal on TimerService
  • #22157 Disable autocomplete in console pages.
  • #21566 BATCH CLI: NPE on asadmin list-batch-job-executions
  • #21306 FileUpload doesn't in webFragment application.
  • #20199 BATCH CLI: asadmin set-batch-runtime-configuration --help command shows incorrect examples
  • #22138 HELP FOR --CONTEXTROOT OF ASADMIN DEPLOY SHOULD INCLUDE DEFAULT-CONTEXT-PATH
  • #22180 Skip processing EJB class files if packaged in an app client jar
  • #21072 NullPointerException at com.sun.enterprise.resource.pool.PoolManagerImpl.handleLazilyAssociatedConnectionPools(PoolManagerImpl.java:623)
  • #22150 org.jboss.cdi.tck.tests.interceptors.definition.enterprise.jms.MessageDrivenBeanInterceptorInvocationTest is failing in GlassFish5
  • #22178 server.log messages show NPE in resource validator

Please do try out the bits and share your experience with us.

Thanks,
Arindam

  

Where to get community support for glassfish?

Clemens Eisserer
 

Hello,

With the java.net glassfish forums down, I wonder where to get
community support (forums ...) for glassfish?

Thank you in advance, Clemens

Re: Where to get community support for glassfish?

David Delabassee
 

On Fri, Aug 11, 2017 at 12:58 am, Clemens Eisserer wrote:
With the java.net glassfish forums down, I wonder where to get
community support (forums ...) for glassfish?
You can try to ask here...
Also note that we have just published the Java.net archive here.

--David

Using @Reference(lookup="jmsConnectionFactory") annotation in glassfish

Trond Arild Lode Tobiassen Heidelberg
 

Hi. tried to use this feature, However injection does not happen and nullpointer results.
The test succeeds using jndi lookup directly, implying all is correct on glassfish for sending messages to MDB.

I have tried the Resource annotation on the field and also on the class. The class is defined as a Stateless Session bean. I have tried with fields as instance as well as static. I have tried with class annotation only and field annotation only.This is the code:

@Stateless(name = "jmsRunnabeStatelessSessionCDIBean", mappedName = "jmsRunnableStatelessSessionBeanCDIMappedName")
@LocalBean
@Resource(name = "jmsMyConnectionFactoryName", type = javax.jms.TopicConnectionFactory.class, mappedName = "jmsMyConnectionFactoryMappedName", lookup = "jmsMyConnectionFactory")
public class EmitterCDI implements Runnable {
 
@Resource(name = "jmsMyConnectionFactoryName", lookup = "jmsMyConnectionFactory")
private static TopicConnectionFactory connectionFactory;
.......
}

Hope one of you guys can shed some light as to why the nullpointer.

Best regards Trond 

Re: Using @Reference(lookup="jmsConnectionFactory") annotation in glassfish

Yamini Kalyandurga <yamini.k.b@...>
 

Hi Trond,

Which version of GlassFish are you using? 

Can you please share the stack trace?

Thanks,
-Yamini

Re: Using @Reference(lookup="jmsConnectionFactory") annotation in glassfish

Trond Arild Lode Tobiassen Heidelberg
 

Hi and thanks for you swift reply.

The version is 4.1 and there is no stack trace except nullpointer when i access methods on the connection factory.

Best Regards Trond

On 15.08.2017 16:30, Yamini Kalyandurga wrote:
Hi Trond,

Which version of GlassFish are you using? 

Can you please share the stack trace?

Thanks,
-Yamini