Questions tagged [glassfish-3]

GlassFish is an open source, production-ready, Java EE-compatible application server.

GlassFish is a Java EE open source application server.

This tag is for questions specific to GlassFish version 3 (GlassFish version 3.1.1 was released in August 2011).

The Java EE 6 platform used by GlassFish v3 introduced the lightweight Web Profile for Web-centric applications, and included the then latest versions of technologies such as JAX-RS 1.1, JavaServer Faces(JSF) 2.0, Enterprise JavaBeans (EJB) 3.1, Java Persistence (JPA) 2.0, Context and Dependency Injection (CDI) 1.0 and more.

See here for version 3 (and other legacy version) downloads.


For more modern versions of GlassFish, visit the Eclipse GlassFish home page.

For general questions about GlassFish use the tag.

1612 questions
18
votes
6 answers

Best way to deploy on Glassfish V3

What is the best way to deploy my web project (or ear project) to remote server and glassfish? How to use ant-deploy.xml and build-impl.xml that netbeans create for this purpose? Using autodeploy folder and separately adding sun-resources.xml to the…
Nav
  • 4,450
  • 10
  • 53
  • 84
17
votes
4 answers

Comparison of JBoss AS 7.x and Glassfish 3.x?

I was wondering if there is a (mostly) objective comparison between the JBoss AS 7 and Glassfish 3.x? I don't care for any differences in standards or their implementation, I was thinking more about startup time, failover, scalability, performance,…
stephanos
  • 3,319
  • 7
  • 33
  • 47
17
votes
7 answers

A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x00002b2f7e9b2744, pid=28778, tid=1138739520

I am getting the following error while executing the program. And this is not always happening. The code contains some complex calculations with a large volume of data. Could somebody help to identify the error # # A fatal error has been detected…
user1909567
  • 251
  • 1
  • 2
  • 6
15
votes
3 answers

WELD-001408 Unsatisfied dependencies when injecting EJBs that implement interfaces

Here is the situation. I've got the following interfaces: public interface Parent { } public interface ChildOne extends Parent { } public interface ChildTwo extends Parent { } and 2 EJBs: @Stateless public class FirstBean implements ChildOne {…
jFrenetic
  • 5,384
  • 5
  • 42
  • 67
15
votes
2 answers

Java EE Security: JASPIC / JAAS or apply a Security Framework? (Glassfish 3)

I am currently using Oracle ADF (which is an end-to-end Java EE framework) for building my web applications and GlassFish 3.1 as application server. The latter supports JAAS (declarative inside its admin console). So, I have created a security realm…
Endrik
  • 2,238
  • 3
  • 19
  • 33
14
votes
2 answers

Where are the Glassfish access logs

Where are the glassfish access logs located? I would expect them to be in domains/domainX/logs. Is there a setting I need to change to activate access logging? Thanks
Captain Giraffe
  • 14,407
  • 6
  • 39
  • 67
13
votes
5 answers

GlassFish 3: how do you change the (default) logging format?

The question originated from here: http://www.java.net/forum/topic/glassfish/glassfish/configuring-glassfish-logging-format - without an answer. The default GlassFish 3 logging format is very annoying, much too…
Kawu
  • 13,647
  • 34
  • 123
  • 195
13
votes
5 answers

Admin port configuration not found' error while setting up Glassfish config in IntelliJ

When setting up Glassfish in IntelliJ IDEA I get the following Error message ´Admin port configuration not found´. Now I searched high an low but I found no place where I can set the admin port. Searching Google all I found was a dead link on the…
Patrick Stalder
  • 415
  • 1
  • 5
  • 19
13
votes
1 answer

What does "org.hibernate.DuplicateMappingException" error mean?

I'm trying to force JPA/Hibernate to generate and use only lowercase tablenames. I've implemented a NamingStrategy like this: public class MyNamingStrategy extends DefaultNamingStrategy { @Override public String classToTableName(String…
Bogdan
  • 5,368
  • 9
  • 43
  • 62
13
votes
4 answers

Automatically start JavaDB (Derby) on GlassFish

I am planning to deploy GlassFish v3 open source edition to a production environment. It comes with JavaDB (Apache Derby) which is just what I need. The only problem is that JavaDB is not started by default when GlassFish starts. I would have to…
del.ave
  • 1,888
  • 5
  • 17
  • 23
13
votes
6 answers

How to use 3rd party libraries in glassfish?

I need to connect to a MongoDB instance from my EJB3 application, running on glassfish 3.0.1. The Mongo project provides a set of drivers, and I'm able to use them in a standalone Java application. How would I use them in a Java EE application? Or…
Hank
  • 4,597
  • 5
  • 42
  • 84
13
votes
2 answers

Force browser to reload all cache after site update

Is there a way to force the clients of a webpage to reload the cache (i.e. images, javascript, etc) after a server has been pushed an update to the code base? We get a lot of help desk calls asking why certain functionality no longer works. A…
13
votes
2 answers

TypedQuery instead of normal Query in JPA

Is it possible to write this Query as a TypedQuery and let the two Long's run into a Object with two public Long fields inside. Query q = em.createQuery( "SELECT c.id, COUNT(t.id) " + "FROM PubText t " + "JOIN…
Hasan Tuncay
  • 1,090
  • 2
  • 11
  • 30
12
votes
4 answers

Can't start glassfish v3 on windows 7

I have glassfish v3 on windows 7 installed, but it won't start on 8080. I get typical dead page when I go to 8080 like you would expect if it's not running. I tried to start it manually. C:\glassfish3\bin asadmin start-domain and what i get is…
kb2tfa
  • 137
  • 1
  • 2
  • 7
12
votes
5 answers

JavaEE 6: javax.naming.NameAlreadyBoundException: Use rebind to override

I have a business interface being implemented by two EJBs. UserManagementService @Remote public interface UserManagementService { // ... } UserManagementServiceJpaImpl @Stateless(name="userManagementServiceJpaImpl") public class…
skip
  • 12,193
  • 32
  • 113
  • 153