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

learn more… | top users | synonyms

-1
votes
0answers
4 views

Has anyone got OAM working with GlassFish Server Open Source Edition 4.1? [on hold]

I'm trying to get OAM integrated with a Java application that is hosted on GlassFish Server Open Source Edition 4.1 Is is possible to do such a thing? If so, is there any online resource that can ...
0
votes
0answers
7 views

com.sun.aas.jws.signing.alias Not working in Glassfish - still self signed [on hold]

I found some articles like this one stating that in order to tell Glassfish to use a specific certificate to sign your Java Web Start code, you should set -Dcom.sun.aas.jws.signing.alias=myalias in ...
0
votes
0answers
9 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
26 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
21 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
19 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 ...
-2
votes
0answers
10 views

glassfish server threads takes huge time to response

I m having a glassfish server which is serving some video mp4 files. When i access those files using a html5 video player further requests to the server takes a huge amount of time even in other ...
0
votes
2answers
111 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
18 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
0answers
55 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
59 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
39 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
20 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
113 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
0answers
56 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
35 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
225 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
132 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 ...
2
votes
1answer
395 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 ...
1
vote
0answers
335 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 ...
0
votes
0answers
155 views

Glassfish 4 - Multiple Ports - Wildcard SSL - Error

I am having a strange issue with GF V4.0 and SSL. I have 2 domains deployed on a test box, i.e. domain1 and domain2. Domain1 is configured with a wildcard SSL cert from GoDaddy and runs on 8181. No ...
1
vote
2answers
1k 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
358 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
42 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
86 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" ...
1
vote
0answers
1k views

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure between Java app & database VMs

Am getting increasingly frequent JDBC Communications link failure errors between a Glassfish 3 + Java 7 server VM and a MySQL 5.6 Both VMs are hosted on the same ESXi 5.5 enterprise host (as part of a ...
1
vote
0answers
70 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
104 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
68 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
28 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
19 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
65 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
184 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
398 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
858 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
1k 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
260 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
123 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
346 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 ...
2
votes
0answers
230 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
188 views

Glassfish 2.1 won't start after changing Maximum Pool Size

I'm running Glassfish 2.1 on an Ubuntu server, I was trying to test something, so I change in the administrative console on localhost:4848 the Maximum Pool Size to 1, I stopped the server, but when I ...
0
votes
2answers
125 views

Glassfish admin loading forever

i have downloaded the .sh bundle of Glassfish 3.1.2 on my mac machine and started the server using ./asadmin stat-domainand tried to hit the url http://localhost:4848/ but the page is loading ...
0
votes
0answers
230 views

PortUnificationException in Glassfish after installing SSL cert

I've installed an SSL cert (incliding a GoDaddy root cert) into a brand new keystore (myks.jks) on Glassfish 3.1 and now when the server starts, I get this in the logs (and I can't access the admin ...
1
vote
1answer
2k views

How can I reduce Glassfish startup time from 2 minutes to something acceptable?

I'm running Glassfish Open Source Edition v3.1.1 on a Ubuntu 12.04 Micro Instance in Amazon EC2 (Elastic Compute Cloud). I've configured a single domain with a single application. When I start the ...
0
votes
1answer
159 views

Unable to use port even if sudo is used to create a domain for glassfish in ubuntu

I am trying to create a domain in glassfish. I have already done this in another server with ubuntu 12.04. Everything worked fine. I was just trying to replicate the same setup in another server with ...
0
votes
2answers
327 views

glassfish start script fails through crontab

I have a created a script to check to see if my glassfish server is running, if it isn't, it attempts to kill the java process to ensure it's not hung, and then issues the asadmin start-domain command ...
1
vote
1answer
555 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
1answer
259 views

Glassfish admin console display no login page

I'm running glassfish 3.1.2 on Debian 6 (a VM on Mac OS X 10.8 host). Default domain1 starts OK, system listens on tcp port 4848, the 'Admin console loading' page is displayed for a duration of at ...
0
votes
1answer
214 views

Start Cluster automatically at Glassfish 3.1

I am able to start Glassfish domain automatically, in other words I can run it as a service by using "asadmin create-service". When machine is restarted, domain is getting up automcatically. I want ...
1
vote
1answer
509 views

Apache2/glassfish|tomcat: Redirecting some (but not all) requests on 80 to glassfish on port 8080, where is the admin screen?

Using that answer: How to redirect traffic on port 80 to Tomcat port 8080 whilst still allowing the server to send/receive on port 80 I've configured my apache2 server to redirect some requests to ...