GlassFish 5 is the reference Java EE 8 application server.
Questions tagged [glassfish-5]
92 questions
13
votes
7 answers
Cannot install Glassfish tools in Eclipse Photon / Eclipse IDE
Eclipse cannot install glassfish tools. under Oracle folder of server there is only options for Webllogic and cloud, The glassfish option appears only ONE time whe I first tried to install it. an after it no longer shows up
I have tried to remove…

usertest
- 2,140
- 4
- 32
- 51
12
votes
3 answers
Set-Cookie header in Glassfish-5: folding several cookies in one header not working on Firefox (https + HTTP/2.0)
I noticed that Glassfish-5 web server sends responses with only one Set-Cookie header, which contains several cookies. When I looking with firebug, I can see that they are separated by unknown character. Anyway - the Firefox reads only the first…

Ernestas Gruodis
- 8,567
- 14
- 55
- 117
11
votes
4 answers
Eclipse support for Glassfish 5
Does anyone know if there will be support for GlassFish 5 in Eclipse in nearer future (GlassFish Tools supports 3.1 and 4.x)?
Is there another way to integrate Glassfish in Eclipse besides GlassFish Tools?

Flocke
- 764
- 6
- 14
9
votes
6 answers
java.lang.NoClassDefFoundError: sun/security/ssl/SupportedEllipticCurvesExtension
I am trying to secure a web application so that I can use a secure data transport layer TLS/SSL with HTTPS. I am using glassfish server 5. After starting the server I did a https://localhost:8181 and it gave me this exception:
Warning: …

Terrence Munyunguma
- 146
- 1
- 2
- 9
4
votes
0 answers
Issue: Glassfish 5 after Re-Deployment Websocket no Messages from Server
Currently using Glassfish 5(Payara).
After first serverstart and deployment the Websocket has no issues at all.
After a Re-Deployment the handshake between client and server connect, but the websocket doesn´t get any messages from our server.
In…

Christian
- 41
- 1
2
votes
1 answer
Cannot run JSF/Primefaces project in Intellij Idea using Glassfish server 5
I am trying to run a JSF/Primefaces project which was working before a couple of jre updates. Now, I see the following errors being generated and the deployment is stopped:
[2021-03-18 05:13:48,685] Artifact Flowchart:war exploded: Artifact is…

Jawad Lotfi
- 41
- 4
2
votes
1 answer
How to disable TLS1 & TLS1.1 for glassfish 5.0.1 admin-listener (port 4848) from the command-line
How do I disable TLS1.0 & TLS1.1 for glassfish admin console(admin-listener, port 4848, jdk1.8.0_261)?
I don't want to disable it at server level (/usr/java/jdk1.8.0_261-amd64/jre/lib/security/java.security) as it may affect the applications running…

Ranjith knair
- 21
- 4
2
votes
1 answer
Hibernate picking incorrect TypeDescriptor
I am using Hibernate 5 with JPA. Below is some code snippets.
The Object is built using JAXB and I prefer not to change the response type from Calendar as it will impact other applications as well.
class Object {
@XmlSchemaType(
name =…

Jyothi Madanlal
- 21
- 2
2
votes
0 answers
java.lang.IllegalAccessError: sun/security/provider/SunEntries
I have been trying to solve my problem for a while now and couldn't find a solution yet. I have migrated from Eclipse to Intellij IDEA a couple months ago and have been developing JSF/CDI web apps on Glassfish 5. Now, I had to reinstall my whole…

Jawad Lotfi
- 41
- 4
2
votes
2 answers
Payara Server Startup Exception
I am getting this error in Payara 5.194 during startup in centos.I try changing setting to default setting and change port but i am still getting this error
[2020-04-03T10:36:10.144+0545] [Payara 5.194] [WARNING] []…

Mukesh M
- 2,242
- 6
- 28
- 41
2
votes
0 answers
Intellij IDEA (Ultimate) with Glassfish 5.0 (Local) Debugger Settings
I have a Java Web Application and a web container Glassfish 5.0 with some custom java agent attached to the container.
I want to Debug my application as well as attach a Remote Debugger to Debug my Agent code simultaneously.
I am using Intellij…

Harshit Rajput
- 83
- 1
- 9
2
votes
3 answers
Cannot generate database schemas from model @Entity classes in GlassFish 5 server using MySQL
Hello I have got problem with enabling auto generating database tables from java models @Entity classes. I have tried almost everything.
I have created maven project in Intellij Idea at first I have downloaded JavaEE 8 api implementation which I am…

Ppyyt
- 125
- 2
- 9
2
votes
0 answers
asadmin enable-secure-admin throws NCLS-ADMIN-00010
Trying to enable-secure-admin but keep getting the following errors:
Command create-domain executed successfully.
root@ip-123456:/opt/glassfish5/glassfish/bin# asadmin start-domain mydomain
Waiting for mydomain to start .......
Successfully…

Esteban Rincon
- 2,040
- 3
- 27
- 44
2
votes
0 answers
Glassfish 5, Grave: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException
he tried to start a jsf application on a glassfish 5.0 server with java 8, but now I try to start the program and this error occurs, I have tried several things even adding some jersey libraries. I do not understand why this error occurs to me, the…
2
votes
0 answers
Deploy war in Glassfish 5 Docker Image
I am trying to deploy a war in a docker container based on the oracle/glassfish:5.0 image.
I am able to deploy the war through the Glassfish Administration Console and manually uploading the war file.
Nevertheless, I would like to deploy the war…

darthfather
- 377
- 3
- 12