[GLASSFISH-21688] Implement SERVLET_SPEC-161 Created: 28/Feb/17  Updated: 24/Mar/17  Resolved: 15/Mar/17

Status: Resolved
Project: glassfish
Component/s: web_container
Affects Version/s: None
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: Shing Wai Chan Assignee: Shing Wai Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVLET_SPEC-161 Allow request/response encoding to be... Resolved
Tags: servlet_4_0
Sprint: MS 4 Sprint 1, MS 4 Sprint 2

 Description   

Implementation issue for SERVLET_SPEC-161



 Comments   
Comment by Shing Wai Chan [ 01/Mar/17 ]

Sending deployment/schemas/src/main/resources/glassfish/lib/schemas/web-app_4_0.xsd
Transmitting file data .
Committed revision 64667.

Comment by Shing Wai Chan [ 02/Mar/17 ]

Revisions:
----------
64697

Modified Paths:
---------------
trunk/main/appserver/web/web-core/src/main/java/org/apache/catalina/core/ApplicationContext.java
trunk/main/nucleus/pom.xml
trunk/main/appserver/web/web-core/src/main/java/org/apache/catalina/core/ApplicationContextFacade.java
trunk/main/appserver/web/web-core/src/main/java/org/apache/catalina/core/StandardContext.java

Comment by Shing Wai Chan [ 02/Mar/17 ]

add tests:
Adding contextCharEncoding
Adding contextCharEncoding/WebTest.java
Adding contextCharEncoding/build.properties
Adding contextCharEncoding/build.xml
Adding contextCharEncoding/descriptor
Adding contextCharEncoding/descriptor/web.xml
Adding contextCharEncoding/servlet
Adding contextCharEncoding/servlet/MyServletContextListener.java
Adding contextCharEncoding/servlet/TestServlet.java
Adding reqResEncoding
Adding reqResEncoding/WebTest.java
Adding reqResEncoding/build.properties
Adding reqResEncoding/build.xml
Adding reqResEncoding/descriptor
Adding reqResEncoding/descriptor/web.xml
Adding reqResEncoding/servlet
Adding reqResEncoding/servlet/TestServlet.java
Transmitting file data ...........done
Committing transaction...
Committed revision 64706.

Comment by Ed Burns [ 14/Mar/17 ]

Also make sure to update Figure 14-1 to add the new elements.

Comment by Shing Wai Chan [ 14/Mar/17 ]

Rename request/response-encoding to request/response-character-encoding:

Sending appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/WebBundleDescriptor.java
Sending appserver/deployment/schemas/src/main/resources/glassfish/lib/schemas/web-app_4_0.xsd
Sending appserver/web/web-glue/src/main/java/com/sun/enterprise/web/WebModule.java
Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java
Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/node/WebBundleNode.java
Sending appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/xml/WebTagNames.java
Transmitting file data ......
Committed revision 64792.

Comment by Shing Wai Chan [ 14/Mar/17 ]

update test for new xml element names

Sending contextCharEncoding/descriptor/web.xml
Sending reqResEncoding/WebTest.java
Sending reqResEncoding/descriptor/web.xml
Transmitting file data ...
Committed revision 64793.

Comment by Shing Wai Chan [ 15/Mar/17 ]

Revisions:
----------
64792

Modified Paths:
---------------
trunk/main/appserver/web/web-glue/src/main/java/com/sun/enterprise/web/WebModule.java
trunk/main/appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/xml/WebTagNames.java
trunk/main/appserver/deployment/dol/src/main/java/com/sun/enterprise/deployment/WebBundleDescriptor.java
trunk/main/appserver/deployment/schemas/src/main/resources/glassfish/lib/schemas/web-app_4_0.xsd
trunk/main/appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/node/WebBundleNode.java
trunk/main/appserver/web/web-glue/src/main/java/org/glassfish/web/deployment/descriptor/WebBundleDescriptorImpl.java





[GLASSFISH-21708] Implement SERVLET_SPEC-171 Created: 24/Mar/17  Updated: 24/Mar/17  Resolved: 24/Mar/17

Status: Resolved
Project: glassfish
Component/s: web_container
Affects Version/s: None
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: Shing Wai Chan Assignee: Shing Wai Chan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: servlet_4_0
Sprint: MS 4 Sprint 2

 Description   

Implementation issue for SERVLET_SPEC-171.



 Comments   
Comment by Shing Wai Chan [ 24/Mar/17 ]

Sending appserver/web/web-core/src/main/java/org/apache/catalina/core/ApplicationPushBuilder.java
Sending appserver/web/web-core/src/main/java/org/apache/catalina/core/StandardContext.java
Transmitting file data ..
Committed revision 64876.





[GLASSFISH-21705] Java web start - unable to launch application Created: 15/Mar/17  Updated: 24/Mar/17

Status: Open
Project: glassfish
Component/s: grizzly-kernel, web_services
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Ghostidentity Assignee: ankur.kathuria
Resolution: Unresolved Votes: 0
Labels: exceptions
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10, Java 1.8


Tags: appclient

 Description   

It appears that there is a problem on executing appclient via java web start. It can't find grizzly-npn-bootstrap.jar in glassfish directory.

java.io.FileNotFoundException: http://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/endorsed/grizzly-npn-bootstrap.jar

I downloaded Grizzly Npn Bootstrap 1.7 from maven and put in the "endorsed" folder, but the issue seems to appear all the time.

Here's the full error below:

CacheEntryhttp://localhost:8080/___JWSappclient/___app/SurveillanceEAR/___dyn/SurveillanceAdmin.jarClient/___main.jnlp: updateAvailable=true,lastModified=Wed Mar 15 17:06:47 CST 2017,length=41378
CacheEntryhttp://localhost:8080/___JWSappclient/___system/___dyn/___system_s1as.jnlp: updateAvailable=true,lastModified=Wed Mar 15 17:06:47 CST 2017,length=13303
CacheEntryhttp://localhost:8080/___JWSappclient/___app/SurveillanceEAR/___dyn/SurveillanceAdmin.jarClient/___client.jnlp: updateAvailable=true,lastModified=Wed Mar 15 17:06:47 CST 2017,length=3109
CacheEntryhttp://localhost:8080/___JWSappclient/___app/SurveillanceEAR/___lib/client-libs-s1as.jnlp: updateAvailable=true,lastModified=Wed Mar 15 17:06:47 CST 2017,length=2904
CacheEntryhttp://localhost:8080/___JWSappclient/___app/SurveillanceEAR/SurveillanceEARClient.jar: updateAvailable=false,lastModified=Wed Mar 15 16:58:45 CST 2017,length=6684
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/gf-client.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:14 CST 2017,length=25608
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hk2-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:15 CST 2017,length=127823
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/gf-client-module.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:15 CST 2017,length=1797981
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.inject.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:15 CST 2017,length=8831
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/aopalliance-repackaged.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:16 CST 2017,length=19939
CacheEntryhttp://localhost:8080/___JWSappclient/___app/SurveillanceEAR/SurveillanceEARClient/SurveillanceAdminClient.jar: updateAvailable=true,lastModified=Wed Mar 15 17:06:47 CST 2017,length=-1
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hk2-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:16 CST 2017,length=204947
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hk2-locator.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:15 CST 2017,length=197148
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javassist.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:16 CST 2017,length=776367
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/common-util.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:17 CST 2017,length=554677
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hk2-utils.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:17 CST 2017,length=146191
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ejb-full-container.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:18 CST 2017,length=76686
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/stats77.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:19 CST 2017,length=95441
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ejb-client.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:17 CST 2017,length=13178
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/asm-all.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:18 CST 2017,length=323334
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ejb-container.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:18 CST 2017,length=970560
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/container-common.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:19 CST 2017,length=202854
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/internal-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:19 CST 2017,length=149277
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/config-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:20 CST 2017,length=612857
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.servlet-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:19 CST 2017,length=114404
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/admin-util.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:20 CST 2017,length=364008
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/security-services.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:19 CST 2017,length=166462
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jackson-jaxrs-base.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:22 CST 2017,length=33655
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jackson-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:22 CST 2017,length=288939
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jackson-databind.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:22 CST 2017,length=1274886
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jackson-annotations.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:23 CST 2017,length=63300
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/security.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:23 CST 2017,length=518123
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.mail.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:23 CST 2017,length=612311
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ldapbp-repackaged.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:24 CST 2017,length=59732
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ssl-impl.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:23 CST 2017,length=27418
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/connectors-internal-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:23 CST 2017,length=109874
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/dol.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:24 CST 2017,length=805801
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.transaction-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:24 CST 2017,length=35710
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.persistence.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=186921
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ha-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:23 CST 2017,length=42987
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.resource-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=82879
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.enterprise.deploy-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:24 CST 2017,length=56896
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.ejb-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=75861
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/appclient.security.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=21570
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/security-ee.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:26 CST 2017,length=362676
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/deployment-common.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=188590
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-ee-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=12033
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jaspic.provider.framework.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:27 CST 2017,length=65169
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/annotation-framework.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=46619
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/libpam4j-repackaged.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:27 CST 2017,length=887416
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.security.jacc-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:25 CST 2017,length=56244
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ejb.security.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:26 CST 2017,length=100129
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:27 CST 2017,length=219797
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hk2.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:28 CST 2017,length=5384
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/scattered-archive-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:27 CST 2017,length=15699
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hk2-config.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:27 CST 2017,length=223078
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hibernate-validator.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:28 CST 2017,length=754376
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/classmate.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:29 CST 2017,length=67920
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/hk2-runlevel.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:29 CST 2017,length=64304
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/class-model.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:28 CST 2017,length=97670
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/asm-all-repackaged.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:32 CST 2017,length=856419
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/management-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:29 CST 2017,length=51480
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/nucleus-grizzly-all.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:31 CST 2017,length=2003576
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/kernel.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:33 CST 2017,length=772380
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/webservices.security.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:33 CST 2017,length=87369
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/api-exporter.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:33 CST 2017,length=7800
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/logging.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:33 CST 2017,length=190771
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-glue.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:34 CST 2017,length=679232
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-cli.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:34 CST 2017,length=200166
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.management.j2ee-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:34 CST 2017,length=38649
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/amx-javaee.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:33 CST 2017,length=94454
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/config-types.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:27 CST 2017,length=13120
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/flashlight-framework.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:32 CST 2017,length=153791
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/amx-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:34 CST 2017,length=469974
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.servlet.jsp-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:35 CST 2017,length=61735
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-naming.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:35 CST 2017,length=123724
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:37 CST 2017,length=1182091
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.servlet.jsp.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:35 CST 2017,length=570409
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.el.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:35 CST 2017,length=240754
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/admin-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:37 CST 2017,length=11924
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-gui-plugin-common.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:37 CST 2017,length=44408
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-embed-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:37 CST 2017,length=34634
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/web-sse.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:51 CST 2017,length=26491
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/webservices-osgi.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:52 CST 2017,length=13865340
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.xml.rpc-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:51 CST 2017,length=54026
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/woodstox-core-asl.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:52 CST 2017,length=497645
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/webservices-extra-jdk-packages.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:51 CST 2017,length=6063
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/gf-web-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:37 CST 2017,length=35441
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/stax2-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:52 CST 2017,length=193971
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/websecurity.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:52 CST 2017,length=53890
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/war-util.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:34 CST 2017,length=111792
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/mimepull.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:52 CST 2017,length=69554
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jsr109-impl.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=265420
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/work-management.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=49454
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/transaction-internal-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=29313
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-naming.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=90721
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/gmbal.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=218326
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/pfl-basic-tools.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=77888
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/pfl-tf.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=102084
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/pfl-tf-tools.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:53 CST 2017,length=54021
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.security.auth.message-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:54 CST 2017,length=59023
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/connectors-inbound-runtime.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:54 CST 2017,length=33811
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/gf-connectors-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:54 CST 2017,length=12404
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/ejb-internal-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:55 CST 2017,length=13949
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/pfl-basic.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:56 CST 2017,length=204022
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/orb-enabler.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:55 CST 2017,length=16747
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/connectors-runtime.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:55 CST 2017,length=550364
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/orb-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:55 CST 2017,length=64734
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-corba-internal-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:56 CST 2017,length=32175
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-corba-orb.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:58 CST 2017,length=1679821
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/webservices-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:58 CST 2017,length=74368
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-corba-omgapi.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:56 CST 2017,length=892771
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/monitoring-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:56 CST 2017,length=110553
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-corba-csiv2-idl.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=130245
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/pfl-asm.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=369653
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/orb-iiop.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=93846
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/shoal-gms-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=50535
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/gms-bootstrap.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=29545
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=139258
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/simple-glassfish-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=15411
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jts.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:00 CST 2017,length=404256
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/pfl-dynamic.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:58 CST 2017,length=368584
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jta.jar: updateAvailable=false,lastModified=Mon Mar 13 22:51:59 CST 2017,length=71609
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jms-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:00 CST 2017,length=98586
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jmxremote_optional-repackaged.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:00 CST 2017,length=262156
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/gf-jms-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:00 CST 2017,length=17921
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/acc-config.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:00 CST 2017,length=33899
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.jms-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:05 CST 2017,length=75271
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:05 CST 2017,length=5507611
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.jpa.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:01 CST 2017,length=1505829
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.jpa.jpql.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:07 CST 2017,length=1477771
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.jpa.modelgen.processor.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:05 CST 2017,length=55916
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.moxy.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:07 CST 2017,length=653929
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/validation-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:07 CST 2017,length=77497
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.dbws.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:07 CST 2017,length=364710
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.oracle.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=93508
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.antlr.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=199754
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/gf-ejb-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:00 CST 2017,length=23153
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/glassfish-mbeanserver.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:00 CST 2017,length=76317
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jpa-container.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=48987
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/persistence-common.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=30175
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/cmp-internal-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=26350
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/endorsed/jaxb-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=115783
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/deployment-javaee-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=33525
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jaxb-osgi.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:14 CST 2017,length=4090693
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/endorsed/javax.annotation-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=30750
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/org.eclipse.persistence.asm.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=338123
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/endorsed/webservices-api-osgi.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:08 CST 2017,length=91248
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.xml.registry-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:13 CST 2017,length=143831
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javamail-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:13 CST 2017,length=32576
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/resources-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:14 CST 2017,length=116462
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javamail-runtime.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:14 CST 2017,length=22139
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jaxb-extra-osgi.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:10 CST 2017,length=1074219
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.interceptor-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:14 CST 2017,length=27999
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/javax.json.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:14 CST 2017,length=135057
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/appclient-connector.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:13 CST 2017,length=11576
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/nucleus-resources.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:13 CST 2017,length=69169
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/cdi-api.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:17 CST 2017,length=84392
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/appclient/weld-se-core.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:14 CST 2017,length=34142
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/guava.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:17 CST 2017,length=2023502
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/resources-runtime.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:17 CST 2017,length=37924
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jboss-logging.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:14 CST 2017,length=72988
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/mq/lib/imqutil.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:18 CST 2017,length=476670
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/mq/lib/fscontext.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:21 CST 2017,length=111628
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/install/applications/jmsra/imqjmsra.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:21 CST 2017,length=2010933
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/mq/lib/imq.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:17 CST 2017,length=740289
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/install/applications/__cp_jdbc_ra/__cp_jdbc_ra.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:21 CST 2017,length=171487
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/install/applications/__ds_jdbc_ra/__ds_jdbc_ra.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:19 CST 2017,length=171111
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/mq/lib/imqadmin.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:19 CST 2017,length=534508
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/install/applications/__dm_jdbc_ra/__dm_jdbc_ra.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:25 CST 2017,length=172743
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/javadb/lib/derby.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:25 CST 2017,length=3020521
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/install/applications/__xa_jdbc_ra/__xa_jdbc_ra.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:21 CST 2017,length=171534
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/javadb/lib/derbynet.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:25 CST 2017,length=266371
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/lib/install/applications/jaxr-ra/jaxr-ra.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:26 CST 2017,length=17578
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/javadb/lib/derbyrun.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:26 CST 2017,length=9393
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/entitybean-container.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:26 CST 2017,length=116209
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jdbc-runtime.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:28 CST 2017,length=85931
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/javadb/lib/derbytools.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:25 CST 2017,length=227791
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/jdbc-config.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:28 CST 2017,length=20666
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/javadb/lib/derbyclient.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:22 CST 2017,length=612800
CacheEntryhttp://localhost:8080/___JWSappclient/___app/SurveillanceEAR/SurveillanceEARClient/SurveillanceAdmin.jar: updateAvailable=false,lastModified=Wed Mar 15 16:58:46 CST 2017,length=190902
CacheEntryhttp://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/weld-osgi-bundle.jar: updateAvailable=false,lastModified=Mon Mar 13 22:52:28 CST 2017,length=1869259

        1. Java Web Start Error:
        2. Unable to load resource: http://localhost:8080/___JWSappclient/___system/s1as/glassfish/modules/endorsed/grizzly-npn-bootstrap.jar


 Comments   
Comment by Ryan Lubke [ 24/Mar/17 ]

I'm not WebStart expert. I don't think this is an issue with Grizzly at all. Who ever owns the appclient should look into this.





[GLASSFISH-19371] asadmin start-domain times out after 600 seconds Created: 27/Nov/12  Updated: 24/Mar/17

Status: Open
Project: glassfish
Component/s: admin
Affects Version/s: 3.1.2.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: beppino604 Assignee: Yamini K B
Resolution: Unresolved Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris 10, Java 1.6.0_26-b03


Tags: asadmin, timeout

 Description   

When trying to start a domain with a lot of applications to load the asadmin command times out after 600 seconds. However, the process continues to start and the service becomes available as expected. When listing the domains it says that the domain isn't running. This means that I can't stop the domain with asadmin anymore and the only option I have is to kill the OS process.

An additional headache is created by the fact that we want to manage GF via a Solaris SMF service. However, when the command returns a failure after 600 seconds, the SMF service goes to the state "maintenance" although the process continues to start. Not good in a Production environment.

Setting the environment variable AS_ADMIN_READTIMEOUT as suggested in another Jira defect doesn't make a difference. I tried setting it to 30 to force the process to fail after 30 seconds and I tried to set it to 3600000 but it didn't have an effect. Does it only work for the deploy command?

Long story short: the timeout should be configurable! Why would anyone make this a fixed value?

[app@xxxxxxxx] $ echo $AS_ADMIN_READTIMEOUT
360000
[app@xxxxxxxx] $ ./asadmin --passwordfile passwords start-domain
Waiting for xxxxxxxxxx to start ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
No response from the Domain Administration Server (xxxxxxxxxx) after 600 seconds.
The command is either taking too long to complete or the server has failed.
Please see the server log files for command status.
Please start with the --verbose option in order to see early messages.
Command start-domain failed.
[app@xxxxxxxx] $ ./asadmin --passwordfile passwords list-domains
xxxxxxxxxx not running
Command list-domains executed successfully.
[app@xxxxxxxx] $ ps -ef | grep java
app 4732 29327 0 06:55:40 pts/1 142:47 /usr/jdk/instances/jdk1.6.0/bin/sparcv9/java -cp /opt/be/glassfish-3.1.2.2/glas



 Comments   
Comment by Tom Mueller [ 27/Nov/12 ]

This issue is related to GLASSFISH-10076 which suggests some improvements in the wait start-domain determines the timeout.

At a minimum, the timeout should not be hardcoded as it currently is.
I'm leaving this a bug because of the behavior with list-domains. Even if start-domain times out, list-domains should still be able to detect the domain as running once the DAS is actually up.

Comment by beppino604 [ 28/Nov/12 ]

Thanks for accepting this one. By the way, this also happens with list-instances / start-instance.

Comment by markleadbitter [ 17/Sep/13 ]

Is this still an outstanding issue with it being raised in November last year? We are frequently hitting the same issue and would like to increase the default timeout.

Thanks.





[GLASSFISH-21387] asadmin deploy failure won't yield error code != 0 Created: 07/Jul/15  Updated: 24/Mar/17  Resolved: 17/Mar/17

Status: Closed
Project: glassfish
Component/s: admin, deployment
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: baztian Assignee: rutujay
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

linux



 Description   

Normally when I deploy my application war the asadmin deploy command would return a exit code != 0 if there was a problem (for instance if a @Startup annotated method threw an exception).

If I deploy the same war to a special target I get an error message but a error code of 0.

dev@devapp:/opt/dev/gfbin> asadmin --user admin --passwordfile /opt/dev/gfbin/work/gf.pwd --port 10000 deploy --target devcluster /var/opt/dev/transfer/gf/myapp.war
Application deployed with name myapp.
Warning: Command _deploy did not complete successfully on server instance dev1: remote failure: Failed to load the application on instance dev1. The application will not run properly. Please fix your application and redeploy.
Exception while loading the app : javax.ejb.CreateException: Initialization failed for Singleton MyStartupBean. Please see server.log for more details.
Command deploy completed with warnings.
dev@devapp:/opt/dev/gfbin> echo $?
0


 Comments   
Comment by rutujay [ 15/Feb/17 ]

Please provide the application which you are deploying.

Comment by rutujay [ 20/Feb/17 ]

When you deploy the application war normally using asadmin deploy command do you still get the final message as, Command deploy completed with warnings, or is it something else?

Comment by rutujay [ 07/Mar/17 ]

This is an intentional behavior which happens only in case of cluster deployment. This has been done so that when the instance deployment on cluster fails, it should not fail the overall deployment.

Comment by rutujay [ 17/Mar/17 ]

This change is an intentional change which was done as a part of Glassfish 3.1. Under this change supplemental commands were added, deployment in a cluster will be using supplemental command to deploy the bits in various instances. As a part of fixes later it was decided to throw a warning message in case of failure of supplemental deployment command on the cluster instance and not to fail the CLI deploy command.

Below link mentions this under supplemental commands,

https://glassfish.java.net/wiki-archive/ClusterDynamicReconfig.html#ClusterDynamicReconfig-Implementationdetails

Comment by baztian [ 24/Mar/17 ]

Thanks @rutujay. It would be nice if it fails with an errorcode if deployment on none of the instances is successful. Would this make sense? Shall I open a separate feature request?





[GLASSFISH-21692] Allow duplicate Java EE Resource Definitions when they are compatible Created: 02/Mar/17  Updated: 24/Mar/17  Resolved: 24/Mar/17

Status: Closed
Project: glassfish
Component/s: deployment
Affects Version/s: 4.1, 5.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: pabhat Assignee: Vinay Vishal
Resolution: Fixed Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

SVN Build 64596



 Description   

When a Java EE application contains duplicate resource definitions, the deployment of the application fails.

Based on my interaction with Java EE Platform Specification leads earlier, the duplicate resources when compatible should be allowed and the deployment should not fail in that case.

I have tried this with JMS Resource Definitions, believe the behavior is same for other resource definitions.

Sample resource definition in a servlet -
@JMSDestinationDefinitions(value =

{ @JMSDestinationDefinition(name = "java:global/jms/DestInServlet1", interfaceName="javax.jms.Queue"), @JMSDestinationDefinition(name = "java:global/jms/DestInServlet1", interfaceName="javax.jms.Queue")}

)

Sample exception during deployment :
Error occurred during deployment: Exception while deploying the app [sample] : @JMSDestinationDefinition cannot have multiple definitions with same name :

{0}. Related annotation information: annotation [@javax.jms.JMSDestinationDefinitions(value=[@javax.jms.JMSDestinationDefinition(description=, className=, resourceAdapter=, properties=[], destinationName=, name=java:global/jms/DestInServlet1, interfaceName=javax.jms.Queue), @javax.jms.JMSDestinationDefinition(description=, className=, resourceAdapter=, properties=[], destinationName=, name=java:global/jms/DestInServlet1, interfaceName=javax.jms.Queue), @javax.jms.JMSDestinationDefinition(description=, className=, resourceAdapter=, properties=[], destinationName=, name=java:app/jms/DestInServlet2, interfaceName=javax.jms.Topic)])] on annotated element [class test.TestServlet] of type [TYPE].

The exception message contains parameters - {0}

and [TYPE], which are not formatted as well.



 Comments   
Comment by pabhat [ 24/Mar/17 ]

Closing this issue as a bug is raised to track this issue in Bug DB.





[GLASSFISH-21696] Deployment must fail when a resource injection happens on a static field in a Java EE module, except the main class of the application client Created: 07/Mar/17  Updated: 24/Mar/17  Resolved: 24/Mar/17

Status: Closed
Project: glassfish
Component/s: deployment
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: pabhat Assignee: Vinay Vishal
Resolution: Fixed Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

From "EE.5.2.5 Annotations and Injection" in Java EE 8 Platform Specification,

"Any of the types of resources described in this chapter may be injected. Injection may also be requested using entries in the deployment descriptor corresponding to each of these resource types. The field or method may have any access qualifier (public, private, etc.). For all classes except application client main classes, the fields or methods must not be static...."

GlassFish doesn't detect the injection on a static field during the deployment, however accessing the resource fails after the deployment.

The issue can be reproducible using the following @Resource in a servlet

@Resource(lookup = "java:comp/DefaultJMSConnectionFactory")
private static ConnectionFactory cf;



 Comments   
Comment by pabhat [ 24/Mar/17 ]

Closing this issue as a bug is raised to track this issue in Bug DB.





[GLASSFISH-21697] Deployment must fail when a Java EE module contains more than one classes declared as managed beans with the same name Created: 07/Mar/17  Updated: 24/Mar/17  Resolved: 24/Mar/17

Status: Closed
Project: glassfish
Component/s: deployment
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: pabhat Assignee: Vinay Vishal
Resolution: Fixed Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

GlassFish fails to detect a Java EE module containing more than one classes defined as managed beans using @ManagedBean using the same name, during the deployment.



 Comments   
Comment by pabhat [ 07/Mar/17 ]

When I deploy a web module with 2 classes defined as managed bean with same name and I have the @Resource injection to inject one of the beans to the servlet, accessing the servlet fails with the following exception. The exception message doesn't convey the real issue.

[2017-03-07T17:06:51.161+0530] [glassfish 5.0] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=42 _ThreadName=http-listener-1(5)] [timeMillis: 1488886611161] [levelValue: 900] [[
StandardWrapperValve[testclient]: Allocate exception for servlet testclient
java.lang.IllegalArgumentException: Can not set test.TestBean field test.TestServlet.bean1 to test._EJB31_GeneratedTestAnotherBeanIntf__Bean_
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
at java.lang.reflect.Field.set(Field.java:764)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:688)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:507)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:141)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:127)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:347)
at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:749)
at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1979)

Comment by pabhat [ 24/Mar/17 ]

Closing this issue as a bug is raised to track this issue in Bug DB.





[GLASSFISH-21700] A value of true for metadata-complete in application client deployment descriptor should not preempt the processing of all the annotations Created: 08/Mar/17  Updated: 24/Mar/17  Resolved: 24/Mar/17

Status: Closed
Project: glassfish
Component/s: standalone_client
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: pabhat Assignee: Yamini K B
Resolution: Fixed Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Java EE 8 Platform Specification in "EE.10.6 Packaging and Deployment" lists out the annotations to which the metadata-complete attribute set in the application client deployment descriptor is applicable.

It seems GlassFish is not honouring the specification here.

I have an application client module with a managed bean defined using @ManagedBean and the main class looking up that managed bean as new InitialContext().lookup("java:module/mybean") where mybean is the name of the managed bean. This lookup should succeed when the metadata-complete is set to true as @ManagedBean is not one of the annotations to which metadata-complete is applicable, which is not happening.

Please note that, @Resource(lookup = "java:module/mybean") is expected to return a null object as javax.annotation.Resource is one of those annotations to which the metadata-complete attribute is applicable to.



 Comments   
Comment by pabhat [ 24/Mar/17 ]

Closing this issue as a bug is raised to track this issue in Bug DB.





[GLASSFISH-21678] Resource definitions in a pojo of an app client module are not processed Created: 15/Feb/17  Updated: 24/Mar/17  Resolved: 24/Mar/17

Status: Closed
Project: glassfish
Component/s: standalone_client
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: pabhat Assignee: Kokil_Jain
Resolution: Fixed Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I have noticed an issue with GlassFish (used 5.0 for my testing, probably this issue is there in the earlier versions as well) where the Java EE resource definitions in POJOs of an application client module are not processed by the application client container. However the resource definitions in POJOs of of a web module (probably same holds good for an EJB module as well, although I have not tested that) are processed during deployment.



 Comments   
Comment by pabhat [ 15/Feb/17 ]

I don't see a way to attach the sample .ear file, may be I don't have the necessary permissions. I will send the sample app and the instructions I have followed to Yamini, over e-mail.

Comment by pabhat [ 24/Mar/17 ]

Closing this issue as a bug is raised to track this issue in Bug DB.





[GLASSFISH-21698] Running the application client fails to bind the managed bean having a resource definition Created: 07/Mar/17  Updated: 24/Mar/17  Resolved: 24/Mar/17

Status: Closed
Project: glassfish
Component/s: standalone_client
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: pabhat Assignee: Yamini K B
Resolution: Fixed Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When the application client module contains a class defined as managed bean using @ManagedBean and when that class contains a resource definition like @JMSConnectionFactoryDefinition, then running the application client using appclient.bat fails with a RuntimeException as below -

java.lang.RuntimeException: Error binding ManagedBean testappclient.TestBean with name = mybean
at com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.loadManagedBeans(ManagedBeanManagerImpl.java:287)
at org.glassfish.appclient.client.acc.AppClientContainer.completePreparation(AppClientContainer.java:413)
at org.glassfish.appclient.client.acc.AppClientContainer.prepare(AppClientContainer.java:320)
at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:283)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)
Caused by: javax.naming.CommunicationException: java.rmi.MarshalException: CORBA MARSHAL 1330446393 Maybe; nested exception is:
org.omg.CORBA.MARSHAL: ---------BEGIN server-side stack trace---------

org.omg.CORBA.MARSHAL: WARNING: 00810057: Could not load class javax.rmi.CORBA.EnumDesc vmcid: OMG minor code: 57 completed: Maybe
at com.sun.proxy.$Proxy252.couldNotFindClass(Unknown Source)



 Comments   
Comment by pabhat [ 24/Mar/17 ]

Closing this issue as a bug is raised to track this issue in Bug DB.





[GLASSFISH-21245] autodeploy application folder fails Created: 31/Oct/14  Updated: 23/Mar/17

Status: In Progress
Project: glassfish
Component/s: deployment
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: joyli Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I use glassfish3.1.2, autodeploy application folder into the autodeploy directory, the first deployment of the application folder is failed,then modify contents of the folder's file,but the application folder is no longer deployed. I simply looked at glassfish source code and found autodeploy based on file creation time to deploy, but file creation time in the file folder directory change and folders not change. In this case how to do it?



 Comments   
Comment by rutujay [ 23/Mar/17 ]

So you are trying to deploy an application by putting it in the autodeploy directory, I assume that it fails as the application is incomplete or has some error. Then you modify the application. Here which file are you updating, your application file in the autodeploy folder or the one created by glassfish in the applications folder?





[GLASSFISH-21434] NullPointerException at com.sun.faces.taglib.html_basic.CommandTagParserImpl.parseStartElement Created: 29/Sep/15  Updated: 23/Mar/17

Status: Open
Project: glassfish
Component/s: jsf
Affects Version/s: 3.1.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Cai_Ming Assignee: sumasri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issuezilla Id: 21,434

 Description   

In my application,when multiple JSPs are accessed,once in a while I will get the following error message.
And when a only JSP is accessed,the error will never happen.
<pre>
--------------------------------
[#|2015-09-29T11:08:28.801+0900|WARNING|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web._vs.server|_ThreadID=119;_ThreadName=Thread-28;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
at com.sun.faces.taglib.html_basic.CommandTagParserImpl.parseStartElement(CommandTagParserImpl.java:116)
at com.sun.faces.taglib.html_basic.HtmlBasicValidator$HtmlBasicValidatorHandler.startElement(HtmlBasicValidator.java:140)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:496)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(XMLNSDocumentScannerImpl.java:733)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1754)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1196)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:555)
at org.apache.xerces.jaxp.SAXParserImpl.parse(SAXParserImpl.java:289)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
at com.sun.faces.taglib.FacesValidator.validate(FacesValidator.java:273)
at org.apache.jasper.compiler.TagLibraryInfoImpl.validate(TagLibraryInfoImpl.java:949)
at org.apache.jasper.compiler.Validator.validateXmlView(Validator.java:1921)
at org.apache.jasper.compiler.Validator.validate(Validator.java:1888)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
--------------------------------
</pre>

The following is the coding of the com.sun.faces.taglib.html_basic.CommandTagParserImpl.parseStartElement.
<pre>
--------------------------------
public void parseStartElement() {
String ns = validatorInfo.getNameSpace();
String ln = validatorInfo.getLocalName();

if (ns.equals(RIConstants.HTML_NAMESPACE)) {
LINE116 if (ln.equals("commandButton"))

{ handleCommandButton(); }

}
}
--------------------------------
</pre>
LINE116 is the place where the NullPointerException happened.
After analyzed glassfish code,The reason why nameSpace can't been gotten is that
the following release() is not synchronized, before the end of the validate(), the "validatorInfo" is created again.

org.apache.jasper.compiler.TagLibraryInfoImpl
<pre>
----------------
public ValidationMessage[] validate(PageData thePage) {
TagLibraryValidator tlv = getTagLibraryValidator();
if (tlv == null) return null;

String uri = getURI();
if (uri.startsWith("/"))

{ uri = URN_JSPTLD + uri; }

ValidationMessage[] messages = tlv.validate(getPrefixString(), uri, thePage);
tlv.release();

return messages;
}
----------------
</pre>

It seems that the phenomenon is a glassfish internal bug.



 Comments   
Comment by Cai_Ming [ 07/Oct/15 ]

Hi,
It's been almost 3 weeks since I sent my report.
How do you think about this problem?

Although the LINE913 of validate(com.sun.faces.taglib.FacesValidator#validate) is synchronized,
the LINE914 of release is not synchronized.
so technically "validatorInfo" can be easily reset in between validate() and release().

To resolve this problem,We try to make the following changes in the code of org.apache.jasper.compiler.TagLibraryInfoImpl.
solution1:
----------------
public ValidationMessage[] validate(PageData thePage) {
TagLibraryValidator tlv = getTagLibraryValidator();
if (tlv == null) return null;

String uri = getURI();
if (uri.startsWith("/"))

{ uri = URN_JSPTLD + uri; }

// ValidationMessage[] messages = tlv.validate(getPrefixString(), uri,
thePage);
// tlv.release();
ValidationMessage[] messages =null;
synchronized (tlv)

{ messages = tlv.validate(getPrefixString(), uri, thePage); tlv.release(); }

return messages;
}
----------------

solution2:
Because the LINE913 validate already contained the process of release,
there is no necessary to release again.
So,even if directly delete the LINE914 tlv.release() it will be OK.
----------------
public ValidationMessage[] validate(PageData thePage) {
TagLibraryValidator tlv = getTagLibraryValidator();
if (tlv == null) return null;

String uri = getURI();
if (uri.startsWith("/"))

{ uri = URN_JSPTLD + uri; }

LINE913 ValidationMessage[] messages = tlv.validate(getPrefixString(), uri,
thePage);
LINE914 // tlv.release();

return messages;
}
----------------

Looking forward to your reply!

Comment by sumasri [ 23/Mar/17 ]

