GlassFish is an open-source application server project for the Java EE platform.

learn more… | top users | synonyms

1
vote
1answer
3 views

Access Glassfish server logs via REST

I am using Glassfish 3.1.2.2. I have deployed Glassfish to localhost. I have enabled the monitoring service and set the log level to HIGH for all components. I should be able to use the view the ...
1
vote
1answer
1k views

Configure Glassfish http-listener to Port 443/ 80

I want to configure the http-listeners in Glassfish 3.1.2.2 Build 5 under Linux. I changed the settings for the http-listener-1 to the port 80 and the settings for the http-listener-2 to the port 443. ...
1
vote
1answer
1k views

Export SSL Cert from IIS and import into GlassFish keystore

What I need: I have an existing SSL certificate installed on IIS 6. On the same machine, I have GlassFish installed and would like to share the same certificate since they both share the same ...
-1
votes
1answer
45 views

How to Configure Apache mod_proxy to proxy Glassfish 4.1 on Fedora 21?

i have glassfish 4.1 running and checked the JK-Listener option on http-listener-2: also i already installed apache (sudo yum install httpd) and created the following file on /etc/httpd/conf.d: ...
4
votes
2answers
4k views

Issues with setting up SSL on Glassfish v3

I am currently setting up SSL on glassfish and having some issues connecting to the server. http://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl/ I have followed this ...
0
votes
1answer
5k views

Error deploying Spring with JAX-WS application in Jboss 6 server

I'm getting this error when I deploying spring+JAX-WS application in jboss server 6.1.0. 09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed: ...
0
votes
0answers
49 views

Why is GlassFish 4.1 slow on Ubuntu 15.04?

I have a GlassFish 4.1 Server instance running on Ubuntu 15.04 Desktop Edition. I use this as a development server, where NetBeans will automatically deploy my packages as I work on them, for easy ...
1
vote
1answer
174 views

How to make glassfish v3.1.1 run with -Xmx256m?

I have a t1.micro amazon instance and that machine have very scarce resources. I need for the moment to run glassfish3.1.1 (due to complete JEE6 support) on those conditions. Any guidance is welcome. ...
7
votes
4answers
18k views

Why (or how) does the number of open file descriptors in use by root exceed ulimit -n?

Our server recently ran out of file descriptors, and in regards to that I have some questions. ulimit -n is supposed to give me the maximum number of open file descriptors. That number is 1024. I ...
0
votes
1answer
48 views

Apache reverse proxy 302 redirect browsers directly takes to the redirected URL

I have setup a reverse proxy through glassfish server via apache mod_proxy. my concern is when there is a 302 redirect happens then after that every time i access that url which invoked 302 redirect ...
0
votes
0answers
99 views

Glassfish 3 unable to deactivate SSL3 for IIOP

I'm running Glassfish 3.1.2.2 and want to disable SSL3 for the IIOP ports (default 3820 and 3920). I set configs.config.server-config.iiop-service.iiop-listener.SSL.ssl.ssl3-enabled=false ...
2
votes
1answer
78 views

Communication between Apache and glassfish

We are currently using HTTPD server (apache) to handle client request. The requests are further proxied to a Application Server (glassfish) which provides the content. The content are static files ...
0
votes
0answers
19 views

Glassfish4: Should I run multiple applications in one domain?

I have 5 different Java EE 7 applications (WAR files) that communicate to each other via a REST interface. In production, is it "better" to deploy them all in one Glassfish4 domain, or to create a ...
1
vote
0answers
18 views

Communication between HTTPD and Glassfish server [duplicate]

Currently, Glassfish Server sits behind a Apache HTTPD server. Glassfish server provides business applications along with static content. The idea is to allow Apache HTTPD server to provide static ...
4
votes
5answers
3k views

Can't launch glassfish on ec2 - can't open port

I'm trying to start glassfish on an EBS-based AMI of Ubuntu 10.04 64-bit. I have used glassfish on non-ec2 servers with no problems, but on ec2 I get this message: $ sudo -u glassfish bin/asadmin ...
0
votes
0answers
74 views

CORBA lookup fails with NameNotFoundException

