Questions tagged [glassfish]

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

207 questions
0
votes
1 answer

Glassfish JK SSL Listener 502 Bad Gateway

I have set up a very simple Apache + Glassfish cluster configuration. It works fine if I create and use a listener that use the default http-listener-1. However, if I switch to a secure listener which use http-listener-2 then the connection is…
Leonardo
  • 103
  • 5
0
votes
1 answer

Why is the characterset changing if starting Glassfish using php_exec compared to starting it in the console?

I have created a PHP script to start/stop GlassFish server. In the PHP, I am using the shell_exec method to execute the start-domain and stop-domain commands. To start the server shell_exec("sudo -u root /usr/local/glassfish3/bin/asadmin…
Attila Antal
  • 101
  • 3
0
votes
0 answers

How to generate SSL certificate on subdomain?

I actually have a hosting service who has a subdomain, that subdomain function is to redirect to my local server where I have my services, for example: My domain: example.com Subdomain: guaymas.example.com // His function is to redirect to my…
0
votes
1 answer

In Glassfish 4.1 is it possible to setup a deploy user which has less than asadmin permissions?

We are looking to centralise deployment of WAR files into Glassfish via the asadmin deploy route. I am aware that Glassfish supports autodeploy via folder, but want to manage the context and other parameters outside of war file. At the moment we use…
Dazed
  • 256
  • 2
  • 10
0
votes
1 answer

Glassfish memory leak?

I have been developing a flex application and noticing that my Glassfish server seems to be using more and more memory each time I tested the application. Specifically, it seems that to take more memory each time it runs .java files that query from…
Pii
0
votes
1 answer

Glassfish 4 fresh download won't work

I downloaded a fresh glassfish4 ZIP, decompressed it and ran it. However, I cannot access the admin console on localhost:4848, it keeps redirecting to index.jsf from unknown, and the server log keeps showing the certificate expired related…
0
votes
0 answers

Glassfish crashes due too many open files

I am having a backend deployment running on a glassfish server, the frontend of my application sends REST request when it needs some data. Also the backend is connected to a mongo database: FRONTEND <----rest---->BACKEND<---->DB . My backend is…
0
votes
1 answer

Alternative way of passing system/environment variable to service (glassfish)

I have a glassfish application server that is running under the glassfish user on CentOS 7.2. I have an application that has a deployed application that is needing a custom environment variable (e.g. export App_Home=/opt/App). The application is…
Kevin Vasko
  • 185
  • 6
0
votes
1 answer

jruby web application deployed on glassfish server becoming slow as time passes

I have deployed war file of my jruby application on glassfish server. i have noticed that my application becomes slow as time passes. My server is of 30GB RAM but still application is very slow. Every ruby method in my application is creating array…
0
votes
0 answers

Glassfish with SSL and Nginx works for app but not for console

GF 4.1 My nginx config file: upstream glassfish_server { server 127.0.0.1:8080 fail_timeout=10; } upstream glassfish_admin { server 127.0.0.1:4848 fail_timeout=10; } server { listen 80; server_name …
seinecle
  • 101
  • 4
0
votes
1 answer

Can GlassFish or Payara be configured to specify server preferred order of cipher suites?

I would like to prioritize cipher suites so I can implement perfect forward secrecy. I am not sure if this is feasible in GlassFish or Payara. We are currently running Payara Server 4.1.1.154.
Blegger
  • 272
  • 1
  • 5
  • 14
0
votes
1 answer

Error starting glassfish on port 80 on Ubuntu

I'm having some trouble starting Glassfish on port 80 - doing so yields the following error: 0.0.0.0:80: initialize: name or service not known Any tips?
Stuart
0
votes
1 answer

Security exception when moving from toplink to eclipselink in glassfish 2.1

My app is working fine with toplink, but I need some eclipselink features, so I decided to swap. I changed the provider in persistence.xml to: org.eclipse.persistence.jpa.PersistenceProvider and added the following property…
Draemon
  • 527
  • 1
  • 5
  • 15
0
votes
0 answers

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: Glassfish app1 served at: http://www.example.com Glassfish…
seinecle
  • 101
  • 4
0
votes
2 answers

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: /etc/httpd/conf.d/ajp.conf ProxyPass /painel…
Sombriks
  • 141
  • 2
  • 8