Questions tagged [glassfish-4]

Fourth version of the popular Java EE open source application server and the reference implementation of the Java EE 7.

Java EE 7 brings the new versions of the many Java enterprise and Web technologies, such as EJB 3.2, JMS 2.0, JPA 2.1, Servlet 3.1 etc. GlassFish is an open source server that represents a reference implementation of Java EE standard. In its fourth version, GlassFish offers the complete Java EE 7 (JSR-342) platform. It is a first certified application server that fully supports Java EE 7.

This tag is for questions specific to version 4. For generall questions to GlassFish see:

908 questions
0
votes
1 answer

Getting HTTP Status 403 - Forbidden after login on Glassfish 4.1.1

I'm recently started to learn about Java EE web programming and I arrived to form authentication topic using some JSP pages with Netbeans 8.2 and Glashfish 4.1.1, this video is the tutorial that I was…
0
votes
0 answers

"Response has already been committed...", when responseSendError is called from f:viewAction

I try to send a 404 response in a viewAction using Prettyfaces for URL rewriting. The application is deployed to a glassfish 4 server. If i request the index-view with http://foo.bar/home, i get the following WARNING: Response has already been…
71m024
  • 86
  • 7
0
votes
0 answers

Exception 'Provider is not a subtype' when using hibernate-ogm-neo4j in glassfish4

I'm trying to get hibernate-ogm-neo4j (5.1.0.Alpha1) running in my glassfish (4.1.1). When starting the application server with the datastorprovider it shows a long…
Richard
  • 582
  • 5
  • 19
0
votes
2 answers

See Ant script generated by Netbeans

Please see the following webpage: https://netbeans.org/features/ide//build-tools.html. It says: "You can therefore build and run your project outside the IDE exactly as it is built and run inside the IDE.". I have spent hours trying to figure out…
w0051977
  • 15,099
  • 32
  • 152
  • 329
0
votes
1 answer

Issue in starting domain in Glassfish server

I am trying to start a domain for GlassFish. Changed security properties for felix folder. But it is giving error as Launching GlassFish on Felix platform Registered…
Ashish Parab
  • 174
  • 2
  • 19
0
votes
1 answer

Obtaining initial context from remote client

Please see the code below: Context ctx = null; ctx=new InitialContext(); TestEJBRemote t = (TestEJBRemote) ctx.lookup("java:global/EJBTest/EJBTest-ejb/TestEJB"); System.out.println(t.getName("Ian")); The output is what I expect i.e. Hello Ian. The…
w0051977
  • 15,099
  • 32
  • 152
  • 329
0
votes
0 answers

jquery ajax returns null on local request

I'm trying to create a graph using data retrieved from a servlet accessing an EJB on a Glassfish server. Before implementing the graph, I was testing the servlet, so I used a javascript ajax call to retrieve the data, writing the result of the…
sthor69
  • 638
  • 1
  • 10
  • 25
0
votes
0 answers

Deploying Spring boot on Payara Glassfish

I am trying to deploy my Spring Boot app on Payara Galssfish server. But I get this error during the deployment. Error creating bean with name 'systemConfigDao': Initialization of bean failed; nested exception is java.lang.LinkageError: loader …
0
votes
0 answers

How to point the database source to an IP instead of localhost on Glassfish 4.1

I am configuring my glassfish server so that a java web application fetches data from an IP (162.17.17.53) instead of localhost. When I try PING button on the JDBC Resiurce Pool, I get the below error: Access denied for user 'user'@'162.17.17.54'…
bademba
  • 237
  • 4
  • 14
0
votes
0 answers

How to load application specific jar files in the Glassfish server 4.1

Currently i am working on one application related to document search using lucene. On my Local System the application is running properly. But When i tried to integrate the application with the organization web application the application is not…
anand
  • 1,711
  • 2
  • 24
  • 59
0
votes
1 answer

Undeployed modules still in GlassFish

After deploying an EAR module in GlassFish 4.1, I observed that it appeared to have loaded the previous version of some of the classes. It seems like GlassFish is caching previous classes. Is it possible that GlassFish keeps a cache of old classes?
Lakshi
  • 490
  • 4
  • 10
0
votes
1 answer

glassfish 4.1.1 cluster ssh node error

I`m trying to create a cluster with two nodes using glassfish 4.1.1 build 1. One node is local, an the other one is ssh.The node is working as if I ping it it responds ok. ( Successfully made SSH connection to node node2 (gfNode2)) I have setup…
Videanu Adrian
  • 972
  • 3
  • 16
  • 41
0
votes
1 answer

Cannot access cargo property in Glassfish container when type is "remote"

I am following the instructions here to try to pass in a custom property to my glassfish 4 container. https://codehaus-cargo.github.io/cargo/Passing+system+properties.html I have it set up in my pom as:
vanval
  • 997
  • 1
  • 9
  • 19
0
votes
1 answer

GlassFish 4.1.1 Poolconnection and Resources bug

I'm using glassfish 4.1.1 and i can't create a JDBC-Connection-Pool or JDBC-Resources is there any solution to fix this ! While creating the connection pool Whilte adding the Resources
BOUKANDOURA Mhamed
  • 941
  • 1
  • 9
  • 25
0
votes
2 answers

Exclude methods of jax-rs service from swagger.json

I´m using swagger on my java EE7 application (Glassfish as application server). Everything works fine except for a method with FormDataParam, which gave me the tradicional error: org.glassfish.jersey.server.ContainerException:…
Goldbones
  • 1,407
  • 3
  • 21
  • 55