The CORBA lookup works fine from localhost: thufir@doge:~$ thufir@doge:~$ appclient -client NetBeansProjects/corba/GreeterCorbaClient/dist/GreeterCorbaClient.jar {org.omg.CORBA.ORBInitialPort=3700, ...
1
vote
0answers
282 views

Glassfish 4.1 JMX: java.rmi.ConnectIOException: non-JRMP server at remote endpoint

I've updated to Glassfish 4.1 from 4.0, and I can't access it from JConsole and VisualVM now (but I used to). JConsole outputs this before entering user/password: java.io.IOException: Failed to ...
0
votes
0answers
109 views

how do I configure a glassfish host and broker to use JMS?

In trying to run a JMS Message producer remotely, I'm going through the fine manual: Administering the Java Message Service (JMS) GlassFish Server Open Source Edition Administration Guide Release 4.0 ...
1
vote
2answers
168 views

GlassFish Configuration Failed

I just downloaded the installer and ran the typical one for glassFish 3.1, However I have tried 2 times now and have got the same error twice now any help would be greatly appreciated(I have searched ...
0
votes
1answer
866 views

glassfish - Unknown error when trying port 4848

I'm installing glassfish 3.1 on Windows XP service pack 3. but in configuration step it gives this error: PERFORMING THE REQUIRED CONFIGURATIONS ______________________________________ CREATING ...
0
votes
1answer
191 views

What does “Waiting for DAS to start” mean in GlassFish 3?

I try to install the Glassfish 3 on my PC. I used the installation exe from https://glassfish.java.net/de/downloads/3.0.1-final.html I started the Installer which installed Glassfish. I created a ...
0
votes
2answers
345 views

Glassfish basic configuration forgotten

I installed glassfish v3 some time ago and it's been a while since I last used it, so I forgot the port on which the server is listening and the port on which the admin console is listening. Moreover, ...
2
votes
1answer
368 views

glassfish cluster fail at start

I got a problem trying to set a cluster up. I'm gonna describe detailed configuration(since I couldn't find a cluster example made on two different pcs, all of them were made on one localhost): 3 ...
0
votes
1answer
141 views

Apache proxy to Glassfish - How to supress subfolder in URL?

I've got a single linux server running Apache/2.2.24 running both HTTP/HTTPS along with a Glassfish 3.1.2 server listening on port 8080. Glassfish runs a single deployed application which has ...
0
votes
0answers
221 views

Apache reverse proxy ProxyHTMLURLMap not rewriting AJAX responses

We set up a reverse proxy for a glassfish server but having difficulties getting the AJAX responses to be rewritten. Opening the site in browser (GET-Request) every occurences of /foo/bar/ are ...
-2
votes
1answer
224 views

Does GlassFish Server need JDK or JRE in order to run Java EE applications? [closed]

I want to Install GlassFish Server in a computer without a GUI. I would like to know if a JDK or a JRE is required in order to run Java Platform, Enterprise Edition (Java EE) applications?
0
votes
0answers
55 views

Why is Glassfish v3 thrashing JDBC Postgres connections?

I have an application running on Glassfish3 and Postgres. Looking at netstat and lsof there are an excesssive (thousands) of connections to postgres from localhost in TIME_WAIT. My team and I know ...
0
votes
0answers
139 views

Error when trying to force Glassfish to use HTTPS instead of HTTP

I am developing a JavaEE applicaction using Glassfish as server. I would like to force http connections to https. I have added to following code to web.xml, but when I run the application I have a ...
0
votes
2answers
1k views

JDBC Connection Pool details on Glassfish

In the context of configuring Session Beans for Entity Classes, I can get some basic information from Glassfish v4 on Ubuntu about the JDBC connection pool from the CLI with asadmin, but would like to ...
0
votes
0answers
23 views

Secure part of Glassfish application based on network

I have an application deployed in glassfish on Ubuntu server. And I would like to know if there is any possibility to make part of the application accessible only through certain network ...
0
votes
3answers
1k views

Private cloud solution [Eucalyptus,OpenStack, Nimbus] for Java deployments [Glassfish, Tomcat] [closed]

I am interested in a way to have private cloud which would host Glassfish (or Tomcat) server. Which option from Eucalyptus, Openstack or Nimbus would be best to deploy java applications on it? Or ...
3
votes
2answers
5k views

authbind, privbind or iptables REDIRECT (port 80 to 8080)?

I'd like to run Glassfish v3 as a non-privileged user on Linux (Debian), but make it available on port 80. I'm currently doing this with iptables: iptables -t nat -I PREROUTING -p tcp -d x.x.x.x ...
0
votes
0answers
95 views

How to get GlassFish Admin page to show server name and not IP address of server

GlassFish 3.0.1 RHEL 6.5 When my GlassFish Admin home page renders, the server/home value shows the IP address of the server and not the server name. DNS resolves the server name and IP address ...
0
votes
1answer
122 views

With Glassfish, how to resolve https URL to http URL

GlassFish 3.0.1 RHEL 6.5 MySQL 5.4 Hello all I have a web app running under GlassFish/RHEL/MySQL where all of the software tiers (GlassFish/RHEL/MySQL) are on the same system. I have a (separate) ...
0
votes
2answers
356 views

JVM will not start when starting Glassfish on RHEL

GlassFish 3.0.1 RHEL 6.3 When trying to start GlassFish I get the following JVM error: JVM failed to start: com.sun.enterprise.admin.launcher.GFLauncherException: The server exited prematurely with ...
1
vote
0answers
37 views

Glassfish 2.0 - per node JVM config

I have a Glassfish (2.0) cluster with two nodes. I want to pass some extra JVM settings to a single node only. Is this configurable? At least from the console I see, this selective configuration is ...
1
vote
1answer
217 views

Using GlassFish behind Nginx with SSL

We have a prototype setup where Nginx acts as a load balancer SSL terminator. Behind Nginx is GlassFish 3 running our REST Web Services over HTTP (without SSL) along with other application servers. ...
1
vote
0answers
142 views

glassfish 4 cluster jdbc connection pool not being installed on instances

I might be missing something, but I created a JDBC mysql connection pool on the DAS and then created a resource and it says enabled on the two instances on different hosts. I do not see the ...
1
vote
1answer
994 views

Can't get Glassfish 3.1.2.2 to use anything other than jdbc/__TimerService for the EJB Timer Service

I am trying to set up a Glassfish cluster (1 DAS with a cluster that has an instance running on an ssh-node). This is where I am: DAS running Cluster created asadmin create-cluster cluster Node ...
0
votes
0answers
120 views

Glassfish-3.0.1 mixing user sessions - SSO

We are experiencing a strange behaviour, we have an application (jsf 2.2.4 embedded) that has a login form, glassfish has sso enabled and a custom realm (LDAP). We have also several applications (some ...
0
votes
1answer
86 views

Glassfish - Slow requests from Windows clients

we have a weird problem with our Glassfish 3.1 installed over a Centosx64. If we access our web app from a pc running ubuntu (firefox or chrome browser) it all works ok, but if we do the same from a ...
-1
votes
1answer
697 views

Disable support for LOW encryption ciphers for glassfish port no 3920

Qualis team found a vulnerability with our glassfish with port no 3920 . glassfish version :- glassfish-3.1.2.2 Port no :- 3920,3820 Below are the details from Qualis Messages ...
-1
votes
1answer
395 views

SSL certificate is not properly installed on Glassfish

I am an java developer not an web server/IT infra guy so i dont know wether I am asking this question correctly or not, So i apologies if I am wrong somewhere. Previously we are having an spring web ...
1
vote
5answers
299 views

Java Application Hosting

I've made a webapplication which runs on glassfish v3 on my computer. It's not a big application and i am not expecting a lot of traffic. All the hosts supporting glassfish is very expensive (about ...
3
votes
1answer
877 views

Load balancing glassfish v4.0 CLUSTER with apache HTTP server: Location of apache

I am teaching myself to build clustered Java EE 7 applications. I am focused on Glassfish Server v4.0. Based on the official documentation (Chapter 7 page 133) , Glassfish can be loadbalanced using ...
5
votes
1answer
1k views

Is it bad practice to run a web application server directly on port 80/443

I am hosting a web app on amazon aws, using an ec2 instance. On that instance i will be running only one application. using glassfish v3.0.1 I do not want to run the app using : ...
1
vote
2answers
219 views

Is there any reason to use Apache as a proxy between my users and Glassfish?

I've seen a lot of discussion on the best way to use Apache as a proxy (either mod_proxy or mod_jk) with Glassfish (and other Java application servers), but I haven't seen anybody really explain why. ...
1
vote
0answers
453 views

Apache Reverse Proxy Java Application Server CLOSE_WAIT Connections

I've got Apache setup as a reverse proxy for a Java Application server (GlassFish) and I noticed there are about 100 connections in the state CLOSE_WAIT even on an idle development system: sudo ...
1
vote
2answers
2k views

Non-heap memory leak JVM

I have a glassfish v4.0 set up on Ubuntu server running on oracle java virtual machine and jvm process resident memory size (got via "top" command) grows up until jvm doesnt have memory to create new ...
2
votes
0answers
546 views

How to enable CORS on Glassfish?

Cross-Origin Resource Sharing is a mechanism that enables cross-origin requests[1]. As you can see in the link [1], It is easy to enable CORS in Apache Tomcat 7. Just a configuration in the file ...