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

learn more… | top users | synonyms

1
vote
2answers
259 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 ...
0
votes
2answers
171 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 / ...
1
vote
1answer
769 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
240 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
1answer
491 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 ...
1
vote
1answer
314 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 ...
1
vote
1answer
186 views

Windows server 2008/glassfish/postgres proxy timeout HTTP idle after 120 seconds

Environment: Windows 2008 Server Edition Netbeans 6.7.1 Glassfish 2.1 Apache 2.2.15 for win32 Original problem (almost fixed): The HTTP/1.1 GET method to send data fails if I wait for more than ...
1
vote
1answer
547 views

Glassfish v3 failure when startup. “Cannot allocate memory ”

It is clear in this Question Fail to start Glassfish 3.1: java.io.IOException: error=12, Cannot allocate memory But in my case,I have a 512M memory Ubuntu 10.04 vps.It seems that I don't need ...
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
vote
1answer
489 views

filtering request from IIS and redirecting it to Glassfish

I have IIS running on my server on 80 i want if request with /webapplication comes then the request should be redirected to my glassfish from IIS it self glassfish is running on 8080 how to configure ...
1
vote
1answer
534 views

Setup IIS 6/7 to passthrough to Glassfish v2.x

I need to setup IIS 6 and 7 to pass all request to Glassfish v2.x. Is there a simple tutorial that will get this interaction between IIS and Glassfish working?
1
vote
1answer
579 views

Glassfish with Webservices on non default port

I have a simple web service that I created that deploys perfectly on a default Glassfish V2.1 install on both a windows and a linux system. HOWEVER, In the production environment, Glassfish has the ...
0
votes
1answer
46 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
1answer
18 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
153 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
1answer
198 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 ...
0
votes
1answer
3k 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
1answer
342 views

Glassfish 3 Cluster and Local init scripts

I'm trying to set-up a Glassfish 3.1.1 Cluster for testing purposes. Currently, I've got 2 hosts with Glassfish 3.1.1 installed. I've set-up a DAS domain on host1, and followed this guide to create ...
0
votes
1answer
51 views

Switching glassfish 2.x to 3.1.1

So I am managing a old java project that is using glassfish 2.x. Seems like netbeans does not support 2.x versions any more, so I want to change it to 3.1.1. How to properly make that change? I have ...
0
votes
1answer
32 views

Can different Glassfish domains be owned by different unix users?

Is it possible to assign different unix users to each domain under ${GLASSFISH_HOME}/domains ? I tried assigning different users (even though same belonging to common group) I found permission ...
0
votes
1answer
782 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
161 views

How to run a multi language web application server?

I'm a web application developer and whenever I buy a web hosting for my application I'm either limited by the technologies supported or the amount of resources (heap size for instance) so I have ...
0
votes
1answer
566 views

Set up Glassfish connection pool to talk to a database on a Ubuntu VPS

On my Ubuntu VPS, i have a mysql server running and a Glassfish 3.0.1 Application Server running. And I am having a hard to have my GF successfully ping the database. Here is my GF set up Assume: ...
-1
votes
1answer
138 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
1k views

GlassFish v2.1 — getting Application Client and Eclipselink to work together?

We are trying to use Eclipselink 1.1 with Glassfish v2.1. Following the instructions on: http://wiki.glassfish.java.net/Wiki.jsp?page=FaqEclipseLinkGlassFishV2 I adapted the instructions for the ...
3
votes
0answers
471 views

Glassfish connection pool don't work after restart server

I have a connection pool in Glassfish 3.1 to connect to SqlServer 2008 Express, this pool works fine, but when Glassfish is restarted, the connection pool can't ping and stops working. To work again, ...
2
votes
0answers
326 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 ...
2
votes
0answers
204 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 ...
2
votes
0answers
536 views

Uninstall Glassfish and metro completely

I thought of updating my Glassfish server from 2.1 to 3.1.1 in a Linux machine. I downloaded the .ZIP package. However during uninstalling of Glassfish v2.1 I did not find the uninstall.sh file in ...
1
vote
0answers
17 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
0answers
286 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
0answers
71 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
909 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
67 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
100 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
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. ...
1
vote
0answers
52 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 ...
1
vote
0answers
140 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
0answers
173 views

How to protect or hide a web application on GlassFish?

I have to deploy a ready web application on a public GlassFish instance. The itself has user management and users must be registered to login as we all know it. However I have to protected or hide the ...
1
vote
0answers
355 views

How to handle serlvet login redirects which cross reverse proxy virtual host boundary

I'm trying to setup the GlassFish application server behind an Apache reverse proxy. I've got it working with both port 80 and 443, but the problem is the transition between the two that occurs when ...
1
vote
0answers
163 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. ...
1
vote
0answers
330 views

Glassfish failed start on update

I'm new to ServerFault. My problem is that recently(today) the Update Tool Notifier of glassfish executed an update. Everything seemed to go well but when I tried to start the server, it threw this ...
1
vote
0answers
198 views

(Rails, Warbler) Deploying and initializing Rails applications in Glassfish…?

I'm currently in the process of finishing up a Rails application. I am using Warbler to package it up as a ".war" file and am using GlassFish to deploy it. I do this because the application is to be ...
0
votes
0answers
15 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
44 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
0answers
44 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
0answers
141 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 ...
0
votes
0answers
43 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
223 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 ...
0
votes
0answers
341 views

Cannot configure proxyPass for glassfish admin console

I've got the following situation. There is an apache 2.2 server and glassfish 3.1.2 running behind it. All requests to port 80 are redirected to glassfish server through mod_proxy. This is what I ...