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

connection pool won't connect due to invalid username or password

I have created a database within the netbeans client named Hotel with a username of username and password of password: When I try creating a Connnection Pool in the Glassfish Domain Admin Console, I enter the username and password and name of the…
Shadow
  • 3,926
  • 5
  • 20
  • 41
0
votes
0 answers

Ajax listener not working with JSF2.2 inputFile

Hi my problem is somewhat similar to the following: ajax-listener-not-working-with-inputfile I am able to upload files using an AJAX call in my local environment and everything works as expected. However, when I deploy the war file onto Jelastic…
kbgnat
  • 1
  • 1
0
votes
0 answers

JPA error in data persisting

I have a simple table in MySQL and i want to persist data in it via JPA , but i get an error describing below, what is wrong here ? the application is hosted in GlassFish 4, using MySQL 5 and EJB please consider below table's definition CREATE…
DjBuddy
  • 171
  • 1
  • 4
  • 14
0
votes
1 answer

jsf - jquery.js Not Found on html simple

I got this error on the Google Chrome's console when navigating on my WebApp: GET http://localhost:8080/Bichos/slider/js/jquery.js 404 (Not Found) GET http://localhost:8080/Bichos/slider/js/slider.js GET…
Sebastian Motavita
  • 355
  • 1
  • 3
  • 9
0
votes
1 answer

How to change the language of GlassFish Admin Console?

My GlassFish UI Language is not in English, how to change this?
Nam Pham
  • 1,224
  • 13
  • 38
0
votes
1 answer

JAX-RS implementantion in Glassfish 4

I don't understand one thing with JavaEE and Glassfish. As far as I know JavaEE is a set of interfaces of different services. One of them is JAX-RS which is used for creating RESTful applications. But in order to use one of these interfaces I need…
tdudzik
  • 391
  • 4
  • 17
0
votes
1 answer

Cannot deploy JSF application on GlassFish 4 server

Hi I'm new in the JavaServer Faces (JSF) technology and after successfully setting up everything from Eclipse Mars JavaEE over to the GlassFish 4.0 server I ran into the following problem: I created a Dynamic Web Project and added JavaServer Faces…
tzwickl
  • 1,341
  • 2
  • 15
  • 31
0
votes
1 answer

Glassfish step by step hot deploy

Hello i would like ask how it is possible configure glassfish server for something like live, hot deployment: every time when i change some code of my jsp,html,js or css file i always need to clean and build project than deploy project to glassfish…
Michał Ziembiński
  • 1,124
  • 2
  • 10
  • 31
0
votes
1 answer

upgraded glassfish, how to move security realm and db connection?

I just downloaded glassfish 4.1.1 (previously I had 4.1). Last time I upgraded I remade my security realm and DB connections. This time I'm wondering if there is an easy way to move those from the previous version used to my new one.
Ced
  • 15,847
  • 14
  • 87
  • 146
0
votes
1 answer

HTTP transport error: Connection refused when accessing web service from Glassfish

I have two applications running on Glassfish 4.1 server: one that provides jax-ws webservice, and other that uses it. Everything is fine as long as i use localhost or 127.0.0.1 as endpoint in client app. But when i try to install webservice on…
0
votes
3 answers

Cannot Access Glassfish4 Admin console via nginx location and proxy pass

Folks, We have a java application running under Glassfish4. I wanted to disable direct access to the Glassfish admin server by closing 4848 at the firewall level and accessing it via a location directive in nginx (also offloading the SSL to…
Jchieppa
  • 126
  • 1
  • 2
  • 9
0
votes
1 answer

Can't compile single jsp's

I try compiling single JSP file outside of the WEB-INF/view directory at the same level of index.jsp for testing purpose but I get this error code: Error: Could not find or load main class org.netbeans.modules.web.project.ant.JspCSingle It used to…
Jane Nice
  • 97
  • 1
  • 1
  • 8
0
votes
1 answer

Adding GlassFish Server 4.1 to NetBeans IDE 7.4

I have installed NetBeans IDE. Also downloaded GlassFish Server and extracted it, when I'm adding the installation location on NB it says "Not a valid GlassFish Server installation."
user5005891
0
votes
0 answers

Unexpected XML processing instruction in JSF 2.2 generated HTML

In a sample JSF project created with NetBeans 7.4 and deployed on GlassFish 4.0 / Mojarra 2.2.0, the generated HTML contains a XML processing instruction, , in the first line:
mjn
  • 36,362
  • 28
  • 176
  • 378
0
votes
1 answer

@PersistenceUnit is not working (Java EE 7, Glassfish 4.1)

I use the annotation @PersistenceUnit to obtain an instance of a EntityManagerFactory but after several tests, it doesn't work. I have been searching for the theory, examples, etc., but without success. The theory seems easy but I not able to see…
Manu
  • 13
  • 5