Please provide us the application and detailed instructions to reproduce this.





[GLASSFISH-21534] Jersey Client POSTs between GF apps (microservice) timeout Created: 13/Apr/16  Updated: 23/Mar/17

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: jmanko Assignee: sumasri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

GlassFish Server Open Source Edition 4.1.1 (build 1)
Windows Server 2008R2


Tags: Jersey

 Description   

I'm attempting a REST request from one GF deployed app to another (on same server), but the request is times out. I've tried to increased the timeout value, but that doesn't work.

Here is some sample code:

ClientConfig clientConfig = null;
Client client = null;
WebTarget webTarget = null;
FormDataMultiPart formDataMultiPart = null;
Invocation.Builder invocationBuilder = null;
Response response = null;

clientConfig = new ClientConfig();
clientConfig.register(MultiPartFeature.class);
clientConfig.register(ListReader.class);

String url = "http://localhost:8080/someapp"
String urlPath = "/rest/path";

Map<String, String> params = new HashMap<>();
params.put("option", "value");

Map<String, String> formFields = new HashMap<>();
formFields.put("field1", "value");

List<BodyPart> fileParts = null;

// See http://www.adam-bien.com/roller/abien/entry/setting_timeout_for_the_jax
clientConfig.property("jersey.config.client.connectTimeout", 7000);
clientConfig.property("jersey.config.client.readTimeout", 7000);
client = ClientBuilder.newClient(clientConfig);
webTarget = client.target(url).path(urlPath);

if (params != null && !params.isEmpty()) {
for (String key : params.keySet())

{ webTarget = webTarget.queryParam(key, params.get(key)); }

}

formDataMultiPart = new FormDataMultiPart();
formDataMultiPart.setMediaType(MediaType.MULTIPART_FORM_DATA_TYPE);
if (fileParts != null && !fileParts.isEmpty()) {
for (BodyPart bodyPart : fileParts)

{ formDataMultiPart.bodyPart(bodyPart); }

}

if (formFields != null && !formFields.isEmpty()) {
for (Map.Entry<String, String> formField : formFields.entrySet())

{ formDataMultiPart.field(formField.getKey(), formField.getValue()); }

}

invocationBuilder = webTarget.request(MediaType.APPLICATION_JSON);
response = invocationBuilder.post(Entity.entity(formDataMultiPart, formDataMultiPart.getMediaType()));



 Comments   
Comment by sumasri [ 23/Mar/17 ]

Please provide us the 2 applications and detailed instructions to reproduce the issue.





[GLASSFISH-21707] Dead lock occurs when both HttpSession#invalidate() and HttpServletRequest#getAttribute(String) are called at the same time. Created: 23/Mar/17  Updated: 23/Mar/17

Status: Open
Project: glassfish
Component/s: cdi, web_container
Affects Version/s: 3.1.2.2, 4.1, 4.1.1, 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: yama0428 Assignee: ankur.kathuria
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Dead lock occurs when both HttpSession#invalidate() and HttpServletRequest#getAttribute(String) are called at the same time.

This is a reproducible application.

TestServlet.java
package test.session.deadlock;

import java.io.IOException;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

@WebServlet(urlPatterns={"/test"})
public class TestServlet extends HttpServlet {
    static int counter = 0;
    
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException {
        HttpSession session = req.getSession();

        boolean invalidate = Boolean.valueOf((String) req.getParameter("invalidate"));
        if(invalidate) {
            session.invalidate();
        }
        
        Integer id = null;
        synchronized(TestListener.lock) {
            id = (Integer)session.getAttribute("id");
        }
        
        if(id == null) {
            id = ++counter;
            session.setAttribute("id", counter);
            session.setMaxInactiveInterval(60);
        }
        
        res.getWriter().println("id="+id);
    }
}
TestListener.java
package test.session.deadlock;

import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

@WebListener
public class TestListener implements HttpSessionListener {
    static final Object lock = new Object(); 
    
    @Override
    public void sessionCreated(HttpSessionEvent event) {
    }

    @Override
    public void sessionDestroyed(HttpSessionEvent event) {
        synchronized(lock) {
            System.out.println("sessionDestroyed called");
        }
    }

}

Servlet calls HttpSession#getAttribute() in synchronized block.
In getAttribute method, session object is locked in order to check foreground session lock.

StandardSession.java
    public boolean isForegroundLocked() {
        //in this case we are not using locks
        //so just return false
        if(_sessionLock == null)
            return false;        
        synchronized(this) {
            return _sessionLock.isForegroundLocked();
        } 
    }  

Moreover, HttpSessionListener#sessionDestroyed() uses synchronized block.
HttpSessionListener#sessionDestroyed() is called after locking session object.

StandardSession.java
    public void expire(boolean notify, boolean persistentRemove) {

        // Mark this session as "being expired" if needed
        if (expiring)
            return;

        synchronized (this) {

            if (manager == null)
                return;

            expiring = true;
        
            // Notify interested application event listeners
            // FIXME - Assumes we call listeners in reverse order

            // The call to expire() may not have been triggered by the webapp.
            // Make sure the webapp's class loader is set when calling the
            // listeners
            ClassLoader oldTccl = null;
            if (context.getLoader() != null &&
                    context.getLoader().getClassLoader() != null) {
                oldTccl = Thread.currentThread().getContextClassLoader();
                if (Globals.IS_SECURITY_ENABLED) {
                    PrivilegedAction<Void> pa = new PrivilegedSetTccl(
                            context.getLoader().getClassLoader());
                    AccessController.doPrivileged(pa);
                } else {
                    Thread.currentThread().setContextClassLoader(
                            context.getLoader().getClassLoader());
                }
            }
            try {
                List<HttpSessionListener> listeners = context.getSessionListeners();
                if (notify && !listeners.isEmpty()) {
                    HttpSessionEvent event = new HttpSessionEvent(getSession());
                    int len = listeners.size();
                    for (int i = 0; i < len; i++) {
                        // Invoke in reverse order of declaration
                        HttpSessionListener listener = listeners.get((len - 1) - i);
                        try {
                            fireContainerEvent(context,
                                               "beforeSessionDestroyed",
                                               listener);
                            listener.sessionDestroyed(event);
                            fireContainerEvent(context,
                                               "afterSessionDestroyed",
                                               listener);
                        } catch (Throwable t) {
                            try {
                                fireContainerEvent(context,
                                                   "afterSessionDestroyed",
                                                   listener);
                            } catch (Exception e) {
                                // Ignore
                            }
                            // FIXME - should we do anything besides log these?
                            log(rb.getString(SESSION_EVENT_LISTENER_EXCEPTION), t);
                        }
                    }
                }
            } finally {
                if (oldTccl != null) {
                    if (Globals.IS_SECURITY_ENABLED) {
                        PrivilegedAction<Void> pa =
                            new PrivilegedSetTccl(oldTccl);
                        AccessController.doPrivileged(pa);
                    } else {
                        Thread.currentThread().setContextClassLoader(oldTccl);
                    }
                }
            }

This is the thread dump for dead lock.

Found one Java-level deadlock:
=============================
"ContainerBackgroundProcessor[StandardEngine[glassfish-web].StandardHost[server].StandardContext[/sessiondeadlock]]":
  waiting to lock monitor 0x000000005add7ee8 (object 0x00000000f6484960, a org.apache.catalina.session.StandardSession),
  which is held by "http-listener-1(8)"
"http-listener-1(8)":
  waiting to lock monitor 0x00000000527deb48 (object 0x00000000f60af8c8, a java.lang.Object),
  which is held by "http-listener-1(2)"
"http-listener-1(2)":
  waiting to lock monitor 0x000000005add7ee8 (object 0x00000000f6484960, a org.apache.catalina.session.StandardSession),
  which is held by "http-listener-1(8)"

Java stack information for the threads listed above:
===================================================
"http-listener-1(8)":
	at test.session.deadlock.TestListener.sessionDestroyed(TestListener.java:18)
	- waiting to lock <0x00000000f60af8c8> (a java.lang.Object)
	at org.apache.catalina.session.StandardSession.expire(StandardSession.java:910)
	- locked <0x00000000f6484960> (a org.apache.catalina.session.StandardSession)
	at org.apache.catalina.session.StandardSession.expire(StandardSession.java:854)
	at org.apache.catalina.session.StandardSession.expire(StandardSession.java:842)
	at org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:1603)
	at org.apache.catalina.session.StandardSessionFacade.invalidate(StandardSessionFacade.java:204)
	at test.session.deadlock.TestServlet.doGet(TestServlet.java:20)
"http-listener-1(2)":
	at org.apache.catalina.session.StandardSession.isForegroundLocked(StandardSession.java:1480)
	- waiting to lock <0x00000000f6484960> (a org.apache.catalina.session.StandardSession)
	at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:756)
	at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:1354)
	at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:152)
	at test.session.deadlock.TestServlet.doGet(TestServlet.java:25)
	- locked <0x00000000f60af8c8> (a java.lang.Object)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)

Because the order of acquiring lock object is different between two threads,
dead lock occurs.

Moreover, the latest weld implementation (2.4.2 or 3.0.0) has the same structure.
So the same dead lock will occur if GF5.0 is released with the latest weld implementation.

When I replace weld of GF4.1.1(2.2.13) by newer version,
following dead lock occurs.

Daemon Thread [http-listener-1(40)] (Suspended)	
	owns: Collections$SynchronizedMap<K,V>  (id=180)	
		waited by: Daemon Thread [http-listener-1(7)] (Suspended)	
	waiting for: StandardSession  (id=179)	
		owned by: Daemon Thread [http-listener-1(7)] (Suspended)	
	StandardSession.isForegroundLocked() line: 1479	         *****lock of StandardSession
	StandardSession.isValid() line: 756	
	StandardSession.getAttribute(String) line: 1354	
	StandardSessionFacade.getAttribute(String) line: 152	
	EagerSessionBeanStore(AbstractSessionBeanStore).getAttribute(String) line: 88	
	EagerSessionBeanStore(AttributeBeanStore).attach() line: 98	
	LazyHttpConversationContextImpl(AbstractConversationContext<R,S>).destroyConversation(S, String) line: 403	
	LazyHttpConversationContextImpl(AbstractConversationContext<R,S>).cleanUpConversationMap() line: 322	             *****lock of Conversations Map of weld)
	LazyHttpConversationContextImpl(AbstractConversationContext<R,S>).deactivate() line: 306	
	LazyHttpConversationContextImpl.deactivate() line: 98	
	ConversationContextActivator.deactivateConversationContext(HttpServletRequest) line: 166	
	HttpContextLifecycle.requestDestroyed(HttpServletRequest) line: 276	
	WeldListener(WeldInitialListener).requestDestroyed(ServletRequestEvent) line: 150	
	WebModule(StandardContext).fireRequestDestroyedEvent(ServletRequest) line: 5294	
	StandardHostValve.postInvoke(Request, Response) line: 255	
Daemon Thread [http-listener-1(7)] (Suspended)	
	owns: StandardSession  (id=179)	
		waited by: Daemon Thread [http-listener-1(40)] (Suspended)	
		waited by: Daemon Thread [http-listener-1(33)] (Running)	
		waited by: Daemon Thread [http-listener-1(31)] (Running)	
		waited by: Daemon Thread [http-listener-1(18)] (Running)	
		waited by: Daemon Thread [ContainerBackgroundProcessor[StandardEngine[glassfish-web].StandardHost[server].StandardContext[/apl]]] (Suspended)	
		waited by: Daemon Thread [http-listener-1(10)] (Running)	
		waited by: Daemon Thread [http-listener-1(9)] (Running)	
		waited by: Daemon Thread [http-listener-1(1)] (Running)	
	waiting for: Collections$SynchronizedMap<K,V>  (id=180)	
		owned by: Daemon Thread [http-listener-1(40)] (Suspended)	
	LazyHttpConversationContextImpl(AbstractConversationContext<R,S>).destroy(S) line: 366	          *****lock of Conversations Map of weld
	LazyHttpConversationContextImpl.destroy(HttpSession) line: 116	
	HttpSessionContextImpl.destroy(HttpSession) line: 63	
	HttpContextLifecycle.sessionDestroyed(HttpSession) line: 154	
	WeldListener(WeldInitialListener).sessionDestroyed(HttpSessionEvent) line: 144	
	StandardSession.expire(boolean, boolean) line: 910	*****lock of StandardSession
	StandardSession.expire(boolean) line: 854	
	StandardSession.expire() line: 842	
	StandardSession.invalidate() line: 1603	
	StandardSessionFacade.invalidate() line: 204	
	CDIServlet.doGet(HttpServletRequest, HttpServletResponse) line: 59	


 Comments   
Comment by yama0428 [ 23/Mar/17 ]

Sorry, the title is incorrect.
The correct title is following.

Dead lock occurs when both HttpSession#invalidate() and HttpSession#getAttribute(String) are called at the same time.





[GLASSFISH-21582] No error is displayed on Batch Job Executions screen when Batch Runtime database is down Created: 08/Nov/16  Updated: 22/Mar/17  Resolved: 22/Mar/17

Status: Resolved
Project: glassfish
Component/s: admin_gui, batch
Affects Version/s: 4.1, 4.1.1, 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: gregn123 Assignee: ankur.kathuria
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

On the Batch Job Executions screen in the Admin Console, no error message is displayed when the database, used by the Batch Runtime Configuration, isn't running, or is otherwise inaccessible. All you see is an empty Batch Jobs list ("No items found"), just as you get when the database is running and there are no batch job execution results in the database.

This bug exists in Glassfish 4.1 and above.

Steps to reproduce the bug:

1) Start the server:

asadmin start-domain

2) In the Admin Console, navigate to server->Batch->Configuration and set the "Data Source Lookup Name" to a DataSource for the database to be used for storing Batch Runtime job execution information. Do NOT use "jdbc/__TimerPool", as this uses Embedded JavaDB, which is not independently stoppable to the Glassfish server. Stop and start the server to make the configuration change effective.

3) Ensure that the database is running.

4) Deploy and then run (several times) a sample Batch application.

5) Go to server->Batch->Executions, and verify that there are batch job execution results, from running the batch application.

6) Stop the database.

7) Click somewhere else in the Admin Console, then go back to server->Batch->Executions. No execution results are displayed, but no error message is displayed to indicate a problem with connectivity to the database.

8) Re-start the server:

asadmin restart-domain

9) In the Admin Console, go to server->Batch->Executions. Again, no execution results are displayed, but no error message is displayed to indicate a problem with connectivity to the database.

Resolution:

In the "execute" method of the command class (org.glassfish.batch.AbstractListCommandProxy) used for listing batch job executions, there are some code paths which do not set the ActionExitCode in the ActionReport returned in the AdminCommandContext. In these cases, the exit code remains as the default value, ActionReport.ExitCode.SUCCESS, which results in failures being undetected - and so not reported on the Batch Job Executions screen.

I have created a Glassfish 4.1.1 patch below to correct these problems:

--- AbstractListCommandProxy.java	(revision 64112)
+++ AbstractListCommandProxy.java	(working copy)
@@ -107,5 +107,6 @@
         ActionReport subReport = null;
         if (! preInvoke(context, actionReport)) {
             commandsExitCode = ActionReport.ExitCode.FAILURE;
+            actionReport.setActionExitCode(commandsExitCode);
             return;
         }
@@ -133,9 +134,9 @@
                     postInvoke(context, subReport.getSubActionsReport().get(0));
                 } else {
                     actionReport.setMessage(subReport.getMessage());
-                    commandsExitCode = subReport.getActionExitCode();
                 }
             }
+            commandsExitCode = subReport.getActionExitCode();
         }
         actionReport.setActionExitCode(commandsExitCode);
     }


 Comments   
Comment by Anissa Lam [ 08/Nov/16 ]

Thanks for filing the bug and suggestion for the fix.
After you applied the patch you provide, what does the console show when the datasource is not up ?
AbstractListCommandProxy is under appserver/batch. I am assigning this bug to Mahesh who owns batch and is in a better position to review and apply the patch.

Comment by gregn123 [ 09/Nov/16 ]

When the datasource is not up, the console displays:

!An error has occurred
Could not get JobOperator. Check if the Batch DataSource is configured properly and Check if the Database is up and running. Could not get JobOperator. Check if the Batch DataSource is configured properly and Check if the Database is up and running.

See: https://github.com/gregn123/GLASSFISH-21582/blob/master/error_message.jpg

(The repeated error message displayed in the Admin Console is a hangover bug from GlassfishV3, which has never been fixed, and is not related to the bug-fix I'm suggesting here. I'll tackle that problem at a later time...)

Note that my suggested fix makes a difference to the output from the "asadmin list-batch-job-executions" command (reports a failure for this case, rather than success).

Without the fix:

asadmin list-batch-job-executions
Could not get JobOperator.  Check if the Batch DataSource is configured properly and Check if the Database is up and running
Command list-batch-job-executions executed successfully.

With the fix:

asadmin list-batch-job-executions
remote failure: Could not get JobOperator.  Check if the Batch DataSource is configured properly and Check if the Database is up and running
Command list-batch-job-executions failed.
Comment by ankur.kathuria [ 17/Mar/17 ]

Commit at Revision: 64816





[GLASSFISH-21706] Deployment is slow and gets timed out after 240 seconds Created: 22/Mar/17  Updated: 22/Mar/17  Resolved: 22/Mar/17

Status: Closed
Project: glassfish
Component/s: deployment
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: anajosep Assignee: Vinay Vishal
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File jsf_resource_webapproot_web.war    

 Description   

The JSF war file used for CTS tests takes more than 240 seconds to get deployed. The tests use 240 seconds as the time out value and hence these tests fail.
The following war file in the JavaEE CTS bundle takes more than 240 seconds to get deployed. It takes around 300-360 seconds to get deployed.
javaeetck/dist/com/sun/ts/tests/jsf/spec/resource/packaging/webapproot.
Attaching the war used for the test.



 Comments   
Comment by anajosep [ 22/Mar/17 ]

This issue is tracked in BugDB. Closing this issue.





[GLASSFISH-21701] CTS8-JSF: Test Failures in JSF 2.3 Created: 08/Mar/17  Updated: 22/Mar/17

Status: Open
Project: glassfish
Component/s: deployment, jsf
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: anajosep Assignee: steven.liu
Resolution: Unresolved Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The default timeout for deployment of archives is 240 seconds. When JSF 2.3 RI is used, some CTS tests are failing as the deployment gets timed out.
Increasing the timeout to 480 seconds make the tests pass. It takes around 300-360 seconds for the deployment to succeed.

Following property in ts.jte is used for the deployment timeout:
impl.deploy.timeout.multiplier=240

Total 69 tests failed:
The issue can be reproduced by running the tests under this directory.
/src/com/sun/ts/tests/jsf/spec/resource/packaging/webapproot

Currently working around the issue by changing the timeout value from 240 seconds (default) to 480 seconds.






[GLASSFISH-21408] long logger class names do not appear on admin site after being added Created: 06/Aug/15  Updated: 22/Mar/17

Status: Open
Project: glassfish
Component/s: admin_gui
Affects Version/s: 4.1, 4.1.1, 5.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: pbelbin Assignee: sumasri
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all



 Description   

after adding a longish class name to the log configuration page, and hitting 'save' (and receiving a 'success' response), the class name and level is not visible on the web page.

examination of the logging.properties file reveals that the setting was saved.

it just isn't visible on the admin gui.



 Comments   
Comment by fredaabedi [ 13/Oct/15 ]

Hello, are you planning to fix this issue?

Thank you,
Fred

Comment by sumasri [ 22/Mar/17 ]

I tried this and I could see the logger name on Module log level page.
I tried the logger name as "org.glassfish.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbvccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii". I hope this is big enough to test this issue.

I used below steps to test this issue.
Go to server-config->Logger settings->Log levels tab.
Click on Add Logger and enter the above logger name and set the level as INFO.
After saving the values, I could see the entry in the table.

If you still see the issue, Please provide me the detailed instructions to reproduce the issue.





[GLASSFISH-21703] Remove "Update center" options Created: 10/Mar/17  Updated: 22/Mar/17

Status: In Progress
Project: glassfish
Component/s: admin_gui
Affects Version/s: 5.0
Fix Version/s: None

Type: Task Priority: Trivial
Reporter: David Delabassee Assignee: sumasri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

NA



 Description   

Since the update center isn't supported anymore, it would be nice to remove, from the Admin UI, the different 'update center' links :

  • left tree from the main admin screen (last option)
  • 'update center' links from the 'common tasks' page

PS: this RFE is just about removing the links from the UI not about removing update center related code.






[GLASSFISH-21674] "Statement Leak Reclaim" checkbox in "Edit JDBC Connection Pool Advanced Attributes" screen cannot be disabled Created: 10/Feb/17  Updated: 22/Mar/17

Status: In Progress
Project: glassfish
Component/s: admin_gui
Affects Version/s: 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: tak09 Assignee: sumasri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

"Statement Leak Reclaim" checkbox in "Edit JDBC Connection Pool Advanced Attributes" screen cannot be disabled.

Follow the steps below in Admin console.

1. Create a new JDBC Connection Pool. (eg. MyJDBC)
2. Open the JDBC Connection Pool which has been created (eg. MyJDBC) from the Navigation tree.
3. Click on "Advanced" tab to open the "Edit JDBC Connection Pool Advanced Attributes".
4. Enable the "Statement Leak Reclaim" checkbox and click "Save" button.
5. Go to another screen and come back to this "Advanced" tab to refresh the screen. Confirm that "Statement Leak Reclaim" checkbox is enabled as a result of Step 4.
6. Now disable the "Statement Leak Reclaim" checkbox and click "Save" button.
7. Go to another screen and come back to this "Advanced" tab to refresh the screen.
Bug: You will find "Statement Leak Reclaim" checkbox is not saved correctly. It is still enabled even if this has been disabled in Step 6.






[GLASSFISH-21540] Cannot use non-default password in truststore from remote client (IIOP SSL) Created: 29/Apr/16  Updated: 22/Mar/17  Resolved: 07/Mar/17

Status: Closed
Project: glassfish
Component/s: jms, security
Affects Version/s: 4.1.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: epms.devteam Assignee: mskdeepak
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 64 bits and Linux



 Description   

I'm trying to access a Message Queue configured in GlassFish, with SSL, from a standalone client, but I can only make it work if I use the default password (changeit) on my trustStore. I'm always getting "Keystore was tampered with, or password was incorrect" if I try to use a different password.
If I set the Trust Store with the default password and use the following property with a wrong value, it still works "-Djavax.net.ssl.trustStorePassword=<wrong value>", which confirms that it that it completely ignores this setting.
After digging a little deeper, I've detected a behavior that seems a bug. Looking at the stacktrace, one of the first methods being invoked is initJKS() from com.sun.enterprise.security.ssl.impl.SecuritySupportImpl. With the help of javassist, I realized that the following section is being invoked:

if (masterPasswordHelper == null && Globals.getDefaultHabitat() != null)

{ masterPasswordHelper = Globals.getDefaultHabitat().getByType(MasterPasswordImpl.class); }

if (masterPasswordHelper instanceof MasterPasswordImpl)

{ keyStorePass = masterPasswordHelper.getMasterPassword(); trustStorePass = keyStorePass; }

Causing the bypass of the next set of instructions:

if (keyStorePass == null)

{ keyStorePass = System.getProperty(KEYSTORE_PASS_PROP, DEFAULT_KEYSTORE_PASS).toCharArray(); trustStorePass = System.getProperty(TRUSTSTORE_PASS_PROP, DEFAULT_TRUSTSTORE_PASS).toCharArray(); }

And, as a consequence, to ignore the user defined property javax.net.ssl.trustStorePassword.

Why is Globals.getDefaultHabitat() returning a non null value? Why isn't a user defined property overriding any previous setting?

NOTE: Due to PCI compliance requisites, I do need to set a password on the trustStore.



 Comments   
Comment by mskdeepak [ 03/Mar/17 ]

I am unable to reproduce this issue. Could you answer the following questions?
Have you followed the instructions here(https://docs.oracle.com/cd/E19587-01/821-0027/aeogb/index.html) to setup SSL in the MQ?
Are you able to start the ssljms service without any issues?

The code blocks you have mentioned to explain the bug seems to be wrong. The initJKS function in GF 4.1.1 is not like you have written in the explanation.

Comment by epms.devteam [ 06/Mar/17 ]

It's been a while since I've opened this issue and I'm no longer able to reproduce it either. A lot has changed on my application and server's configuration (making SSL work was a real pain).
I suggest you close the issue.

Comment by epms.devteam [ 22/Mar/17 ]

The error is happening again... can the issue be reopened?

It's again trying to use "changeit" as the truststore's password instead of the real password.
I've instrumented com.sun.enterprise.security.ssl.impl.SecuritySupportImpl (ssl-impl.jar) bytecode just to make sure. I've included a simple println, System.out.println("trustStorePass: ", trustStorePass); on line 183 that produced the following output:

trustStorePass: changeit

The exception I'm getting is:

java.lang.IllegalStateException: java.io.IOException: Keystore was tampered with, or password was incorrect
at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:251)
at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.initJKS(SecuritySupportImpl.java:184)
at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.<init>(SecuritySupportImpl.java:139)
at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.<init>(SecuritySupportImpl.java:134)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.__newInstance(DelegatingConstructorAccessorImpl.java:45)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1107)
at org.jvnet.hk2.internal.ClazzCreator.createMe(ClazzCreator.java:274)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:368)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:638)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:638)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:690)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:655)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.init(IIOPSSLSocketFactory.java:249)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.getDefaultSslInfo(IIOPSSLSocketFactory.java:210)
at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.<init>(IIOPSSLSocketFactory.java:197)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.__newInstance(DelegatingConstructorAccessorImpl.java:45)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at com.sun.corba.ee.impl.orb.ParserTable$4.operate(ParserTable.java:755)
at com.sun.corba.ee.impl.orb.NormalParserAction.apply(NormalParserAction.java:62)
at com.sun.corba.ee.spi.orb.PropertyParser.parse(PropertyParser.java:84)
at com.sun.corba.ee.spi.orb.ParserImplBase.init(ParserImplBase.java:77)
at com.sun.corba.ee.impl.orb.ORBDataParserImpl.<init>(ORBDataParserImpl.java:492)
at com.sun.corba.ee.impl.orb.ORBImpl.postInit(ORBImpl.java:562)
at com.sun.corba.ee.impl.orb.ORBImpl.set_parameters(ORBImpl.java:697)
at com.sun.corba.ee.impl.orb.ORBImpl.setParameters(ORBImpl.java:684)
at com.sun.corba.ee.spi.osgi.ORBFactory.initialize(ORBFactory.java:107)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.initORB(GlassFishORBManager.java:585)
at org.glassfish.enterprise.iiop.impl.GlassFishORBManager.getORB(GlassFishORBManager.java:264)
at org.glassfish.enterprise.iiop.impl.GlassFishORBFactoryImpl.createORB(GlassFishORBFactoryImpl.java:93)
at org.glassfish.enterprise.iiop.api.GlassFishORBHelper.getORB(GlassFishORBHelper.java:163)
at com.sun.enterprise.naming.impl.SerialContext.getORB(SerialContext.java:347)
at com.sun.enterprise.naming.impl.SerialContext.getProviderCacheKey(SerialContext.java:354)
at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:384)
at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:329)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:477)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:438)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at pt.sibs.epms.plexejbs.util.JNDILookupClass.lookup(JNDILookupClass.java:222)
at pt.sibs.epms.plexejbs.util.JNDILookupClass.create(JNDILookupClass.java:69)
at pt.sibs.epms.gw.server.oltp.ejb.EjbAdapter.getSessionBean(EjbAdapter.java:166)
at pt.sibs.epms.gw.server.oltp.ejb.EjbAdapter$1.call(EjbAdapter.java:131)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:780)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
at java.security.KeyStore.load(KeyStore.java:1445)
at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.loadKS(SecuritySupportImpl.java:288)
at com.sun.enterprise.security.ssl.impl.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:244)
... 89 more
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:778)
... 95 more





[GLASSFISH-21152] memory leak in com.sun.enterprise.v3.common.ActionReporter Created: 01/Aug/14  Updated: 22/Mar/17

Status: Open
Project: glassfish
Component/s: deployment
Affects Version/s: 4.0, 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: bebbo Assignee: rutujay
Resolution: Unresolved Votes: 1
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

any


Tags: leak, memory

 Description   

The ActionReport keeps references to all deployed applications (via subAction). Thus any deployed applications are never unloaded properly.

Here is my workaround, by using SoftReferences in the subActionList

ActionReporter.java
...
    protected ArrayList<SoftReference<ActionReporter>> subActionRefs = new ArrayList<SoftReference<ActionReporter>>();
...
    @Override
    public ActionReport addSubActionsReport() {
        ActionReporter subAction;
        try {
            subAction = this.getClass().newInstance();
        } catch (IllegalAccessException ex) {
            return null;
        } catch (InstantiationException ex) {
            return null;
        }
        synchronized (subActionRefs) {
            subActionRefs.add(new SoftReference<ActionReporter>(subAction));
        }
        return subAction;
    }

    @Override
    public List<ActionReporter> getSubActionsReport() {
        final ArrayList<ActionReporter> subActions = new ArrayList<ActionReporter>();
        synchronized (subActionRefs) {
            for (final Iterator<SoftReference<ActionReporter>> i = subActionRefs.iterator(); i.hasNext();) {
                final SoftReference<ActionReporter> s = i.next();
                final ActionReporter ar = s.get();
                if (ar == null) {
                    i.remove();
                    continue;
                }
                subActions.add(ar);
            }
        }
        return subActions;
    }
...

plus replace the direct access to subActions with getSubActionsReport()



 Comments   
Comment by rutujay [ 15/Mar/17 ]

Please provide a testcase executing the memory leak behavior.

Comment by bebbo [ 21/Mar/17 ]

Test:

Take any JEE application which uses JPA + JAAS.

1. (Re)Deploy the app
2. Invoke a web method which uses JAAS + JPA
3. goto 1

After few loops the deployment fails since all memory is used up.

Comment by rutujay [ 22/Mar/17 ]

Can you provide an application, if you already have one?





[GLASSFISH-19389] Unable to start up Glassfish Community Server 3.1.2(.2) ZIP distributable on CentOS due to updatetool and OSGi cache Created: 27/Nov/12  Updated: 21/Mar/17

Status: Open
Project: glassfish
Component/s: OSGi, update_center
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: gargravarr Assignee: Yamini K B
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6.3 x86_64 fresh install, kernel version 2.6.32-279.el6
JDK 1.7u3 x86_64/OpenJDK 1.6.0 x86_64
Hardware: 2x Intel Xeon E5-2603 quad-core x86_64 CPUs, 8GB RAM, 50GB SAN storage formatted ext4



 Description   

Upon unzipping the archive and attempting to start the domain via asadmin (with correctly placed local JDK), results in the following error on all CentOS 6.3 hosts:

[glassfish@glassfish001 ~]$ glassfish/bin/asadmin start-domain domain1
Waiting for domain1 to start ....Error starting domain domain1.
The server exited prematurely with exit code 1.
Before it died, it produced the following output:

