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

learn more… | top users | synonyms

1
vote
1answer
35 views

Opensuse port forwarding 80 to 8080 not working

I've a glassfish server that use the port 8080. I need forward from port 80 to 8080 so I can access the content without put the :8080 port in the url. I've tried to put a masquerade rule, add ...
0
votes
0answers
28 views

Glassfish and Nginx: same domain for different web apps

I am really a nginx newbie so please excuse the mistakes etc. The domain: http://www.example.com The 2 glassfish apps: http://localhost:8080/app1 http://localhost:8080/app2 What I'd like: ...
0
votes
0answers
56 views

nginx reverse proxy glassfish issues

I have nginx serving as reverse proxy for a glassfish server with ssl, serving three glassfish context's, one demo site, one jenkins and one glassfish admin server. Root is redirected to the demo ...
0
votes
1answer
56 views

ErrorDocument 405 not working in Apache

I'm using Apache as a Proxy to our internal Glassfish server and want to hide as much information about the software we're using as I can. In Apache I configured a very simple 404 ErrorDocument on ...
1
vote
1answer
180 views

Glassfish 4.1 with Ansible and Vagrant: Domain doesn't start from play

I'm setting up a vagrant machine with Glassfish 4.1 using Ansible. I tried to use asadmin to start the domain, etc. According to the logs, there is no error but Glassfish doesn't starts. changed: ...
2
votes
1answer
108 views

How to verify that a firewall closes inactive connections?

How can I verify that a firewall closes connections on port X to a server after N minutes of inactivity? Background: I am working on a Java EE application deployed to a Glassfish application server. ...
1
vote
0answers
48 views

Microsoft Azure and Glassfish

I am having a problem with Azure database and glassfish. Azure database is closing the connection with glassfish pool after 2 minutes. I found the solution but I am having a hard time implementing it, ...
0
votes
0answers
49 views

Session State issue in glassfish 3.1 Web Server with load balancer

I have 5 ubuntu servers with glassfish 3.1. A spring MVC web app is deployed on all 5 servers no clusters are used. We have configured all web servers behind load balancer, (while testing) we observed ...
1
vote
1answer
149 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
votes
1answer
535 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: ...
0
votes
0answers
130 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 ...
0
votes
1answer
147 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
192 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
135 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
23 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
19 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 ...
0
votes
0answers
121 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
549 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
212 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
289 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
350 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
1answer
295 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 ...
-2
votes
1answer
454 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
2answers
2k 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
1answer
164 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
462 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
312 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. ...
0
votes
1answer
109 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
2answers
1k 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
511 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 ...
3
votes
1answer
1k 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 ...
2
votes
1answer
621 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
3k 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
705 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 ...
1
vote
1answer
50 views

How to prevent load balancer from failing?

sorry if the question is a bit ambiguous but it is the first time for me to set up a load balancer and I am a little worried. I want to create a Glassfish Cluster, at the moment I am following this ...
1
vote
0answers
167 views

GlassFish force 301 redirects instead of 302

My current setup has two virtual-servers, my-server redirects to the domain with www. prefix. <virtual-server network-listeners="my-nlistener" id="my-server" sso-cookie-http-only="false" ...
2
votes
0answers
95 views

Trying to deploy Confluence on Glassfish 4

So I'm trying to deploy Confluence as a WAR on Glassfish 4 (Using Oracle JDK 7). The WAR deploys just fine except I get the following errors when trying to load the page in my browser: Could not load ...
1
vote
0answers
193 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 ...
0
votes
1answer
99 views

Where does server store the users random salt for password

In order to make passwords more secure , a random salt is added to the password before harshing occurs . I am assuming the salt is stored on the server in an associative array [username:salt] and ...
1
vote
0answers
41 views

Transfer cacerts file to another das

I was wondering if its possible to transfer the cacerts.jks file to another glassfish DAS machine? The idea is to synchronize both das machines without having to import every certificate manually. ...
0
votes
1answer
48 views

Block access to specific URL

I have several java war applications hosted in a glassfish, some of then exposing web services. I need a way to block access to an specific application without blocking the entire access to server by ...
0
votes
1answer
218 views

Removing glassfish installation from redhat

I am trying to remove glassfish. I have put the zipped version of glassfish in /opt/glassfish4 and I have created a service using ./asadmin create-service. How can I remove glassfish from service and ...
0
votes
2answers
424 views

Glassfish3 Apache mod_proxy_ajp and missing headers

I got Apache 2.2.22 with mod_proxy and mod_proxy_ajp. Here is my configuration of mod_proxy: ProxyRequests Off ProxyPreserveHost On ProxyErrorOverride On ProxyPass / ...
0
votes
1answer
602 views

Apache with mod_jk with glassfish instances, large number of established connections for low number of users [duplicate]

I making a tuning for our production servers for a portal, we have 4 servers, 2 for web and 2 for app, and there is a firewall before and after web servers (so yes there is a firewall between app and ...
1
vote
1answer
2k 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
votes
1answer
3k views

Create printer localport from a network printer in windows 7

I'm having a problem to install a printer using localport, The printer is installed on a pc with windows 7 and I need to install it in another PC with Windows 2008 R2 creating a new localport for the ...
1
vote
1answer
436 views

Glassfish - Font file and stylesheets and gzip

We used to use Tomcat but are migrating to Glassfish 4 for our application server. We are trying to enable compression, but for some reason, when we do, woff and ttf files are aborted. No errors, ...
1
vote
3answers
186 views

Webserver load test

Is there any way to simulate 1000 or so visitors accessing our server? We have undergone a complete app re-write and re-structuring. We had a very optimized Tomcat server, and are moving to a ...
2
votes
1answer
732 views

Glassfish Server JVM Tunning

I need to setup a Oracle Glassfish Server and after some research I came up with a configuration that I would like to propose. Any suggestions and/or corrections are very welcome. My Hardware/OS ...