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

learn more… | top users | synonyms

0
votes
0answers
20 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
17 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
48 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
50 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
1answer
167 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
47 views

Setting up a web server behind a ZTE NAT [closed]

down vote favorite I have developed a web app in Java using netbeans and running on a glassfish server attached to netbeans. I would like to show this to some people but I can't get it running across ...
1
vote
0answers
154 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
100 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
594 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
252 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
39 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
55 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
642 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
58 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
71 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
61 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
24 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. ...
1
vote
0answers
45 views

Restart GlassFish 4.0 after deploy

Is it possible to configure GlassFish 4.0 to restart itself after a deploy has been completed? The reason I'm asking this is that there will be a lot of deploys (continuous integration) and I'm ...
0
votes
0answers
34 views

GlassFish docroot internationalization

At the moment, I am using Apache web server to redirect all HTTP request to port 8080 to be served by GlassFish app server. Just like Apache, GlassFish has a docroot folder to store static pages. ...
0
votes
0answers
42 views

What is a good approach for setting up SVN, Maven, Glassfish on CentOS

I'm trying to set up a VPS that will serve us as remote PostgreSQL database, SVN repository, Maven build tool and will also host our Java EE applications. I've just installed and configured our ...
0
votes
1answer
16 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
52 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
128 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
330 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 ...
0
votes
0answers
62 views

Windows program started with conhost.exe has no access rights to network shared drives

We clustered a Liferay portal that runs on Glassfish application server (java). The newest Glassfish works in the way that it has a central node that can start other nodes on other computers with ...
0
votes
0answers
150 views

Remove default and timerpool jdbc-resources from glassfish

Glassfish 3 internally uses derby database for JavaEE EJB timerservice via the jdbc/__TimerPool resource using the same named connection pool. I configured EJB timerservic to use a physical database, ...
0
votes
0answers
50 views

How do change the default JMS broker password in OpenMQ

For security reasons, I need to change the default password of a OpenMQ JMS broker. The broker is running in a Glassfish cluster so I can't use the imqusermgr command line tool. I haven't found any ...
1
vote
1answer
593 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
811 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
212 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
109 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
257 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
157 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
147 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
111 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
193 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
1k 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
121 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
268 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
370 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
223 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
172 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
458 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 ...
0
votes
1answer
851 views

Glassfish doesnot start as a service at bootup at Ubuntu 12.04

As far as I know command statement below is used to create Glassfish service, After execution following command. GlassFish_domain1 file is created under /etc/init.d directory. And link files are ...
1
vote
0answers
135 views

proxy ajp single apache single glassfish multiple GF domains

I'm sorry if I am not well versed enough to be as specific as some would wish here. I have successfully got Apache mod_proxy_ajp working with Glassfish 3.1.2 on a VPS. However it is one Apache httpd ...
1
vote
1answer
267 views

GlassFish cluster-targeted jdbc is not enabled

I have a GlassFish cluster. When I tried to add node and a instance, DAS saids a bunch of error messages telling Resource [ jdbc/xxxx ] of type [ jdbc ] is not enabled ...
1
vote
2answers
252 views

Strange enduser experience with Liferay, Glassfish and Apache on RedHat

Tried multiple forums to get to the bottom of this. I hope I can get some direction here: Here is the stack I am working with: Red Hat Enterprise Linux Server release 5.6 (Tikanga) Liferay 6.0.6 on ...
1
vote
1answer
347 views

IIS - Forwarding requests to a folder to another port

Context I currently installed Glassfish 3 in a server that currently holds ASP and PHP inside Internet Information Server 7 so we can start moving to a new system architecture (the information system ...
1
vote
1answer
280 views

Glassfish JSF/EAR Apache 2.2 proxy_ajp_mod Referred Content Missing (images/links/etc)

Full disclosure: Since this seems to be more of a configuration issue, I deleted this from Stack (where it wasn't getting any response) and reposted here. The problem is how to change the ...
3
votes
1answer
1k views

Apache in front of Glassfish: mod_jk on https(443)

After the recommendation of using Apache http server in front of glassfish ( check question ), i used the following tutorial and made it work but only on port 80. What i mean is now i can type: ...