Questions tagged [glassfish]

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

207 questions
1
vote
1 answer

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 the server level: ErrorDocument 404 "Page not…
Davio
  • 113
  • 1
  • 4
1
vote
1 answer

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: [vagrant] => {"changed": true, "cmd":…
R5498
  • 11
  • 4
1
vote
0 answers

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, can someone help please? Here is the link of the…
1
vote
1 answer

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 default port for the domain changed from port…
Rick
  • 203
  • 2
  • 9
1
vote
0 answers

Communication between HTTPD and Glassfish server

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 content instead of Glassfish providing them as in…
1
vote
0 answers

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 retrieve RMIServer stub:…
Vladiator
  • 11
  • 4
1
vote
2 answers

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 on line and everything I found was install this…
ZoomVirus
  • 111
  • 5
1
vote
0 answers

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 only for system properties, but not for the JVM…
user2050516
  • 111
  • 3
1
vote
1 answer

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. All requests for https://api.example.com are…
Jose S
  • 123
  • 1
  • 3
1
vote
1 answer

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 link:…
Noah Martin
  • 113
  • 3
1
vote
0 answers

GlassFish force 301 redirects instead of 302

My current setup has two virtual-servers, my-server redirects to the domain with www. prefix.
Bro Kevin D.
  • 141
  • 1
  • 6
1
vote
0 answers

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 connections being added to the mysql server and it is is…
Nathan
  • 11
  • 1
1
vote
1 answer

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 the server appends the salt to the password before…
Computernerd
  • 139
  • 7
1
vote
0 answers

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. Thanks
KKK
  • 35
  • 3
1
vote
2 answers

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, no response, just aborted (according to Firebug). …
Tim Withers
  • 125
  • 5