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
0 answers

Glassfish JMS Queue Not Found In JNDI Context

I need help. The Glassfish Admin Console screen below shot below shows that I've set up three JMS Destination Resources. All are identical except for the names. But my JNDI lookup from a local java client (Glassfish is also local) can only see the…
George
  • 509
  • 2
  • 9
  • 25
0
votes
1 answer

Glassfish 4 CDI Producer and Alternative with library

A Java EE web application is using a library that implement a class with injected objects. First, I declare a default producer in the library that provides part of dependent objects. Is it possible to overwrite this producer by another one declared…
ruddy32
  • 21
  • 7
0
votes
0 answers

Glassfish 4.1, cant login to admin console

since 1 day I got heavy problems with my glassfish server running on windows server 2008. Everything went well, application was running smooth. But since like 1 the applications was acting weird. After a restart of the domain didnt changed anything…
Joscha
  • 13
  • 5
0
votes
1 answer

Error: JPA + MySQL Transaction is not active in the current thread

Good morning while I run my application I get the following error : java.lang.IllegalStateException: Transaction is not active in the current thread. at…
user3278977
  • 101
  • 3
  • 8
0
votes
0 answers

java.lang.IllegalStateException: Queue full

Hi I am using an Restful web service to query data from Apache hive and I am using glassfish 4.0 server. It runs fine but suddenly it throws java.lang.IllegalStateException: Queue full Can any one tell me what may be the reason for this and how to…
David Degea
  • 19
  • 2
  • 7
0
votes
1 answer

Glassfish 4 doesn't start with Eclipse Mars server, user/pass error

Environment: Eclipse Mars JDK 8 Glassfish 4.1 Windows I'm getting this error with a new Glassfish 4.1 default server, just by unziping de in to a folder. I've tried blank password, admin and admin admin, that they could be the default…
Joe
  • 7,749
  • 19
  • 60
  • 110
0
votes
1 answer

Where to put slf4j jar file in Glassfish 4?

I am trying to use slf4j as the logging provider for jboss-logging which comes bundled with Glassfish 4.1. But no matter where I put the slf4j jar file, jboss-logging is not able to find the jar. It fails during the server start-up with the error…
Bhesh Gurung
  • 50,430
  • 22
  • 93
  • 142
0
votes
0 answers

Error deploying to glassfish4 (Exception during lifecycle processing : java.nio.BufferUnderflowException)

I am getting error Exception during lifecycle processing java.nio.BufferUnderflowException while deploying my ear project (JEE7, using Java 8). I am using mysql (jar file is copied to domain1\lib folder) and jersey (copied all jars to the same…
vilsad
  • 76
  • 8
0
votes
1 answer

installing DBpedia spotlight on windows 7

I'm using DBpedia spotlight web service on my project and it suddenly stop working, it does not annotate even the default text on it. I've searched the internet and it seems that I have to install the server on my laptop. But I don't understand…
Hanan Mahmoud
  • 65
  • 1
  • 1
  • 10
0
votes
2 answers

glassfish adapter missing in eclipse kepler

hi Guys currently started to build my new workspace into a newly formatted PC, all goes well until when I about to attached the server into my eclipse, the glassfish adpater is gone, below is a sample screenshotenter image description here. can…
null_logic
  • 125
  • 1
  • 1
  • 9
0
votes
1 answer

Attempting to execute an operation on a closed EntityManager (when invoking setParameter() function on a named query)

I have Netbeans_8.0.2 to development my project using Glassfish_4.1. In the stateless bean, I initialize a named query in a method that has a @postconstruct annotation. But it throws an IllegalStateException when I try to invoke setParameter() on…
retupmoc
  • 1
  • 1
  • 3
0
votes
1 answer

GlassFish - Migrate domain from version 3 to version 4

I would like to move a GlassFish domain from a GlassFish v3.x server (running Java 6) to a new server running GlassFish v4.x (running Java 8). The old configuration uses JNDI, JMS, a webservice, etc... What is the best approach to handle this ? Can…
tmmls
  • 510
  • 1
  • 4
  • 16
0
votes
1 answer

How to limit connections to glassfish4?

I'm running a web application on a glassfish 4 server. The web application should not be accessible for all of connection. I want to limit 100 connections. if the 101th connection comes, the web application will show serverbusy.jsp. My question:…
Vu NG
  • 280
  • 3
  • 20
0
votes
0 answers

Maven3: run plugin as root user

I use IntelliJ Idea for developing, and now i want to use maven project for WAR packaging and deploying to Glassfish4 server. After latest update of OSX (v.10.10.3), glassfish4 must be started from sudouser, so i have a question: How can i pass to…
0
votes
1 answer

Glassfish Classloading

I have one enterprise application with multiple Web apps. I'm working on upgrading these apps one by one (mainly the UI part), and in the process I have to use different lib versions. What is the best way to do that? Does placing the needed libs in…
A. Wench
  • 23
  • 4