GlassFish 2 is a Java application server which was released on 17 September 2007.
Questions tagged [glassfish-2.x]
52 questions
26
votes
5 answers
How do I migrate from Jersey 1.0 to Jersey 2.0?
I'm trying to upgrade to Jersey 2.0 and I'm having a lot of trouble because the groupIds and artifactIds of Jersey have completely changed and I can't find a migration plan in the Jersey docs.
Here's what my pom.xml used to look like, and this…

Daniel Kaplan
- 62,768
- 50
- 234
- 356
8
votes
3 answers
Classloader is not garbage collected, even without GC roots
We have a complex application running under Glassfish V2.1.1. In order to be able to load our code dynamically, we have implemented a CustomClassloader which is able to redefine classes.
The behaviour is quite easy: when a dynamically loaded class…

ctabin
- 203
- 2
- 12
7
votes
1 answer
Glassfish 2.1 EJB 3.0 Exposing local EJB to other applications running in the same domain/jvm
I have an existing project that I am in need of configuring different. This needs to happen without major code changes. I am actually hoping I could somehow do this only with configuration. I have spent the past 2 to 3 days reading everything I can…

guyumu
- 3,457
- 2
- 19
- 18
3
votes
0 answers
Calling Java webservice from C# Trying to send long value from C# to Long value in Java
I'm a C# developer and working on a project where I need to make a call out to a Java webservice that is expecting a Long value as a property on an object that I am passing to a method. It looks like this:
public long routeDocument(long sDocID,…

Ryan
- 31
- 1
3
votes
1 answer
Glassfish 2.0 Poodle vulnerability - How to disable SSL and allow TLS only
Is there any JVM option or Grizzly framework config file to prevent SSLv3 connections ?
Somehow to disable SSLv3 and allow TLS cipher only.
Any other idea is welcome.

user2050516
- 760
- 2
- 5
- 15
3
votes
3 answers
JSF tag is not working on *.xhtml but working *.jsp file
I am trying to run simple application using JSF 2.2, Netbeans 7.3 and GlassFish v2.
index.xhtml:

Yubaraj
- 3,800
- 7
- 39
- 57
3
votes
3 answers
EJB modules cannot find class from another EJB module on glassfish
I have an EJB 3 module deployed on my Glassfish 2.1 server.
I'm trying to deploy a second EJB module, which depends on this first module, but the deployment fails with java.lang.NoClassDefFoundError about a class that can be found in the first EJB…

Pearl Jade
- 716
- 1
- 8
- 22
3
votes
1 answer
glassfish v2 in Netbeans 7.2
I've updated Netbeans 6.9 to Netbeans 7.2. But after that I cannot use glassfish v2 with new Netbeans. The problem is glassfish server v2 is not supported to Netbeans 7.2
The proposed solution of this problem is to add a…

sarwar026
- 3,821
- 3
- 26
- 37
3
votes
3 answers
PWC1231 and PWC6344
I have two servers running on Glassfish 2.1 both have the same web app.
Two times this error occurred: Some jsp pages stop displaying only showing a blank page, and the following errors are printed in the logs...
PWC1231: Servlet.service() for…

jsedano
- 4,088
- 2
- 20
- 31
3
votes
1 answer
Java EE 5 security annotations getting ignored on methods in glassfish v2
I have a simple EE5 application with a web client and and an ejb module running glassfish 2.
The security annotations in the ejbs on methods are getting ignored, but not those on class level.
For example I have following bean:
@Stateful(mappedName…

Christian
- 3,503
- 1
- 26
- 47
2
votes
2 answers
How do I set logging level in Glassfish?
We are running glassfish 2.1; I want to reduce the chattiness of the logging to server.log but cannot find what config file allows me to do this. (I'm assuming this will use log4J syntax.) thanks!

bethesdaboys
- 1,797
- 7
- 22
- 35
2
votes
1 answer
Is Java 8 with Glassfish 2.1.1 possible?
As the title says, is it possible? Right now, we have Java 6 + sqljdbc4 + glassfish 2.1.1. We're planning on upgrading our Java 6 to Java 8 in order for Sqljdbc42.jar to work, because we are having JDBC Connectivity issue and the solution might be…

Cyberpau
- 125
- 9
2
votes
0 answers
Deployment issue in GlassFish 2.1.1
I just created a new domain in GF 2.1.1 and was trying to deploy a WAR but getting below error during deployment:
Trying to create reference for application in target server failed;
Bad File parameter in AppDD ctor: E:\softwares…

yogi
- 21
- 3
2
votes
1 answer
Glassfish v2 can't find all ciphersuites
I have 2 seemingly identical glassfish installations (installed using the same installer, same OS - SLES 11 SP2 - with the same installed packages and updates, same JRE/ JDK, same web applications deployed in the same way, similar keystores -…

user
- 31
- 6
2
votes
0 answers
impossible to see log 'system.out.println' in glassfish v2
I would like to see the output : system.out.println() on 'log file' to sun glassfish enterprise server v2.1.1. I found this on Oracle doc :
Log Options The Administration GUI provides the following two logging
options:
Option 1 — Log stdout…

stilldoll
- 21
- 2