Questions tagged [glassfish-4.1]

GlassFish 4.1 is a Java EE application server

GlassFish 4.1 is the reference implementation of Java EE 7, built by Oracle. It is open source and is the first release which supports Java 8.

242 questions
4
votes
2 answers

What are "Java EE 7 API Library" and "Java EE Web 7 API Library" and when to use them?

I have a full-fledged Java EE project running on GlassFish 4.1 / Java EE 7 (NetBeans 8.0.2) not using Apache Maven. Depending upon the project functionality, the CDI dependency has to be added to both the projects/modules namely the EE module and…
Tiny
  • 24,933
  • 92
  • 299
  • 571
4
votes
4 answers

Glassfish admin console's java.lang.RuntimeException

I have tried to create jdbc connection pool on my glassfish with the following properties(as seen on the image below). It connected succesfully makes me think it works right. However after I restarted the glassfish and tried to ping the pool, a…
name me
  • 378
  • 1
  • 2
  • 17
4
votes
2 answers

JavaEE + Glassfish - BufferUnderflowException

I have a very simple Java EE application with some beans that use JMS to communicate. When I try to deploy and debug my application, I get this Informazioni: visiting unvisited references Grave: Unknow type constant pool 18 at position38 Grave: …
4
votes
1 answer

java.lang.NullPointerException at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:272) while accessing JAX-WS services

I'm getting the following exception while implementing JAX-WS services in a Java EE 7 application. Warning: Internal Server error: /Test-war/Test.xhtml java.lang.NullPointerException at…
Tiny
  • 24,933
  • 92
  • 299
  • 571
3
votes
1 answer

How do I update glassfish 4.1.1 inside netbeans 8.2

I am working on a tutorial using glassfish inside netbeans https://netbeans.org/kb/docs/javaee/ecommerce/setup.html . I reached this point in the tutorial (Don't mind the Pool name, I changed it to fit my own) But when I click next I get this error…
cop77
  • 69
  • 1
  • 5
3
votes
0 answers

How to config JNDI for Camel + ActiveMQ + Glassfish

How to config JNDI for Camel + ActiveMQ + Glassfish That config works!
Alisson Gomes
  • 799
  • 9
  • 21
3
votes
2 answers

How to install letsencrypt free ssl to glassfish 4.x server

I have scanned SO and found there is no detailed instructions on how to install letsencrypt.org SSL certificate on glassfish and specifically in this tutorial I will be using glassfish 4.1.2 build 1. After a lot of trial and error, I was able to put…
qualebs
  • 1,174
  • 2
  • 15
  • 32
3
votes
2 answers

Glassfish fails to restart from web portail but works with asadmin command

With the systemctl command systemctl restart glassfish, GF restarts properly. But when I try to restart via the Web portail https://127.0.0.1:4848 => server => Restart, it fails without any reason. Glassfish stops but never restarts. I'm using…
Quentin Morrier
  • 605
  • 4
  • 13
3
votes
0 answers

Can't override Glassfish 4.1.0 Jersey version with 2.19 (in Java 8 app)

We have a Java 6 application that needed to be upgraded to Java 8. As part of that process, other components were also upgraded e.g. Glassfish, Jersey. We can not get one part of our application to work now. I did not perform the upgrade work but…
MG_IP
  • 31
  • 4
3
votes
1 answer

GlassFish 4, Grizzly Framework 2.3.23: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn

While starting GlassFish 4.1.1 server (Grizzly Framework 2.3.23), below warning message is displayed: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn Do Grizzly Framework 2.3.23 to be separately installed…
Vivaswan
  • 187
  • 3
  • 16
3
votes
1 answer

Glassfish 4 certificate based client authentication

For couple of days I'm trying to set up my development environment for certificate-based client authentication and it just don't want to work. I'm using the Glassfish 4 documentation (security guide) and creating according to it self signed client…
3
votes
2 answers

GlassFish 4.1 alternatedocroot, Access static contents

I need to access some images with this URL http://localhost:8080/static/img1.jpg The images are in "/home/andrea/Documents", the application context is "/". I'm using GlassFish 4.1.1. In the /WEB-INF directory of project I've got the following:…
Andrea Catania
  • 1,310
  • 2
  • 20
  • 34
3
votes
2 answers

Unable to deploy Spring Boot App on Glassfish 4.1

I have created a Spring Boot application (webservice soap). Everything is ok and application works well trough the integrated tomcat in Spring Boot. When i try to package in a war and deploy to Glassfish 4.1 i a strange error. My maven…
Mr2dishes
  • 207
  • 2
  • 12
3
votes
1 answer

Lookup EJB with local interface on WildFly

I've got an ear with the following structure: app-ear app-api app-ejb app-web The app-web and app-ejb depends on the app-api module, but they are not depending on each other. The interfaces (app-api) and the bean…
3
votes
2 answers

Jersey Inject Weld managed bean into ConstraintValidator

I've been searching for hours to find a solution for my problem but I can't get it to work. I want to inject my Weld-managed service into a ConstraintValidator that is used to validate a User-Object that is posted to my JAX-RS Rest-Service.…
drame
  • 395
  • 1
  • 3
  • 14
1
2
3
16 17