Questions tagged [glassfish]

GlassFish is a Jakarta EE compatible application server from the Eclipse Foundation.

Eclipse GlassFish is a Jakarta EE open source application server.

The latest GlassFish release as of April 2023 is version 7.0.4. See the downloads page for more recent releases.

GlassFish 3.0 was the first application server to completely implement Java EE 6. GlassFish 4.0 introduced Java EE 7 support, and GlassFish 5 for Java EE 8. GlassFish is the reference implementation for Java EE JSR's (EE 6, EE 7, EE 8). GlassFish 6 implements Jakarta EE 9.1.

GlassFish 7 supports Jakarta EE 10. It compiles and runs on JDK 11 to JDK 20.

Jakarta EE 10 includes the latest versions of technologies such as:

  • Jakarta REST (JAX-RS) 3.1
  • Jakarta Faces (JSF) 4.0
  • Jakarta Security 3.0
  • Jakarta Contexts and Dependency Injection (CDI) 4.0 and more.

There is an official Twitter handle @GlassFish.

On 4 November 2013, Oracle announced an end to commercial Oracle support for GlassFish. In 2018 GlassFish moved from Oracle to the Eclipse Foundation. In 2021 and 2022 GlassFish was once again commercially supported.


References:


Legacy versions of GlassFish (upto and including GlassFish 5.0.1) can be downloaded from the original (pre-Eclipse) web site.

7713 questions
25
votes
9 answers

Address already in use: JVM_Bind

I'm using Glassfish 3.0.1, JVM 1.6.0_21 on Windows XP Pro; I don't know exactly what has changed in my environment but I get this stacktrace as soon as I try to deploy an enterprise application (ejb module + app client module). There is nothing…
Bogdan
  • 5,368
  • 9
  • 43
  • 62
24
votes
4 answers

Glassfish 3 security - Form based authentication using a JDBC Realm

I want to understand form based security and JDBC realms with glassfishV3, so i decided to create a little app that just allows to sign in and out, i followed the instructions from this book to do so. I understand how the hold thing works, but…
javing
  • 12,307
  • 35
  • 138
  • 211
24
votes
1 answer

Why Json test program doesn't work?

When I run a Json test program with jdk 7, it says : Exception in thread "main" javax.json.JsonException: Provider org.glassfish.json.JsonProviderImpl not found at javax.json.spi.JsonProvider.provider(JsonProvider.java:97) at…
Frank
  • 30,590
  • 58
  • 161
  • 244
24
votes
2 answers

Avoid expunging timer on glassfish

I have a method annotated with @Schedule that is called by the container once in a while. @Schedule(second = "*/5", minute = "*", hour = "*", persistent = false) public void myTimerMethod() throws Exception { ... } Problem is on certain…
Aksel Willgert
  • 11,367
  • 5
  • 53
  • 74
23
votes
1 answer

Provider org.glassfish.json.JsonProviderImpl not found

According to my project Provider org.glassfish.json.JsonProviderImpl not found I dont understand why it is complaining about glassfish as I am using a different library for json: ...
masber
  • 2,875
  • 7
  • 29
  • 49
23
votes
4 answers

How would you compare Apache Tomcat & Glassfish as production servers?

I have a J2EE-based system which is running currently on Apache Tomcat. We are in discussions to move our production servers to the Glassfish server. Can someone share their experiences with either of them?
Satya
  • 1,528
  • 1
  • 14
  • 32
23
votes
2 answers

Getting JSTL to run within Tomcat and Eclipse

I've been trying to get this to run, but I can't. I'm using Eclipse Galileo, Tomcat 5.5.23 and have several JSTLs around. My latest try was to use the GlassFish jar file "jstl-impl-1.2.jar". I placed it in Tomcat's shared lib, added it as external…
Alex004
  • 785
  • 2
  • 10
  • 25
23
votes
6 answers

Real world comparisons of Glassfish and JBoss 5?

Does anyone have experiences with both in the real world? How do they compare in terms of performance (memory usage, speed, etc)? Stability? Does JBoss Seam work well on Glassfish?
jsight
  • 27,819
  • 25
  • 107
  • 140
22
votes
1 answer

Maven doesn't recognize EJB as dependency of project when trying to define module

Today I upgraded my local Glassfish server to 3.1.1 in preparation for my company's upgrading of the servers to the same version. I am attempting to convert my web service project to play nice with the new server, and have hit a road block. In my…
lowell
  • 521
  • 1
  • 5
  • 10
22
votes
3 answers

Java - date saved as the day before

I'm experiencing a very weird behaviour while saving dates on database. On my (Linux centOS 6.2) server I use glassfish application server (3.1.1 - build 12) and Java (1.7.0_09), the application is developed in Java + GWT, and it uses PostgreSQL…
Lorenzo Marcon
  • 8,029
  • 5
  • 38
  • 63
21
votes
10 answers

Adding org.glassfish.jersey.archetypes in eclipse

I am trying to create a maven project in eclipse. I am trying create a archetype but getting the below error. Can't resolve Archetype org.glassfish.jersey.archetypes:jersey-quickstart-webapp:2.16 org.eclipse.core.runtime.CoreException: Could…
user1326301
  • 231
  • 1
  • 3
  • 4
21
votes
1 answer

ActiveMQ failover transport - Why so many connections?

We have 4 ActiveMQ brokers (each running on a separate server) setup in a network of brokers. There about 60 producers. The producers lookup the ActiveMQ connection factory from Glassfish using JDNI. The ActiveMQ URI configured in Glassfish is as…
sceaj
  • 1,573
  • 3
  • 12
  • 24
21
votes
6 answers

How to install the GlassFish 3 server adapter with Eclipse Helios 3.6

Question as stated in the title: how to install the GlassFish Server Adapter on Eclipse Helios 3.6?
Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
20
votes
1 answer

How to create custom 404 messages in JSF 2.0?

Currently in my app when a user types some illegal destination in the URL bar, sees this: I would like to make it more beautiful and customize it with my own markup and a bit of css. -Do i need to program that on my app or i have to configure that…
javing
  • 12,307
  • 35
  • 138
  • 211
20
votes
2 answers

Glassfish error when producing JSON

I developed an Android app and now I'm starting with its external DB and its server, the communication is performed by RESTful web services. This Android aplication just produces and consumes info in JSON, so in my web services facades I just want…