GlassFish 5 is the reference Java EE 8 application server.
Questions tagged [glassfish-5]
92 questions
0
votes
1 answer
javax.ejb.EJBException when sending emails from the application
I am developing a JavaEE application with GlassFish 5.1, Java 1.8, JavaMail, JavaFaces 2.2, in the application I need to send emails as the method to do it is invoked, but when I run it from the server it shows me the following error:
Warning:…
0
votes
1 answer
Netbeans12+Glassfish5.1. Simple jsf,CDI(JavaEE8) program causes RuntimeException
I made project "Java EE Web Application" in NB.
new project -> Java With Ant -> Java Web -> Web Application.
After deploying, I access this simple web page it incluludes #{mainBB.number}, then exception causes. If I typo bean name like…

naturallucky
- 1
- 3
0
votes
0 answers
Glassfish5: JSF FacesServlet is not called
Glassfish5: JSF FacesServlet is not called.
example.ear
example_ejb.jar
example_web.war
META-INF/application.xml
META-INF/application.xml

eastwater
- 4,624
- 9
- 49
- 118
0
votes
1 answer
This site can’t be reached - when open Glassfish remote admin
After starting Glassfish, the remote Glassfish site is unreachable. An address I use is 123.123.12.12:14848 (ip number changed)
root@debian:/opt/glassfish5/glassfish/bin# ./asadmin start-domain
Waiting for domain1 to start ........... Successfully…

trzczy
- 1,325
- 2
- 18
- 43
0
votes
1 answer
Memory Leak error in Glassfish server 5.0
There is a heap memory error once the glassfish server 5.0 is up and running for 2,3 hours where my application is deployed.
Heap memory dump shows sun.security.ssl.sslengineimpl including…

chanuka
- 39
- 1
- 6
0
votes
0 answers
Issue with using GMail SMTP from Payara 5 Java Mail
I have just written a test standalone Java Mail Application to send an email from my gmail A/C to the outlook one and it works like a charm. Below are the essential properties for the Mail Session:
props.put("mail.smtp.host",…

Singam
- 443
- 3
- 12
0
votes
0 answers
JSF 2.3 Websockets throw a NullPointerException when using PrimeFaces MenuItem with ajax=true
I get a NullPointerException when navigating on a PrimeFaces menu item with ajax = true when JSF 2.3 websockets are present in the pages. Below is the exception:
java.lang.NullPointerException
at…

zobbo
- 117
- 2
- 13
0
votes
0 answers
How to get called when glassfish finished starting web services in current EAR deployment
I need a way to get called when the start of the current EAR services are done. Specifically web services.
The @PostConstruct annotation is usefull, but too early.
A commented pseudo server.log should show the problem:
// All JNDI bindings get…

Jan
- 1,032
- 11
- 26
0
votes
0 answers
Glassfish 5 cannot create a mysql connection pool
I am trying to convert an application from Glassfish 4 to GF 5.1. For some reason I am having trouble creating JDBC connection pools using MySQL. I am using the connector 5.1.39. When I try to add a property to the connection pool. I get the a 500…

user1539401
- 293
- 1
- 3
- 10
0
votes
1 answer
Is debugging possible for ConcurrentModificationException within gwt
I have a complex gwt application that will occasionally throw java.util.ConcurrentModificationException however have no idea which object is at the root of the issue.
java.util.ConcurrentModificationException
at…

Gary Barnes
- 73
- 8
0
votes
1 answer
An internal error occurred during: "Starting GlassFish 5 [domain1]". Can't find bundle for base name sun.util.logging.resources.logging, locale en_DE
I am using eclipse IDE, and Glassfish5. OS is MAC. Java version is 13.0.1.
I have just started with an EJB tutorial, and found that I need Glassfish. I downloaded and added to my server. Now when I am starting it, following error occurs-
An…

Kum
- 333
- 7
- 20
0
votes
0 answers
RESTful service doesn't map json into object properly
I have restful service with resource which consumes json, but when i send test request i got empty values in my model object.
Here is service:
@Path("bot")
public class BotResource {
private final Logger log =…

kostya2394
- 9
- 3
0
votes
1 answer
The reason for the error connecting to the server GlassFish in project Intelij?
[2019-10-12T11:06:32.875+0300] [glassfish 5.0] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=45 _ThreadName=admin-listener(4)] [timeMillis: 1570867592875] [levelValue: 1000] [[
Exception while deploying the app…

Владимир Выставкин
- 3
- 1
- 3
0
votes
0 answers
Having problems launching my glassfish server
I followed a starting guide for jax-rs web service development with intellij,glassfish. After i done the tutorial i tried to launch it as shown in tutorial, but server launched and atemmpted to start domain for a while and the website did not load.…

PetriuxD Nezinau
- 29
- 1
- 5
0
votes
0 answers
Return custom exception thrown in response fiters on Glassfish 5 and Jersey 2.27
I have a glassfish 5 with jersey 2.27 server application that has a custom response filter that in some cases throws a custom business exception.
The response filter looks like :
public class CustomResponseFilter implements ContainerResponseFilter…

Ionut Ursan
- 187
- 1
- 2
- 11