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

Apache Aries and Glassfish Integration

I am trying to deploy apache aries blog example with Glassfish v4 but getting following exception: [2013-10-18T00:03:59.949+0530] [glassfish 4.0] [SEVERE] [] [] [tid: _ThreadID=27 _ThreadName=Thread-5] [timeMillis: 1382034839949] [levelValue: 1000]…
Rakesh Goyal
  • 3,117
  • 8
  • 39
  • 69
0
votes
1 answer

Glass fish Server authentication

I wrote a servlet in eclipse and Deployed it on Glass Fish server(4), and it is working no problem, now I want to create Authentication and Authorization, i was wondering if there is no easy way i can do this using the Glass fish server without…
Clement
  • 91
  • 1
  • 8
0
votes
1 answer

Cannot get Glassfish to log my apps debuug level logs

I am using commons-logging swith the following commons-logging.properties: org.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger I have set my app logger to FINEST in GF4 ui management console but it only logs INFO messages. Any…
Ioannis Deligiannis
  • 2,679
  • 5
  • 25
  • 48
0
votes
1 answer

"Persistent timer is not allowed in project which target Java EE 7 Web Profile" while using GF4 full profile

@Schedule(minute = "*", hour = "*") public void automaticTimeout() { if (employeeDao == null) { try { InitialContext ctx = new InitialContext(); employeeDao = (EmployeeDAO)…
Poyraz
  • 359
  • 1
  • 5
  • 12
0
votes
0 answers

Error at parsing JSON with Jackson + JaxRS

i have the following server side Java Code which works perfectly for my chrome-rest-client: @POST @Consumes(MediaType.APPLICATION_JSON) public long postVehicle(Vehicle vehicle) { vehicleDao.persist(vehicle); return vehicle.getId(); } i can…
Laokoon
  • 1,241
  • 4
  • 24
  • 47
0
votes
1 answer

Glassfish v4 Transaction Manager not found

I'm getting the following exception thrown when redeploying an application from IntelliJ to Glassfish v4: [2013-09-11T12:55:44.122+0300] [glassfish 4.0] [SEVERE] [] [javax.enterprise.system.core] [[ Exception while deploying the app…
user1927033
  • 142
  • 14
0
votes
1 answer

Glassfish allow only one session from the same user at a time

I'm using glassfish to host a servlet with login page authentication method over https. I need that if an user is logged in form somewhere no one should be able to log in using the same credentials until that user session expires or becomes…
chiarfe
  • 522
  • 3
  • 15
0
votes
2 answers

GlassFish 4: How to rotate log every day

I am using Glassfish 4. I would like to rotate the log every day. That means I like a new log for each day. I have tried changing properties at the admin console at http:localhost:4848 but it is not working for me. Here is what I have tried: …
CodeHelp
  • 1,328
  • 5
  • 21
  • 37
0
votes
2 answers

form rendered on primefaces isn't calling the manage bean

I'm having problems with a form that is rendered by a booleanButtom on PrimeFaces 3.5 the form appear as expected but when I commit the values of the field come null. The code of the pag:`
0
votes
1 answer

GlassFish Server 4.0 start error with JDK

I'm using NetBeans 7.3.1 with GlassFish Server 4 When I try to run a(any) project I get the following error. Starting GlassFish Server GlassFish Server Server start failed. Cant create start…
enes faruk meniz
  • 21
  • 1
  • 1
  • 4
0
votes
0 answers

Running Java class (not an servlet) on GlassFish 4 server

I have the following two questions: How to start a java class (not a servlet or JavaBean) on GlassFish 4 server via Eclipse Juno or otherwise? What is the proper way to run it on start-up? I have Java class that uses JDNI functionality and needs…
PM 77-1
  • 12,933
  • 21
  • 68
  • 111
0
votes
2 answers

using James MailServer to Create a MailingSystem deplayed on Glassfish

I am attempting to make a mailing system using a local mailserver (Apache James Mailserver), also using the JavaMail and JFA APIs Can i do that ? any body has an idea about the ideal way to accomplish such a goal?
primeFaceUser
  • 295
  • 2
  • 15
0
votes
1 answer

glassfish 4.0 asadmin create-domain error

I have installed Netbeans 7.3.1 with Glassfish 4.0 on a Fedora 19. When I try to create a new domain with asadmin as root user: asadmin> create-domain --adminport 5007 domain2 I have the following error Enter admin user name [Enter to accept…
s_cent
  • 1
  • 1
  • 3
0
votes
0 answers

Where Eclipse deploys servlets on GlassFish?

I'm using Eclipse Juno with GlassFish 4 on Widows 7 box. GlassFish is installed as local host. If I keep all the defaults and deploy my Dynamic Web Project to the server via Eclipse, what will be the Web address for servlets? What should I put into…
PM 77-1
  • 12,933
  • 21
  • 68
  • 111
0
votes
1 answer

Hibernate: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor]

I am attempting to deploy an application on a glassfish 4 server on my local machine. When I copy the .war file into the autodeploy directory, the glassfish log returns exceptions and the application does not appear in the list of applications, on…
user2668237
  • 49
  • 1
  • 1
  • 2