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

NoPluginFoundForPrefixException when trying to run glassfish

In order to contribute to the glassfish project, I download the entire trunk workspace from the repository https://svn.java.net/svn/glassfish~svn/trunk/main to my local machine, after the download I followed all the instructions in this link…
Leonardo Jines
  • 360
  • 5
  • 17
0
votes
1 answer

glassfish 4 server starts twice

so i am using jsf 2.2 , primefaces 5.0, jrabel 6.0 agent when I start Gf v4 server, I dont know why it starts twice see server log from eclipse: 2014-12-29T19:52:44.398+0500|INFO: Running GlassFish Version: GlassFish Server Open Source Edition 4.0 …
Mohsin AR
  • 2,998
  • 2
  • 24
  • 36
0
votes
4 answers

Glassfish 4.0 won't start from Eclipse

IDE : Eclipse Luna, JDK & JRE : 1.8.0_25, Glassfish : Glassfish 4.0 I can start Glassfish Server externally. But when I deploy my project, Glassfish cannot start running or debugging from Eclipse. Here is the log : !ENTRY org.eclipse.ant.launching…
aozan88
  • 101
  • 2
  • 8
0
votes
1 answer

The query has not been defined correctly, the expression builder is missing

Since we upgraded from Glassfish 3 to Glassfish 4.1 we've been getting this error. I'm trying to get data from a database but it fails most of the time. Yes, most of the time, not always. When I run it and it fails, it gives me this…
Erates
  • 646
  • 1
  • 9
  • 24
0
votes
2 answers

jsf 2.0 property not found

I am looking for a problem since 2 days now and i can´t solve it! My jsf managed bean looks like that: @Named(value = "hardwareRevisionCreateController") @RequestScoped public class HardwareRevisionCreateController { private Hardware.Type…
perotom
  • 851
  • 13
  • 33
0
votes
1 answer

How do I run the jsfsecure sample with postgresql?

I want to run this example https://github.com/jlombardo/jsfsecure with a postgresql database. But I get this error: Information: 2014-12-11 14:41:25,801 WARN [http-listener-2(4)] o.s.s.a.e.LoggerListener [LoggerListener.java:60] Authentication…
richard
  • 59
  • 2
  • 14
0
votes
1 answer

Generate code from deployed files

I had mistakely deleted my web services code. I don't have any backup of this code. Tried some file recovery tools but it didn't work. I have deployed the project in glass fish 4.0 server and the application works fine from there. So I am thinking…
oldvipera
  • 305
  • 4
  • 8
  • 16
0
votes
1 answer

Apache shiro blocks p:imageCropper primefaces

I'm using primefacess-5.1 and apache shiro 1.2.2 with pax-shiro 0.1.0 overlay. Everything stand on Glassfish 4.0 . My problem is that when I comment all fragment below in my web.xml ShiroFilter
rg_rgb
  • 1
  • 1
0
votes
1 answer

Retrieve object add in JAAS login module from JSF managedbean

Our application uses JSF 2.2 and use glassfish 4 as the server. I need to add some object in the login module during authenticate user, so in the web application, the managed bean can retrieve that object. In the loginModule I did the following (if…
Kuku
  • 484
  • 8
  • 28
0
votes
0 answers

when looking up an EJB component in a remote GlassFish I got a local instead

I have a problem with JNDI lookup for remote interface There is 2 servers: - first main server; - second slave server (it will be more than one, but now just one); The main server should connect to the slave to update metadata, but when it looked up…
Serg
  • 1
  • 1
  • 2
0
votes
1 answer

Heap dump in visualvm glassfish

I have a webservice on amazon ec2 running on glassfish 4 server, I tried to connect visualvm to the server but it were impossible, so I followed this tutorial (http://looksok.wordpress.com/2012/02/10/remote-use-of-visualvm-with-xming/), I installed…
RoberV
  • 587
  • 5
  • 22
0
votes
1 answer

can't deploy my application on glassfish server 4.1

I'm developping a web application, so i decided to use Netbeans IDE 8.1, the default Glassfish Server 4.1 and oracle database 11g express edition. First, I need to create connection pool in my Glassfish. I open localhost:4848 set those things: …
Sidaoui Majdi
  • 399
  • 7
  • 26
0
votes
1 answer

Avoid font downloading in Glassfish

We currently have a Glassfish Server 4.0 hosting our webpage, with Apache 2.2 as our Digital Certificate Holder in Ubuntu Server. One of our clients did a Vulnerability testing and discovered that a font (specifically, the…
user8811
  • 13
  • 1
  • 6
0
votes
1 answer

How do I know the Glassfish install directory from build.xml?

I'm trying to build a few java projects in Netbeans 8 and to add some targets in their respective build.xml file (Ant targets). All my projects need to know where I installed GlassFish 4.1 web server. I've seen in this thread an example to…
Dror Cohen
  • 6,731
  • 5
  • 29
  • 32
0
votes
2 answers

Unable to build entity manager factory

I create a maven web project. I want to use JPA/Hibernate in this project. I created the database already. I make JPA configuration with new persistence unit and create entity class I receive an error when insert transaction for test error…
SerefSEVEN
  • 45
  • 3
  • 11