Questions tagged [glassfish-6]

GlassFish 6 is the open source reference implementation of the Jakarta EE 9 application server. Use this tag only for questions relating to version 6.x releases of GlassFish.

GlassFish 6 is the open source reference implementation of the Jakarta EE 9 application server. It includes implementations of all required and optional Jakarta EE APIs, and is maintained by the Eclipse Foundation.

Use this tag only for questions relating to version 6.x releases of GlassFish. It is usually appropriate to also use the generic tag to attract a suitable audience for your question.

9 questions
1
vote
1 answer

Migration Java 8 to 17. java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener Using Quartz

I am migrating an application from Java 8 to Java 17, and javax dependencies changed to Jakarta ones. I also updated other dependencies which were dependent on javax. The problem, we have used Quartz scheduler for scheduling jobs.…
1
vote
1 answer

GlassFish 6.2.3 does not see javax.faces.webapp.FacesServlet

I am using glassfish6.2.3 on my local computer. If I add these lines to web.xml Faces Servlet javax.faces.webapp.FacesServlet
Aleksandr
  • 17
  • 4
1
vote
1 answer

Start GlassFish server with JDK11 in NetBeans IDE

I try to run the Glassfish server 6.2.2 on JDK11 which Officially supports JDK 11 on NetBeans 12.5 which itself should have Jakarta EE 9 GlassFish 6 Support. If I start GlassFish I get a message from NetBeans saying GlassFish server could not be…
Filou
  • 490
  • 4
  • 17
0
votes
0 answers

Netbeans 16 with Glassfish 6 shows incorrect log4j2 output

Netbeans does not display log4j2 messages correct in the Glassfish Server Output window. But if I look at the glassfish server log, everthing is displayed correctly. In my controller I have the following System.out.println("This is a debug…
amittel
  • 1
  • 2
0
votes
0 answers

Primefaces 12.0.0 File Upload Stop Working After I have added PrettyFaces

I am using Primefaces 12.0.0 , Jakarta ee 9, jsf 3.0 and Glassfish 6.2.5 . After I have added rewrite-config-prettyfaces-6.0.0.Alpha1 and I have added url rewiting in pretty-config.xml file, fileupload stop working. According to this link How to use…
0
votes
0 answers

Serialize Enum along with its fields with Jakarta Jsonb

I want to serialise an enum containing details of a web API error into JSON. The entire application is a REST API is being built with Jakarta's APIs. I am using Jakarta EE's Jsonb for serializing and deserializing to and from JSON. My enum is as…
0
votes
0 answers

Glassfish 6.2 problem with URLPatternSpec

I have just change my server from Glassfish 4.0 to Glassfish 6.2 (include comptability for Jakarta EE 10) and since the new server is in prod, I have a lot of time this error in log : …
Chatis
  • 47
  • 2
  • 11
0
votes
1 answer

JSF connection fails (Jakarta EE9, JSF 3.0)

I am trying a simple websocket application using Jakarta EE9 and JSF 3.0 on a glassfish 6.2.5 server. When I run it, messages are not received, when the server shuts down the following is printed in the web console: WebSocket connection to…
Daan
  • 23
  • 4
0
votes
1 answer

JEE RESTfull web service tutorial ends with 404

I'm trying to run simple RESTfull service tutorial in Java Enterprise Edition and IntelliJ located here. I use GlassFish server 6.2.3 and OpenJDK 17.0.1. The application is very simple and strictly according to tutorial steps. But every time I start…
Lukas
  • 2,034
  • 19
  • 27