GlassFish 5 is the reference Java EE 8 application server.
Questions tagged [glassfish-5]
92 questions
2
votes
0 answers
Standard deployment descriptor web.xml for Java EE 8 returns error
I am trying to write a small web application with the new Java EE 8 in a NetBeans 8.2 IDE. I set up a web.xml

enovatia
- 230
- 1
- 12
2
votes
1 answer
grizzly exception Illegal attempt to exceed the configured maximum number of headers: 100
After migrating from glassfish 4.1.2 to glassfish 5 in our project, grizzly is throwing the following exception:
Warning: StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw…

Alex J
- 21
- 1
- 2
2
votes
2 answers
JDBC connection pool ping error in Glassfish
I am trying to create a jdbc connection pool in glassfish 5 for a Microsoft SQL Server database. I am using the mssql-jdbc-6.2.2.jre8.jar and the latest SQLExpress server version (MSSQL14.SQLEXPRESS)
Resource Type: javax.sql.DataSource
Datasource…

jenny
- 933
- 2
- 11
- 26
1
vote
1 answer
how do i add glassfish server to eclipse 2023?
how do i add glassfish server to eclipse 2023 ? the Glassfish tools plugin is not installing as the glassfish project is archived.
The location to download has been emptied and nothing is found .
How do i manually add a glassfish server to "Servers"…

Lord Levii
- 15
- 3
1
vote
0 answers
Provider com.sun.faces.util.cdi11.CDIUtilImpl not a subtype while deploying in Glassfish 5.1
I am getting below issue while deploying Spring boot application (.ear extension) in Glassfish 5.1
Issue : Caused by: java.util.ServiceConfigurationError: com.sun.faces.util.cdi11.CDIUtil: Provider com.sun.faces.util.cdi11.CDIUtilImpl not a…

Roshan888
- 41
- 2
1
vote
1 answer
How to resolve SSLHandshake fail exception error using jsp
I could successfully connect to my website using my java class.
URLConnection myURLConnection=null; URL myURL=null; BufferedReader reader=null;
String mainUrl="https://example.com/ServCon/ServConI?";
StringBuilder sbPostData= new…

ICL Sales EXIMON
- 23
- 7
1
vote
1 answer
Exception while deploying ADF1.2.2.1.4 in Glassfish server 5.0
I am using glassfish server 5.0 to make Fusion web application ADF using J developer 1.2.2.1.4 in windows server. I am getting this exception while deploying my web app.
Error occurred during deployment: Exception while loading the app…

Mohamed.ha
- 31
- 5
1
vote
1 answer
Add css to JSP on JAX-RS
I need to add css and js to the jsp files in a jax-rs app running on glassfish5.
pom.xml

alex
- 7,551
- 13
- 48
- 80
1
vote
1 answer
Glassfish 5 (Payara Server) in Intellij Idea 2020 Community Edition
I'm following a tutorial with Payara Server 5.2020.4 and IntelliJ Version: 2020.2.1.
The tutor is using IntelliJ Ultimate, and I have only IntelliJ Community.
I know about of the existence of Netbeans / Eclipse are already enable for that, and I was…

joseluisbz
- 1,491
- 1
- 36
- 58
1
vote
0 answers
Glassfish 5.1 java.lang.IllegalStateException: Application validation fails for EJB
Glassfish 5.1 java.lang.IllegalStateException: Application validation fails.
EJB
@Stateless
public class DataAccessorBean {
public void persist(Object entity) {
}
}
JSF backing Bean
@Named
@ViewScoped
public class…

eastwater
- 4,624
- 9
- 49
- 118
1
vote
1 answer
IntelliJ error: "Empty response from server" - Run/Debug Configuration for a remote GlassFish
I am trying to associate my remote glassfish 5.1 server with my IntelliJ IDEA 2020.1
but I am getting the error:
Error running 'GlassFish 51': Unable to connect to the example.com:4848, reason: com.intellij.javaee.process.common.WrappedException:…

trzczy
- 1,325
- 2
- 18
- 43
1
vote
0 answers
Upgrading from Glassfish 3.1.1 to 5.0.0, Java 7 to Java 8 - java.lang.NoClassDefFoundError: javax/validation/Payload
I have a Java EE (javaee-api v6) application currently running (and has been for years) in a java 7/glassfish 3.1.1 environment. I need it to run in java 8/glassfish 5.0.0. It uses maven to build, no build errors.
I am able to deploy the application…

mr_dev
- 11
- 2
1
vote
2 answers
Problems with java @GeneratedValue (strategy = GenerationType.IDENTITY) using MariaDB 10.4 and eclipselink
I am developing a REST web service in Java EE I am using: Glassfish 5.0 (build 25), MariaDB 10.4 and eclipselink (JPA 2.1)
here is my code:
commande_line table
CREATE TABLE IF NOT EXISTS `cooldb`.`commande_line` (
`id` INT NOT NULL…

yacdidi
- 13
- 6
1
vote
1 answer
Marking servlet as unavailable - Tomcat and Glassfish
I have created a simple web application in Netbeans 11 on JDK1.8 and running Glassfish 5.1.0 with just one servlet that redirects to a simple JSP page.
On building and running the application I get the above error when I access…

MandarK
- 143
- 1
- 8
1
vote
1 answer
Error while generating Primefaces Pie Chart
I am trying to generate a Pie Chart using PrimeFaces (V8.0 / 7.0). And below is the demo code.
NOTE- I am running this Demo on Glassfish5
import javax.annotation.PostConstruct;
import javax.inject.Named;
import…

Singam
- 443
- 3
- 12