Launching GlassFish on Felix platform
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 1 from /home/glassfish/glassfish3/glassfish/modules/endorsed/webservices-api-osgi.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 2 from /home/glassfish/glassfish3/glassfish/modules/endorsed/javax.annotation.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 3 from /home/glassfish/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 4 from /home/glassfish/glassfish3/glassfish/modules/jersey-grizzly.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 5 from /home/glassfish/glassfish3/glassfish/modules/jdbc-admin.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 6 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-csiv2-idl.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 7 from /home/glassfish/glassfish3/glassfish/modules/webservices-extra-jdk-packages.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 8 from /home/glassfish/glassfish3/glassfish/modules/weld-integration-fragment.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 9 from /home/glassfish/glassfish3/glassfish/modules/org.eclipse.persistence.jpa.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 10 from /home/glassfish/glassfish3/glassfish/modules/container-common.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 11 from /home/glassfish/glassfish3/glassfish/modules/woodstox-core-asl.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 12 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-internal-api.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 13 from /home/glassfish/glassfish3/glassfish/modules/jms-admin.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 14 from /home/glassfish/glassfish3/glassfish/modules/jaspic.provider.framework.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 15 from /home/glassfish/glassfish3/glassfish/modules/antlr-repackaged.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 16 from /home/glassfish/glassfish3/glassfish/modules/org.apache.felix.configadmin.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 17 from /home/glassfish/glassfish3/glassfish/modules/web-embed-api.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 18 from /home/glassfish/glassfish3/glassfish/modules/console-jms-plugin.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 19 from /home/glassfish/glassfish3/glassfish/modules/glassfish-mbeanserver.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 20 from /home/glassfish/glassfish3/glassfish/modules/deployment-admin.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 21 from /home/glassfish/glassfish3/glassfish/modules/registration-api.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 22 from /home/glassfish/glassfish3/glassfish/modules/monitoring-core.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 23 from /home/glassfish/glassfish3/glassfish/modules/javax.servlet.jsp.jstl.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 24 from /home/glassfish/glassfish3/glassfish/modules/shoal-gms-api.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 25 from /home/glassfish/glassfish3/glassfish/modules/deployment-autodeploy.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 26 from /home/glassfish/glassfish3/glassfish/modules/gms-adapter.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 27 from /home/glassfish/glassfish3/glassfish/modules/console-jts-plugin-help.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 28 from /home/glassfish/glassfish3/glassfish/modules/admin-util.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 29 from /home/glassfish/glassfish3/glassfish/modules/org.eclipse.persistence.antlr.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 30 from /home/glassfish/glassfish3/glassfish/modules/org.apache.felix.gogo.command.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 31 from /home/glassfish/glassfish3/glassfish/modules/jersey-json.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 32 from /home/glassfish/glassfish3/glassfish/modules/glassfish-ee-api.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 33 from /home/glassfish/glassfish3/glassfish/modules/shoal-gms-impl.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 34 from /home/glassfish/glassfish3/glassfish/modules/ejb-container.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 35 from /home/glassfish/glassfish3/glassfish/modules/jboss-logging.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 36 from /home/glassfish/glassfish3/glassfish/modules/console-cluster-plugin-help.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 37 from /home/glassfish/glassfish3/glassfish/modules/console-community-branding-plugin.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 38 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-newtimer.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 39 from /home/glassfish/glassfish3/glassfish/modules/javax.el-api.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 40 from /home/glassfish/glassfish3/glassfish/modules/webservices-connector.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 41 from /home/glassfish/glassfish3/glassfish/modules/metro-glue.jar
Nov 27, 2012 9:55:05 AM BundleProvisioner update
INFO: Updated bundle 42 from /home/glassfish/glassfish3/glassfish/modules/backup.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 43 from /home/glassfish/glassfish3/glassfish/modules/javax.resource.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 44 from /home/glassfish/glassfish3/glassfish/modules/orb-iiop.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 45 from /home/glassfish/glassfish3/glassfish/modules/connectors-inbound-runtime.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 46 from /home/glassfish/glassfish3/glassfish/modules/glassfish-naming.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 47 from /home/glassfish/glassfish3/glassfish/modules/jersey-gf-statsproviders.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 48 from /home/glassfish/glassfish3/glassfish/modules/webservices.security.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 49 from /home/glassfish/glassfish3/glassfish/modules/jersey-gf-server.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 50 from /home/glassfish/glassfish3/glassfish/modules/simple-glassfish-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 51 from /home/glassfish/glassfish3/glassfish/modules/jspcaching-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 52 from /home/glassfish/glassfish3/glassfish/modules/console-web-plugin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 53 from /home/glassfish/glassfish3/glassfish/modules/jmxremote_optional-repackaged.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 54 from /home/glassfish/glassfish3/glassfish/modules/cmp-generator-database.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 55 from /home/glassfish/glassfish3/glassfish/modules/config.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 56 from /home/glassfish/glassfish3/glassfish/modules/appclient-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 57 from /home/glassfish/glassfish3/glassfish/modules/console-updatecenter-plugin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 58 from /home/glassfish/glassfish3/glassfish/modules/console-common-full-plugin-help.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 59 from /home/glassfish/glassfish3/glassfish/modules/jsftemplating.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 60 from /home/glassfish/glassfish3/glassfish/modules/console-cluster-plugin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 61 from /home/glassfish/glassfish3/glassfish/modules/deployment-javaee-core.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 62 from /home/glassfish/glassfish3/glassfish/modules/javaee-kernel.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 63 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-codegen.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 64 from /home/glassfish/glassfish3/glassfish/modules/cluster-ssh.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 65 from /home/glassfish/glassfish3/glassfish/modules/deployment-client.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 66 from /home/glassfish/glassfish3/glassfish/modules/javax.servlet.jsp.jstl-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 67 from /home/glassfish/glassfish3/glassfish/modules/jackson-jaxrs.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 68 from /home/glassfish/glassfish3/glassfish/modules/stats77.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 69 from /home/glassfish/glassfish3/glassfish/modules/grizzly-http.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 70 from /home/glassfish/glassfish3/glassfish/modules/ejb.security.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 71 from /home/glassfish/glassfish3/glassfish/modules/dbschema-repackaged.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 72 from /home/glassfish/glassfish3/glassfish/modules/glassfish-extra-jre-packages.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 73 from /home/glassfish/glassfish3/glassfish/modules/ha-file-store.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 74 from /home/glassfish/glassfish3/glassfish/modules/console-common-full-plugin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 75 from /home/glassfish/glassfish3/glassfish/modules/gf-ejb-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 76 from /home/glassfish/glassfish3/glassfish/modules/glassfish-oracle-jdbc-driver-packages.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 77 from /home/glassfish/glassfish3/glassfish/modules/api-exporter.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 78 from /home/glassfish/glassfish3/glassfish/modules/web-cli.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 79 from /home/glassfish/glassfish3/glassfish/modules/cli-optional.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 80 from /home/glassfish/glassfish3/glassfish/modules/web-glue.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 81 from /home/glassfish/glassfish3/glassfish/modules/jpa-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 82 from /home/glassfish/glassfish3/glassfish/modules/javax.servlet-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 83 from /home/glassfish/glassfish3/glassfish/modules/gf-connectors-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 84 from /home/glassfish/glassfish3/glassfish/modules/jersey-client.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 85 from /home/glassfish/glassfish3/glassfish/modules/cluster-admin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 86 from /home/glassfish/glassfish3/glassfish/modules/bean-validator.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 87 from /home/glassfish/glassfish3/glassfish/modules/web-ha.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 88 from /home/glassfish/glassfish3/glassfish/modules/orb-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 89 from /home/glassfish/glassfish3/glassfish/modules/org.apache.felix.shell.remote.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 90 from /home/glassfish/glassfish3/glassfish/modules/jaxb-osgi.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 91 from /home/glassfish/glassfish3/glassfish/modules/grizzly-container.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 92 from /home/glassfish/glassfish3/glassfish/modules/ha-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 93 from /home/glassfish/glassfish3/glassfish/modules/glassfish.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 94 from /home/glassfish/glassfish3/glassfish/modules/console-jms-plugin-help.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 95 from /home/glassfish/glassfish3/glassfish/modules/jersey-core.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 96 from /home/glassfish/glassfish3/glassfish/modules/gmbal.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 97 from /home/glassfish/glassfish3/glassfish/modules/scattered-archive-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 98 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-asm.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 99 from /home/glassfish/glassfish3/glassfish/modules/server-mgmt.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 100 from /home/glassfish/glassfish3/glassfish/modules/connectors-runtime.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 101 from /home/glassfish/glassfish3/glassfish/modules/jms-core.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 102 from /home/glassfish/glassfish3/glassfish/modules/cmp-internal-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 103 from /home/glassfish/glassfish3/glassfish/modules/work-management.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 104 from /home/glassfish/glassfish3/glassfish/modules/config-types.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 105 from /home/glassfish/glassfish3/glassfish/modules/management-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 106 from /home/glassfish/glassfish3/glassfish/modules/cmp-ejb-mapping.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 107 from /home/glassfish/glassfish3/glassfish/modules/pkg-client.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 108 from /home/glassfish/glassfish3/glassfish/modules/cmp-utility.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 109 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-omgapi.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 110 from /home/glassfish/glassfish3/glassfish/modules/console-corba-plugin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 111 from /home/glassfish/glassfish3/glassfish/modules/console-common.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 112 from /home/glassfish/glassfish3/glassfish/modules/cmp-support-sqlstore.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 113 from /home/glassfish/glassfish3/glassfish/modules/console-ejb-lite-plugin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 114 from /home/glassfish/glassfish3/glassfish/modules/deployment-common.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 115 from /home/glassfish/glassfish3/glassfish/modules/ant.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 116 from /home/glassfish/glassfish3/glassfish/modules/flashlight-framework.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 117 from /home/glassfish/glassfish3/glassfish/modules/transaction-internal-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 118 from /home/glassfish/glassfish3/glassfish/modules/osgi-jpa-extension.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 119 from /home/glassfish/glassfish3/glassfish/modules/libpam4j-repackaged.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 120 from /home/glassfish/glassfish3/glassfish/modules/jstl-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 121 from /home/glassfish/glassfish3/glassfish/modules/javax.security.auth.message.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 122 from /home/glassfish/glassfish3/glassfish/modules/config-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 123 from /home/glassfish/glassfish3/glassfish/modules/branding.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 124 from /home/glassfish/glassfish3/glassfish/modules/launcher.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 125 from /home/glassfish/glassfish3/glassfish/modules/web-embed-impl.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 126 from /home/glassfish/glassfish3/glassfish/modules/javax.servlet.jsp.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 127 from /home/glassfish/glassfish3/glassfish/modules/grizzly-rcm.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 128 from /home/glassfish/glassfish3/glassfish/modules/logging.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 129 from /home/glassfish/glassfish3/glassfish/modules/gf-client-module.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 130 from /home/glassfish/glassfish3/glassfish/modules/internal-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 131 from /home/glassfish/glassfish3/glassfish/modules/org.apache.felix.fileinstall.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 132 from /home/glassfish/glassfish3/glassfish/modules/javax.el.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 133 from /home/glassfish/glassfish3/glassfish/modules/grizzly-websockets.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 134 from /home/glassfish/glassfish3/glassfish/modules/console-ejb-lite-plugin-help.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 135 from /home/glassfish/glassfish3/glassfish/modules/weld-integration.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 136 from /home/glassfish/glassfish3/glassfish/modules/console-common-help.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 137 from /home/glassfish/glassfish3/glassfish/modules/flashlight-extra-jdk-packages.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 138 from /home/glassfish/glassfish3/glassfish/modules/grizzly-utils.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 139 from /home/glassfish/glassfish3/glassfish/modules/weld-osgi-bundle.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 140 from /home/glassfish/glassfish3/glassfish/modules/console-jca-plugin.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 141 from /home/glassfish/glassfish3/glassfish/modules/mimepull.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 142 from /home/glassfish/glassfish3/glassfish/modules/dol.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 143 from /home/glassfish/glassfish3/glassfish/modules/jackson-core-asl.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 144 from /home/glassfish/glassfish3/glassfish/modules/jersey-moxy.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 145 from /home/glassfish/glassfish3/glassfish/modules/gf-web-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 146 from /home/glassfish/glassfish3/glassfish/modules/org.apache.felix.gogo.shell.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 147 from /home/glassfish/glassfish3/glassfish/modules/ldapbp-repackaged.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 148 from /home/glassfish/glassfish3/glassfish/modules/annotation-framework.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 149 from /home/glassfish/glassfish3/glassfish/modules/admin-core.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 150 from /home/glassfish/glassfish3/glassfish/modules/console-web-plugin-help.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 151 from /home/glassfish/glassfish3/glassfish/modules/org.eclipse.persistence.moxy.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 152 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-orbgeneric.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 153 from /home/glassfish/glassfish3/glassfish/modules/shoal-cache.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 154 from /home/glassfish/glassfish3/glassfish/modules/javax.security.jacc.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 155 from /home/glassfish/glassfish3/glassfish/modules/jts.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 156 from /home/glassfish/glassfish3/glassfish/modules/appclient-server-core.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 157 from /home/glassfish/glassfish3/glassfish/modules/cluster-cli.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 158 from /home/glassfish/glassfish3/glassfish/modules/war-util.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 159 from /home/glassfish/glassfish3/glassfish/modules/ha-shoal-cache-bootstrap.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 160 from /home/glassfish/glassfish3/glassfish/modules/soap-tcp.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 161 from /home/glassfish/glassfish3/glassfish/modules/grizzly-http-servlet.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 162 from /home/glassfish/glassfish3/glassfish/modules/ssl-impl.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 163 from /home/glassfish/glassfish3/glassfish/modules/jaxr-api-osgi.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 164 from /home/glassfish/glassfish3/glassfish/modules/glassfish-registration.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 165 from /home/glassfish/glassfish3/glassfish/modules/grizzly-config.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 166 from /home/glassfish/glassfish3/glassfish/modules/console-ejb-plugin-help.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 167 from /home/glassfish/glassfish3/glassfish/modules/javax.jms.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 168 from /home/glassfish/glassfish3/glassfish/modules/osgi-resource-locator.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 169 from /home/glassfish/glassfish3/glassfish/modules/appclient.security.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 170 from /home/glassfish/glassfish3/glassfish/modules/webservices-osgi.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 171 from /home/glassfish/glassfish3/glassfish/modules/javax.persistence.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 172 from /home/glassfish/glassfish3/glassfish/modules/javax.faces.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 173 from /home/glassfish/glassfish3/glassfish/modules/admin-cli.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 174 from /home/glassfish/glassfish3/glassfish/modules/amx-all.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 175 from /home/glassfish/glassfish3/glassfish/modules/glassfish-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 176 from /home/glassfish/glassfish3/glassfish/modules/jettison.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 177 from /home/glassfish/glassfish3/glassfish/modules/jsf-connector.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 178 from /home/glassfish/glassfish3/glassfish/modules/grizzly-portunif.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 179 from /home/glassfish/glassfish3/glassfish/modules/trilead-ssh2-repackaged.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 180 from /home/glassfish/glassfish3/glassfish/modules/jersey-multipart.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 181 from /home/glassfish/glassfish3/glassfish/modules/ejb-internal-api.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 182 from /home/glassfish/glassfish3/glassfish/modules/hk2.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 183 from /home/glassfish/glassfish3/glassfish/modules/org.eclipse.persistence.core.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 184 from /home/glassfish/glassfish3/glassfish/modules/javax.mail.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 185 from /home/glassfish/glassfish3/glassfish/modules/deployment-javaee-full.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 186 from /home/glassfish/glassfish3/glassfish/modules/hk2-core.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 187 from /home/glassfish/glassfish3/glassfish/modules/rest-service.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 188 from /home/glassfish/glassfish3/glassfish/modules/orb-enabler.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 189 from /home/glassfish/glassfish3/glassfish/modules/registration-impl.jar
Nov 27, 2012 9:55:06 AM BundleProvisioner update
INFO: Updated bundle 190 from /home/glassfish/glassfish3/glassfish/modules/web-core.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 191 from /home/glassfish/glassfish3/glassfish/modules/javax.servlet.jsp-api.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 192 from /home/glassfish/glassfish3/glassfish/modules/web-naming.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 193 from /home/glassfish/glassfish3/glassfish/modules/javax.enterprise.deploy.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 194 from /home/glassfish/glassfish3/glassfish/modules/auto-depends.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 195 from /home/glassfish/glassfish3/glassfish/modules/console-jts-plugin.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 196 from /home/glassfish/glassfish3/glassfish/modules/jersey-gf-servlet.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 197 from /home/glassfish/glassfish3/glassfish/modules/connectors-admin.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 198 from /home/glassfish/glassfish3/glassfish/modules/jaxrpc-api-osgi.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 199 from /home/glassfish/glassfish3/glassfish/modules/console-jca-plugin-help.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 200 from /home/glassfish/glassfish3/glassfish/modules/osgi-adapter.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 201 from /home/glassfish/glassfish3/glassfish/modules/cmp-support-ejb.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 202 from /home/glassfish/glassfish3/glassfish/modules/console-plugin-service.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 203 from /home/glassfish/glassfish3/glassfish/modules/common-util.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 204 from /home/glassfish/glassfish3/glassfish/modules/org.eclipse.persistence.oracle.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 205 from /home/glassfish/glassfish3/glassfish/modules/jackson-mapper-asl.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 206 from /home/glassfish/glassfish3/glassfish/modules/org.eclipse.persistence.asm.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 207 from /home/glassfish/glassfish3/glassfish/modules/console-ejb-plugin.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 208 from /home/glassfish/glassfish3/glassfish/modules/jackson-xc.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 209 from /home/glassfish/glassfish3/glassfish/modules/osgi-container.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 210 from /home/glassfish/glassfish3/glassfish/modules/javax.management.j2ee.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 211 from /home/glassfish/glassfish3/glassfish/modules/websecurity.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 212 from /home/glassfish/glassfish3/glassfish/modules/console-jdbc-plugin-help.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 213 from /home/glassfish/glassfish3/glassfish/modules/cluster-common.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 214 from /home/glassfish/glassfish3/glassfish/modules/jta.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 215 from /home/glassfish/glassfish3/glassfish/modules/console-corba-plugin-help.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 216 from /home/glassfish/glassfish3/glassfish/modules/grizzly-lzma.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 217 from /home/glassfish/glassfish3/glassfish/modules/ha-shoal-cache-store.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 218 from /home/glassfish/glassfish3/glassfish/modules/kernel.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 219 from /home/glassfish/glassfish3/glassfish/modules/glassfish-corba-orb.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 220 from /home/glassfish/glassfish3/glassfish/modules/javax.ejb.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 221 from /home/glassfish/glassfish3/glassfish/modules/grizzly-comet.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 222 from /home/glassfish/glassfish3/glassfish/modules/grizzly-framework.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 223 from /home/glassfish/glassfish3/glassfish/modules/acc-config.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 224 from /home/glassfish/glassfish3/glassfish/modules/inmemory.jacc.provider.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 225 from /home/glassfish/glassfish3/glassfish/modules/security.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 226 from /home/glassfish/glassfish3/glassfish/modules/asm-all-repackaged.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 227 from /home/glassfish/glassfish3/glassfish/modules/persistence-common.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 228 from /home/glassfish/glassfish3/glassfish/modules/cmp-enhancer.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 229 from /home/glassfish/glassfish3/glassfish/modules/javax.transaction.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 230 from /home/glassfish/glassfish3/glassfish/modules/web-gui-plugin-common.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 231 from /home/glassfish/glassfish3/glassfish/modules/load-balancer-admin.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 232 from /home/glassfish/glassfish3/glassfish/modules/jsr109-impl.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 233 from /home/glassfish/glassfish3/glassfish/modules/connectors-internal-api.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 234 from /home/glassfish/glassfish3/glassfish/modules/gms-bootstrap.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 235 from /home/glassfish/glassfish3/glassfish/modules/grizzly-http-ajp.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 236 from /home/glassfish/glassfish3/glassfish/modules/org.eclipse.persistence.jpa.modelgen.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 237 from /home/glassfish/glassfish3/glassfish/modules/org.apache.felix.gogo.runtime.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 238 from /home/glassfish/glassfish3/glassfish/modules/dataprovider.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 239 from /home/glassfish/glassfish3/glassfish/modules/stax2-api.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 240 from /home/glassfish/glassfish3/glassfish/modules/console-jdbc-plugin.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 241 from /home/glassfish/glassfish3/glassfish/modules/schema2beans-repackaged.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 242 from /home/glassfish/glassfish3/glassfish/modules/cmp-model.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 243 from /home/glassfish/glassfish3/glassfish/modules/j-interop-repackaged.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 244 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-web-container.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 245 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-jdbc.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 246 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-jta.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 247 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-http.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 248 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-cdi.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 249 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-javaee-base.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 250 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-ejb-container.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 251 from /home/glassfish/glassfish3/glassfish/modules/autostart/org.apache.felix.scr.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 252 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-ee-resources.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 253 from /home/glassfish/glassfish3/glassfish/modules/autostart/org.apache.felix.eventadmin.jar
Nov 27, 2012 9:55:07 AM BundleProvisioner update
INFO: Updated bundle 254 from /home/glassfish/glassfish3/glassfish/modules/autostart/osgi-jpa.jar
Nov 27, 2012 9:55:07 AM OSGiFrameworkLauncher launchOSGiFrameWork
INFO: Updating system bundle
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
Caused by: org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateException: Bundle in unexpected state.
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:164)
at org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime.java:157)
at org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime.java:110)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:112)
... 6 more
Caused by: java.lang.IllegalStateException: Bundle in unexpected state.
at org.apache.felix.framework.Felix.acquireBundleLock(Felix.java:4856)
at org.apache.felix.framework.Felix.start(Felix.java:809)
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:157)
... 9 more
Error stopping framework: java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(GlassFishMain.java:203)

Command start-domain failed.

Have discovered that the OSGI cache must be wiped on each reload of the server including first run, e.g:

[glassfish@glassfish001 ~]$ rm -rf glassfish/glassfish/domains/domain1/osgi-cache/*
[glassfish@glassfish001 ~]$ glassfish/bin/asadmin start-domain domain1
Waiting for domain1 to start ...........
Successfully started the domain : domain1
domain Location: /home/glassfish/glassfish3/glassfish/domains/domain1
Log File: /home/glassfish/glassfish3/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.

If the domain is restarted, Glassfish will again crash until cache is wiped.
Have discovered that renaming 'updatetool' avoids all the above issues at the expense of updating Glassfish:

[glassfish@glassfish001 ~]$ mv glassfish3/bin/updatetool glassfish3/bin/updatetool.old
[glassfish@glassfish001 ~]$ ls glassfish/bin/
asadmin asadmin.bat pkg pkg.bat updatetool.bat updatetool.old
[glassfish@glassfish001 ~]$ glassfish/bin/asadmin stop-domain domain1
Waiting for the domain to stop ......
Command stop-domain executed successfully.
[glassfish@glassfish001 ~]$ glassfish/bin/asadmin start-domain domain1
Waiting for domain1 to start ..........
Successfully started the domain : domain1
domain Location: /home/glassfish/glassfish3/glassfish/domains/domain1
Log File: /home/glassfish/glassfish3/glassfish/domains/domain1/logs/server.log
Admin Port: 4848

Versions affected: Glassfish Community Server 3.1.2 and 3.1.2.2
OS: CentOS 6.3
JDK: Locally installed JDK 1.7u3, system-wide OpenJDK 1.6.0

Steps to reproduce:
1. Use Glassfish CE 3.1.2 ZIP redistributable, unzipped to a user's home directory
2. Install system-wide or local JDK, set JAVA_HOME and PATH accordingly
3. Use asadmin to start domain as above.

Further information:
Same unzipped folder works on RHEL 5.6, tested by SCPing from RHEL server to CentOS. Attempting to start domain failed in same way as above.






[GLASSFISH-20947] GlassFish could not start if computer's time is set to long before. Created: 09/Jan/14  Updated: 21/Mar/17

Status: Open
Project: glassfish
Component/s: OSGi
Affects Version/s: 3.1.2, 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: hapinwater Assignee: Yamini K B
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows, GlassFish 3.1.2, Felix.



 Description   

GlassFish could not start if computer's time is set to long before:
1.Install a glassfish(version:3.1.2) on a computer, create a domain domain1.
2.Set computer time to long before current date, such as 1999.10.12 12:30:59
3.Manually delete osgi-cache directory GLASSFISH_HOME\domains\domain1\osgi-cache
4.Then use asadmin to start domain1, start failured and an Exception throws by Felix
OSGi framework.

This exception will occur if the last modifed time of all file under GLASSFISH_HOME\domains\domain1\osgi-cache is eariler than bunle jar stores in GLASSFISH_HOME\modules.In this situation, all osgi bundle needed to be updated.

I download the source code, and find the class com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder's build method may have wrong logic to cause this exception, in step 1 threre exist 3 location cause Felix.update() to be called:
1) List<Long> bundleIds = bundleProvisioner.installBundles();
2) bundleProvisioner.refresh();
3) framework.update();
Felix.update() is an asynchronous call, which will use a thread to stop and then init/start the bundle, If multiple threads call Felix.update, an IllegalStateException will throw.
By the way, I switch OSGi framwork to equinox, this problem still exists.
public GlassFishRuntime build(BootstrapProperties bsProps) throws GlassFishException {
try {
MainHelper.buildStartupContext(bsProps.getProperties());
Properties properties = bsProps.getProperties();

// Set the builder name so that when we check for nonEmbedded() inside GlassFishMainActivator,
// we can identify the environment.
properties.setProperty(Constants.BUILDER_NAME_PROPERTY, getClass().getName());
// Step 0: Locate and launch a framework
long t0 = System.currentTimeMillis();
fwLauncher = new OSGiFrameworkLauncher(properties);
framework = fwLauncher.launchOSGiFrameWork();
long t1 = System.currentTimeMillis();
logger.logp(Level.FINE, "OSGiGlassFishRuntimeBuilder", "build", "Launched

{0}

", new Object[]

{framework}

);

// Step 1: install/update/delete bundles
if (newFramework())

{ storeProvisioningOptions(properties); }

else

{ reconfigure(properties); // this will reconfigure if any provisioning options have changed. }

BundleProvisioner bundleProvisioner = BundleProvisioner.createBundleProvisioner(
framework.getBundleContext(), properties);
List<Long> bundleIds = bundleProvisioner.installBundles();

if (bundleProvisioner.hasAnyThingChanged())

{ bundleProvisioner.refresh(); deleteHK2Cache(properties); // clean hk2 cache so that updated bundle details will go in there. // Save the bundle ids for use during restart. storeBundleIds(bundleIds.toArray(new Long[bundleIds.size()])); }

if (bundleProvisioner.isSystemBundleUpdationRequired())

{ logger.log(Level.INFO, LogFacade.UPDATING_SYSTEM_BUNDLE); framework.update(); framework.waitForStop(0); framework.init(); bundleProvisioner.setBundleContext(framework.getBundleContext()); }

// Step 2: Start bundles
bundleProvisioner.startBundles();
long t2 = System.currentTimeMillis();

// Step 3: Start the framework, so bundles will get activated as per their start levels
framework.start();
long t3 = System.currentTimeMillis();
printStats(bundleProvisioner, t0, t1, t2, t3);

// Step 4: Obtain reference to GlassFishRuntime and return the same
return getGlassFishRuntime();
} catch (Exception e)

{ throw new GlassFishException(e); }

}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Here are my glassfish's console output:
asadmin> start-domain
There is a process already using the admin port 4848 – it probably is another i
nstance of a GlassFish server.
Command start-domain failed.
asadmin> stop-domain
CLI306 Warning - The server located at E:\glassfish3\glassfish\domains\domain1 i
s not running.
Command stop-domain executed successfully.
asadmin> stop-domain
CLI306 Warning - The server located at E:\glassfish3\glassfish\domains\domain1 i
s not running.
Command stop-domain executed successfully.
asadmin> start-domain
Waiting for domain1 to start ............Error starting domain domain1.
The server exited prematurely with exit code 1.
Before it died, it produced the following output:

Launching GlassFish on Felix platform
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 1 from /E:/glassfish3/glassfish/modules/endorsed/javax.anno
tation.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 2 from /E:/glassfish3/glassfish/modules/endorsed/jaxb-api-o
sgi.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 3 from /E:/glassfish3/glassfish/modules/endorsed/webservice
s-api-osgi.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 4 from /E:/glassfish3/glassfish/modules/acc-config.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 5 from /E:/glassfish3/glassfish/modules/admin-cli.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 6 from /E:/glassfish3/glassfish/modules/admin-core.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 7 from /E:/glassfish3/glassfish/modules/admin-util.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 8 from /E:/glassfish3/glassfish/modules/amx-all.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 9 from /E:/glassfish3/glassfish/modules/annotation-framewor
k.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 10 from /E:/glassfish3/glassfish/modules/ant.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 11 from /E:/glassfish3/glassfish/modules/antlr-repackaged.j
ar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 12 from /E:/glassfish3/glassfish/modules/api-exporter.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 13 from /E:/glassfish3/glassfish/modules/appclient-connecto
r.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 14 from /E:/glassfish3/glassfish/modules/appclient-server-c
ore.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 15 from /E:/glassfish3/glassfish/modules/appclient.security
.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 16 from /E:/glassfish3/glassfish/modules/asm-all-repackaged
.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 17 from /E:/glassfish3/glassfish/modules/auto-depends.jar
2001-5-9 18:15:11 BundleProvisioner update
信息: Updated bundle 18 from /E:/glassfish3/glassfish/modules/backup.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 19 from /E:/glassfish3/glassfish/modules/bean-validator.jar

2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 20 from /E:/glassfish3/glassfish/modules/branding.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 21 from /E:/glassfish3/glassfish/modules/cli-optional.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 22 from /E:/glassfish3/glassfish/modules/cluster-admin.jar

2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 23 from /E:/glassfish3/glassfish/modules/cluster-cli.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 24 from /E:/glassfish3/glassfish/modules/cluster-common.jar

2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 25 from /E:/glassfish3/glassfish/modules/cluster-ssh.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 26 from /E:/glassfish3/glassfish/modules/cmp-ejb-mapping.ja
r
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 27 from /E:/glassfish3/glassfish/modules/cmp-enhancer.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 28 from /E:/glassfish3/glassfish/modules/cmp-generator-data
base.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 29 from /E:/glassfish3/glassfish/modules/cmp-internal-api.j
ar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 30 from /E:/glassfish3/glassfish/modules/cmp-model.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 31 from /E:/glassfish3/glassfish/modules/cmp-support-ejb.ja
r
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 32 from /E:/glassfish3/glassfish/modules/cmp-support-sqlsto
re.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 33 from /E:/glassfish3/glassfish/modules/cmp-utility.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 34 from /E:/glassfish3/glassfish/modules/common-util.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 35 from /E:/glassfish3/glassfish/modules/config-api.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 36 from /E:/glassfish3/glassfish/modules/config-types.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 37 from /E:/glassfish3/glassfish/modules/config.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 38 from /E:/glassfish3/glassfish/modules/connectors-admin.j
ar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 39 from /E:/glassfish3/glassfish/modules/connectors-inbound
-runtime.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 40 from /E:/glassfish3/glassfish/modules/connectors-interna
l-api.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 41 from /E:/glassfish3/glassfish/modules/connectors-runtime
.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 42 from /E:/glassfish3/glassfish/modules/console-cluster-pl
ugin-help.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 43 from /E:/glassfish3/glassfish/modules/console-cluster-pl
ugin.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 44 from /E:/glassfish3/glassfish/modules/console-common-ful
l-plugin-help.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 45 from /E:/glassfish3/glassfish/modules/console-common-ful
l-plugin.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 46 from /E:/glassfish3/glassfish/modules/console-common-hel
p.jar
2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 47 from /E:/glassfish3/glassfish/modules/console-common.jar

2001-5-9 18:15:12 BundleProvisioner update
信息: Updated bundle 48 from /E:/glassfish3/glassfish/modules/console-community-
branding-plugin.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 49 from /E:/glassfish3/glassfish/modules/console-corba-plug
in-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 50 from /E:/glassfish3/glassfish/modules/console-corba-plug
in.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 51 from /E:/glassfish3/glassfish/modules/console-ejb-lite-p
lugin-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 52 from /E:/glassfish3/glassfish/modules/console-ejb-lite-p
lugin.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 53 from /E:/glassfish3/glassfish/modules/console-ejb-plugin
-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 54 from /E:/glassfish3/glassfish/modules/console-ejb-plugin
.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 55 from /E:/glassfish3/glassfish/modules/console-jca-plugin
-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 56 from /E:/glassfish3/glassfish/modules/console-jca-plugin
.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 57 from /E:/glassfish3/glassfish/modules/console-jdbc-plugi
n-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 58 from /E:/glassfish3/glassfish/modules/console-jdbc-plugi
n.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 59 from /E:/glassfish3/glassfish/modules/console-jms-plugin
-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 60 from /E:/glassfish3/glassfish/modules/console-jms-plugin
.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 61 from /E:/glassfish3/glassfish/modules/console-jts-plugin
-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 62 from /E:/glassfish3/glassfish/modules/console-jts-plugin
.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 63 from /E:/glassfish3/glassfish/modules/console-plugin-ser
vice.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 64 from /E:/glassfish3/glassfish/modules/console-updatecent
er-plugin.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 65 from /E:/glassfish3/glassfish/modules/console-web-plugin
-help.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 66 from /E:/glassfish3/glassfish/modules/console-web-plugin
.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 67 from /E:/glassfish3/glassfish/modules/container-common.j
ar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 68 from /E:/glassfish3/glassfish/modules/dataprovider.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 69 from /E:/glassfish3/glassfish/modules/dbschema-repackage
d.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 70 from /E:/glassfish3/glassfish/modules/deployment-admin.j
ar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 71 from /E:/glassfish3/glassfish/modules/deployment-autodep
loy.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 72 from /E:/glassfish3/glassfish/modules/deployment-client.
jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 73 from /E:/glassfish3/glassfish/modules/deployment-common.
jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 74 from /E:/glassfish3/glassfish/modules/deployment-javaee-
core.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 75 from /E:/glassfish3/glassfish/modules/deployment-javaee-
full.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 76 from /E:/glassfish3/glassfish/modules/dol.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 77 from /E:/glassfish3/glassfish/modules/ejb-container.jar

2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 78 from /E:/glassfish3/glassfish/modules/ejb-internal-api.j
ar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 79 from /E:/glassfish3/glassfish/modules/ejb.security.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 80 from /E:/glassfish3/glassfish/modules/flashlight-extra-j
dk-packages.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 81 from /E:/glassfish3/glassfish/modules/flashlight-framewo
rk.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 82 from /E:/glassfish3/glassfish/modules/gf-client-module.j
ar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 83 from /E:/glassfish3/glassfish/modules/gf-connectors-conn
ector.jar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 84 from /E:/glassfish3/glassfish/modules/gf-ejb-connector.j
ar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 85 from /E:/glassfish3/glassfish/modules/gf-web-connector.j
ar
2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 86 from /E:/glassfish3/glassfish/modules/glassfish-api.jar

2001-5-9 18:15:13 BundleProvisioner update
信息: Updated bundle 87 from /E:/glassfish3/glassfish/modules/glassfish-corba-as
m.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 88 from /E:/glassfish3/glassfish/modules/glassfish-corba-co
degen.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 89 from /E:/glassfish3/glassfish/modules/glassfish-corba-cs
iv2-idl.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 90 from /E:/glassfish3/glassfish/modules/glassfish-corba-in
ternal-api.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 91 from /E:/glassfish3/glassfish/modules/glassfish-corba-ne
wtimer.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 92 from /E:/glassfish3/glassfish/modules/glassfish-corba-om
gapi.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 93 from /E:/glassfish3/glassfish/modules/glassfish-corba-or
b.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 94 from /E:/glassfish3/glassfish/modules/glassfish-corba-or
bgeneric.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 95 from /E:/glassfish3/glassfish/modules/glassfish-ee-api.j
ar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 96 from /E:/glassfish3/glassfish/modules/glassfish-extra-jr
e-packages.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 97 from /E:/glassfish3/glassfish/modules/glassfish-mbeanser
ver.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 98 from /E:/glassfish3/glassfish/modules/glassfish-naming.j
ar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 99 from /E:/glassfish3/glassfish/modules/glassfish-oracle-j
dbc-driver-packages.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 100 from /E:/glassfish3/glassfish/modules/glassfish-registr
ation.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 101 from /E:/glassfish3/glassfish/modules/glassfish.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 102 from /E:/glassfish3/glassfish/modules/gmbal.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 103 from /E:/glassfish3/glassfish/modules/gms-adapter.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 104 from /E:/glassfish3/glassfish/modules/gms-bootstrap.jar

2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 105 from /E:/glassfish3/glassfish/modules/grizzly-comet.jar

2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 106 from /E:/glassfish3/glassfish/modules/grizzly-config.ja
r
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 107 from /E:/glassfish3/glassfish/modules/grizzly-container
.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 108 from /E:/glassfish3/glassfish/modules/grizzly-framework
.jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 109 from /E:/glassfish3/glassfish/modules/grizzly-http-ajp.
jar
2001-5-9 18:15:14 BundleProvisioner update
信息: Updated bundle 110 from /E:/glassfish3/glassfish/modules/grizzly-http-serv
let.jar
2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 111 from /E:/glassfish3/glassfish/modules/grizzly-http.jar

2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 112 from /E:/glassfish3/glassfish/modules/grizzly-lzma.jar

2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 113 from /E:/glassfish3/glassfish/modules/grizzly-portunif.
jar
2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 114 from /E:/glassfish3/glassfish/modules/grizzly-rcm.jar
2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 115 from /E:/glassfish3/glassfish/modules/grizzly-utils.jar

2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 116 from /E:/glassfish3/glassfish/modules/grizzly-websocket
s.jar
2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 117 from /E:/glassfish3/glassfish/modules/ha-api.jar
2001-5-9 18:15:15 BundleProvisioner update
信息: Updated bundle 118 from /E:/glassfish3/glassfish/modules/ha-file-store.jar

2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 119 from /E:/glassfish3/glassfish/modules/ha-shoal-cache-bo
otstrap.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 120 from /E:/glassfish3/glassfish/modules/ha-shoal-cache-st
ore.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 121 from /E:/glassfish3/glassfish/modules/hk2-core.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 122 from /E:/glassfish3/glassfish/modules/hk2.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 123 from /E:/glassfish3/glassfish/modules/inmemory.jacc.pro
vider.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 124 from /E:/glassfish3/glassfish/modules/internal-api.jar

2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 125 from /E:/glassfish3/glassfish/modules/j-interop-repacka
ged.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 126 from /E:/glassfish3/glassfish/modules/jackson-core-asl.
jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 127 from /E:/glassfish3/glassfish/modules/jackson-jaxrs.jar

2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 128 from /E:/glassfish3/glassfish/modules/jackson-mapper-as
l.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 129 from /E:/glassfish3/glassfish/modules/jackson-xc.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 130 from /E:/glassfish3/glassfish/modules/jaspic.provider.f
ramework.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 131 from /E:/glassfish3/glassfish/modules/javaee-kernel.jar

2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 132 from /E:/glassfish3/glassfish/modules/javax.ejb.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 133 from /E:/glassfish3/glassfish/modules/javax.el-api.jar

2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 134 from /E:/glassfish3/glassfish/modules/javax.el.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 135 from /E:/glassfish3/glassfish/modules/javax.enterprise.
deploy.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 136 from /E:/glassfish3/glassfish/modules/javax.faces.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 137 from /E:/glassfish3/glassfish/modules/javax.jms.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 138 from /E:/glassfish3/glassfish/modules/javax.mail.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 139 from /E:/glassfish3/glassfish/modules/javax.management.
j2ee.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 140 from /E:/glassfish3/glassfish/modules/javax.persistence
.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 141 from /E:/glassfish3/glassfish/modules/javax.resource.ja
r
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 142 from /E:/glassfish3/glassfish/modules/javax.security.au
th.message.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 143 from /E:/glassfish3/glassfish/modules/javax.security.ja
cc.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 144 from /E:/glassfish3/glassfish/modules/javax.servlet-api
.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 145 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp
-api.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 146 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp
.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 147 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp
.jstl-api.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 148 from /E:/glassfish3/glassfish/modules/javax.servlet.jsp
.jstl.jar
2001-5-9 18:15:16 BundleProvisioner update
信息: Updated bundle 149 from /E:/glassfish3/glassfish/modules/javax.transaction
.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 150 from /E:/glassfish3/glassfish/modules/jaxb-osgi.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 151 from /E:/glassfish3/glassfish/modules/jaxr-api-osgi.jar

2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 152 from /E:/glassfish3/glassfish/modules/jaxrpc-api-osgi.j
ar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 153 from /E:/glassfish3/glassfish/modules/jdbc-admin.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 154 from /E:/glassfish3/glassfish/modules/jersey-client.jar

2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 155 from /E:/glassfish3/glassfish/modules/jersey-core.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 156 from /E:/glassfish3/glassfish/modules/jersey-gf-server.
jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 157 from /E:/glassfish3/glassfish/modules/jersey-gf-servlet
.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 158 from /E:/glassfish3/glassfish/modules/jersey-gf-statspr
oviders.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 159 from /E:/glassfish3/glassfish/modules/jersey-grizzly.ja
r
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 160 from /E:/glassfish3/glassfish/modules/jersey-json.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 161 from /E:/glassfish3/glassfish/modules/jersey-moxy.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 162 from /E:/glassfish3/glassfish/modules/jersey-multipart.
jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 163 from /E:/glassfish3/glassfish/modules/jettison.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 164 from /E:/glassfish3/glassfish/modules/jms-admin.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 165 from /E:/glassfish3/glassfish/modules/jms-core.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 166 from /E:/glassfish3/glassfish/modules/jmxremote_optiona
l-repackaged.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 167 from /E:/glassfish3/glassfish/modules/jpa-connector.jar

2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 168 from /E:/glassfish3/glassfish/modules/jsf-connector.jar

2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 169 from /E:/glassfish3/glassfish/modules/jsftemplating.jar

2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 170 from /E:/glassfish3/glassfish/modules/jspcaching-connec
tor.jar
2001-5-9 18:15:17 BundleProvisioner update
信息: Updated bundle 171 from /E:/glassfish3/glassfish/modules/jsr109-impl.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 172 from /E:/glassfish3/glassfish/modules/jstl-connector.ja
r
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 173 from /E:/glassfish3/glassfish/modules/jta.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 174 from /E:/glassfish3/glassfish/modules/jts.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 175 from /E:/glassfish3/glassfish/modules/kernel.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 176 from /E:/glassfish3/glassfish/modules/launcher.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 177 from /E:/glassfish3/glassfish/modules/ldapbp-repackaged
.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 178 from /E:/glassfish3/glassfish/modules/libpam4j-repackag
ed.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 179 from /E:/glassfish3/glassfish/modules/load-balancer-adm
in.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 180 from /E:/glassfish3/glassfish/modules/logging.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 181 from /E:/glassfish3/glassfish/modules/management-api.ja
r
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 182 from /E:/glassfish3/glassfish/modules/metro-glue.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 183 from /E:/glassfish3/glassfish/modules/mimepull.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 184 from /E:/glassfish3/glassfish/modules/monitoring-core.j
ar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 185 from /E:/glassfish3/glassfish/modules/orb-connector.jar

2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 186 from /E:/glassfish3/glassfish/modules/orb-enabler.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 187 from /E:/glassfish3/glassfish/modules/orb-iiop.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 188 from /E:/glassfish3/glassfish/modules/org.apache.felix.
configadmin.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 189 from /E:/glassfish3/glassfish/modules/org.apache.felix.
fileinstall.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 190 from /E:/glassfish3/glassfish/modules/org.apache.felix.
gogo.command.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 191 from /E:/glassfish3/glassfish/modules/org.apache.felix.
gogo.runtime.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 192 from /E:/glassfish3/glassfish/modules/org.apache.felix.
gogo.shell.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 193 from /E:/glassfish3/glassfish/modules/org.apache.felix.
shell.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 194 from /E:/glassfish3/glassfish/modules/org.apache.felix.
shell.remote.jar
2001-5-9 18:15:18 BundleProvisioner update
信息: Updated bundle 195 from /E:/glassfish3/glassfish/modules/org.apache.felix.
shell.tui.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 196 from /E:/glassfish3/glassfish/modules/org.eclipse.persi
stence.antlr.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 197 from /E:/glassfish3/glassfish/modules/org.eclipse.persi
stence.asm.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 198 from /E:/glassfish3/glassfish/modules/org.eclipse.persi
stence.core.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 199 from /E:/glassfish3/glassfish/modules/org.eclipse.persi
stence.jpa.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 200 from /E:/glassfish3/glassfish/modules/org.eclipse.persi
stence.jpa.modelgen.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 201 from /E:/glassfish3/glassfish/modules/org.eclipse.persi
stence.moxy.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 202 from /E:/glassfish3/glassfish/modules/org.eclipse.persi
stence.oracle.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 203 from /E:/glassfish3/glassfish/modules/osgi-adapter.jar

2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 204 from /E:/glassfish3/glassfish/modules/osgi-container.ja
r
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 205 from /E:/glassfish3/glassfish/modules/osgi-jpa-extensio
n.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 206 from /E:/glassfish3/glassfish/modules/osgi-resource-loc
ator.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 207 from /E:/glassfish3/glassfish/modules/persistence-commo
n.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 208 from /E:/glassfish3/glassfish/modules/pkg-client.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 209 from /E:/glassfish3/glassfish/modules/registration-api.
jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 210 from /E:/glassfish3/glassfish/modules/registration-impl
.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 211 from /E:/glassfish3/glassfish/modules/rest-service.jar

2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 212 from /E:/glassfish3/glassfish/modules/scattered-archive
-api.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 213 from /E:/glassfish3/glassfish/modules/schema2beans-repa
ckaged.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 214 from /E:/glassfish3/glassfish/modules/security.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 215 from /E:/glassfish3/glassfish/modules/server-mgmt.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 216 from /E:/glassfish3/glassfish/modules/shoal-cache.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 217 from /E:/glassfish3/glassfish/modules/shoal-gms-api.jar

2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 218 from /E:/glassfish3/glassfish/modules/shoal-gms-impl.ja
r
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 219 from /E:/glassfish3/glassfish/modules/simple-glassfish-
api.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 220 from /E:/glassfish3/glassfish/modules/soap-tcp.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 221 from /E:/glassfish3/glassfish/modules/ssl-impl.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 222 from /E:/glassfish3/glassfish/modules/stats77.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 223 from /E:/glassfish3/glassfish/modules/stax2-api.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 224 from /E:/glassfish3/glassfish/modules/transaction-inter
nal-api.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 225 from /E:/glassfish3/glassfish/modules/trilead-ssh2-repa
ckaged.jar
2001-5-9 18:15:19 BundleProvisioner update
信息: Updated bundle 226 from /E:/glassfish3/glassfish/modules/war-util.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 227 from /E:/glassfish3/glassfish/modules/web-cli.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 228 from /E:/glassfish3/glassfish/modules/web-core.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 229 from /E:/glassfish3/glassfish/modules/web-embed-api.jar

2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 230 from /E:/glassfish3/glassfish/modules/web-embed-impl.ja
r
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 231 from /E:/glassfish3/glassfish/modules/web-glue.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 232 from /E:/glassfish3/glassfish/modules/web-gui-plugin-co
mmon.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 233 from /E:/glassfish3/glassfish/modules/web-ha.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 234 from /E:/glassfish3/glassfish/modules/web-naming.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 235 from /E:/glassfish3/glassfish/modules/websecurity.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 236 from /E:/glassfish3/glassfish/modules/webservices-conne
ctor.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 237 from /E:/glassfish3/glassfish/modules/webservices-extra
-jdk-packages.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 238 from /E:/glassfish3/glassfish/modules/webservices-osgi.
jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 239 from /E:/glassfish3/glassfish/modules/webservices.secur
ity.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 240 from /E:/glassfish3/glassfish/modules/weld-integration-
fragment.jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 241 from /E:/glassfish3/glassfish/modules/weld-integration.
jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 242 from /E:/glassfish3/glassfish/modules/weld-osgi-bundle.
jar
2001-5-9 18:15:20 BundleProvisioner update
信息: Updated bundle 243 from /E:/glassfish3/glassfish/modules/woodstox-core-asl
.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 244 from /E:/glassfish3/glassfish/modules/work-management.j
ar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 245 from /E:/glassfish3/glassfish/modules/autostart/org.apa
che.felix.eventadmin.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 246 from /E:/glassfish3/glassfish/modules/autostart/org.apa
che.felix.scr.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 247 from /E:/glassfish3/glassfish/modules/autostart/osgi-cd
i.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 248 from /E:/glassfish3/glassfish/modules/autostart/osgi-ee
-resources.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 249 from /E:/glassfish3/glassfish/modules/autostart/osgi-ej
b-container.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 250 from /E:/glassfish3/glassfish/modules/autostart/osgi-ht
tp.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 251 from /E:/glassfish3/glassfish/modules/autostart/osgi-ja
vaee-base.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 252 from /E:/glassfish3/glassfish/modules/autostart/osgi-jd
bc.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 253 from /E:/glassfish3/glassfish/modules/autostart/osgi-jp
a.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 254 from /E:/glassfish3/glassfish/modules/autostart/osgi-jt
a.jar
2001-5-9 18:15:21 BundleProvisioner update
信息: Updated bundle 255 from /E:/glassfish3/glassfish/modules/autostart/osgi-we
b-container.jar
2001-5-9 18:15:21 OSGiFrameworkLauncher launchOSGiFrameWork
信息: Updating system bundle
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMa
in.java:97)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
Caused by: org.glassfish.embeddable.GlassFishException: java.lang.IllegalStateEx
ception: Bundle in unexpected state.
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuild
er.build(OSGiGlassFishRuntimeBuilder.java:164)
at org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime
.java:157)
at org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime.
java:110)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(
GlassFishMain.java:112)
... 6 more
Caused by: java.lang.IllegalStateException: Bundle in unexpected state.
at org.apache.felix.framework.Felix.acquireBundleLock(Felix.java:4856)
at org.apache.felix.framework.Felix.start(Felix.java:809)
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuild
er.build(OSGiGlassFishRuntimeBuilder.java:157)
... 9 more
Error stopping framework: java.lang.NullPointerException
java.lang.NullPointerException
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(G
lassFishMain.java:203)

Command start-domain failed.
asadmin>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



 Comments   
Comment by hapinwater [ 09/Jan/14 ]

The detail steps is as follow:
GlassFish could not start if computer's time is set to long before:
1.Install a glassfish(version:3.1.2) on a computer, create a domain domain1.
2.Set computer time to long before current date, such as 1999.10.12 12:30:59
3.Manually delete osgi-cache directory GLASSFISH_HOME\domains\domain1\osgi-cache
4.Then use asadmin to start domain1, start success this time.
5.Stop the domain domain1.
6.Then re start the domain domain1 again, start failured and an Exception throws by Felix.





[GLASSFISH-21313] Ordering of Cipher Suites kills Forward Secrecy with major browsers Created: 23/Feb/15  Updated: 21/Mar/17

Status: Open
Project: glassfish
Component/s: admin, security
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: nabizamani Assignee: gururaja1234
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 14.04 LTS Server x64, java 1.8.0_31 + JCE Unlimited Strength, GlassFish Server Open Source Edition 4.1 (build 13)


Tags: ciper, forward, order,, secrecy, suites,

 Description   

https://community.qualys.com/blogs/securitylabs/2013/06/25/ssl-labs-deploying-forward-secrecy

This is the list of supported cipher suites (when disabling RC4 via JSSE) as received via "asadmin list-supported-cipher-suites" (see below).
As you can see the following cipher suites are nor really "top listed", which means that for major browsers Forward Secrecy is disabled because the selected cipher suite does not support it:

TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
there are some more...

Here is a list of some of the affected browsers:
IE 11 / Win 7 R via TLS 1.2 ==> TLS_RSA_WITH_AES_128_CBC_SHA256
IE 8-10 / Win 7 R via TLS 1.0 ==> TLS_RSA_WITH_AES_128_CBC_SHA

Glassfish should at least allow to change the order of the "server-side" list of supported cipher suites. Furthermore, Java has even introduced an API for listening a little more to "what the client wants", see http://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html :

Cipher Suite Preference:
During TLS handshaking, the client requests to negotiate a cipher suite from a list of cryptographic options that it supports, starting with its first preference. Then, the server selects a single cipher suite from the list of cipher suites requested by the client. Normally, the selection honors the client's preference. However, to mitigate the risks of using weak cipher suites, the server may select cipher suites based on its own preference rather than the client's preference, by invoking the method SSLParameters.setUseCipherSuitesOrder(true).

That means it would also be great to apply SSLParameters.setUseCipherSuitesOrder(bool) via asadmin settings (probably on the http-linteners ssl section).

#####################################################
And here is the complete list of cypher suites (RC4 is disabled):
#####################################################

$ /home/glassfish/bin/asadmin list-supported-cipher-suites
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384
TLS_RSA_WITH_AES_256_CBC_SHA256
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384
TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
TLS_DHE_DSS_WITH_AES_256_CBC_SHA256
TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
TLS_RSA_WITH_AES_256_CBC_SHA
TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA
TLS_ECDH_RSA_WITH_AES_256_CBC_SHA
TLS_DHE_RSA_WITH_AES_256_CBC_SHA
TLS_DHE_DSS_WITH_AES_256_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
TLS_RSA_WITH_AES_128_CBC_SHA256
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256
TLS_DHE_RSA_WITH_AES_128_CBC_SHA256
TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA
TLS_RSA_WITH_AES_128_CBC_SHA
TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA
TLS_ECDH_RSA_WITH_AES_128_CBC_SHA
TLS_DHE_RSA_WITH_AES_128_CBC_SHA
TLS_DHE_DSS_WITH_AES_128_CBC_SHA
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
TLS_DHE_DSS_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
TLS_RSA_WITH_AES_128_GCM_SHA256
TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256
TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
SSL_RSA_WITH_3DES_EDE_CBC_SHA
TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA
TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
TLS_EMPTY_RENEGOTIATION_INFO_SCSV
TLS_DH_anon_WITH_AES_256_GCM_SHA384
TLS_DH_anon_WITH_AES_128_GCM_SHA256
TLS_DH_anon_WITH_AES_256_CBC_SHA256
TLS_ECDH_anon_WITH_AES_256_CBC_SHA
TLS_DH_anon_WITH_AES_256_CBC_SHA
TLS_DH_anon_WITH_AES_128_CBC_SHA256
TLS_ECDH_anon_WITH_AES_128_CBC_SHA
TLS_DH_anon_WITH_AES_128_CBC_SHA
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA
SSL_RSA_WITH_DES_CBC_SHA
SSL_DHE_RSA_WITH_DES_CBC_SHA
SSL_DHE_DSS_WITH_DES_CBC_SHA
SSL_DH_anon_WITH_DES_CBC_SHA
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA
TLS_RSA_WITH_NULL_SHA256
TLS_ECDHE_ECDSA_WITH_NULL_SHA
TLS_ECDHE_RSA_WITH_NULL_SHA
SSL_RSA_WITH_NULL_SHA
TLS_ECDH_ECDSA_WITH_NULL_SHA
TLS_ECDH_RSA_WITH_NULL_SHA
TLS_ECDH_anon_WITH_NULL_SHA
SSL_RSA_WITH_NULL_MD5



 Comments   
Comment by nabizamani [ 23/Feb/15 ]

For example, this would allow forward secrecy in IE on Win 7 (maybe there are better cipher suites that allow forward secrecy and which are supported by the different IE versions):

IE 11 / Win 7 R via TLS 1.2 ==> TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
IE 8-10 / Win 7 R via TLS 1.0 ==> TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA

But unfortunately Glassfish only selects this, which has no Forward Secrecy as I believe to know:

IE 11 / Win 7 R via TLS 1.2 ==> TLS_RSA_WITH_AES_128_CBC_SHA256
IE 8-10 / Win 7 R via TLS 1.0 ==> TLS_RSA_WITH_AES_128_CBC_SHA

Comment by gururaja1234 [ 21/Mar/17 ]

As this change involves admin module adding the admin tag.





[GLASSFISH-21319] javax.inject.jar missing in javaee.jar Created: 27/Feb/15  Updated: 21/Mar/17  Resolved: 21/Mar/17

Status: Closed
Project: glassfish
Component/s: build_system
Affects Version/s: 4.1
Fix Version/s: future release

Type: Bug Priority: Major
Reporter: Romain Grécourt Assignee: rutujay
Resolution: Fixed Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

In the GlassFish lib directory there's a javaee.jar that just contains
a manifest Class-Path header referring to other jar files. It's missing
javax.inject.jar. And it includes weld-osgi-bundle.jar, which has no javax
classes in it.



 Comments   
Comment by rutujay [ 07/Mar/17 ]

In the current trunk/main these jars are present under the Glassfish modules directory. Both the weld-osgi-bundle.jar and and javax.inject.jar are no longer present in manifest Class-Path header. Looks like the felix framework picks them up by default. Is it still needed to add them in the manifest Class-Path header of javaee.jar?

Comment by Romain Grécourt [ 16/Mar/17 ]

javaee.jar is not used at by felix.
It is a manifest jar that provides classpath of the javaee components from the glassfish installation.

Comment by rutujay [ 21/Mar/17 ]

Added javax.inject.jar
Committed revision 64840





[GLASSFISH-21382]  A system exception occurred during an invocation on EJB Created: 27/Jun/15  Updated: 21/Mar/17

Status: In Progress
Project: glassfish
Component/s: ejb_container
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: dyego Assignee: gururaja1234
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux Ubuntu 14 + 5GB of ram + SSD 80GB



 Description   

In my application, randomily i get :

[2015-06-26T20:53:36.645-0300] [glassfish 4.1] [WARNING] [AS-EJB-00056] [javax.enterprise.ejb.container] [tid: _ThreadID=892 _ThreadName=p: thread-pool-1; w: 796] [timeMillis: 1435362816645] [levelValue: 900] [[
A system exception occurred during an invocation on EJB PaisesNacionalidadesRepositoryRJ, method: public us.linkedby.link.selo.entities.RjPaisesnacionalidades us.linkedby.link.selo.service.referenciarj.paisesnacionalidades.PaisesNacionalidadesRepositoryRJ.getRjPaisesnacionalidadesByNomePais(java.lang.String)]]

[2015-06-26T20:53:36.645-0300] [glassfish 4.1] [WARNING] [] [javax.enterprise.ejb.container] [tid: _ThreadID=892 _ThreadName=p: thread-pool-1; w: 796] [timeMillis: 1435362816645] [levelValue: 900] [[

javax.ejb.TransactionRolledbackLocalException: Client's transaction aborted
at com.sun.ejb.containers.EJBContainerTransactionManager.useClientTx(EJBContainerTransactionManager.java:361)
at com.sun.ejb.containers.EJBContainerTransactionManager.preInvokeTx(EJBContainerTransactionManager.java:255)
at com.sun.ejb.containers.BaseContainer.preInvokeTx(BaseContainer.java:4524)
at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1986)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:210)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:88)
at com.sun.proxy.$Proxy337.getRjPaisesnacionalidadesByNomePais(Unknown Source)
at us.linkedby.link.selo.service.referenciarj.paisesnacionalidades._EJB31_GeneratedPaisesNacionalidadesRepositoryRJIntf__Bean_.getRjPaisesnacionalidadesByNomePais(Unknown Source)
at us.linkedby.link.selo.service.referenciarj.paisesnacionalidades.PaisesNacionalidadesServiceRJ.getRjPaisesnacionalidadesCodigoByNomePais(PaisesNacionalidadesServiceRJ.java:69)
at sun.reflect.GeneratedMethodAccessor354.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

But, this occurs if i call 15k times the EJB method... and ocurs in diferents parts of my code...



 Comments   
Comment by dyego [ 27/Jun/15 ]

only in linux, on windows doest occurs

Comment by dyego [ 27/Jun/15 ]

The transaction is maked to rollback in diferent points on execution and this error occurs after that...

If i invoce 10k times the EJB method this not occurs..

11k not occurs...

15k occurs...

help!

Comment by gururaja1234 [ 21/Mar/17 ]

I cannot reproduce this bug can you send me the EAR file that you have used to reproduce this issue this might be a configuration issue.





[GLASSFISH-21308] Support for TLS_FALLBACK_SCSV to prevent downgrade attack Created: 21/Feb/15  Updated: 21/Mar/17  Resolved: 21/Mar/17

Status: Closed
Project: glassfish
Component/s: security
Affects Version/s: 4.1
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: nabizamani Assignee: gururaja1234
Resolution: Fixed Votes: 3
Labels: TLS, security
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 14.04 LTS Server x64, java 1.8.0_31 + JCE Unlimited Strength, GlassFish Server Open Source Edition 4.1 (build 13)


Tags: DoS, glassfish, renegotiation, security, tls

 Description   

see https://community.qualys.com/thread/13896 and especially see
https://datatracker.ietf.org/doc/draft-ietf-tls-downgrade-scsv/



 Comments   
Comment by vahid_shirvani [ 29/Sep/15 ]

My setup is very similar to yours

Ubuntu 14.04 LTS Server x64,
java 1.8.0_60 + JCE Unlimited Strength,
GlassFish Server Open Source Edition 4.1 (build 13)

I even upgraded the OpenSSL to version 1.0.1j but it still didn't solve the issue. The ssllabs test complained.
Accoring to this link https://community.qualys.com/thread/13896 upgrading the Openssl shall solve the issue.

EDIT: Glassfish does not use OpenSSL. Instead it uses the JSSE which has not been patched yet.

Comment by gururaja1234 [ 16/Feb/17 ]

There is a bug in JSSE raised for the similar issue https://bugs.openjdk.java.net/browse/JDK-8061798. As this might be solved by the JDK team we will wait for this bug resolution downgrading the bugs priority from critical to major.

Comment by gururaja1234 [ 21/Mar/17 ]

This has a dependency with jdk8 bug fix mentioned in the comments hence closing the issue.





[GLASSFISH-20338] security devtests ciphertest failures Created: 17/Apr/13  Updated: 21/Mar/17  Resolved: 21/Mar/17

Status: Closed
Project: glassfish
Component/s: security
Affects Version/s: 4.0
Fix Version/s: future release

Type: Bug Priority: Major
Reporter: Craig Perez Assignee: gururaja1234
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

security-devtests-trunk



 Description   

Disabled tests for ciphers:

  • SSL_RSA_WITH_DES_CBC_SHA
  • SSL_RSA_EXPORT_WITH_RC4_40_MD5

Use of -Dsun.security.ssl.allowUnsafeRenegotiation=true no impact both server and client side



 Comments   
Comment by gururaja1234 [ 21/Mar/17 ]

This is not a bug and these ciphers are no more valid from jdk 8 onwards.

Comment by gururaja1234 [ 21/Mar/17 ]

These ciphers are disabled in jdk8 and these tests are not valid.
these tests will be replaced by adding a newer version of ciphers that have been added lately.





[GLASSFISH-21535] The result of EntityManager.find() is not managed Created: 14/Apr/16  Updated: 21/Mar/17

Status: In Progress
Project: glassfish
Component/s: entity-persistence
Affects Version/s: 4.1, 4.1.1
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: nabizamani Assignee: gururaja1234
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
@Path("/employees")
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
//@Stateless    //we can't use this because of bug in Glassfish 4.1, see http://stackoverflow.com/questions/25879898/glassfish-4-1-cant-run-restful-service-when-using-ear-ejb-web-module
@RequestScoped  //this is a workaround that works for us
public class Employees {
    
	@PersistenceContext(unitName = "myPU")
    private EntityManager em;
    
    @PUT
    @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
    @Path("/{empId}")
    public Response updateEmployeeFirstName(@NotNull @PathParam("empId") Long empId, @PathParam("firstName") String firstName) throws ParseException, JOSEException {
        Employee emp = em.find(Employee.class, empId);
    	if(emp != null){
    		System.out.println("em.contains(emp) ==> " + em.contains(emp)); //always false
    		emp.setFirstName(firstName);
    		//em.merge(emp);	//because emp is not managed this would be a workaround

    		//...
    	}else{
    		return Response.status(Status.NOT_FOUND).build();
    	}
    }
   
}

This issue is somehow related to https://java.net/jira/browse/GLASSFISH-20968, which is flagged as resolved - but that's false!

Dear Oracle team,
There are many GF issues open and many of the have a very high priority - these issues make GF even incompatible to the Java EE 7 spec!! Any other Java EE 7 server would have never been "certified" with all theses issues, especially because these issues break the Java EE 7 spec! Like another person mentioned in the other ticket "I still wonder if the TCK is so weak with regard to extended persistence context, or glassfish 4 was only declared passing it." How can this happen?

This issue is a blocker as it is breaking Java EE compliance! Furthermore, people who want to learn JPA, Java EE etc. will be confused a lot and might get a wrong impression of Java EE!



 Comments   
Comment by nabizamani [ 14/Apr/16 ]

Also see http://stackoverflow.com/questions/21356448/jpa-entity-found-by-find-in-a-stateful-ejb-extended-is-not-managed

Comment by nabizamani [ 14/Apr/16 ]

Little mistake: the parameter firstName does not come from @PathParam("firstName"). Instead it comes from a FormParam...

Comment by gururaja1234 [ 21/Mar/17 ]

can you send me the war archive so that I can reproduce the issue.





[GLASSFISH-21486] Invoking a query in extended persistence context outside transaction clears it Created: 22/Jan/16  Updated: 21/Mar/17

Status: In Progress
Project: glassfish
Component/s: entity-persistence
Affects Version/s: 4.0, 4.1, 4.1.1
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: pdudits Assignee: gururaja1234
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

JDK 7 and JDK 8



 Description   

Entity gets detached after invocation of Query.getResultList within extended persistence context and @TransactionAttribute(NOT_SUPPORTED).

This violates JPA 2.1 spec basically in every section that refers to extended persistence context and managed state of entities: §3.1.1, §3.3, §3.3.1, §3.3.2, §3.10. and so on.

Example projects demonstrating this on embedded glassfish will be attached as soon as an issue number is assigned to this.



 Comments   
Comment by pdudits [ 22/Jan/16 ]

Test case is available at https://github.com/pdudits/GLASSFISH-21486.

Fails on Glassfish since v4, also on all Payara. Works with glassfish 3.1.2.2.

Comment by pdudits [ 25/Jan/16 ]

This bug is caused by GLASSFISH-19544:

There is explicit entityManagerDelegate.clear(); in QueryWrapper.getResultList, which is instantiated in EntityManagerWrapper, that disregards whether the current persistence context is an extended one.

Comment by pdudits [ 25/Jan/16 ]

GLASSFISH-20968 was similar issue with likely the same fix - wrapper cannot only decide on the fact if transaction is present, but also that context type is transactional.

Comment by pdudits [ 25/Jan/16 ]

Fix submitted to Payara under https://github.com/payara/Payara/pull/617. I've got CLA for glassfish signed as well, feel free to apply the patch.





[GLASSFISH-21409] Encoding mapping key search error Created: 07/Aug/15  Updated: 20/Mar/17  Resolved: 20/Mar/17

Status: Closed
Project: glassfish
Component/s: web_container
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: mahairod Assignee: Kokil_Jain
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux Fedora 22, jdk8, glassfish-4.1, LC_NAME="ru_RU.UTF-8"


Tags: config, encoding, wait

 Description   

Method getCharset of class org.apache.catalina.util.CharsetMapper does mot recognise locale string if it consists of parts separated by "-". As a result <locale-encoding-mapping-list> setting of web.xml is not working properly.



 Comments   
Comment by Kokil_Jain [ 17/Feb/17 ]

I am unable to reproduce the bug.
Can you please provide with the exact steps to reproduce the bug and also the sample application ?

Comment by mahairod [ 17/Feb/17 ]

it;s enough to place encoding mappings tio web.xml of any webapp and deploy it

Comment by Kokil_Jain [ 20/Mar/17 ]

Fixed by r64830





[GLASSFISH-21256] Debug not shown correctly on General Information in the admin console Created: 15/Nov/14  Updated: 20/Mar/17  Resolved: 20/Mar/17

Status: Closed
Project: glassfish
Component/s: admin
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: smillidge-c2b2 Assignee: Kokil_Jain
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When looking at the General Information of a stand alone instance or the DAS the Debug setting is not shown correctly if Debug is enabled in the JVM settings but not on the command line.



 Comments   
Comment by smillidge-c2b2 [ 15/Nov/14 ]

This Payara commit fixes the issue

https://github.com/payara/Payara/commit/cd27e368cd8b2de196f21d1c7fe47d4497487bec

Comment by Kokil_Jain [ 20/Mar/17 ]

Fixed by r64829





[GLASSFISH-21652] ConnectionQueueStatsProvider.java#onTaskQueuedEvent is not counted correctly when there exists plural acceptor threads Created: 26/Dec/16  Updated: 20/Mar/17  Resolved: 20/Mar/17

Status: Resolved
Project: glassfish
Component/s: monitoring, web_container
Affects Version/s: 3.1.2.2, 4.1, 4.1.1, 5.0
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: yama0428 Assignee: Vinay Vishal
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

ConnectionQueueStatsProvider#onTaskQueuedEvent is not counted correctly when there exists plural acceptor threads.
This is because peakQueuedAtomic.compareAndSet and peakQueued.setCount are not atomic.

This is the patch for this problem.

ConnectionQueueStatsProvider.java
    @ProbeListener("glassfish:kernel:connection-queue:onTaskQueuedEvent")
    public void onTaskQueuedEvent(
            @ProbeParam("listenerName") String listenerName,
            @ProbeParam("task") String taskId) {
        if (name.equals(listenerName)) {
            final int queued = countQueuedAtomic.incrementAndGet();
            countQueued.setCount(queued);

            do {
                final int peakQueue = peakQueuedAtomic.get();
                if (queued <= peakQueue) break;

                synchronized(peakQueuedAtomic) {
                    if (peakQueuedAtomic.compareAndSet(peakQueue, queued)) {
                        peakQueued.setCount(peakQueuedAtomic.get());
                        break;
                    }
                }
            } while (true);

            countTotalQueued.increment();

            incAverageMinute();
        }
    }


 Comments   
Comment by Vinay Vishal [ 16/Jan/17 ]

AtomicInteger is inherently thread safe. Hence, I believe there is no need of synchronization here. In case of multiple acceptor threads, it may be possible that a request has been put in the connection queue by another thread and onTaskQueuedEvent gets called, which probably could have changed the value of peakQueueAtomic and hence out of three fields being set when onTaskQueuedEvent gets called, there is a possibility that peakQueued may have the stale value, since the value stored in "queued " local variable gets set for this field which might would have got changed in interim. Other two fields namely "countQueued" and "countTotalQueued" will have the correct values. We probably can just make this change:

peakQueued.setCount(peakQueuedAtomic.get());

Do you have a test case? If so, can you please provide the same?

Comment by yama0428 [ 17/Jan/17 ]

Assume that two requests are sent simultaneously.

ConnectionQueueStatsProvider.java
    public void onTaskQueuedEvent(
            @ProbeParam("listenerName") String listenerName,
            @ProbeParam("task") String taskId) {
        if (name.equals(listenerName)) {
            final int queued = countQueuedAtomic.incrementAndGet();       //code 1
            countQueued.setCount(queued);                                 //code 2

            do {
                final int peakQueue = peakQueuedAtomic.get();             //code 3
                if (queued <= peakQueue) break;                           //code 4

                if (peakQueuedAtomic.compareAndSet(peakQueue, queued)) {  //code 5
                    peakQueued.setCount(queued);                          //code 6
                    break;
                }
            } while (true);                                               //code 7

            countTotalQueued.increment();

            incAverageMinute();
        }
    }
step thread1 thread2 peakQueuedAtomic peakQueued
1 code1. queued : 1 - 0 0
2 code2. countQueued : 1 - 0 0
3 code3. peakQueue : 0 - 0 0
4 code4. queued <= peakQueue : false - 0 0
5 - code1. queued : 2 0 0
6 - code2. countQueued : 2 0 0
7 - code3. peakQueue : 0 0 0
8 - code4. queued <= peakQueue : false 0 0
9 code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true - 0->1 0
10 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : false 1 0
11 - code7. 1 0
12 - code3. peakQueue : 1 1 0
13 - code4. queued <= peakQueue : false 1 0
14 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 1->2 0
15 - code6. peakQueued : 2(value of "queued" in thread2 is set) 2 0->2
16 code6. peakQueued :1(value of "queued" in thread1 is set) - 2 2->1

In this case, at step 16, old value is set to peakQueued.

Even if code 6 is the following code,

peakQueued.setCount(peakQueuedAtomic.get());

peakQueued may be old value by the following case.

ConnectionQueueStatsProvider.java (code 6 is changed)
    public void onTaskQueuedEvent(
            @ProbeParam("listenerName") String listenerName,
            @ProbeParam("task") String taskId) {
        if (name.equals(listenerName)) {
            final int queued = countQueuedAtomic.incrementAndGet();       //code 1
            countQueued.setCount(queued);                                 //code 2

            do {
                final int peakQueue = peakQueuedAtomic.get();             //code 3
                if (queued <= peakQueue) break;                           //code 4

                if (peakQueuedAtomic.compareAndSet(peakQueue, queued)) {  //code 5
                    peakQueued.setCount(peakQueuedAtomic.get());          //code 6'
                    break;
                }
            } while (true);                                               //code 7

            countTotalQueued.increment();

            incAverageMinute();
        }
    }
step thread1 thread2 peakQueuedAtomic peakQueued
1 code1. queued : 1 - 0 0
2 code2. countQueued : 1 - 0 0
3 code3. peakQueue : 0 - 0 0
4 code4. queued <= peakQueue : false - 0 0
5 - code1. queued : 2 0 0
6 - code2. countQueued : 2 0 0
7 - code3. peakQueue : 0 0 0
8 - code4. queued <= peakQueue : false 0 0
9 code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true - 0->1 0
10 code6'-1. peakQueuedAtomic.get() : 1 - 1 0
11 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : false 1 0
12 - code7. 1 0
13 - code3. peakQueue : 1 1 0
14 - code4. queued <= peakQueue : false 1 0
15 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 1->2 0
16 - code6'-1. peakQueuedAtomic.get() : 2 2 0
17 - code6'-2. peakQueued.setCount : 2(value of step 16 is set) 2 0->2
18 code6'-2. peakQueued.setCount : 1(value of step 10 is set) - 2 2->1

I think "peakQueuedAtomic.get()" and "peakQueued.setCount" are not atomic(step 10 - step 18).
So synchronized block is needed.

Comment by Vinay Vishal [ 27/Jan/17 ]

Hi, The scenario got simulated and indeed there is an issue. The proposed solution works fine, but I guess we just need to synchronize peakQueued.setCount(peakQueuedAtomic.get());, so that it gets executed as one atomic operation:

Below is the comparison between the two approaches. As we can see just synchronizing peakQueued.setCount(peakQueuedAtomic.get());, will solve the problem.

Approach 1:

ConnectionQueueStatsProvider.java
        @ProbeListener("glassfish:kernel:connection-queue:onTaskQueuedEvent")
    public void onTaskQueuedEvent(
            @ProbeParam("listenerName") String listenerName,
            @ProbeParam("task") String taskId) {
        if (name.equals(listenerName)) {
            final int queued = countQueuedAtomic.incrementAndGet();         // code 1
            countQueued.setCount(queued);                                   // code 2

            do {
                final int peakQueue = peakQueuedAtomic.get();               // code 3
                if (queued <= peakQueue) break;                             // code 4

                synchronized (peakQueuedAtomic) {                           // code 5
                    if (peakQueuedAtomic.compareAndSet(peakQueue, queued)) {// code 6
                        peakQueued.setCount(peakQueuedAtomic.get());        // code 7
                        break;
                    }
                }
            } while (true);                                                 // code 8

            countTotalQueued.increment();

            incAverageMinute();
        }
    }
step thread1 thread2 countQueuedAtomic countQueued peakQueuedAtomic peakQueued
1 code1. queued : 1 - 1 0 0 0
2 code2. - 1 1 0 0
3 code3. peakQueue : 0 - 1 1 0 0
4 code4. queued <= peakQueue : false - 1 1 0 0
5 - code1. queued : 2 2 1 0 0
6 - code2. 2 2 0 0
7 - code3. peakQueue : 0 2 2 0 0
8 - code4. queued <= peakQueue : false 2 2 0 0
9 - code5. Acquires lock 2 2 0 0
10 - code6. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 2 2 0->2 0
11 - code7. 2 2 2 2
12 code 5. Acquires lock - 2 2 2 2
13 code6. peakQueuedAtomic.compareAndSet(peakQueue, queued) : false - 2 2 2 2

Approach 2:

ConnectionQueueStatsProvider.java
        @ProbeListener("glassfish:kernel:connection-queue:onTaskQueuedEvent")
    public void onTaskQueuedEvent(
            @ProbeParam("listenerName") String listenerName,
            @ProbeParam("task") String taskId) {
        if (name.equals(listenerName)) {
            final int queued = countQueuedAtomic.incrementAndGet();         // code 1
            countQueued.setCount(queued);                                   // code 2

            do {
                final int peakQueue = peakQueuedAtomic.get();               // code 3
                if (queued <= peakQueue) break;                             // code 4


                    if (peakQueuedAtomic.compareAndSet(peakQueue, queued)) {// code 5
                synchronized (peakQueuedAtomic) {                           // code 6
                        peakQueued.setCount(peakQueuedAtomic.get());        // code 7
                        break;
                    }
                }
            } while (true);                                                 // code 8

            countTotalQueued.increment();

            incAverageMinute();
        }
    }

Execution 1

step thread1 thread2 countQueuedAtomic countQueued peakQueuedAtomic peakQueued
1 code1. queued : 1 - 1 0 0 0
2 code2. - 1 1 0 0
3 code3. peakQueue : 0 - 1 1 0 0
4 code4. queued <= peakQueue : false - 1 1 0 0
5 - code1. queued : 2 2 1 0 0
6 - code2. 2 2 0 0
7 - code3. peakQueue : 0 2 2 0 0
8 - code4. queued <= peakQueue : false 2 2 0 0
9 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 2 2 0->2 0
10 - code6. Acquires lock 2 2 2 0
11 - code7. 2 2 2 2
12 code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : false - 2 2 2 2

Execution 2

step thread1 thread2 countQueuedAtomic countQueued peakQueuedAtomic peakQueued
1 code1. queued : 1 - 1 0 0 0
2 code2. - 1 1 0 0
3 code3. peakQueue : 0 - 1 1 0 0
4 code4. queued <= peakQueue : false - 1 1 0 0
5 - code1. queued : 2 2 1 0 0
6 - code2. 2 2 0 0
7 - code3. peakQueue : 0 2 2 0 0
8 - code4. queued <= peakQueue : false 2 2 0 0
9 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 2 2 0->2 0
10 code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : false - 2 2 2 0
11 - code6. Acquires lock 2 2 2 0
12 - code7. 2 2 2 2

Execution 3

step thread1 thread2 countQueuedAtomic countQueued peakQueuedAtomic peakQueued
1 code1. queued : 1 - 1 0 0 0
2 code2. - 1 1 0 0
3 code3. peakQueue : 0 - 1 1 0 0
4 code4. queued <= peakQueue : false - 1 1 0 0
5 - code1. queued : 2 2 1 0 0
6 - code2. 2 2 0 0
7 - code3. peakQueue : 0 2 2 0 0
8 - code4. queued <= peakQueue : false 2 2 0 0
9 code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true - 2 2 0->1 0
10 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : false 2 2 1 0
11 code6. Acquires lock - 2 2 1 0
12 code7. - 2 2 1 1
13 - code8. true 2 2 1 1
14 - code3. peakQueue: 1 2 2 1 1
15 - code4. queued <=peakQueue: false 2 2 1 1
16 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 2 2 1 -> 2 0
17 - code 6. Acquires lock 2 2 2 0
18 - code 7. 2 2 2 0->2

Execution 4

step thread1 thread2 countQueuedAtomic countQueued peakQueuedAtomic peakQueued
1 code1. queued : 1 - 1 0 0 0
2 code2. - 1 1 0 0
3 code3. peakQueue : 0 - 1 1 0 0
4 code4. queued <= peakQueue : false - 1 1 0 0
5 - code1. queued : 2 2 1 0 0
6 - code2. 2 2 0 0
7 - code3. peakQueue : 0 2 2 0 0
8 - code4. queued <= peakQueue : false 2 2 0 0
9 code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true - 2 2 0->1 0
10 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : false 2 2 1 0
11 - code8. true 2 2 1 1
12 - code3. peakQueue: 1 2 2 1 1
13 - code4. queued <=peakQueue: false 2 2 1 1
14 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 2 2 1 -> 2 0
15 - code 6. Acquires lock 2 2 2 0
16 - code 7 2 2 2 0->2
17 code 6. Acquires lock - 2 2 2 2
18 code7. - 2 2 2 2-> 2

Apart from the issue related to peakQueued, there is an issue with countQueued too.

Following scenario highlights the problem:

Execution 5

step thread1 thread2 countQueuedAtomic countQueued peakQueuedAtomic peakQueued
1 code1. queued : 1 - 1 0 0 0
2 - code1. queued : 2 2 0 0 0
3 - code2. 2 2 0 0
4 - code3. peakQueue : 0 2 2 0 0
5 - code4. queued <= peakQueue : false 2 2 0 0
6 - code5. peakQueuedAtomic.compareAndSet(peakQueue, queued) : true 2 2 0->2 0
7 - code 6. Acquires lock 2 2 2 0
8 - code 7. 2 2 2 0->2
9 code2. - 2 2-> 1 2 2
10 code3. peakQueue : 2 - 2 1 2 2
11 code4. queued <= peakQueue : true - 2 1 2 2

As it can be seen in this last scenario, where there are two events actually queued, countQueued gets set to 1 incorrectly.

I will be fixing both these issues. I would also like to highlight that AtomicInteger.get() is an atomic operation and would always fetch the latest value.

Comment by Vinay Vishal [ 20/Mar/17 ]

Sending nucleus/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/stats/ConnectionQueueStatsProvider.java
Transmitting file data .
Committed revision 64827.





[GLASSFISH-21260] Cannot start instance on working cluster Created: 26/Nov/14  Updated: 20/Mar/17

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: dungld Assignee: pranjal.sahay
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Glassfish 4.1 b13
Java 7 update 51 64bit
debian 7.5 64bit



 Description   

I built a Glassfish cluster work properly. It has 3 machine

  • 1 machine for DAS
  • 2 machines for SSH nodes.

SSH nodes are configured to connect database via Connection Pool

When I start the cluster from new, everything work well.

But when I stop 1 instance, and restart it, it take too long time to start and cannot work properly (it cannot auto run webapps are deployed).

I viewed log file on that instance, and found the last section:

[2014-11-26T15:57:21.217+0700] [glassfish 4.1] [INFO] [] [org.eclipse.persistence.session.file:/home/gbsofts/glassfish4/glassfish/nodes/gbweb1node/gbweb1instance/applications/gbear/gbeejb_jar/_gbePU] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1416992190038] [timeMillis: 1416992241217] [levelValue: 800] [[
EclipseLink, version: Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd]]

Every time I restart instance, it stop at this section.

What happen with this, Glassfish or EclipseLink or anything else?



 Comments   
Comment by davidwinters1980 [ 26/Nov/14 ]

Hi,

Could you take a stack trace after you have restarted the instance whereby the instance appears to hang? Also have you any ejb timer based applications deployed to the cluster?

Thanks,
David

Comment by dungld [ 26/Nov/14 ]

I stack trace glassfish at the hang moment as your request.

Please download here: https://drive.google.com/file/d/0B30EeVPAcvhvejJwRS1kVzZYR1E/view

They are 2 files:
stacktrace_1.log : data at the hang point appears
stacktrace_2.log: data after 5 minute when the hang appear

I don't use any EJB Timer on my application.

Thank you for support!

Comment by davidwinters1980 [ 26/Nov/14 ]

Hi,

Based on the stack traces you sent forward, this issue appears to be the same as https://java.net/jira/browse/GLASSFISH-21175

If you do not require XA transactions to be recovered on GF startup then disabling automatic recovery on the transaction manager should resolve this issue. This issue is a result of transaction recovery until to finish completely when GF starts up since there are other XA resources which are in use by other containers/services at server start up time. As a result the transaction recovery thread sits in a wait() indefinitely.

I have provided a patch for this in the jira above but it has not been merged into trunk however we have integrated a patch for this issue on Payara 4.1.144 which can be found here: http://www.payara.co.uk/downloads

If you wish to test with Payara and let us know if that helps.

Comment by davidwinters1980 [ 26/Nov/14 ]

Payara 4.1.144 commit: https://github.com/payara/Payara/commit/9e287e47b7ae18f571e8bb3adacae2b453082758

Comment by dungld [ 27/Nov/14 ]

Thank you for your comment. I disabled automatic recovery feature and that issue disappears. I have few question about this bug:
1. Why don’t Glassfish team fix this bug when receive your code?
2. Is Payara a clone of Glassfish? If Glassfish fix some bugs or improve new features, does Payara also do that?

Comment by pranjal.sahay [ 09/Mar/17 ]

Hi,

I am unable to reproduce this bug. Is this issue still being seen? If yes, which version?





[GLASSFISH-21388] NullPointerException at org.apache.jasper.compiler.TagLibraryInfoImpl.toString Created: 08/Jul/15  Updated: 20/Mar/17

Status: Open
Project: glassfish
Component/s: web_container
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Cai_Ming Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issuezilla Id: 21,388
Tags: <validator>, TLD

 Description   

When I accessed my applicaton,I've got such error message:
<pre>
--------------------------------
[#|2015-07-07T11:22:40.765+0800|WARNING|glassfish3.1.2|javax.enterprise.system.container.web.com.sun.enterprise.web._vs.server|_ThreadID=131;_ThreadName=Thread-27;|ApplicationDispatcher[/sample]
PWC1231: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jasper.compiler.TagLibraryInfoImpl.toString(TagLibraryInfoImpl.java:129)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at java.util.AbstractMap.toString(AbstractMap.java:490)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuffer.append(StringBuffer.java:219)
at org.apache.jsp.request_jsp._jspService(request_jsp.java from :68)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
--------------------------------
</pre>
The following is the coding of the org.apache.jasper.compiler.TagLibraryInfoImpl.toString.
<pre>
--------------------------------
public String toString()

{ StringWriter sw = new StringWriter(); PrintWriter out = new PrintWriter(sw); print("tlibversion", tlibversion, out); print("jspversion", jspversion, out); print("shortname", shortname, out); print("urn", urn, out); print("info", info, out); print("uri", uri, out); LINRE129 print("tagLibraryValidator", tagLibraryValidator.toString(), out); for(int i = 0; i < tags.length; i++) out.println(tags[i].toString()); for(int i = 0; i < tagFiles.length; i++) out.println(tagFiles[i].toString()); for(int i = 0; i < functions.length; i++) out.println(functions[i].toString()); return sw.toString(); }

--------------------------------
</pre>
LINRE129 is the place where the NullPointerException happened.
In my application,the element of <validator> is not defined in the TLD file.

as we know,if we don't want to test the TagLibrary,
there is no necessary to define the element of <validator>.

So,the phenomenon is a glassfish internal bug?

For this problem,Tomcat modified.
The following is modified details.
https://svn.apache.org/viewvc?view=revision&revision=306188

So, the LINRE129 should also be modified to
[print("tagLibraryValidator", "" + tagLibraryValidator, out);] in the glassfish?
</pre>






[GLASSFISH-21365] No content from web application without web.xml Created: 27/May/15  Updated: 20/Mar/17

Status: Open
Project: glassfish
Component/s: deployment
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: petrhejl Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

1) download GF 4.1 and unzip it
2) cd glassfish4/glassfish/bin
3) ./asadmin
4) start-domain
5) change-admin-password (configure admin password to glassfish)
6) enable-secure-admin
7) stop-domain
8) start-domain
9) deploy the simplest Java EE 7 app without any descriptor (web.xml) - for example: curl -v --insecure --user admin:glassfish https://127.0.0.1:4848/__asadmin/deploy?DEFAULT=/home/petr/NetBeansProjects/WebApplication1/dist/WebApplication1.war\&force=true\&name=WebApplication1\&contextroot=/WebApplication1
10) Access the aplication: curl -v http://localhost:8080/WebApplication1/
11) No content:
< HTTP/1.1 200 OK

  • Server GlassFish Server Open Source Edition 4.1 is not blacklisted
    < Server: GlassFish Server Open Source Edition 4.1
    < X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition 4.1 Java/Oracle Corporation/1.7)
    < Date: Wed, 27 May 2015 12:34:43 GMT
    < Content-Length: 0

In the server log:
WEB9100: No WebSecurityManager found for context WebApplication1/WebApplication1

The issue persists until the deployment of the first app containing web.xml.



 Comments   
Comment by lprimak [ 04/Jan/17 ]

Will be solved by Payara as part of https://github.com/payara/Payara/issues/1070





[GLASSFISH-21676] From time to time auto-deployed directory is empty (...\generated\jsp\x.y.z) Created: 14/Feb/17  Updated: 20/Mar/17

Status: Open
Project: glassfish
Component/s: deployment
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: michal.gawin Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10



 Description   

I'm deploying 3 wars.
All are in autodeploy directory and .autodeploystatus directory indicates that all 3 were deployed.
Folder applications also has them unpacked.
But the problem is with directory generated were one war has directory which is empty.

Removing appropriate file from .autodeploystatus redeploy it properly (in folder generated\jsp is directory with files).



 Comments   
Comment by michal.gawin [ 14/Feb/17 ]

Attempt to connect returns 403.

Server logs:

[#|2017-02-13T13:47:06.970+0100|INFO|glassfish 4.0|javax.enterprise.system.core.security|_ThreadID=26;_ThreadName=http-listener-1(5);_TimeMillis=1486990026970;_LevelValue=800;|
JACC Policy Provider: Failed Permission Check, context(x.y.z/x_y_z)- permission(("javax.security.jacc.WebUserDataPermission" "/index.jsp" "GET"))|#]
Comment by michal.gawin [ 14/Feb/17 ]

Status code 403 is related with granted.policy which is empty.
If war will be redeployed (see steps from description) this file will have defined some rules.





[GLASSFISH-21533] The WAR file working in Tomcat server is not working in Glassfish 4.0 Created: 12/Apr/16  Updated: 20/Mar/17

Status: In Progress
Project: glassfish
Component/s: admin, deployment
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Hari92 Assignee: Vinay Vishal
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: 1 week
Time Spent: Not Specified
Original Estimate: 1 week
Environment:

java 1.8



 Description   

[2016-04-13T00:02:23.156+0530] [glassfish 4.0] [SEVERE] [NCLS-ADMIN-00011] [javax.enterprise.system.tools.admin.security.authorization] [tid: _ThreadID=37 _ThreadName=admin-listener(4)] [timeMillis: 1460485943156] [levelValue: 1000] [[
An unexpected exception occurred.
java.lang.RuntimeException: java.lang.NullPointerException
at org.glassfish.deployment.admin.DeployCommand.preAuthorization(DeployCommand.java:314)
at com.sun.enterprise.admin.util.CommandSecurityChecker$1.run(CommandSecurityChecker.java:187)
at com.sun.enterprise.admin.util.CommandSecurityChecker$1.run(CommandSecurityChecker.java:183)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:360)
at com.sun.enterprise.admin.util.CommandSecurityChecker.authorize(CommandSecurityChecker.java:183)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1203)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
at org.glassfish.admin.rest.resources.admin.CommandResource.executeCommand(CommandResource.java:396)
at org.glassfish.admin.rest.resources.admin.CommandResource.execCommandSimpInMultOut(CommandResource.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:125)
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:91)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:346)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:341)
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:101)
at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:224)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:198)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:946)
at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:331)
at org.glassfish.admin.rest.adapter.JerseyContainerCommandService$3.service(JerseyContainerCommandService.java:165)
at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:181)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:191)
at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:168)
at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:189)
at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:288)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:206)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:136)
at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:114)
at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:838)
at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:113)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:564)
at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:544)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$ArchiveJarEntrySource.<init>(InputJarArchive.java:581)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$ArchiveJarEntrySource.<init>(InputJarArchive.java:573)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.createEntryEnumeration(InputJarArchive.java:451)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.entries(InputJarArchive.java:203)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.access$100(InputJarArchive.java:74)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$1.enumeration(InputJarArchive.java:166)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$CollectionWrappedEnumeration.<init>(InputJarArchive.java:724)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.getDirectories(InputJarArchive.java:161)
at org.glassfish.javaee.full.deployment.EarDetector.isEARFromIntrospecting(EarDetector.java:142)
at org.glassfish.javaee.full.deployment.EarDetector.handles(EarDetector.java:110)
at com.sun.enterprise.v3.server.ApplicationLifecycle.getArchiveHandler(ApplicationLifecycle.java:211)
at org.glassfish.deployment.admin.DeployCommand.preAuthorization(DeployCommand.java:246)
... 52 more
]]



 Comments   
Comment by Vinay Vishal [ 28/Dec/16 ]

can you please share the sample applicaton.

Comment by Vinay Vishal [ 20/Jan/17 ]

As per the stacktrace,java.lang.NullPointerException is being thrown while trying to initialize InputJarArchive$ArchiveJarEntrySource.
The exception trace snippet:

Caused by: java.lang.NullPointerException
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$ArchiveJarEntrySource.<init>(InputJarArchive.java:581)
at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$ArchiveJarEntrySource.<init>(InputJarArchive.java:573)

Here is the piece of code which results in exception (pointed with an arrow):

InputJarArchive$ArchiveJarEntrySource
:
 private ArchiveJarEntrySource(final URI archiveURI) throws IOException {
           sourceJarFile = getJarFile(archiveURI); <--
            jarEntries = sourceJarFile.entries();
        }

This is happening because during deployment glassfish is unable to get the war file location. Can you ensure that there are no file permission issues or if file is available at the specified location in first place? As I am unable to reproduce it with the sample application I have built, it would be great if you can share the application that failed to get deployed.

You may also like to try the latest released version which is 4.1.1 and see if problem still exists.

Tested with:
GlassFish Server Open Source Edition 4.0 (build 89)
java version "1.8.0_65"





[GLASSFISH-21554] Undepoyment fails with message "Application not registered" Created: 29/Jul/16  Updated: 20/Mar/17

Status: Open
Project: glassfish
Component/s: deployment
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: shimano-a Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Undepoyment fails with message "Application not registered" under certain conditions.

[Case 1]
After deploying an application that fails to be loaded on a server instance, undeployment fails.
How to reproduce:
1. asadmin create-local-instance i1
2. asadmin start-local-instance i1
3. asadmin deploy --target i1 hello.war
--------
Application deployed with name hello.
Warning: Command _deploy did not complete successfully on server instance i1: remote failure: Failed to load the application on instance i1. The application will not run properly. Please fix your application and redeploy.
Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException: java.lang.RuntimeException: HelloServlet. Please see server.log for more details.
Command deploy completed with warnings.
--------
4. asadmin undeploy --target i1 hello
--------
hello disabled failed
An error occurred during replication
Failure: Command disable failed on server instance i1: remote failure: Application not registered
Command undeploy executed successfully.
--------
Step 4 fails.

[case 2]
After deploying an application to domain, undeployment fails.
How to reproduce:
1. asadmin deploy --target domain hello.war
2. asadmin restart-domain
3. asadmin undeploy --target domain hello
--------
hello disabled failed
Application not registered
Command undeploy executed successfully.
--------
Stpe 3 fails.

This problem seems to be introduced by r48518.
--------
— ApplicationLifecycle.java (revision 48517)
+++ ApplicationLifecycle.java (revision 48518)
@@ -1950,13 +1967,17 @@
public void disable(UndeployCommandParameters commandParams,
Application app, ApplicationInfo appInfo, ActionReport report,
Logger logger) throws Exception {

  • // if the application is not loaded, do not unload
  • if (domain.isCurrentInstanceMatchingTarget(commandParams.target, commandParams.name, server.getName(), null)) {
  • if (appInfo == null || !appInfo.isLoaded()) { - return; - }

    + if (appInfo == null)

    { + report.failure(logger, "Application not registered", null); + return; }

    --------

This can be fixed by the following modification.


public void disable(UndeployCommandParameters commandParams,
Application app, ApplicationInfo appInfo, ActionReport report,
Logger logger) throws Exception {
if (appInfo == null)

{ - report.failure(logger, "Application not registered", null); return; }





[GLASSFISH-21279] Application deployed failed, but application is deployed and alive Created: 25/Dec/14  Updated: 20/Mar/17

Status: Open
Project: glassfish
Component/s: deployment
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: mtomasek Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7 64-bit
Java JDK 1.7.0_45 64-bit



 Description   

Hi, I have war application, which used restEasy library to build rest interface. When I want to try deploy application via asadmin, then error message is shown:

remote failure: Request failed
Command deploy failed.

Step to reproduce
1. Download latest GlassFish version https://glassfish.java.net/download.html
2. Download war file from https://github.com/tomasma5/AFSwinx/blob/master/ExecutableArtifacts/AFServer.war or you can buy war file when you will clone repository and in root make: mvn clean install
3. Navigate to GlassFish directory to bin and type:
asadmin
start-domain domain1
deploy PATH_TO_APPLICATION
4. Deploy failed. Go to http://localhost:8080/AFServer and application is alive moreover you can try use web api on http://localhost:8080/AFServer/rest/country/list content-type:application/json method get
5. Running instance is freeze asadmin cant stop domain or shown you deployed application via list-applications command. Admin console on port 4848 is not working now. It helps when application is removed manually from applications folder.

Error log could be download here
This war works fine on GlassFish 3.1.2.

Sample from error log:

  An error occurred while processing the request. Please see the server logs for details.
org.glassfish.jersey.server.ContainerException: java.lang.AbstractMethodError: javax.ws.rs.core.Response.getStatusInfo()Ljavax/ws/rs/core/Response$StatusType;
	at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer$ResponseWriter.rethrow(GrizzlyHttpContainer.java:317)
	at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer$ResponseWriter.failure(GrizzlyHttpContainer.java:299)
	at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:439)
	at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:277)


 Comments   
Comment by rutujay [ 15/Mar/17 ]

On accessing http://localhost:8080/AFServer/rest/country/list using Postman, setting content-type:application/json and method get, I get a 505 internal server error with an exception org.jboss.resteasy.spi.UnhandledException: java.util.NoSuchElementException. Do you get the same?

Comment by rutujay [ 16/Mar/17 ]

Which jdk version do you use with Glassfish 3.1.2 ?





[GLASSFISH-21641] Spring Boot crash down admin console & server Created: 16/Dec/16  Updated: 20/Mar/17

Status: In Progress
Project: glassfish
Component/s: deployment
Affects Version/s: 4.1.1
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: pnowy Assignee: Vinay Vishal
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows 10



 Description   

There is a blocker problem with the SpringBoot application and the Glassfish server. In order to create situation you have to:

1. Download the latest version of Glassfish: Java EE 7 Full Platform glassfish-4.1.1.zip
2. Download the official test deployment spring boot application from maven (war file): https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-deployment-test-glassfish/1.4.2.RELEASE
3. Run the domain by asadmin start-domain
4. Deploy the spring boot application by admin console on port 4848 under path /boot (for the admin console you would have not required provide the password and username in default configuration)
5. Check whether everything is ok (application and server should work fine)
6. Goes under http://localhost:8080/boot - you should see Hello World from deployed boot application
7. Stop the domain by asadmin stop-domain
8. Start the domain by asadmin start-domain
9. Try to list domains by asadmin list-domains, you will get as a result domain1 is not running
10. Try to run the admin console on http://localhost:4848/, you will see the page for user & password but any password has not been defined
11. The deployed application doesn't work after restart
12. The server logs don't provide any clear information what's going on and why everything stopped working

The mentioned official Spring Boot application is a minimal boot application. I've been trying to add the web.xml with metadata-complete in order to eliminate the warnings about the ClassNotFound exception (despite that is should be fixed on 4.1.1 version according to Jira ticket https://java.net/jira/browse/GLASSFISH-21265) and glassfish-web.xml with '<class-loader delegate="false"/>' and also beans.xml according with the following discussion: https://github.com/spring-projects/spring-boot/issues/1355. Any of this changes did not help and simple spring boot application crush down entire glassfish server. For me it's a serious blocker error.

Could you suggest any solution for this problem? I will be grateful for any suggestions or hints.



 Comments   
Comment by pnowy [ 16/Dec/16 ]

JRE: Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Comment by srinik76 [ 10/Jan/17 ]

Tried reproducing in linux able to reproduce. Deploy thru console and restarting the server causes NPE and domain is not properly started. Deployed through CLI and the result is same.

Error is not in console but in deployment module. Need to debug more in this.

Comment by srinik76 [ 11/Jan/17 ]

Confirmed this is issue with deployment. Discussed with Yamini transferring to deployment module. Assigning to Vinay.

Comment by Vinay Vishal [ 03/Feb/17 ]

This is basically happening because post deployment of spring-boot-deployment-test-glassfish-1.4.2.RELEASE.war and post restart, GF meets with java.lang.NoClassDefFoundError when it tries to load org/hibernate/validator/internal/engine/ConfigurationImpl.class whenever a cli command is executed or when one tries to access the console.

In the scenario when application has just been deployed, this class probably has already been loaded and hence everything works fine. Post restart thought it doesn't get loaded. I will try to figure out the cause as on why this class doesn't get loaded. Once we have that, we would be able to resolve this. Just for update, list-domains command started working fine after I commented out the piece of code where GF tries to look up for this class.

Comment by Vinay Vishal [ 20/Mar/17 ]

A change introduced in v1.1.10.RELEASE and v1.2.0.RC2 of spring-boot sets the system property org.jboss.logging.logger to "slf4j", thus setting it for entire jvm. Since Glassfish itself uses hibernate validator, which in turn uses jboss logging, while trying to load org.hibernate.validator.internal.engine.ConfigurationImpl, it tries to load org.slf4j.LoggerFactory, which is not bundled by default with Glassfish. java.lang.ClassNotFoundException is thrown for this class which ultimately results in java.lang.NoClassDefFoundError for org.hibernate.validator.internal.engine.ConfigurationImpl.

Setting a system property in an application server environment is usually not recommended, instead ServiceLoader mechanism can be used so that application specific loggers can be defined. This basically needs to be fixed in spring-boot for which issue 8669 has been created. Further details can be found in this bug.

There is no workaround for this issue at the moment.





[GLASSFISH-21664] Implement Servlet 4.0 Server Push Created: 24/Jan/17  Updated: 17/Mar/17

Status: In Progress
Project: glassfish
Component/s: web_container
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Ed Burns Assignee: Shing Wai Chan
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVLET_SPEC-134 Provide API supporting HTTP/2 Server ... In Progress
Tags: servlet_4_0
Sprint: MS 4 Sprint 1, MS 4 Sprint 2

 Description   

Implementation issue for SERVLET_SPEC-134.



 Comments   
Comment by Shing Wai Chan [ 17/Mar/17 ]

Revisions:
----------
64819

Modified Paths:
---------------
trunk/main/appserver/web/web-core/src/main/java/org/apache/catalina/LogFacade.java
trunk/main/appserver/web/web-core/src/main/java/org/apache/catalina/connector/Request.java
trunk/main/nucleus/pom.xml

Added Paths:
------------
trunk/main/appserver/web/web-core/src/main/java/org/apache/catalina/core/ApplicationPushBuilder.java

Comment by Shing Wai Chan [ 17/Mar/17 ]

add test case for push

Adding pushAuthorization
Adding pushAuthorization/WebTest.java
Adding pushAuthorization/build.properties
Adding pushAuthorization/build.xml
Adding pushAuthorization/descriptor
Adding pushAuthorization/descriptor/glassfish-web.xml
Adding pushAuthorization/descriptor/web.xml
Adding pushAuthorization/docroot
Adding pushAuthorization/docroot/index.html
Adding pushAuthorization/docroot/my.css
Adding pushAuthorization/servlet
Adding pushAuthorization/servlet/test
Adding pushAuthorization/servlet/test/TestServlet.java
Adding pushCacheable
Adding pushCacheable/WebTest.java
Adding pushCacheable/build.properties
Adding pushCacheable/build.xml
Adding pushCacheable/docroot
Adding pushCacheable/docroot/index.html
Adding pushCacheable/servlet
Adding pushCacheable/servlet/test
Adding pushCacheable/servlet/test/TestServlet.java
Adding pushCacheable/servlet/test/TestServlet2.java
Adding pushStatic
Adding pushStatic/WebTest.java
Adding pushStatic/build.properties
Adding pushStatic/build.xml
Adding pushStatic/docroot
Adding pushStatic/docroot/index.html
Adding pushStatic/docroot/my.css
Adding pushStatic/servlet
Adding pushStatic/servlet/test
Adding pushStatic/servlet/test/TestServlet.java
Transmitting file data ....................done
Committing transaction...
Committed revision 64823.





[GLASSFISH-21380] plaintext default-principal-password Created: 26/Jun/15  Updated: 17/Mar/17

Status: Open
Project: glassfish
Component/s: admin
Affects Version/s: 4.0, 4.1, 4.1.1
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: ytroch Assignee: sameerpandit
Resolution: Unresolved Votes: 0
Labels: password, security
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

all tested


Tags: password, secuirty

 Description   

enabling "Default-principal to role mapping" makes te password appear in the domain.xml file.
disabling the option again leaves the plaintext passwords in the domain.xml file.

mentioned on bug 8032, fixed for gui, not domain.xml.






[GLASSFISH-21704] CTS7- JAX-RS TEST FAILED DUE TO NO CLASS DEF FOUND ERROR Created: 14/Mar/17  Updated: 17/Mar/17  Resolved: 17/Mar/17

Status: Closed
Project: glassfish
Component/s: jax-rs
Affects Version/s: 4.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: anajosep Assignee: ankur.kathuria
Resolution: Invalid Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

GF 4.1.2 nightly build (13th March 2017)
JDK 1.7.0_80



 Description   

On the nightly build of GF 4.1.2,CTS 7 run with JDK 1.7.0_80, the following JAXRS test failed:

com/sun/ts/tests/jaxrs/api/client/clientrequestcontext/JAXRSClient.java#getPropertyNamesIsImmutableTest_from_servlet

Link for the test reports : http://blr2222516.idc.oracle.com/jenkins/view/GF4.1.2/job/GF4.1.2-publish-reports/85/junit-reports-with-handlebars/testSuitesOverview.html

The root cause of the issue seems to be as below:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[runcts] OUT => [javatest.batch] Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector not found by com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider [18]
[runcts] OUT => [javatest.batch] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
[runcts] OUT => [javatest.batch] at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
[runcts] OUT => [javatest.batch] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
[runcts] OUT => [javatest.batch] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[runcts] OUT => [javatest.batch] ... 87 more

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Complete Test failure logs:

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[runcts] OUT => [javatest.batch] command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:::::/ts/javaeetck/bin/xml/../../lib/jaxb-api.jar:/ts/javaeetck/bin/xml/../../lib/jaxb-core.jar:/ts/javaeetck/bin/xml/../../lib/jaxb-impl.jar:/ts/javaeetck/bin/xml/../../lib/jaxb-xjc.jar:/ts/javaeetck/bin/xml/../../lib/tsharness.jar:/ts/javaeetck/bin/xml/../../lib/cts.jar:/ts/javaeetck/bin/xml/../../lib/sigtest.jar:/ts/javaeetck/bin/xml/../../lib/oasis-regrep.jar:/ts/javaeetck/bin/xml/../../lib/omar-common.jar:/vi/glassfish4/glassfish/modules/javax.jms-api.jar:/vi/glassfish4/glassfish/modules/javax.json.jar:/vi/glassfish4/glassfish/modules/javax.xml.registry-api.jar:/vi/glassfish4/glassfish/modules/javax.ejb.jar:/vi/glassfish4/glassfish/modules/endorsed/javax.annotation.jar:/vi/glassfish4/glassfish/modules/javax.enterprise.deploy-api.jar:/vi/glassfish4/glassfish/modules/javax.mail.jar:/vi/glassfish4/glassfish/modules/javax.persistence.jar:/vi/glassfish4/glassfish/modules/javax.resource.jar:/vi/glassfish4/glassfish/modules/javax.security.auth.message-api.jar:/vi/glassfish4/glassfish/modules/javax.security.jacc-api.jar:/vi/glassfish4/glassfish/modules/javax.servlet-api.jar:/vi/glassfish4/glassfish/modules/el-impl.jar:/vi/glassfish4/glassfish/modules/javax.servlet.jsp-api.jar:/vi/glassfish4/glassfish/modules/javax.transaction-api.jar:/vi/glassfish4/glassfish/modules/endorsed/jaxb-api-osgi.jar:/vi/glassfish4/glassfish/modules/jaxb-osgi.jar:/vi/glassfish4/glassfish/modules/jmxremote_optional-repackaged.jar:/vi/glassfish4/glassfish/modules/javax.faces.jar:/vi/glassfish4/glassfish/modules/javax.servlet.jsp.jstl.jar:/ri/glassfish4/glassfish/modules/javax.servlet.jsp.jstl-api.jar:/vi/glassfish4/glassfish/modules/javax.xml.rpc-api.jar:/vi/glassfish4/glassfish/modules/webservices-osgi.jar:/vi/glassfish4/glassfish/modules/endorsed/webservices-api-osgi.jar:/vi/glassfish4/glassfish/modules/javax.management.j2ee-api.jar:/vi/glassfish4/glassfish/modules/ejb.security.jar:/vi/glassfish4/glassfish/modules/glassfish-corba-csiv2-idl.jar:/vi/glassfish4/glassfish/modules/weld-osgi-bundle.jar:/vi/glassfish4/glassfish/modules/deployment-client.jar:/vi/glassfish4/glassfish/modules/security.jar:/vi/glassfish4/glassfish/modules/securitycommon.jar:/vi/glassfish4/glassfish/modules/common-util.jar:/vi/glassfish4/glassfish/modules/glassfish-corba-omgapi.jar:/vi/glassfish4/glassfish/modules/deployment-common.jar:/vi/glassfish4/glassfish/modules/gmbal.jar:/vi/glassfish4/glassfish/modules/bean-validator.jar:/vi/glassfish4/glassfish/modules/javax.ws.rs-api.jar:/vi/glassfish4/glassfish/modules/jersey-client.jar:/vi/glassfish4/glassfish/modules/jersey-common.jar:/vi/glassfish4/glassfish/modules/jersey-media-jaxb.jar:/vi/glassfish4/glassfish/modules/jersey-server.jar:/vi/glassfish4/glassfish/modules/jersey-container-servlet.jar:/vi/glassfish4/glassfish/modules/jersey-container-servlet-core.jar:/vi/glassfish4/glassfish/modules/guava.jar:/vi/glassfish4/glassfish/modules/jersey-guava.jar:/vi/glassfish4/glassfish/modules/javax.el.jar:/vi/glassfish4/glassfish/modules/tyrus-websocket-core.jar:/vi/glassfish4/glassfish/modules/tyrus-client.jar:/vi/glassfish4/glassfish/modules/tyrus-container-grizzly-client.jar:/vi/glassfish4/glassfish/modules/tyrus-core.jar:/vi/glassfish4/glassfish/modules/tyrus-container-grizzly.jar:/vi/glassfish4/glassfish/modules/glassfish-grizzly-extra-all.jar:/vi/glassfish4/glassfish/modules/nucleus-grizzly-all.jar:/vi/glassfish4/glassfish/modules/tyrus-server.jar:/vi/glassfish4/glassfish/modules/tyrus-container-servlet.jar:/vi/glassfish4/glassfish/modules/tyrus-spi.jar:/vi/glassfish4/glassfish/modules/com.ibm.jbatch-runtime-all.jar:/vi/glassfish4/glassfish/modules/com.ibm.jbatch-ri-spi.jar:/vi/glassfish4/glassfish/modules/glassfish-batch-connector.jar:/vi/glassfish4/glassfish/modules/glassfish-batch-commands.jar:/vi/glassfish4/glassfish/modules/javax.el-api.jar:/vi/glassfish4/glassfish/modules/javamail-connector.jar:/vi/glassfish4/glassfish/modules/javamail-runtime.jar:/vi/glassfish4/glassfish/modules/javax.websocket-api.jar:/vi/glassfish4/glassfish/modules/javax.enterprise.concurrent-api.jar:/vi/glassfish4/glassfish/modules/javax.batch-api.jar:/vi/glassfish4/glassfish/modules/cdi-api.jar:/ts/javaeetck/bin/xml/../../lib/tsharness.jar:/ts/javaeetck/bin/xml/../../lib/cts.jar:/vi/glassfish4/glassfish/../javadb/lib/derbyclient.jar:/ri/glassfish4/glassfish/modules/javax.jms-api.jar:/ri/glassfish4/glassfish/modules/javax.json.jar:/ri/glassfish4/glassfish/modules/javax.xml.registry-api.jar:/ri/glassfish4/glassfish/modules/javax.ejb.jar:/ri/glassfish4/glassfish/modules/endorsed/javax.annotation.jar:/ri/glassfish4/glassfish/modules/javax.enterprise.deploy-api.jar:/ri/glassfish4/glassfish/modules/javax.mail.jar:/ri/glassfish4/glassfish/modules/javax.persistence.jar:/ri/glassfish4/glassfish/modules/javax.resource.jar:/ri/glassfish4/glassfish/modules/javax.security.auth.message-api.jar:/ri/glassfish4/glassfish/modules/javax.security.jacc-api.jar:/ri/glassfish4/glassfish/modules/javax.servlet-api.jar:/ri/glassfish4/glassfish/modules/javax.servlet.jsp-api.jar:/ri/glassfish4/glassfish/modules/javax.transaction-api.jar:/ri/glassfish4/glassfish/modules/endorsed/jaxb-api-osgi.jar:/ri/glassfish4/glassfish/modules/jaxb-osgi.jar:/ri/glassfish4/glassfish/modules/jmxremote_optional-repackaged.jar:/ri/glassfish4/glassfish/modules/javax.faces.jar:/ri/glassfish4/glassfish/modules/javax.servlet.jsp.jstl.jar:/ri/glassfish4/glassfish/modules/javax.servlet.jsp.jstl-api.jar:/ri/glassfish4/glassfish/modules/javax.xml.rpc-api.jar:/ri/glassfish4/glassfish/modules/webservices-osgi.jar:/ri/glassfish4/glassfish/modules/endorsed/webservices-api-osgi.jar:/ri/glassfish4/glassfish/modules/javax.management.j2ee-api.jar:/ri/glassfish4/glassfish/modules/ejb.security.jar:/ri/glassfish4/glassfish/modules/glassfish-corba-csiv2-idl.jar:/ri/glassfish4/glassfish/modules/weld-osgi-bundle.jar:/ri/glassfish4/glassfish/modules/orb-connector.jar:/ri/glassfish4/glassfish/modules/deployment-client.jar:/ri/glassfish4/glassfish/modules/security-ee.jar:/ri/glassfish4/glassfish/modules/security.jar:/ri/glassfish4/glassfish/modules/securitycommon.jar:/ri/glassfish4/glassfish/modules/common-util.jar:/ri/glassfish4/glassfish/modules/glassfish-corba-omgapi.jar:/ri/glassfish4/glassfish/modules/glassfish-corba-orb.jar:/ri/glassfish4/glassfish/modules/internal-api.jar:/ri/glassfish4/glassfish/modules/auto-depends.jar:/ri/glassfish4/glassfish/modules/deployment-common.jar:/ri/glassfish4/glassfish/modules/gmbal.jar:/ri/glassfish4/glassfish/modules/bean-validator.jar:/ri/glassfish4/glassfish/modules/jersey-client.jar:/ri/glassfish4/glassfish/modules/jersey-common.jar:/ri/glassfish4/glassfish/modules/jersey-media-jaxb.jar:/ri/glassfish4/glassfish/modules/jersey-server.jar:/ri/glassfish4/glassfish/modules/jersey-container-servlet.jar:/ri/glassfish4/glassfish/modules/jersey-container-servlet-core.jar:/ri/glassfish4/glassfish/modules/guava.jar:/ri/glassfish4/glassfish/modules/jersey-guava.jar:/ri/glassfish4/glassfish/modules/javax.el.jar:/ri/glassfish4/glassfish/modules/tyrus-websocket-core.jar:/ri/glassfish4/glassfish/modules/tyrus-client.jar:/ri/glassfish4/glassfish/modules/tyrus-container-grizzly-client.jar:/ri/glassfish4/glassfish/modules/tyrus-core.jar:/ri/glassfish4/glassfish/modules/tyrus-container-grizzly.jar:/ri/glassfish4/glassfish/modules/glassfish-grizzly-extra-all.jar:/ri/glassfish4/glassfish/modules/nucleus-grizzly-all.jar:/ri/glassfish4/glassfish/modules/tyrus-server.jar:/ri/glassfish4/glassfish/modules/tyrus-container-servlet.jar:/ri/glassfish4/glassfish/modules/tyrus-spi.jar:/ri/glassfish4/glassfish/modules/com.ibm.jbatch-runtime-all.jar:/ri/glassfish4/glassfish/modules/com.ibm.jbatch-ri-spi.jar:/ri/glassfish4/glassfish/modules/glassfish-batch-connector.jar:/ri/glassfish4/glassfish/modules/glassfish-batch-commands.jar:/ri/glassfish4/glassfish/modules/javax.el-api.jar:/ri/glassfish4/glassfish/modules/javamail-connector.jar:/ri/glassfish4/glassfish/modules/javamail-runtime.jar:/ri/glassfish4/glassfish/modules/jaspic.provider.framework.jar:/ri/glassfish4/glassfish/modules/javax.websocket-api.jar:/ri/glassfish4/glassfish/modules/javax.enterprise.concurrent-api.jar:/ri/glassfish4/glassfish/modules/javax.batch-api.jar:/ri/glassfish4/glassfish/modules/cdi-api.jar:/ts/javaeetck/bin/xml/../../lib/tsharness.jar:/ts/javaeetck/bin/xml/../../lib/cts.jar:/ts/javaeetck/bin/xml/../../lib/javatest.jar:/ts/javaeetck/bin/xml/../../lib/jdom.jar:/ts/javaeetck/bin/xml/../../lib/dom4j.jar:/ts/javaeetck/bin/xml/../../tools/ant/lib/ant.jar:/ri/glassfish4/glassfish/modules/admin-cli.jar:/ts/javaeetck/bin/xml/../../classes:/scratch/CTS/jdk1.7.0_80/jre/../lib/tools.jar:/ts/javaeetck/bin/xml/../../lib/commons-httpclient-3.1.jar:/ts/javaeetck/bin/xml/../../lib/commons-logging-1.1.1.jar:/ts/javaeetck/bin/xml/../../lib/commons-codec-1.3.jar:/ts/javaeetck/bin/xml/../../lib/cssparser-0.9.5.jar:/ts/javaeetck/bin/xml/../../lib/htmlunit-2.2.jar:/ts/javaeetck/bin/xml/../../lib/htmlunit-core-js-2.2.jar:/ts/javaeetck/bin/xml/../../lib/commons-collections-3.2.jar:/ts/javaeetck/bin/xml/../../lib/commons-io-1.4.jar:/ts/javaeetck/bin/xml/../../lib/commons-lang-2.4.jar:/ts/javaeetck/bin/xml/../../lib/jaxen-1.1-beta-6.jar:/ts/javaeetck/bin/xml/../../lib/js-1.6R1.jar:/ts/javaeetck/bin/xml/../../lib/nekohtml-1.9.8.jar:/ts/javaeetck/bin/xml/../../lib/sac-1.3.jar:/ts/javaeetck/bin/xml/../../lib/saxpath.jar:/ts/javaeetck/bin/xml/../../lib/xercesImpl-2.8.1.jar:/ts/javaeetck/bin/xml/../../lib/xalan-2.7.0.jar:/ts/javaeetck/bin/xml/../../lib/xml-apis-1.0.b2.jar:/vi/glassfish4/glassfish/../javadb/lib/derbyclient.jar DISPLAY=:0.0 HOME=/scratch/CTS/users/cts1 TMP= windir= SYSTEMROOT= PATH=/vi/glassfish4/glassfish/nativelib /scratch/CTS/jdk1.7.0_80/jre/bin/java -Dcts.tmp=/ts/javaeetck/bin/xml/../../tmp -Djava.protocol.handler.pkgs=javax.net.ssl -Djavax.net.ssl.keyStore=/ts/javaeetck/bin/xml/../../bin/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/vi/glassfish4/glassfish/domains/domain1/config/cacerts.jks -Djava.endorsed.dirs=/vi/glassfish4/glassfish/modules/endorsed -Dcom.sun.aas.installRoot=/vi/glassfish4/glassfish -Dlog.file.location=/vi/glassfish4/glassfish/domains/domain1/logs -Dservlet.is.jsr115.compatible=true -Dprovider.configuration.file=/vi/glassfish4/glassfish/domains/domain1/config/ProviderConfiguration.xml -Djava.security.properties=/vi/glassfish4/glassfish/domains/domain1/config/ts.java.security -Dlogical.hostname.servlet=server -Dcom.sun.aas.configRoot=/vi/glassfish4/glassfish/config -Ddeliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable com.sun.ts.tests.common.vehicle.VehicleClient -p /ts/javaeetck/bin/xml/../../tmp/tstest.jte -t getPropertyNamesIsImmutableTest -vehicle servlet
[runcts] OUT => [javatest.batch] ************************************************************
[runcts] OUT => [javatest.batch] * props file set to "/tmp/cts1-cts-props.txt"
[runcts] OUT => [javatest.batch] ************************************************************
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:25: Opened connection to http://slc11cow:8001/jaxrs_client_clientrequestcontext_servlet_vehicle_web/servlet_vehicle
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:25: SVR: [JAXRSCommonClient] Test setup OK
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:26: SVR-ERROR: Test case throws exception: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:26: SVR-ERROR: Exception at:
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:26: SVR-ERROR: java.lang.NoClassDefFoundError: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector
[runcts] OUT => [javatest.batch] at com.fasterxml.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospector(JsonMapperConfigurator.java:109)
[runcts] OUT => [javatest.batch] at com.fasterxml.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospectors(JsonMapperConfigurator.java:84)
[runcts] OUT => [javatest.batch] at com.fasterxml.jackson.jaxrs.cfg.MapperConfiguratorBase._setAnnotations(MapperConfiguratorBase.java:120)
[runcts] OUT => [javatest.batch] at com.fasterxml.jackson.jaxrs.json.JsonMapperConfigurator.getDefaultMapper(JsonMapperConfigurator.java:45)
[runcts] OUT => [javatest.batch] at com.fasterxml.jackson.jaxrs.base.ProviderBase.locateMapper(ProviderBase.java:864)
[runcts] OUT => [javatest.batch] at com.fasterxml.jackson.jaxrs.base.ProviderBase.writeTo(ProviderBase.java:588)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.client.ClientResponse$1.read(ClientResponse.java:109)
[runcts] OUT => [javatest.batch] at java.io.InputStream.read(InputStream.java:170)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.EntityInputStream.read(EntityInputStream.java:102)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream.read(ReaderInterceptorExecutor.java:296)
[runcts] OUT => [javatest.batch] at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
[runcts] OUT => [javatest.batch] at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
[runcts] OUT => [javatest.batch] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
[runcts] OUT => [javatest.batch] at java.io.InputStreamReader.read(InputStreamReader.java:184)
[runcts] OUT => [javatest.batch] at java.io.Reader.read(Reader.java:140)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.ReaderWriter.readFromAsString(ReaderWriter.java:175)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.ReaderWriter.readFromAsString(ReaderWriter.java:160)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.readFromAsString(AbstractMessageReaderWriterProvider.java:117)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.StringMessageProvider.readFrom(StringMessageProvider.java:77)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.StringMessageProvider.readFrom(StringMessageProvider.java:59)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:256)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:235)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:155)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1085)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:852)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:786)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:326)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.client.InboundJaxrsResponse$1.call(InboundJaxrsResponse.java:115)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:419)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.client.InboundJaxrsResponse.runInScopeIfPossible(InboundJaxrsResponse.java:267)
[runcts] OUT => [javatest.batch] at org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:112)
[runcts] OUT => [javatest.batch] at com.sun.ts.tests.jaxrs.api.client.clientrequestcontext.JAXRSClient.getPropertyNamesIsImmutableTest(JAXRSClient.java:1162)
[runcts] OUT => [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[runcts] OUT => [javatest.batch] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[runcts] OUT => [javatest.batch] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[runcts] OUT => [javatest.batch] at java.lang.reflect.Method.invoke(Method.java:606)
[runcts] OUT => [javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
[runcts] OUT => [javatest.batch] at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
[runcts] OUT => [javatest.batch] at com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.runTest(ServletVehicle.java:115)
[runcts] OUT => [javatest.batch] at com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doGet(ServletVehicle.java:83)
[runcts] OUT => [javatest.batch] at com.sun.ts.tests.common.vehicle.servlet.ServletVehicle.doPost(ServletVehicle.java:105)
[runcts] OUT => [javatest.batch] at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
[runcts] OUT => [javatest.batch] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[runcts] OUT => [javatest.batch] at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
[runcts] OUT => [javatest.batch] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[runcts] OUT => [javatest.batch] at java.lang.reflect.Method.invoke(Method.java:606)
[runcts] OUT => [javatest.batch] at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:323)
[runcts] OUT => [javatest.batch] at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:321)
[runcts] OUT => [javatest.batch] at java.security.AccessController.doPrivileged(Native Method)
[runcts] OUT => [javatest.batch] at javax.security.auth.Subject.doAsPrivileged(Subject.java:536)
[runcts] OUT => [javatest.batch] at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:356)
[runcts] OUT => [javatest.batch] at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:214)
[runcts] OUT => [javatest.batch] at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1676)
[runcts] OUT => [javatest.batch] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:318)
[runcts] OUT => [javatest.batch] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
[runcts] OUT => [javatest.batch] at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
[runcts] OUT => [javatest.batch] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673)
[runcts] OUT => [javatest.batch] at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99)
[runcts] OUT => [javatest.batch] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
[runcts] OUT => [javatest.batch] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:416)
[runcts] OUT => [javatest.batch] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:283)
[runcts] OUT => [javatest.batch] at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
[runcts] OUT => [javatest.batch] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
[runcts] OUT => [javatest.batch] at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
[runcts] OUT => [javatest.batch] at java.lang.Thread.run(Thread.java:745)
[runcts] OUT => [javatest.batch] Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector not found by com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider [18]
[runcts] OUT => [javatest.batch] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
[runcts] OUT => [javatest.batch] at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
[runcts] OUT => [javatest.batch] at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
[runcts] OUT => [javatest.batch] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[runcts] OUT => [javatest.batch] ... 87 more
[runcts] OUT => [javatest.batch]
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:26: SVR: [JAXRSCommonClient] Test cleanup OK
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:26: Test status from a servlet: 1:Test case throws exception: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:26: SVR: Test running in servlet vehicle failed
[runcts] OUT => [javatest.batch] 03-14-2017 02:39:26: Test: returning from running in a servlet vehicle
[runcts] OUT => [javatest.batch] STATUS:Failed.Test case throws exception: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector
[runcts] OUT => [javatest.batch] Failed. Test case throws exception: com/fasterxml/jackson/module/jaxb/JaxbAnnotationIntrospector
[runcts] OUT => [javatest.batch] ********************************************************************************
[runcts] OUT => [javatest.batch] Finished Test: FAILED........com/sun/ts/tests/jaxrs/api/client/clientrequestcontext/JAXRSClient.java#getPropertyNamesIsImmutableTest_from_servlet

-----------------------------------------------------------------------------------



 Comments   
Comment by anajosep [ 17/Mar/17 ]

CTS bugs need to be raised in internal tool. So closing this issue. This issue can be tracked here : https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=25738343





[GLASSFISH-21383] restart-domain has 2 java processes with use a lot of memory Created: 29/Jun/15  Updated: 17/Mar/17

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: tiran1984 Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

java8
windows server 2012 r2



 Description   

my glassfish runs on the windows server 2012 R2 as a service when i try to restart the a domain by asadmin it restart not correct.

I found 2 java processes with use a lot of memory after the restart
1.
"C:\Program Files\Java\jdk1.8.0_45\bin\java.exe" cp D:/DEVELOPMENT/Software/glassfish4/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:+UseCompressedOops -XX:MaxPermSize=512m -Xmx2048m -server -javaagent:/DEVELOPMENT/Software/glassfish4/glassfish/lib/monitor/flashlight-agent.jar -Djavax.xml.accessExternalSchema=all -Djavax.net.ssl.trustStore=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/cacerts.jks -Djdk.corba.allowOutputStreamSubclass=true -Dfelix.fileinstall.dir=D:\DEVELOPMENT\Software\glassfish4\glassfish/modules/autostart/ -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall -Dcom.sun.aas.installRoot=D:\DEVELOPMENT\Software\glassfish4\glassfish -Dfelix.fileinstall.poll=5000 -Djava.endorsed.dirs=D:\DEVELOPMENT\Software\glassfish4\glassfish/modules/endorsed;D:\DEVELOPMENT\Software\glassfish4\glassfish/lib/endorsed -Djava.security.policy=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/server.policy -Dosgi.shell.telnet.maxconn=1 -Dfelix.fileinstall.bundles.startTransient=true -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dfelix.fileinstall.log.level=2 -Djavax.net.ssl.keyStore=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/keystore.jks -Djava.security.auth.login.config=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/login.conf -Dfelix.fileinstall.disableConfigSave=false -Dfelix.fileinstall.bundles.new.start=true -Dcom.sun.aas.instanceRoot=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL -Dosgi.shell.telnet.port=6666 -Dgosh.args=nointeractive -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Dosgi.shell.telnet.ip=127.0.0.1 -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.awt.headless=true -Dcom.ctc.wstx.returnNullForDefaultNamespace=true "-Djava.ext.dirs=C:\Program Files\Java\jdk1.8.0_45/lib/ext;C:\Program Files\Java\jdk1.8.0_45/jre/lib/ext;D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/lib/ext" -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver "-Djava.library.path=C:/Program Files/IBM/OnDemand Web Enablement Kit/V9.0/api;C:/Program Files/IBM/OnDemand Web Enablement Kit/V9.0/lib64;C:/Program Files/IBM/OnDemand Web Enablement Kit/V9.0;D:/DEVELOPMENT/Software/glassfish4/glassfish/lib;C:/ProgramData/Oracle/Java/javapath;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files/Microsoft SQL Server/120/DTS/Binn;C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/110/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn;C:/Program Files/Microsoft SQL Server/120/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/ManagementStudio;C:/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn;C:/Program Files/Mercurial;C:/Program Files (x86)/MSBuild/12.0/Bin;C:/Program Files/TortoiseSVN/bin;C:/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit" com.sun.enterprise.glassfish.bootstrap.ASMain -upgrade false -domaindir D:/DEVELOPMENT/Software/glassfish4/glassfish/domains/AP10DVL -read-stdin true -asadmin-args --host,,,localhost,,,port,,,4848,,,user,,,admin,,,passwordfile,,,D:/temp/glassfish_passwords.txt,,,secure=false,,,terse=false,,,echo=false,,,interactive=false,,,start-domain,,,verbose=false,,,watchdog=true,,,debug=false,,,-domaindir,,,D:\DEVELOPMENT\Software\glassfish4\glassfish\domains,,,AP10DVL -domainname AP10DVL -instancename server -type DAS -verbose false -asadmin-classpath D:/DEVELOPMENT/Software/glassfish4/glassfish/modules/admin-cli.jar -debug false -asadmin-classname com.sun.enterprise.admin.cli.AdminMain

2.
"C:\Program Files\Java\jdk1.8.0_45\bin\java.exe" cp D:/DEVELOPMENT/Software/glassfish4/glassfish/modules/glassfish.jar -XX:+UnlockDiagnosticVMOptions -XX:NewRatio=2 -XX:+UseCompressedOops -XX:MaxPermSize=512m -Xmx2048m -server -javaagent:/DEVELOPMENT/Software/glassfish4/glassfish/lib/monitor/flashlight-agent.jar -Djavax.xml.accessExternalSchema=all -Djavax.net.ssl.trustStore=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/cacerts.jks -Djdk.corba.allowOutputStreamSubclass=true -Dfelix.fileinstall.dir=D:\DEVELOPMENT\Software\glassfish4\glassfish/modules/autostart/ -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall -Dcom.sun.aas.installRoot=D:\DEVELOPMENT\Software\glassfish4\glassfish -Dfelix.fileinstall.poll=5000 -Djava.endorsed.dirs=D:\DEVELOPMENT\Software\glassfish4\glassfish/modules/endorsed;D:\DEVELOPMENT\Software\glassfish4\glassfish/lib/endorsed -Djava.security.policy=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/server.policy -Dosgi.shell.telnet.maxconn=1 -Dfelix.fileinstall.bundles.startTransient=true -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dfelix.fileinstall.log.level=2 -Djavax.net.ssl.keyStore=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/keystore.jks -Djava.security.auth.login.config=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/config/login.conf -Dfelix.fileinstall.disableConfigSave=false -Dfelix.fileinstall.bundles.new.start=true -Dcom.sun.aas.instanceRoot=D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL -Dosgi.shell.telnet.port=6666 -Dgosh.args=nointeractive -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as -Dosgi.shell.telnet.ip=127.0.0.1 -DANTLR_USE_DIRECT_CLASS_LOADING=true -Djava.awt.headless=true -Dcom.ctc.wstx.returnNullForDefaultNamespace=true "-Djava.ext.dirs=C:\Program Files\Java\jdk1.8.0_45/lib/ext;C:\Program Files\Java\jdk1.8.0_45/jre/lib/ext;D:\DEVELOPMENT\Software\glassfish4\glassfish\domains\AP10DVL/lib/ext" -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver "-Djava.library.path=C:/Program Files/IBM/OnDemand Web Enablement Kit/V9.0/api;C:/Program Files/IBM/OnDemand Web Enablement Kit/V9.0/lib64;C:/Program Files/IBM/OnDemand Web Enablement Kit/V9.0;D:/DEVELOPMENT/Software/glassfish4/glassfish/lib;C:/Program Files/Java/jdk1.8.0_45/jre/bin;C:/Windows/Sun/Java/bin;C:/Windows/System32;C:/Windows;C:/ProgramData/Oracle/Java/javapath;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files/Microsoft SQL Server/120/DTS/Binn;C:/Program Files/Microsoft SQL Server/Client SDK/ODBC/110/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn;C:/Program Files/Microsoft SQL Server/120/Tools/Binn;C:/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/ManagementStudio;C:/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn;C:/Program Files/Mercurial;C:/Program Files (x86)/MSBuild/12.0/Bin;C:/Program Files/TortoiseSVN/bin;C:/Program Files (x86)/Windows Kits/8.1/Windows Performance Toolkit;D:/DEVELOPMENT/Software/glassfish4/glassfish/domains/AP10DVL/config" com.sun.enterprise.glassfish.bootstrap.ASMain -upgrade false -domaindir D:/DEVELOPMENT/Software/glassfish4/glassfish/domains/AP10DVL -read-stdin true -asadmin-args --host,,,localhost,,,port,,,4848,,,user,,,admin,,,passwordfile,,,D:/temp/glassfish_passwords.txt,,,secure=false,,,terse=false,,,echo=false,,,interactive=false,,,start-domain,,,verbose=false,,,watchdog=true,,,debug=false,,,-domaindir,,,D:\DEVELOPMENT\Software\glassfish4\glassfish\domains,,,AP10DVL -domainname AP10DVL -instancename server -type DAS -verbose false -asadmin-classpath D:/DEVELOPMENT/Software/glassfish4/glassfish/modules/admin-cli.jar -debug false -asadmin-classname com.sun.enterprise.admin.cli.AdminMain

When i try to stop the service it will not stop, I have to kill them

After i have to killed all processes from the service I have also delete the "generated" folder. Now works the server correct after a restart



 Comments   
Comment by rutujay [ 17/Mar/17 ]

Can you try with 4.1.1 and see if you face the same problem?





[GLASSFISH-21128] Incorrect context in ManagedThreadFactory Created: 10/Jul/14  Updated: 16/Mar/17

Status: In Progress
Project: glassfish
Component/s: concurrency
Affects Version/s: 4.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: anthony.lai Assignee: rutujay
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

At page 3-27 of JSR236 spec, it is specified that the runnable that is executed will run with the context of the application component instance that created the ManagedThreadFactory instance.
But in the implementation of glassfish4, tasks will run with the context of the application component that called the newThread() method.



 Comments   
Comment by rutujay [ 02/Mar/17 ]

Please provide some more information. Where do you come across this problem?





[GLASSFISH-21670] Implement SERVLET_SPEC-73 Created: 02/Feb/17  Updated: 15/Mar/17  Resolved: 11/Mar/17

Status: Resolved
Project: glassfish
Component/s: web_container
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Ed Burns Assignee: Ed Burns
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: 1 day, 22 hours, 18 minutes
Original Estimate: Not Specified

Attachments: Text File 20170308-2139Z-GLASSFISH-21670-tests.patch     Text File 20170308-2143Z-GLASSFISH-21670.patch    
Issue Links:
Related
is related to SERVLET_SPEC-73 Provide a way to find out mapping typ... Resolved
Tags: servlet_4_0
Sprint: MS 4 Sprint 1

 Description   

Track implementation work of SERVLET_SPEC-73



 Comments   
Comment by Ed Burns [ 02/Feb/17 ]

It looks like the mapping logic in question happens in Grizzly, in org.glassfish.http.server.util.Mapper.internalMapWrapper().

Comment by Ed Burns [ 02/Feb/17 ]

Grizzly has a MappingData data structure that is populated by that method. It looks like the necessary information for the Servlet API Mapping interface is understood within internalMapWrapper(), but not all of it that is necessary for Mapping is saved. I think we can fix that.

Comment by Ed Burns [ 03/Feb/17 ]

Patch to grizzly 2.3.x.

Comment by Ed Burns [ 03/Feb/17 ]

Patch to GlassFish trunk. Assumes Servlet API from branch is in local maven repo.

Comment by Ed Burns [ 06/Feb/17 ]

Patch to Grizzli 2.3.x.

Comment by Ed Burns [ 06/Feb/17 ]

Tests.

Comment by Ed Burns [ 15/Feb/17 ]

Implement and test attributes and getServletMapping().

Comment by Ed Burns [ 16/Feb/17 ]

Assert correctness of existing implementation.

Comment by Ed Burns [ 06/Mar/17 ]

Comply with Shing-wai's review comments.

Comment by Ed Burns [ 10/Mar/17 ]

Watching <http://gf-hudson.us.oracle.com/hudson/view/GlassFish/view/Trunk%20Continuous/job/gf-trunk-web-devtests-continuous/371/> for correctness.

Comment by Ed Burns [ 14/Mar/17 ]

svn commit -m "Add mappingDiscovery" devtests/web/build.xml
Sending devtests/web/build.xml
Transmitting file data .
Committed revision 64782.

Comment by Ed Burns [ 15/Mar/17 ]

For the record, this passed gf-trunk-web-devtests-continuous Build #386 (Mar 14, 2017 2:03:16 PM).

deploy-war-commonpe:
[exec] asadmin --host localhost.localdomain --port 45707 --user admin --passwordfile /scratch/BUILD_AREA/workspace/gf-trunk-web-devtests-continuous/appserv-tests/config/adminpassword.txt --interactive=false --echo=true --terse=true deploy --contextroot / --force=false --precompilejsp=true --verify=false --generatermistubs=false --availabilityenabled=false --asyncreplication=true --target server --keepreposdir=false --keepfailedstubs=false --isredeploy=false --logreportederrors=true --_classicstyle=false --upload=true /scratch/BUILD_AREA/workspace/gf-trunk-web-devtests-continuous/appserv-tests/build/module/archive/web-servlet-4.0-mapping-discovery-web.war
[exec] Application deployed with name web-servlet-4.0-mapping-discovery-web.

deploy-war-commonee:

run:
[java] host: localhost.localdomain port: 45712 path: /
[java] <p> In ServletC MappingImpl

{matchValue=, pattern=/, servletName=, mappingMatch=CONTEXT_ROOT}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: //foo
[java] <p> In ServletC MappingImpl

{matchValue=foo, pattern=/, servletName=ServletC, mappingMatch=DEFAULT}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /ServletC
[java] <p> In ServletC MappingImpl

{matchValue=ServletC, pattern=/ServletC, servletName=ServletC, mappingMatch=EXACT}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /foo.Issue73
[java] <p> In ServletC MappingImpl

{matchValue=foo, pattern=*.Issue73, servletName=ServletC, mappingMatch=EXTENSION}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /path/foo
[java] <p> In ServletC MappingImpl

{matchValue=foo, pattern=/path/*, servletName=ServletC, mappingMatch=PATH}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /AAsyncDispatchToC
[java] <p> In ServletC MappingImpl

{matchValue=ServletC, pattern=/ServletC, servletName=, mappingMatch=EXACT}</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: MappingImpl{matchValue=AAsyncDispatchToC, pattern=/AAsyncDispatchToC, servletName=AAsyncDispatchToC, mappingMatch=EXACT}</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /AForwardToB
[java] <p> In ServletC MappingImpl{matchValue=ServletC, pattern=/ServletC, servletName=, mappingMatch=EXACT}

</p><p> FORWARD_MAPPING: MappingImpl

{matchValue=AForwardToB, pattern=/AForwardToB, servletName=AForwardToB, mappingMatch=EXACT}

</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /BForwardToC
[java] <p> In ServletC MappingImpl

{matchValue=ServletC, pattern=/ServletC, servletName=, mappingMatch=EXACT}</p><p> FORWARD_MAPPING: MappingImpl{matchValue=BForwardToC, pattern=/BForwardToC, servletName=BForwardToC, mappingMatch=EXACT}</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /AIncludesB
[java] <!DOCTYPE html><html><head><title>Servlet AIncludesB</title></head><body><h1>Servlet AIncludesB at </h1><p> In AIncludesB MappingImpl{matchValue=AIncludesB, pattern=/AIncludesB, servletName=AIncludesB, mappingMatch=EXACT}</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><hr /><p> In BIncludesC MappingImpl{matchValue=AIncludesB, pattern=/AIncludesB, servletName=AIncludesB, mappingMatch=EXACT}</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: MappingImpl{matchValue=BIncludesC, pattern=/BIncludesC, servletName=, mappingMatch=EXACT}</p><hr /><p> In ServletC MappingImpl{matchValue=AIncludesB, pattern=/AIncludesB, servletName=AIncludesB, mappingMatch=EXACT}</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: MappingImpl{matchValue=ServletC, pattern=/ServletC, servletName=, mappingMatch=EXACT}

</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /BIncludesC
[java] <p> In BIncludesC MappingImpl

{matchValue=BIncludesC, pattern=/BIncludesC, servletName=BIncludesC, mappingMatch=EXACT}</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><hr /><p> In ServletC MappingImpl{matchValue=BIncludesC, pattern=/BIncludesC, servletName=BIncludesC, mappingMatch=EXACT}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: MappingImpl

{matchValue=ServletC, pattern=/ServletC, servletName=, mappingMatch=EXACT}

</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /a/foo
[java] <p> In ServletC MappingImpl

{matchValue=foo, pattern=/a/*, servletName=ServletC, mappingMatch=PATH}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] host: localhost.localdomain port: 45712 path: /f
[java] <p> In ServletC MappingImpl

{matchValue=f, pattern=/, servletName=ServletC, mappingMatch=DEFAULT}

</p><p> FORWARD_MAPPING: null</p><p> INCLUDE_MAPPING: null</p><p> ASYNC_MAPPING: null</p><hr />
[java] matches: true
[java] Generating report at /scratch/BUILD_AREA/workspace/gf-trunk-web-devtests-continuous/appserv-tests/test_results.xml
[java]
[java]
[java] -----------------------------------------
[java] - servlet-4.0-mapping-discovery-simple: PASS -
[java] - servlet-4.0-mapping-discovery-async: PASS -
[java] - servlet-4.0-mapping-discovery-forward: PASS -
[java] - servlet-4.0-mapping-discovery-include: PASS -
[java] - servlet-4.0-mapping-discovery-bounds: PASS -
[java] -----------------------------------------
[java] - Total PASS : 5 -
[java] - Total FAIL : 0 -
[java] - Total DID NOT RUN : 0 -
[java] -----------------------------------------





[GLASSFISH-21679] Remove delete option for JDBC Resource jdbc/__default Created: 15/Feb/17  Updated: 15/Mar/17

Status: Open
Project: glassfish
Component/s: admin_gui
Affects Version/s: 5.0
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: pabhat Assignee: prasads
Resolution: Unresolved Votes: 0
Labels: cts
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The default JDBC Resource with JNDI nme jdbc/__default is used internally for the Java EE platform spec defined default DataSource - java:comp/DefaultDataSource. Right now, deleting this resource from the admin console (probably using MBean operations as well) is possible. Once this JDBC resource is deleted, default DataSource won't be provisioned for Java EE applications, which is a must from the platform specification.

GlassFish should evaluate this and see whether delete option can be disabled for this JDBC resource.






[GLASSFISH-21465] TimerService createCalendarTimer with dayOfWeek Created: 15/Nov/15  Updated: 14/Mar/17

Status: In Progress
Project: glassfish
Component/s: ejb_container
Affects Version/s: 3.1.2.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: rsoika Assignee: Kokil_Jain
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: timer

 Description   

Can you please reopen the following bug

https://java.net/jira/browse/GLASSFISH-20673

or at least give some feedback to the comunity.

===
Ralph



 Comments   
Comment by Kokil_Jain [ 13/Feb/17 ]

I am still unable to reproduce the bug(getting the expected output).
Current Date : Sun Feb 12 15:14:41 IST 2017
Here are the server log messages:

SCHEDULE : ScheduleExpression [second=0;minute=12;hour=15;dayOfMonth=*;month=*;dayOfWeek=1-5;year=*;timezoneID=null;start=null;end=null]

NEXT_TIMEOUT : Mon Feb 13 15:12:00 IST 2017

Can i know your system settings? Which OS are you on?
And also if you can provide the server logs of the latest run.





[GLASSFISH-21181] java.net.BindException: Address already in use Created: 03/Sep/14  Updated: 14/Mar/17

Status: In Progress
Project: glassfish
Component/s: admin
Affects Version/s: 4.0_dev
Fix Version/s: None

Type: Bug Priority: Major
Reporter: theonion Assignee: Kokil_Jain
Resolution: Unresolved Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

My Os is Win7 i'm using glassfish 4.0 b89. When is start the server with
"asadmin start-domain"

asadmin start-domain .. continues very long time and ends with "serverNoStart Command start-domain failed."

The exception i see in the log file is:

[2014-09-03T15:31:30.000+0300] [glassfish 4.0] [SEVERE] [NCLS-CORE-00019] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1409747490000] [levelValue: 1000] [[
Shutting down server due to startup exception
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:414)
at sun.nio.ch.Net.bind(Net.java:406)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bindToChannelAndAddress(TCPNIOBindingHandler.java:131)
at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bind(TCPNIOBindingHandler.java:87)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:450)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:439)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:95)
at org.glassfish.grizzly.config.GenericGrizzlyListener.start(GenericGrizzlyListener.java:168)
at com.sun.enterprise.v3.services.impl.GlassfishNetworkListener.start(GlassfishNetworkListener.java:94)
at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start(GrizzlyProxy.java:230)
at com.sun.enterprise.v3.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:470)
at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:393)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:281)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:328)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:448)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:163)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2204)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:93)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:673)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:660)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneJob.run(CurrentTaskFuture.java:490)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpAllTheWay.go(CurrentTaskFuture.java:362)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpAllTheWay.access$100(CurrentTaskFuture.java:279)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture.go(CurrentTaskFuture.java:113)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.proceedTo(AsyncRunLevelContext.java:296)
at org.glassfish.hk2.runlevel.internal.RunLevelControllerImpl.proceedTo(RunLevelControllerImpl.java:66)
at com.sun.enterprise.v3.server.AppServerStartup.proceedTo(AppServerStartup.java:532)
at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:329)
at com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:226)
at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:217)
at com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl.start(EmbeddedOSGiGlassFishImpl.java:75)
at com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:71)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:54)
]]

all through the server is accessible on localhost:4848 and looks started



 Comments   
Comment by theonion [ 03/Sep/14 ]

I've forgot - server cant be restarted trough the web admin - endless loading . It can only be stopped.

Comment by Kokil_Jain [ 10/Mar/17 ]

Looking at the logs, it seems that the address which Glassfish is trying to bind might be already in use by some other process. So, to resolve it either you can try changing the http-listner ports by editing domain.xml or kill the other process using the same port. And then try to start-domain.
For more info. you can refer :
http://stackoverflow.com/questions/33631887/start-domain-failed-glassfish-on-windows-7/33648382

Please let me know if this doesn't solve the issue.





[GLASSFISH-21548] During startup of the server WouldBlockException is thrown, with GlassFish 4.1(hk2 2.3.0) Created: 08/Jul/16  Updated: 14/Mar/17  Resolved: 14/Mar/17

Status: Resolved
Project: glassfish
Component/s: hk2
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: fyoshitomi Assignee: ankur.kathuria
Resolution: Cannot Reproduce Votes: 0
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 2012 x86_64



 Description   

GlassFish 4.1.0(hk2 2.3.0) throws WouldBlockException during startup of the server though hk2 2.2.0-b05 has a fix WouldBlockException.
https://java.net/jira/browse/GLASSFISH-20617
https://java.net/jira/browse/GLASSFISH-20604

MultiException stack 1 of 5
org.glassfish.hk2.runlevel.internal.WouldBlockException: This descriptor would block: SystemDescriptor(
implementation=com.sun.enterprise.admin.util.InstanceStateServiceImpl
contracts=

{com.sun.enterprise.admin.util.InstanceStateServiceImpl,com.sun.enterprise.admin.util.InstanceStateService}

scope=org.glassfish.hk2.runlevel.RunLevel
qualifiers={}
descriptorType=CLASS
descriptorVisibility=NORMAL
metadata=runLevelValue=

{10}

,runLevelMode=

{0}

,Bundle-SymbolicName=

{org.glassfish.main.admin.util}

,Bundle-Version=

{4.1.0}

rank=0
loader=OsgiPopulatorPostProcessor.HK2Loader(OSGiModuleImpl:: Bundle = [org.glassfish.main.admin.util [8]], State = [READY],234832186)
proxiable=null
proxyForSameScope=null
analysisName=null
id=346
locatorId=0
identityHashCode=240464280
reified=true)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:184)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 2 of 5
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.v3.admin.CommandRunnerImpl errors were found
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:249)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 3 of 5
java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.v3.admin.CommandRunnerImpl
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:389)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:647)
at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)
at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:214)
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:237)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 4 of 5
java.lang.IllegalArgumentException: While attempting to resolve the dependencies of com.sun.enterprise.v3.admin.PrivateAdminAdapter errors were found
at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:249)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:360)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetAllServiceHandles(ServiceLocatorImpl.java:1372)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:726)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:714)
at com.sun.enterprise.v3.services.impl.GrizzlyService.registerContainerAdapters(GrizzlyService.java:637)
at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:515)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:329)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:377)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:753)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
MultiException stack 5 of 5
java.lang.IllegalStateException: Unable to perform operation: resolve on com.sun.enterprise.v3.admin.PrivateAdminAdapter
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:389)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:114)
at org.jvnet.hk2.internal.SingletonContext$1.compute(SingletonContext.java:102)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154)
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199)
at org.jvnet.hk2.internal.SingletonContext.findOrCreate(SingletonContext.java:153)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetAllServiceHandles(ServiceLocatorImpl.java:1372)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:726)
at org.jvnet.hk2.internal.ServiceLocatorImpl.getAllServices(ServiceLocatorImpl.java:714)
at com.sun.enterprise.v3.services.impl.GrizzlyService.registerContainerAdapters(GrizzlyService.java:637)
at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:515)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:329)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:377)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:461)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:227)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:84)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2258)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:105)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:753)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)



 Comments   
Comment by jwells [ 08/Jul/16 ]

How do you reproduce this issue? Just booting GlassFish 4.1 works fine

Comment by fyoshitomi [ 11/Jul/16 ]

I just boot GlassFish 4.1 with "asadmin start-domain" or "asadmin start-cluster". WouldBlockException have been thrown by GlassFish two times before.

Comment by ankur.kathuria [ 02/Mar/17 ]

I am not able to see WouldBlockException when i startup GlassFish. Could you please let me know in case you have any specific configuration in place (i.e. logger configuration etc.).

Comment by ankur.kathuria [ 14/Mar/17 ]

No able to reproduce the issue.





[GLASSFISH-21690] when the session is timed out and is not detected by the ContainerBackgroundProcessor thread, the request that sends the session will occur the error of 'java.lang.ClassNotFoundException' Created: 01/Mar/17  Updated: 13/Mar/17

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: liuj-fnst Assignee: prasads
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

when the session is timed out and is not detected by the ContainerBackgroundProcessor thread, the request that sends the session will occur the following error:
[#|2017-01-26T16:36:03.428+0900|SEVERE|||_ThreadID=161;_ThreadName=http-thread-pool-28292(15);|java.lang.ClassNotFoundException:
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at mypack.MyData.valueUnbound(MyData.java:36)
at org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:1593)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:865)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:769)
at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:686)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2942)
at org.apache.catalina.connector.Request.getSessionInternal(Request.java:2847)
at org.apache.catalina.connector.Request.lockSession(Request.java:4254)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:403)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:253)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:319)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:197)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:907)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:792)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1106)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:542)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:520)
at java.lang.Thread.run(Thread.java:722)

the processing of 'mypack.MyData.valueUnbound':
public void valueUnbound(HttpSessionBindingEvent event){
try

{ ClassLoader cl = Thread.currentThread().getContextClassLoader(); Class.forName("my.test",false,cl); }

catch (ClassNotFoundException e)

{ e.printStackTrace(); }

}

Discover the cause by Debug:

The request is processed by the HttpWorkerThread,HttpWorkerThread's ContextClassLoader has the following changes

1 Before calling the processing of application is 'org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5' (include 'org.apache.catalina.connector.Request.lockSession')
2 During calling the processing of application is 'org.glassfish.web.loader.WebappClassLoader'.(by 'StandardHostValve.preInvoke')
3 After calling the processing of application is 'org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5'.
when the lockSession is excuting, HttpWorkerThread's ContextClassLoader is BundleClassLoaderJava5,
however, 'my.test' was loaded by WebappClassLoader,so the error of ClassNotFoundException will occur.



 Comments   
Comment by liuj-fnst [ 13/Mar/17 ]

After verifying, before the process of ‘expire’, change the thread ContextClassLoader to WebappClassLoader, it seems to avoid the problem.
The sample code is as follows:

org.apache.catalina.session.StandardSession.expire
public void expire(boolean notify, boolean persistentRemove) {

ClassLoader oldCls = null;
boolean isCurClsChg = false;

// Mark this session as "being expired" if needed
if (expiring)
return;

synchronized (this) {

if (manager == null)
return;

expiring = true;

try {

if( notify && context != null && context.getLoader() != null )

{ oldCls = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader (context.getLoader().getClassLoader()); isCurClsChg = true; }

// Notify interested application event listeners
// FIXME - Assumes we call listeners in reverse order
List<HttpSessionListener> listeners = context.getSessionListeners();

...ignore...

// Notify interested session event listeners
if (notify)

{ context.sessionExpiredEvent(this); fireSessionEvent(Session.SESSION_DESTROYED_EVENT, null); }

}
finally

{ if( isCurClsChg ) Thread.currentThread().setContextClassLoader(oldCls); }

}





[GLASSFISH-5258] gzip compressed ws-request are not working Created: 04/Jul/08  Updated: 10/Mar/17  Resolved: 01/Oct/08

Status: Resolved
Project: glassfish
Component/s: grizzly-kernel
Affects Version/s: 9.1peur2
Fix Version/s: V3

Type: Improvement Priority: Major
Reporter: johgoe Assignee: jfarcand
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 5,258

 Description   

My Version is Sun Java System Application Server 9.1_02 (build b04-fcs)

Sending a gzip compressed request to Glassfish failed.
It seems like com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask not
handle the header-field Content-Encoding of a incoming webservice request.

There should be a GZipInputFilter when Content-Encoding is gzip before trying to
parse the soap-message

1) Compression Property in httpListener off:
My client sends a uncompressed request. ---> Glassfish sends
uncompressed response

2) Compression Property in httpListener on:
My client sends a uncompressed request. ---> Glassfish sends
uncompressed response

3) Compression Enabled or Disabled & Client sends compressed request

Message: Inhalt ist in Prolog nicht gestattet.
com.sun.xml.ws.protocol.soap.MessageCreationException: SOAP-Meldung konnte nicht
erstellt werden wegen Ausnahmefehler: Fehler im XML-Leseprogramm:
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Inhalt ist in Prolog nicht gestattet.
at
com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:292)
at
com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:276)
at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:93)
at
com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:432)
at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
at
com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
at
com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:113)
at
com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
at
com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:226)
at
com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:155)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at
com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:114)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:87)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
at
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
at
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)



 Comments   
Comment by jfarcand [ 04/Jul/08 ]

Re-assign to myself to see what's happening.

Comment by jfarcand [ 09/Jul/08 ]

Hum, the GZipInputFilter has been commented out for almost 5 years in GlassFish,
Tomcat 4/5/6. Needs to understand/find why

Comment by jfarcand [ 24/Jul/08 ]

After investigation, it seems we never supported GZip compressed request. Our
implementation is derived from Tomcat, and Tomcat hasn't supported it as well.
Turning that issue into an enhancement. Meanwhile, I recommend using Apache in
front of GlassFish as Apache as several mod_* that can be used to decompress the
request.

Comment by matthiasblaesing [ 10/Mar/17 ]

Together with grizzly 2.3.29 the payara fork was updated to support compressed requests. The changeset can be found here:

https://github.com/payara/Payara/commit/4b1eb74206267f4e2ace8df4c7cde8506535396b

I'm the author of that changeset and if there is interest to merge this you can do so - I have an OCA on file and I consider that changeset covered by it.





[GLASSFISH-21657] Where do I find glassfish version 3.1.2.11 ? Created: 09/Jan/17  Updated: 10/Mar/17  Resolved: 10/Mar/17

Status: Closed
Project: glassfish
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: lowks Assignee: Yamini K B
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I am having a glass fish installation with version: 3.1.2.2, then a Nessus scan pointed out that there are vulnerabilities associated with this version and that I should upgrade it to 3.1.2.11. The question is, where can I find this version ? Related: https://coderanch.com/t/641751/find-Glassfish



 Comments   
Comment by lowks [ 09/Jan/17 ]

The related Nessus vulnerability output:

https://www.tenable.com/plugins/index.php?view=single&id=82902

Comment by Yamini K B [ 09/Mar/17 ]

You will need to go through the support channel to get patched versions of GlassFish.

Comment by lowks [ 09/Mar/17 ]

This is paid Oracle support right ?

Comment by Yamini K B [ 10/Mar/17 ]

Thats right.





[GLASSFISH-21691] GLASSFISH -4 Start failed Created: 01/Mar/17  Updated: 10/Mar/17  Resolved: 10/Mar/17

Status: Closed
Project: glassfish
Component/s: admin
Affects Version/s: 4.1
Fix Version/s: 5.0

Type: Bug Priority: Major
Reporter: Blaise_RW Assignee: Yamini K B
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Netbeans



 Description   

I already upgraded to MacOS Sierra and my Netbeans 8.0.2 throw an error when I try to run Glassfish. (GLASSFISH FAILED TO START)



 Comments   
Comment by Blaise_RW [ 09/Mar/17 ]

CAN YOU PLEASE HELP ME WITH THAT

Comment by Yamini K B [ 09/Mar/17 ]

1. Which version of JDK are you using?
2. Have you tried GlassFish 5.0? (http://download.oracle.com/glassfish/5.0/nightly/index.html)

Comment by Yamini K B [ 09/Mar/17 ]

3. What is the error that you are getting?
4. Can you share your server.log?

Comment by Blaise_RW [ 09/Mar/17 ]

1. JDK version java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
2. No I haven't tried Glassfish 5.0
3.Glassfish failed to start
4. SERVER LOG

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
objc[7838]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java (0x10d0c04c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10d1884e0). One of the two will be used. Which one is undefined.
Launching GlassFish on Felix platform
Mar 01, 2017 4:45:21 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Mar 01, 2017 4:45:21 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Mar 01, 2017 4:45:21 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Mar 01, 2017 4:45:21 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles
WARNING: Can not start bundle file:/Applications/NetBeans/glassfish-4.1.1/glassfish/modules/core.jar because it is not contained in the list of installed bundles.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@3400e4a6 in service registry.
#!## LogManagerService.postConstruct : rootFolder=/Applications/NetBeans/glassfish-4.1.1/glassfish
#!## LogManagerService.postConstruct : templateDir=/Applications/NetBeans/glassfish-4.1.1/glassfish/lib/templates
#!## LogManagerService.postConstruct : src=/Applications/NetBeans/glassfish-4.1.1/glassfish/lib/templates/logging.properties
#!## LogManagerService.postConstruct : dest=/Applications/NetBeans/glassfish-4.1.1/glassfish/domains/domain1/config/logging.properties
Info: Running GlassFish Version: GlassFish Server Open Source Edition 4.1.1 (build 1)
Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Info: Authorization Service has successfully initialized.
Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Info: Grizzly Framework 2.3.23 started in: 100ms - bound to [/0.0.0.0:8080]
Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:8181]
Warning: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Info: Grizzly Framework 2.3.23 started in: 2ms - bound to [/0.0.0.0:4848]
Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:3700]
Info: GlassFish Server Open Source Edition 4.1.1 (1) startup time : Felix (35,749ms), startup services(2,309ms), total(38,058ms)
Info: JTS5014: Recoverable JTS instance, serverId = [100]
Info: HV000001: Hibernate Validator 5.1.2.Final
Info: Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:7676]
Info: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@f339eae as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@ae7950d.
Info: JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://192.168.55.77:8686/jndi/rmi://192.168.55.77:8686/jmxrmi

Comment by Blaise_RW [ 09/Mar/17 ]

Have you tried GlassFish 5.0? (http://download.oracle.com/glassfish/5.0/nightly/index.html)

on this link there is too many Glassfish files and folders can you help me by specifying which one I can use .

Comment by Yamini K B [ 09/Mar/17 ]

Above log messages seem fine thought I would prefer to look at complete log file.

Is there a reason you are specifically using 4.1.1? Can you try with 5.0 and let me know if it starts or not?

Comment by Blaise_RW [ 09/Mar/17 ]

well there is no reason I can use 5.0 but can you specify which one I can use now ? there is too many files and folder on that link

Comment by Yamini K B [ 09/Mar/17 ]

Please try with the latest nightly:
http://download.oracle.com/glassfish/5.0/nightly/latest-glassfish.zip

Comment by Blaise_RW [ 09/Mar/17 ]

the error says exactly

Glassfish server start failed
Please check server admin username and password properties
also please check the server log file for other possible causes

Comment by Yamini K B [ 09/Mar/17 ]

Hey, I just realized we have a similar bug https://java.net/jira/browse/GLASSFISH-21569

Can you also try the CLI "asadmin start-domain" and share the command output, do not forget to mention the version that you are trying with (4.1.1 or 5.0)

Comment by Blaise_RW [ 09/Mar/17 ]

asadmin start-domain is not working in my terminal can you help

Comment by Blaise_RW [ 09/Mar/17 ]

command not found

Comment by Blaise_RW [ 09/Mar/17 ]

new log

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0
Launching GlassFish on Felix platform
Mar 09, 2017 3:28:52 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Mar 09, 2017 3:28:52 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Mar 09, 2017 3:28:52 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry because it is not an absolute URI.
Mar 09, 2017 3:28:57 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles
WARNING: Can not start bundle file:/Users/ntwariblaise/glassfish4/glassfish/modules/core.jar because it is not contained in the list of installed bundles.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@46980bec in service registry.
#!## LogManagerService.postConstruct : rootFolder=/Users/ntwariblaise/glassfish4/glassfish
#!## LogManagerService.postConstruct : templateDir=/Users/ntwariblaise/glassfish4/glassfish/lib/templates
#!## LogManagerService.postConstruct : src=/Users/ntwariblaise/glassfish4/glassfish/lib/templates/logging.properties
#!## LogManagerService.postConstruct : dest=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/logging.properties
Info: Running GlassFish Version: GlassFish Server Open Source Edition 5.0 (build 3)
Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Info: HV000001: Hibernate Validator 5.2.4.Final
Info: Authorization Service has successfully initialized.
Info: GlassFish Server Open Source Edition 5.0 (3) startup time : Felix (39,481ms), startup services(3,932ms), total(43,413ms)
Severe: Shutting down server due to startup exception
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bindToChannelAndAddress(TCPNIOBindingHandler.java:131)
at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bind(TCPNIOBindingHandler.java:88)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:239)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:228)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:77)
at org.glassfish.grizzly.config.GenericGrizzlyListener.start(GenericGrizzlyListener.java:184)
at com.sun.enterprise.v3.services.impl.GlassfishNetworkListener.start(GlassfishNetworkListener.java:107)
at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start0(GrizzlyProxy.java:267)
at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start(GrizzlyProxy.java:241)
at com.sun.enterprise.v3.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:619)
at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:542)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:327)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2022)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:786)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Info: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@7ea2412c as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@554188ac.
Info: Server shutdown initiated
Info: Unregistered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@7ea2412c from service registry.
Info: FileMonitoring shutdown
Completed shutdown of Log manager service
Info: Shutdown procedure finished
Completed shutdown of GlassFish runtime
We are in non-embedded mode, so org.glassfish.main.core.glassfish [109] has nothing to do.

Comment by Yamini K B [ 09/Mar/17 ]

Try this:
/Users/ntwariblaise/glassfish4/glassfish/bin/asadmin start-domain

The error indicates port is not free. Can you cut paste output of following command:
netstat -an|grep 4848

Comment by Blaise_RW [ 09/Mar/17 ]

1)this is the error when I start asadmin start-domain
There is a process already using the admin port 4848 – it probably is another instance of a GlassFish server.
Command start-domain failed.

2)
Ntwaris-MacBook-Pro:~ ntwariblaise$ netstat -an|grep 4848
tcp46 0 0 .4848 *. LISTEN

Comment by Yamini K B [ 09/Mar/17 ]

OK, there is indeed a process listening on 4848. What does following command show?
lsof -i :4848

Comment by Blaise_RW [ 09/Mar/17 ]

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
java 2266 ntwariblaise 372u IPv6 0xfce71bc5864627f9 0t0 TCP *:appserv-http (LISTEN)

Comment by Yamini K B [ 09/Mar/17 ]

Kill the process and then run start-domain again

kill -9 2266
/Users/ntwariblaise/glassfish4/glassfish/bin/asadmin start-domain

Comment by Blaise_RW [ 09/Mar/17 ]

Ntwaris-MacBook-Pro:~ ntwariblaise$ /Users/ntwariblaise/glassfish4/glassfish/bin/asadmin start-domain
Waiting for domain1 to start ............................................
Successfully started the domain : domain1
domain Location: /Users/ntwariblaise/glassfish4/glassfish/domains/domain1
Log File: /Users/ntwariblaise/glassfish4/glassfish/domains/domain1/logs/server.log
Admin Port: 4848
Command start-domain executed successfully.

does it mean it worked ?

Comment by Yamini K B [ 09/Mar/17 ]

Yes, GlassFish domain started successfully. One other question - what exactly are you trying to do with GlassFish?

Please close this issue since your problem is solved. Thanks!

Comment by Blaise_RW [ 09/Mar/17 ]

yes I am using it throu netbeans for web apps jsf so will I always have to

kill -9 2266
/Users/ntwariblaise/glassfish4/glassfish/bin/asadmin start-domain

??

Comment by Yamini K B [ 09/Mar/17 ]

No, you don't need to use start-domain each time. Starting/stopping GlassFish through Netbeans should work as well. Looks like you attempted to start the server when it was already running.

Comment by Blaise_RW [ 09/Mar/17 ]

alright I am just waiting to start now using Netbeans not through CLI still waiting

Comment by Blaise_RW [ 09/Mar/17 ]

Starting GlassFish Server
GlassFish Server is running.
In-place deployment at /Users/ntwariblaise/NetBeansProjects/WebApplication1/build/web
GlassFish Server, deploy, null, false
/Users/ntwariblaise/NetBeansProjects/WebApplication1/nbproject/build-impl.xml:1045: The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 25 seconds)

Comment by Yamini K B [ 09/Mar/17 ]

As per the above messages, GlassFish started fine, the app deploy failed. Check the last part of server log file at /Users/ntwariblaise/glassfish4/glassfish/domains/domain1/logs/server.log

Comment by Blaise_RW [ 09/Mar/17 ]

[2017-03-09T15:29:32.135+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489066171297] [timeMillis: 1489066172135] [levelValue: 800] [[
Running GlassFish Version: GlassFish Server Open Source Edition 5.0 (build 3)]]

[2017-03-09T15:29:32.139+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489066171297] [timeMillis: 1489066172139] [levelValue: 800] [[
Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]

[2017-03-09T15:29:32.624+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489066171295] [timeMillis: 1489066172624] [levelValue: 800] [[
Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T15:29:32.627+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489066171295] [timeMillis: 1489066172627] [levelValue: 800] [[
Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T15:29:32.631+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489066171295] [timeMillis: 1489066172631] [levelValue: 800] [[
Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]

[2017-03-09T15:29:32.853+0200] [glassfish 5.0] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=19 _ThreadName=RunLevelControllerThread-1489066171407] [timeMillis: 1489066172853] [levelValue: 800] [[
Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]

[2017-03-09T15:29:33.305+0200] [glassfish 5.0] [INFO] [] [org.hibernate.validator.internal.util.Version] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489066171297] [timeMillis: 1489066173305] [levelValue: 800] [[
HV000001: Hibernate Validator 5.2.4.Final]]

[2017-03-09T15:29:33.872+0200] [glassfish 5.0] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489066171407] [timeMillis: 1489066173872] [levelValue: 800] [[
Authorization Service has successfully initialized.]]

[2017-03-09T15:29:35.116+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00017] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489066175116] [levelValue: 800] [[
GlassFish Server Open Source Edition 5.0 (3) startup time : Felix (39,481ms), startup services(3,932ms), total(43,413ms)]]

[2017-03-09T15:29:35.118+0200] [glassfish 5.0] [SEVERE] [NCLS-CORE-00019] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489066175118] [levelValue: 1000] [[
Shutting down server due to startup exception
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bindToChannelAndAddress(TCPNIOBindingHandler.java:131)
at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bind(TCPNIOBindingHandler.java:88)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:239)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:228)
at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:77)
at org.glassfish.grizzly.config.GenericGrizzlyListener.start(GenericGrizzlyListener.java:184)
at com.sun.enterprise.v3.services.impl.GlassfishNetworkListener.start(GlassfishNetworkListener.java:107)
at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start0(GrizzlyProxy.java:267)
at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start(GrizzlyProxy.java:241)
at com.sun.enterprise.v3.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:619)
at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:542)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:327)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2022)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:786)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
]]

[2017-03-09T15:29:35.332+0200] [glassfish 5.0] [INFO] [NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489066175332] [levelValue: 800] [[
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@7ea2412c as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@554188ac.]]

[2017-03-09T15:29:35.368+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00092] [javax.enterprise.system.core] [tid: _ThreadID=54 _ThreadName=Thread-11] [timeMillis: 1489066175368] [levelValue: 800] [[
Server shutdown initiated]]

[2017-03-09T15:29:35.374+0200] [glassfish 5.0] [INFO] [NCLS-BOOTSTRAP-00028] [javax.enterprise.bootstrap] [tid: _ThreadID=54 _ThreadName=Thread-11] [timeMillis: 1489066175374] [levelValue: 800] [[
Unregistered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@7ea2412c from service registry.]]

[2017-03-09T15:29:35.376+0200] [glassfish 5.0] [INFO] [] [] [tid: _ThreadID=54 _ThreadName=Thread-8] [timeMillis: 1489066175376] [levelValue: 800] [[
FileMonitoring shutdown]]

[2017-03-09T16:22:34.382+0200] [] [INFO] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489069354382] [levelValue: 800] [[
JVM invocation command line:
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java
-cp
/Users/ntwariblaise/glassfish4/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-XX:MaxPermSize=192m
-Xmx512m
-javaagent:/Users/ntwariblaise/glassfish4/glassfish/lib/monitor/flashlight-agent.jar
-client
-Djavax.xml.accessExternalSchema=all
-Djavax.net.ssl.trustStore=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/cacerts.jks
-Djdk.corba.allowOutputStreamSubclass=true
-Dfelix.fileinstall.dir=/Users/ntwariblaise/glassfish4/glassfish/modules/autostart/
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dcom.sun.aas.installRoot=/Users/ntwariblaise/glassfish4/glassfish
-Dfelix.fileinstall.poll=5000
-Djava.endorsed.dirs=/Users/ntwariblaise/glassfish4/glassfish/modules/endorsed:/Users/ntwariblaise/glassfish4/glassfish/lib/endorsed
-Djava.security.policy=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/server.policy
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.bundles.startTransient=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dfelix.fileinstall.log.level=2
-Djavax.net.ssl.keyStore=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/keystore.jks
-Djava.security.auth.login.config=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/login.conf
-Dfelix.fileinstall.disableConfigSave=false
-Dfelix.fileinstall.bundles.new.start=true
-Dcom.sun.aas.instanceRoot=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1
-Dosgi.shell.telnet.port=6666
Dgosh.args=-nointeractive
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Dosgi.shell.telnet.ip=127.0.0.1
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Djava.awt.headless=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Djava.ext.dirs=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/lib/ext:/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/ext:/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/lib/ext
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djava.library.path=/Users/ntwariblaise/glassfish4/glassfish/lib:/Users/ntwariblaise/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:/Users/ntwariblaise
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
/Users/ntwariblaise/glassfish4/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
-host,,,localhost,,,port,,,4848,,,secure=false,,,terse=false,,,echo=false,,,interactive=true,,,start-domain,,,verbose=false,,,watchdog=false,,,debug=false,,,-domaindir,,,/Users/ntwariblaise/glassfish4/glassfish/domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
/Users/ntwariblaise/glassfish4/glassfish/lib/client/appserver-cli.jar
-debug
false
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain]]

[2017-03-09T16:45:04.615+0200] [] [INFO] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489070704615] [levelValue: 800] [[
JVM invocation command line:
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java
-cp
/Users/ntwariblaise/glassfish4/glassfish/modules/glassfish.jar
-XX:+UnlockDiagnosticVMOptions
-XX:NewRatio=2
-XX:MaxPermSize=192m
-Xmx512m
-javaagent:/Users/ntwariblaise/glassfish4/glassfish/lib/monitor/flashlight-agent.jar
-client
-Djavax.xml.accessExternalSchema=all
-Djavax.net.ssl.trustStore=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/cacerts.jks
-Djdk.corba.allowOutputStreamSubclass=true
-Dfelix.fileinstall.dir=/Users/ntwariblaise/glassfish4/glassfish/modules/autostart/
-Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
-Dcom.sun.aas.installRoot=/Users/ntwariblaise/glassfish4/glassfish
-Dfelix.fileinstall.poll=5000
-Djava.endorsed.dirs=/Users/ntwariblaise/glassfish4/glassfish/modules/endorsed:/Users/ntwariblaise/glassfish4/glassfish/lib/endorsed
-Djava.security.policy=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/server.policy
-Dosgi.shell.telnet.maxconn=1
-Dfelix.fileinstall.bundles.startTransient=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dfelix.fileinstall.log.level=2
-Djavax.net.ssl.keyStore=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/keystore.jks
-Djava.security.auth.login.config=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/config/login.conf
-Dfelix.fileinstall.disableConfigSave=false
-Dfelix.fileinstall.bundles.new.start=true
-Dcom.sun.aas.instanceRoot=/Users/ntwariblaise/glassfish4/glassfish/domains/domain1
-Dosgi.shell.telnet.port=6666
Dgosh.args=-nointeractive
-Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
-Dosgi.shell.telnet.ip=127.0.0.1
-DANTLR_USE_DIRECT_CLASS_LOADING=true
-Djava.awt.headless=true
-Dcom.ctc.wstx.returnNullForDefaultNamespace=true
-Djava.ext.dirs=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/lib/ext:/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/ext:/Users/ntwariblaise/glassfish4/glassfish/domains/domain1/lib/ext
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djava.library.path=/Users/ntwariblaise/glassfish4/glassfish/lib:/Users/ntwariblaise/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:/Users/ntwariblaise
com.sun.enterprise.glassfish.bootstrap.ASMain
-upgrade
false
-domaindir
/Users/ntwariblaise/glassfish4/glassfish/domains/domain1
-read-stdin
true
-asadmin-args
-host,,,localhost,,,port,,,4848,,,secure=false,,,terse=false,,,echo=false,,,interactive=true,,,start-domain,,,verbose=false,,,watchdog=false,,,debug=false,,,-domaindir,,,/Users/ntwariblaise/glassfish4/glassfish/domains,,,domain1
-domainname
domain1
-instancename
server
-type
DAS
-verbose
false
-asadmin-classpath
/Users/ntwariblaise/glassfish4/glassfish/lib/client/appserver-cli.jar
-debug
false
-asadmin-classname
com.sun.enterprise.admin.cli.AdminMain]]

[2017-03-09T16:45:52.258+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489070751847] [timeMillis: 1489070752258] [levelValue: 800] [[
Running GlassFish Version: GlassFish Server Open Source Edition 5.0 (build 3)]]

[2017-03-09T16:45:52.261+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489070751847] [timeMillis: 1489070752261] [levelValue: 800] [[
Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]

[2017-03-09T16:45:52.701+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489070751844] [timeMillis: 1489070752701] [levelValue: 800] [[
Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T16:45:52.715+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489070751844] [timeMillis: 1489070752715] [levelValue: 800] [[
Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T16:45:52.721+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489070751844] [timeMillis: 1489070752721] [levelValue: 800] [[
Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]

[2017-03-09T16:45:52.918+0200] [glassfish 5.0] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489070751844] [timeMillis: 1489070752918] [levelValue: 800] [[
Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]

[2017-03-09T16:45:53.282+0200] [glassfish 5.0] [INFO] [] [org.hibernate.validator.internal.util.Version] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489070751844] [timeMillis: 1489070753282] [levelValue: 800] [[
HV000001: Hibernate Validator 5.2.4.Final]]

[2017-03-09T16:45:53.663+0200] [glassfish 5.0] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489070751847] [timeMillis: 1489070753663] [levelValue: 800] [[
Authorization Service has successfully initialized.]]

[2017-03-09T16:45:54.562+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489070751883] [timeMillis: 1489070754562] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 174ms - bound to [/0.0.0.0:8080]]]

[2017-03-09T16:45:54.801+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489070751883] [timeMillis: 1489070754801] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 2ms - bound to [/0.0.0.0:8181]]]

[2017-03-09T16:45:54.811+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489070751883] [timeMillis: 1489070754811] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 2ms - bound to [/0.0.0.0:4848]]]

[2017-03-09T16:45:54.971+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489070751883] [timeMillis: 1489070754971] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 1ms - bound to [/0.0.0.0:3700]]]

[2017-03-09T16:45:54.973+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00017] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489070754973] [levelValue: 800] [[
GlassFish Server Open Source Edition 5.0 (3) startup time : Felix (36,506ms), startup services(3,147ms), total(39,653ms)]]

[2017-03-09T16:46:01.168+0200] [glassfish 5.0] [INFO] [jts.startup_msg] [javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489070751844] [timeMillis: 1489070761168] [levelValue: 800] [[
JTS5014: Recoverable JTS instance, serverId = [100]]]

[2017-03-09T16:46:11.545+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489070751847] [timeMillis: 1489070771545] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 1ms - bound to [/0.0.0.0:7676]]]

[2017-03-09T16:46:11.547+0200] [glassfish 5.0] [INFO] [NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489070771547] [levelValue: 800] [[
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@4930539b as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@2f5c1332.]]

[2017-03-09T16:46:16.452+0200] [glassfish 5.0] [INFO] [NCLS-JMX-00005] [javax.enterprise.system.jmx] [tid: _ThreadID=58 _ThreadName=Thread-12] [timeMillis: 1489070776452] [levelValue: 800] [[
JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi]]

[2017-03-09T16:48:11.344+0200] [glassfish 5.0] [INFO] [] [] [tid: _ThreadID=61 _ThreadName=PingService] [timeMillis: 1489070891344] [levelValue: 800] [[
Domain Pinged: release.glassfish.org]]

[2017-03-09T16:58:53.783+0200] [glassfish 5.0] [INFO] [NCLS-REST-00001] [javax.enterprise.admin.rest] [tid: _ThreadID=49 _ThreadName=admin-listener(1)] [timeMillis: 1489071533783] [levelValue: 800] [[
Listening to REST requests at context: /command/domain.]]

[2017-03-09T16:58:54.584+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00092] [javax.enterprise.system.core] [tid: _ThreadID=98 _ThreadName=Thread-23] [timeMillis: 1489071534584] [levelValue: 800] [[
Server shutdown initiated]]

[2017-03-09T16:58:54.591+0200] [glassfish 5.0] [INFO] [NCLS-BOOTSTRAP-00028] [javax.enterprise.bootstrap] [tid: _ThreadID=98 _ThreadName=Thread-23] [timeMillis: 1489071534591] [levelValue: 800] [[
Unregistered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@4930539b from service registry.]]

[2017-03-09T16:58:54.593+0200] [glassfish 5.0] [INFO] [] [] [tid: _ThreadID=98 _ThreadName=Thread-8] [timeMillis: 1489071534593] [levelValue: 800] [[
FileMonitoring shutdown]]

[2017-03-09T16:58:54.600+0200] [glassfish 5.0] [INFO] [NCLS-JMX-00002] [javax.enterprise.system.jmx] [tid: _ThreadID=98 _ThreadName=Thread-23] [timeMillis: 1489071534600] [levelValue: 800] [[
JMXStartupService: Stopped JMXConnectorServer: null]]

[2017-03-09T16:58:54.601+0200] [glassfish 5.0] [INFO] [NCLS-JMX-00001] [javax.enterprise.system.jmx] [tid: _ThreadID=98 _ThreadName=Thread-23] [timeMillis: 1489071534601] [levelValue: 800] [[
JMXStartupService and JMXConnectors have been shut down.]]

[2017-03-09T16:58:54.859+0200] [glassfish 5.0] [INFO] [] [] [tid: _ThreadID=104 _ThreadName=Thread-8] [timeMillis: 1489071534859] [levelValue: 800] [[
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools = [GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool]]]

[2017-03-09T17:04:53.124+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489071892832] [timeMillis: 1489071893124] [levelValue: 800] [[
Running GlassFish Version: GlassFish Server Open Source Edition 5.0 (build 3)]]

[2017-03-09T17:04:53.126+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489071892832] [timeMillis: 1489071893126] [levelValue: 800] [[
Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]

[2017-03-09T17:04:53.325+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071893325] [levelValue: 800] [[
Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T17:04:53.336+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071893336] [levelValue: 800] [[
Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T17:04:53.345+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071893345] [levelValue: 800] [[
Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]

[2017-03-09T17:04:53.480+0200] [glassfish 5.0] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489071892832] [timeMillis: 1489071893480] [levelValue: 800] [[
Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]

[2017-03-09T17:04:53.861+0200] [glassfish 5.0] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071893861] [levelValue: 800] [[
Authorization Service has successfully initialized.]]

[2017-03-09T17:04:54.681+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071894681] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 139ms - bound to [/0.0.0.0:8080]]]

[2017-03-09T17:04:54.763+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071894763] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 3ms - bound to [/0.0.0.0:8181]]]

[2017-03-09T17:04:54.772+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071894772] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 1ms - bound to [/0.0.0.0:4848]]]

[2017-03-09T17:04:54.862+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489071892832] [timeMillis: 1489071894862] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 1ms - bound to [/0.0.0.0:3700]]]

[2017-03-09T17:04:54.863+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00017] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489071894863] [levelValue: 800] [[
GlassFish Server Open Source Edition 5.0 (3) startup time : Felix (38,378ms), startup services(2,045ms), total(40,423ms)]]

[2017-03-09T17:05:00.057+0200] [glassfish 5.0] [INFO] [jts.startup_msg] [javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489071892850] [timeMillis: 1489071900057] [levelValue: 800] [[
JTS5014: Recoverable JTS instance, serverId = [100]]]

[2017-03-09T17:05:05.371+0200] [glassfish 5.0] [INFO] [] [org.hibernate.validator.internal.util.Version] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489071892828] [timeMillis: 1489071905371] [levelValue: 800] [[
HV000001: Hibernate Validator 5.2.4.Final]]

[2017-03-09T17:05:05.905+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489071892828] [timeMillis: 1489071905905] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 4ms - bound to [/0.0.0.0:7676]]]

[2017-03-09T17:05:05.910+0200] [glassfish 5.0] [INFO] [NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489071905910] [levelValue: 800] [[
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@6293e39e as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@7ad54c55.]]

[2017-03-09T17:05:15.194+0200] [glassfish 5.0] [INFO] [NCLS-JMX-00005] [javax.enterprise.system.jmx] [tid: _ThreadID=51 _ThreadName=Thread-13] [timeMillis: 1489071915194] [levelValue: 800] [[
JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi]]

[2017-03-09T17:22:49.073+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489072968850] [timeMillis: 1489072969073] [levelValue: 800] [[
Running GlassFish Version: GlassFish Server Open Source Edition 5.0 (build 3)]]

[2017-03-09T17:22:49.075+0200] [glassfish 5.0] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489072968850] [timeMillis: 1489072969075] [levelValue: 800] [[
Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]

[2017-03-09T17:22:49.283+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489072968846] [timeMillis: 1489072969283] [levelValue: 800] [[
Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T17:22:49.310+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489072968846] [timeMillis: 1489072969310] [levelValue: 800] [[
Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]

[2017-03-09T17:22:49.315+0200] [glassfish 5.0] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489072968846] [timeMillis: 1489072969315] [levelValue: 800] [[
Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]

[2017-03-09T17:22:49.382+0200] [glassfish 5.0] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489072968867] [timeMillis: 1489072969382] [levelValue: 800] [[
Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]

[2017-03-09T17:22:49.903+0200] [glassfish 5.0] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=18 _ThreadName=RunLevelControllerThread-1489072968867] [timeMillis: 1489072969903] [levelValue: 800] [[
Authorization Service has successfully initialized.]]

[2017-03-09T17:22:50.200+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489072968846] [timeMillis: 1489072970200] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 49ms - bound to [/0.0.0.0:8080]]]

[2017-03-09T17:22:50.227+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489072968846] [timeMillis: 1489072970227] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 2ms - bound to [/0.0.0.0:8181]]]

[2017-03-09T17:22:50.234+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489072968846] [timeMillis: 1489072970234] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 1ms - bound to [/0.0.0.0:4848]]]

[2017-03-09T17:22:50.307+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489072968850] [timeMillis: 1489072970307] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 2ms - bound to [/0.0.0.0:3700]]]

[2017-03-09T17:22:50.308+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00017] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489072970308] [levelValue: 800] [[
GlassFish Server Open Source Edition 5.0 (3) startup time : Felix (40,856ms), startup services(1,471ms), total(42,327ms)]]

[2017-03-09T17:22:55.522+0200] [glassfish 5.0] [INFO] [jts.startup_msg] [javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1489072968846] [timeMillis: 1489072975522] [levelValue: 800] [[
JTS5014: Recoverable JTS instance, serverId = [100]]]

[2017-03-09T17:23:00.881+0200] [glassfish 5.0] [INFO] [] [org.hibernate.validator.internal.util.Version] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489072968850] [timeMillis: 1489072980881] [levelValue: 800] [[
HV000001: Hibernate Validator 5.2.4.Final]]

[2017-03-09T17:23:01.550+0200] [glassfish 5.0] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1489072968850] [timeMillis: 1489072981550] [levelValue: 800] [[
Grizzly Framework 2.3.29 started in: 1ms - bound to [/0.0.0.0:7676]]]

[2017-03-09T17:23:01.553+0200] [glassfish 5.0] [INFO] [NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1489072981553] [levelValue: 800] [[
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@6293e39e as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@7ad54c55.]]

[2017-03-09T17:23:10.684+0200] [glassfish 5.0] [INFO] [NCLS-JMX-00005] [javax.enterprise.system.jmx] [tid: _ThreadID=51 _ThreadName=Thread-13] [timeMillis: 1489072990684] [levelValue: 800] [[
JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi]]

Comment by Yamini K B [ 10/Mar/17 ]

The problem you originally reported (i.e GlassFish not starting) is solved. I would like to close this issue.

The app deployment failing is a different problem, the above log doesn't indicate any problem in GlassFish. Maybe you are missing some step or something is not right in the app.

Comment by Blaise_RW [ 10/Mar/17 ]

Thank you.

Comment by Blaise_RW [ 10/Mar/17 ]

and one last thing how do I close this





[GLASSFISH-21702] Update Java EE version in master pom.xml to EE8 Created: 10/Mar/17  Updated: 10/Mar/17

Status: Open
Project: glassfish
Component/s: build_system
Affects Version/s: 5.0
Fix Version/s: None

Type: Task Priority: Trivial
Reporter: David Delabassee Assignee: Arindam Bandyopadhyay
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

NA



 Description   

<javaee.major_version> should be updated to 8






[GLASSFISH-21247] How to access admin console http instead of https Created: 04/Nov/14  Updated: 10/Mar/17  Resolved: 10/Mar/17

Status: Closed
Project: glassfish
Component/s: configuration
Affects Version/s: 4.0
Fix Version/s: None

Type: Task Priority: Minor
Reporter: gtulasidhar Assignee: Yamini K B
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

STAGE



 Description   

Hi Team,
We need access admin console http instead of https.

Could you please give me steps to do this.

Thanks,
Tulasidhar



 Comments   
Comment by smillidge-c2b2 [ 04/Nov/14 ]

Run

asadmin disable-secure-admin
asadmin restart-domain domain1

where domain1 is your domain name

Comment by gtulasidhar [ 05/Nov/14 ]

it is working in same system.i need remote system...could you please help me......

Comment by gtulasidhar [ 05/Nov/14 ]

Just i want use local or remote only with http....please help me on this.......

Comment by Anissa Lam [ 05/Nov/14 ]

For security reason, to access a remote system, it is requried that you enable secure admin and launch the admon console with https.
There is no way to use http for remote access.

Comment by gtulasidhar [ 06/Nov/14 ]

ok thanks for update.In same network computers not working,but working in windows servers.Is there any chance to work all same network systems ?

Thanks,
Tulasidhar

Comment by Anissa Lam [ 06/Nov/14 ]

I am not sure what you mean here. Please clarify.

Comment by Masoud Kalali [ 07/Dec/15 ]

Considering that I am no longer active in GlassFish space I am assigning all the tickets to Chris Kasso in Java EE/ Application Servers team and he can reassign them as appropriate.

Comment by Yamini K B [ 10/Mar/17 ]

http is only for local access





[GLASSFISH-21346] Glassfish 4.1 fails to start on OSX 10.10.3 Created: 09/Apr/15  Updated: 10/Mar/17  Resolved: 10/Mar/17

Status: Closed
Project: glassfish
Component/s: admin
Affects Version/s: 4.1
Fix Version/s: 4.1.1

Type: Bug Priority: Major
Reporter: pbelbin Assignee: Yamini K B
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OSX 10.10.3



 Description   

launchctl dsexec now appears to require root priveliges to be used.

so, asadmin from cmd line does not work when it comes to starting.

interactive workaround: use the --verbose option when starting/stopping the domain. but, this means that the command never finishes (which makes it inappropriate for scripting)



 Comments   
Comment by pbelbin [ 10/Apr/15 ]

Just an observation: even though the asadmin from the command line fails, NetBeans is able to start glassfish. hmmmm. what's different about how NetBeans is starting glassfish?

Comment by gamussa [ 10/Apr/15 ]

related issue https://java.net/jira/browse/GLASSFISH-21343

Comment by sgtunix [ 21/Apr/15 ]

A temporary solution (before it's fixed in Glassfish) is to create a wrapper script for launchctl. I wrote a little blog entry explaining how to do this:

https://medium.com/@tk512/glassfish-4-1-won-t-start-in-yosemite-10-10-3-c843488f6e76

Comment by Yamini K B [ 10/Mar/17 ]

Bug is fixed as part of GLASSFISH-21343





[GLASSFISH-21343] Glassfish fails to start on OSX 10.10.3 Created: 02/Apr/15  Updated: 10/Mar/17  Resolved: 04/Jun/15

Status: Closed
Project: glassfish
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Bug Priority: Major
Reporter: gamussa Assignee: Joe Di Pol
Resolution: Fixed Votes: 9
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File GFLauncher.patch    
Issue Links:
Duplicate
is duplicated by GLASSFISH-21349 GlassFish 4 does not start on OS X 10... Resolved
is duplicated by GLASSFISH-21350 Glassfish 4.1 won't start on OS X 10.... Closed
Related
is related to GLASSFISH-21568 GlassFish 4 does not start on OS X 10... Closed

 Description   

Glassfish fails to start on OSX 10.10.3 (there is no such problem with previous version).

./asadmin start-domain domain1

JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with exit code 1.
Before it died, it produced the following output:

Command start-domain failed.

Investigation showed, that command launchctl bsexec / that Glassfish uses on mac throws error

This subcommand requires root privileges: bsexec

Apparently, starting from 10.10.3 bsexec requires root privileges.

Posible workarounds

  • sudo ./asadmin start-domain domain1
  • ./asadmin start-domain domain1 --verbose=true


 Comments   
Comment by emreavsar [ 09/Apr/15 ]

Having the same issue here, worked with the /usr/libexec/StartupItemContext file until now. After the update (10.10.3) from this morning, this does not work anymore.

cat /usr/libexec/StartupItemContext
#!/bin/sh
unset LAUNCHD_SOCKET
exec launchctl bsexec / "$@"

Env:

  • Mac OS X (10.10.3)
  • GlassFish Server Open Source Edition 3.1.2 (build 23)
Comment by simon.schlachter [ 09/Apr/15 ]

Another workaround:
Changing the content of /usr/libexec/StartupItemContext to the following content, restores a working GF for me:

#!/bin/sh
unset LAUNCHD_SOCKET
$@
Comment by emreavsar [ 09/Apr/15 ]

Great! simon.schlachter's answer worked for me.

Comment by gamussa [ 09/Apr/15 ]

Just FYI, Apple removed StartupItemContext from 10.10 (Glassfish fixed this https://java.net/jira/browse/GLASSFISH-21113). Glassfish launcher has this commands hardcoded https://java.net/projects/glassfish/sources/svn/content/trunk/main/nucleus/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncher.java?rev=63819 (line around 448).
So this workaround will work only if you create StartupItemContext.
Another drawback of this workaround is that Glassfish shuts down once you close terminal session.

Comment by simon.schlachter [ 09/Apr/15 ]

@gamussa: You're reight about the "Glassfish shuts down once you close terminal session". This is, however, not a problem on our side, since we use OSX not for production, but during development.

Comment by pbelbin [ 10/Apr/15 ]

the suggestions may be ok for glassfish 3.x which use the StartupItemContext, but, for 4.1, which does not use that, it appears these ideas are a bust. 10.10.3 appears not to have StartupItemContext.

glassfish 4.1 does not rely on StartupItemContext being present, thus, nothing relying on StartupItemContext works.

Comment by gamussa [ 10/Apr/15 ]

StartupItemContext file content was hardcoded in GFLauncher code (link above). GL 4.x will fail to start on 10.10.3 (specifically, it was released yesterday) because bsexec requires admin permissions two run.

Comment by yfain [ 15/Apr/15 ]

If GlassFish is configured in Eclipse it starts fine from there.

To start it from IntelliJ IDEA you need to edit Run configuration and change the Startup line to something like this:
/Users/yourUserName/glassfish4/glassfish/bin/asadmin start-domain --verbose

(the description of this bug suggests similar line as a workaround, but it didn't work for me until I removed domain1 from the start line).

Comment by Joe Di Pol [ 16/Apr/15 ]

To summarize:

In GlassFish 4.0 "/usr/libexec/StartupItemContext" was used to start GlassFish. For details as to why see GLASSFISH-12942

In MacOS 10.10 Apple removed StartupItemContext, so GlassFish 4.1 stopped using it and did 'launchctl bsexec' directly. For details see GLASSFISH-21113

And in 10.10.3 that fails because, apparently, bsexec now requires root privileges.

We will investigate fixing this in an upcoming GlassFish update.

Comment by Joe Di Pol [ 18/Apr/15 ]

Attaching nohup patch that was posted to gf-users by Petr.

Comment by sgtunix [ 21/Apr/15 ]

A temporary solution (before it's fixed in Glassfish) is to create a wrapper script for launchctl. I wrote a little blog entry explaining how to do this:

https://medium.com/@tk512/glassfish-4-1-won-t-start-in-yosemite-10-10-3-c843488f6e76

Comment by Romain Grécourt [ 23/Apr/15 ]

The proposed patch using nohup does not solve the initial issue that introduced the use of StartupItemContext / launchctl bsexec, see GLASSFISH-12942.

Comment by Jill Sato [ 23/Apr/15 ]

The ssh problem mentioned in GLASSFISH-12942 is fixed in recent MacOS versions so we will use 'launchctl bsexec' for MacOS versions earlier than 10.10 only.
Otherwise just start up normally with the regular command line.

Comment by Jill Sato [ 04/Jun/15 ]

Fixed in rev 63854.

Comment by gamussa [ 04/Jun/15 ]

@jill sato,

not sure how this patch solves this problem.
As I mentioned bsexec requires admin privileges. startup will fail under 10.10.3

https://java.net/projects/glassfish/sources/svn/content/trunk/main/nucleus/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/GFLauncher.java?rev=63854. Not very related for fix for https://java.net/jira/browse/GLASSFISH-21113

Comment by Romain Grécourt [ 04/Jun/15 ]

The fix avoids the usage of bsexec for os.x < 10.10.x, so startup should not fail under 10.10.3.
Please try a nightly build: http://dlc-cdn.sun.com/glassfish/4.1/nightly/latest-glassfish.zip

Also note that the bug for which the usage of bsexec was added (GLASSFISH-12942) cannot be reproduced on new osx version.





[GLASSFISH-16587] request.getUserPrincipal() does not return MyPrincipal Created: 09/May/11  Updated: 10/Mar/17

Status: Open
Project: glassfish
Component/s: web_container
Affects Version/s: 3.1
Fix Version/s: future release

Type: Bug Priority: Major
Reporter: gernot1 Assignee: sameerpandit
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: 3_1-next, 3_1_1-exclude, 3_1_1-scrubbed, 3_1_2-exclude

 Description   

I've an own javax.security.auth.message.module.ServerAuthModule implementation.
In validateRequest() I put an instance of MyPrincipal to the callbackhandler
MyPrincipal myprincipal = ...;
callbackHandler.handle(new Callback[]

{ new CallerPrincipalCallback(clientSubject, myprincipal), new GroupPrincipalCallback(...) }

);
In the application request.getUserPrincipal() returns an instance of com.sun.enterprise.security.web.integration.WebPrincipal and NOT an instance of MyPrincipal!

In an ejb the call of ejbContext.getCallerPrincipal() does return an instance of MyPrincipal!

==> request.getUserPrincipal() should return the principal which is set in the ServerAuthModule



 Comments   
Comment by kumarjayanti [ 09/May/11 ]

yes this is a known issue and we made some work on it to get the behavior you are looking for. It is still not committed, more work to do.

Comment by kumarjayanti [ 18/May/11 ]

We will make an attempt to get this fixed for 3.1.1 but cannot commit based on resources and time left.

Comment by sultry [ 14/May/15 ]

Depends on this bug made that workaround:

private static Principal glassfishWorkAround(HttpServletRequest request) {
        Principal principal = null;
        try {
            Principal webPrincipal = request.getUserPrincipal();
            if (webPrincipal != null) {
                Class glassfishWrapper = Class.forName("com.sun.enterprise.security.web.integration.WebPrincipal");
                if (glassfishWrapper.isInstance(webPrincipal)) {
                    Field customPrincipal = glassfishWrapper.getDeclaredField("customPrincipal");
                    customPrincipal.setAccessible(true);
                    principal = (Principal) customPrincipal.get(webPrincipal);
                } else {
                    principal = webPrincipal;
                }
            }
        } catch (IllegalArgumentException | IllegalAccessException | NoSuchFieldException | SecurityException | ClassNotFoundException ex) {
            LOGGER.throwing("SecurityConstraint", "glassfishWorkAround", ex);
        }
        return principal;
}

public static Principal getPrincipal(HttpServletRequest request) {
        return glassfishWorkAround(request);
}

Hope it helps somebody! Anyway hope this bug will be resolved soon.

Comment by arjan tijms [ 17/Oct/15 ]

Any progress here?





[GLASSFISH-21447] java:app & java:module namespaces temporarily disappear when SAM invoked Created: 22/Oct/15  Updated: 10/Mar/17

Status: Open
Project: glassfish
Component/s: security
Affects Version/s: 4.1.1, 5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: arjan tijms Assignee: sameerpandit
Resolution: Unresolved Votes: 0
Labels: security
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: ejb, jaspic, jndi, namespace

 Description   

When trying to obtain something from the JNDI namespace java:app or java:module during invocation of a SAM's validateRequest method an exception is thrown.

However, right before the SAM is invoked, namely in a ServletRequestListener as well as right after the SAM is invoked, namely in a Filter or Servlet this operation succeeds.

The exception thrown is the following:

javax.naming.NamingException: Lookup failed for 'java:module/EJBBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is javax.naming.NamingException: Invocation exception: Got null ComponentInvocation ]
	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:438)
	at javax.naming.InitialContext.lookup(InitialContext.java:417)
	at javax.naming.InitialContext.lookup(InitialContext.java:417)
	at test.TestServerAuthModule.validateRequest(TestServerAuthModule.java:40)
	at javax.security.authenticationmechanism.DefaultServerAuthContext.validateRequest(DefaultServerAuthContext.java:36)
	at com.sun.web.security.RealmAdapter.validate(RealmAdapter.java:1654)
	at com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate(RealmAdapter.java:1521)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:606)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:702)
	at org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:678)
	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:416)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:283)
	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
	at java.lang.Thread.run(Thread.java:745)
Caused by: javax.naming.NamingException: Invocation exception: Got null ComponentInvocation 
	at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.getComponentId(GlassfishNamingManagerImpl.java:842)
	at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:714)
	at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:167)
	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:471)

The lookup code is as follows:

try {
	// java:global/glassfish-sam-ee-namespaces/EJBBean does work
	EJBBean ejbBean = (EJBBean) new InitialContext().lookup("java:module/EJBBean");
	System.out.println("SAM: " + ejbBean.hello());
} catch (NamingException e) {
	System.out.println("SAM: Exception");
	e.printStackTrace();
}

A full reproducer is provided as Maven project at: https://github.com/arjantijms/glassfish-sam-ee-namespaces

Building and deploying this project to a stock GlassFish, then requesting http://localhost:8080/glassfish-sam-ee-namespaces/servlet prints the following in the log:

RequestListener: Hello from EJB
SAM: Exception
javax.naming.NamingException: Lookup failed for 'java:module/EJBBean' in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} (rest of exception as above)
Servlet: Hello from EJB

Expected is:

RequestListener: Hello from EJB
SAM: Hello from EJB
Servlet: Hello from EJB

Deploying the same application to JBoss WildFly 9.0.1 or 10.0rc3 (with a modified standalone.xml to activate jaspic) indeed prints the above.



 Comments   
Comment by monzillo [ 23/Oct/15 ]

Glassfish should be modiefied such that such JNDI lookups may be made from within the SAM.
Also The JASPIC spec is silent on this, and should be amended to ensure that such lookups are required to supported.

Comment by arjan tijms [ 02/Nov/15 ]

After some research in the code it appears GlassFish sets and unsets the required context every time a web listener or component is called via a call to an InvocationManager. E.g. setting up the context:

private void preInvoke(WebModule ctx) {
    WebModule wm = (WebModule)ctx;
    ComponentInvocation inv = new WebComponentInvocation(wm);
    invocationMgr.preInvoke(inv);
}

And unsetting it:

private void postInvoke(WebModule ctx) {
    WebModule wm = (WebModule)ctx;
    ComponentInvocation inv = new WebComponentInvocation(wm);
    invocationMgr.postInvoke(inv);
}

Calls like these should be done prior to a SAM being called. The exact calls can't be done directly, because there would be a circulair dependency between web-glue.jar (where WebComponentInvocation lives) and websecurity.jar (where the RealmAdapter that calls the SAM lives).

However, firing an event for one of the existing listeners seems to work, as this will effectively invoke code such as shown above.

E.g. in com.sun.web.security.RealmAdapter.invokeAuthenticateDelegate, add a try/catch with the context.fireContainerEvent calls as shown below for validateRequest

   if (serverAuthConfig != null) {
            //JSR 196 is enabled for this application
        	try {
        		context.fireContainerEvent(BEFORE_CONTEXT_ATTRIBUTE_ADDED, null);
        		result = validate(request, response, config, authenticator, calledFromAuthenticate);
        	} finally {
        		context.fireContainerEvent(AFTER_CONTEXT_ATTRIBUTE_ADDED, null);
        	}
        } 

And for secureResponse in com.sun.web.security.RealmAdapter.invokePostAuthenticateDelegate:

 if (messageInfo != null) {
                    //JSR 196 is enabled for this application
                    sAC = (ServerAuthContext) messageInfo.getMap().get(SERVER_AUTH_CONTEXT);
                    if (sAC != null) {
                    	try {
                    		context.fireContainerEvent(BEFORE_CONTEXT_ATTRIBUTE_ADDED, null);
                    		AuthStatus authStatus =  sAC.secureResponse(messageInfo, null); // null serviceSubject
                    		result = AuthStatus.SUCCESS.equals(authStatus);
                    	} finally {
                    		context.fireContainerEvent(AFTER_CONTEXT_ATTRIBUTE_ADDED, null);
                    	}
                    }
                }

Simular code should be added to com.sun.web.security.RealmAdapter.logout to support cleanSubject, but this requires a few more changes since context is not directly available in that method. Furthermore, for validateRequest firing the events should probably be moved into the validate() method, which should have context as extra parameter.

Finally, there should probably a new event be added and used instead of "AFTER_CONTEXT_ATTRIBUTE_ADDED".

I tested a GlassFish 4.1.1 build patched with the above changes at it fixes the problem. I also executed all JASPIC tests from the Java EE 7 samples project and no new failures occurred.

As for the reproducer linked from the issue descriptor, it now logs this on the patched GlassFish:

RequestListener initialized: Hello from EJB
SAM: Hello from EJB
Servlet: Hello from EJB
SAM SR: Hello from EJB
RequestListener destroyed: Hello from EJB
Comment by arjan tijms [ 23/Dec/15 ]

Note that Payara fixed this downstream. See https://github.com/payara/Payara/pull/581





[GLASSFISH-20819] glassfish 4 domain-start command getMasterPasswordFile attempts to read master password from serverDir, instead of configDir Created: 19/Sep/13  Updated: 09/Mar/17

Status: In Progress
Project: glassfish
Component/s: admin
Affects Version/s: 4.0_dev
Fix Version/s: None

Type: Bug Priority: Major
Reporter: heq Assignee: Yamini K B
Resolution: Unresolved Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates GLASSFISH-21266 Start domain does not follow savelogi... In Progress

 Description   

How to reproduce:
Create a domain with the option --passwordfile and --savemasterpassword. This creates a master-password file in the config folder. When we attempt to start the domain, it complains

"The Master Password is required to start the domain. No console, no prompting possible. You should either create the domain with --savemasterpassword=true or provide a password file with the --passwordfile option.Command start-domain failed."

I found the root cause of the issue. In class LocalServerCommand.java method getMasterPasswordFile, the following line is wrong:

File mp = new File(serverDirs.getServerDir(), "master-password");

It should be serverDirs.getConfigDir() instead, because that is where master-password is saved during domain-creation. I verified this by manually copying the master-password file to the folder one level above the config folder. Then start-domain command works without the complaint.



 Comments   
Comment by skwirking [ 22/Sep/14 ]

As heq reports:

  • start-domain behaves unexpectedly: it looks for the master-password file above the config directory, but
  • create-domain behaves as expected: with --savemasterpassword=true it saves the master-password file inside the config directory.

However, we have also found that:

  • change-master-password behaves unexpectedly: with --savemasterpassword=true it saves the master-password file in the directory above config.

So if you're using create-domain to save the master password, it's not going to work, because start-domain is looking in the wrong place. But if you use change-master-password to save the master password, it will work, because it will get saved to the same wrong place that start-domain is looking.

This is pretty major, as now I cant configure glassfish to auto start on server reboot, because it can't find the master-password file.

If anyone is looking for a workaround, you can either:

  • use change-master-password with --savemasterpassword, as this places the master-password file in the same wrong place that start-domain is expecting
  • create a symbolic link:
    cd path-to-domain
    ln -s config/master-password
Comment by Vinay Vishal [ 02/Jul/15 ]

Contrary to what has been mentioned in the bug description, the actual behavior is:

create-domain should create the master password file inside domain directory when --savemasterpassword=true is specified.
change-master-password with -savemasterpassword is saving file at correct location.

Bug Glassfish-21266 deals with the same issue for which work is under progress.

Reproduced the below comments from the above mentioned bug for quick reference:

master-password file ideally should reside inside domain root directory and not inside config directory as is currently happening when create-domain command is run with --savemasterpassword option specified.
Glassfish security guide too mentions it.
"For a domain, the master password is kept in domain-dir/master-password"
Glassfish-Security-Guide(Page 1-4)
Fix will soon be made available for this.





[GLASSFISH-21348] Clustering and GMS broken Created: 10/Apr/15  Updated: 09/Mar/17

Status: Open
Project: glassfish
Component/s: None
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Manfred Riem Assignee: Joe Di Pol
Resolution: Unresolved Votes: 1
Labels: waiting_on_filer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Java Source File FlashClusterIT.java     Java Source File FlashMessagesIT.java     Java Source File FlashViewParamIT.java     Java Source File Issue2862IT.java     Java Source File Issue2973IT.java     Java Source File KeepMessagesIT.java     File test-cluster-servlet25-flash-basic.war    

 Description   

As part of the Mojarra testbed we run some cluster tests. It appears with GF 4.1 this particular test WAR is not working entirely correctly.



 Comments   
Comment by Manfred Riem [ 10/Apr/15 ]

Deployable WAR + HtmlUnit tests

Comment by Yamini K B [ 09/Mar/17 ]

Is this problem seen on 5.0?

When you say not working entirely correctly, what is the expected result?

Comment by Manfred Riem [ 09/Mar/17 ]

This is so long ago I can't recall exactly, but the WAR and the test cases are added to the issue so you just have to run the tests and you will see.





[GLASSFISH-21243] Glassfish ignores variables in asenv.conf that begin with the letter "S" Created: 26/Oct/14  Updated: 09/Mar/17

Status: Open
Project: glassfish
Component/s: configuration
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: camertron Assignee: Kokil_Jain
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Mac OS 10.9.5
Linux version 2.6.32-431.29.2.el6.x86_64 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Tue Sep 9 21:36:05 UTC 2014



 Description   

Any variables I set in asenv.conf that begin with a capital letter "S" are ignored and not accessible to web applications. All other variables are set and can be retrieved as expected. The problem may also happen with a lowercase letter "s", but I didn't specifically test that case.



 Comments   
Comment by Masoud Kalali [ 07/Dec/15 ]

Considering that I am no longer active in GlassFish space I am assigning all the tickets to Chris Kasso in Java EE/ Application Servers team and he can reassign them as appropriate.





[GLASSFISH-21138] After editing Availability service in configurations domain.xml corrupted Created: 21/Jul/14  Updated: 09/Mar/17

Status: Open
Project: glassfish
Component/s: admin
Affects Version/s: 4.1_dev
Fix Version/s: None

Type: Bug Priority: Major
Reporter: dmatej Assignee: Kokil_Jain
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 1 hour
Time Spent: Not Specified
Original Estimate: 1 hour

Tags: availability, clustered, domain

 Description   

1) Create some configuration
2) Edit Availability Service (anything ... f.e. turn SSO failover on)
3) Save

domain.xml then contains two elements
<availability-service></availability-service>

  • one is empty and one contains saved settings.

The result of this is that GUI does not reflect saved configuration and I could not start IMQ broker on cluster instances - the imq folder was not created and startup ended up with nullpointers in server.log!

Same problem is both using GUI and asadmin command. When I delete the empty element, everything works.



 Comments   
Comment by Anissa Lam [ 15/Aug/14 ]

I am not sure why this was assigned to me.
From the comment, this is not a gui issue, since it says the same problem occurs when using GUI or asadmin command.
Console doesn't write out to domain.xml
I think config team should investigate why there are 2 entries of <availability-service> element created.

Comment by smillidge-c2b2 [ 26/Oct/14 ]

This commit fixes the bug

https://github.com/payara/Payara/commit/4f8c0bf00540e5e4d964fce4226d9d0976addec9

I suspect this commit introduced the bug so it should be reviewed against that fix;

https://java.net/projects/glassfish/sources/svn/revision/61485





[GLASSFISH-21190] Properties substitution issue Created: 10/Sep/14  Updated: 09/Mar/17

Status: Open
Project: glassfish
Component/s: admin_gui
Affects Version/s: 4.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Mephysto Assignee: sumasri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Glassfish 4.1 on Windows 7 64bit



 Description   

Hi there,
I found an issue with properties substitution in Glassfish 4.1 on a Windows 7 64bit environment.

I build an application in which I used glassfish-resources.xml file to define a jdbc-resource and a jdbc-connection-pool: for database parameters I used three property aliases. They are listet below:

$

{postgres_user}
${postgres_port}
${postgres_host}

At the same time I did set the corresponing system properties with the correct values.

After application deploying (deployed by NetBe