Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [glassfish]

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

0
votes
0answers
17 views

Setting a URL prefix for the Glassfish admin GUI

The Glassfish admin gui runs on port 4848, which is behind my firewall. Other high order port web apps either have a consistent prefix or allow me to set one in order to proxy from 443 to the higher ...
0
votes
1answer
10 views

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 ...
0
votes
0answers
35 views

Bundling multiple WAR files for in Elastic Beanstalk

Our application has multiple WAR files. I've been following the documentation here to try and bundle them, however I'm using the pre-configured Docker + Glassfish template rather than Tomcat: https://...
0
votes
0answers
50 views

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: ...
0
votes
0answers
71 views

GlassFish DAS cannot be accessed after enable secure admin

I'm doing a GlassFish (GF) installation on a VPS. I've followed these steps for the GF installation: https://www.rosehosting.com/blog/install-glassfish-4-1-on-a-centos-7-vps/ The server is listening ...
0
votes
0answers
46 views

Glassfish 4.1 domain couldnt start. — it probably is another instance of a GlassFish server

I have glassfish app on my Linux red hat 6. I cant start my glassfish node it gives me next error : There is a process already using the admin port 5858 -- it probably is another instance of a ...
0
votes
0answers
10 views

Why “java:module/” is prefixed while creating jdbc pool and/or data source in ejb module of a jee7 project in Netbeans8.2?

Environment: OS : CentOS7 java : OpenJDK1.8.0_131 Netbeans : 8.2 Payara : 4.1.2.181 Postgresql : 9.2.21 jdbc driver: postgresql-9.4.1209.jar Issue: Whenever jdbc pool or data resource is created in (...
0
votes
0answers
20 views

How to resolve false 304 HTTP status?

We are migrating from Glassfish to the Payara version of Glassfish. In setting it up to serve our application, I have encountered an issue where the whole pages, with 15 to 20 components (png, ...
0
votes
0answers
45 views

How to parameterise protocol, thread-pool while creating http-listener through cli in glassfish4.1?

http-listener can be created using glassfish domain configuration file, domain.xml <network-listener port="${HTTP_LISTENER_PORT}" protocol="http-listener-1" transport="tcp" name="http-listener-1" ...
0
votes
0answers
51 views

Application deployed on GlassFish to listen only to localhost

I have several applications deployed on GlassFish and I need one of them to listen only to localhost. How could I do it? Thanks.
0
votes
0answers
42 views

OpenStack with esxi as a storage service, Glassfish inside?

I have a 2 esxi 5.5 and vCenter with openstack and many ISCSI servers, the main idea is to store user files. Users are using JEE WebApp or android app to store files, then a Rest WEBAPI to comminucate ...
0
votes
0answers
3k views

Websocket Error in connection establishment: net::ERR_CONNECTION_REFUSED 'wss://'

First I asked this question in stackoverflow, but it looks like a server issue more than coding problem. I am developing a project with Java EE and I have access to the server computer under a ...
1
vote
0answers
51 views

Glassfish - log System.err to second location or do something after logrotate

we have a GF4 server that produces a lot of logs. Currently it is setup like this: com.sun.enterprise.server.logging.GFFileHandler.excludeFields <> com.sun.enterprise.server.logging....
0
votes
0answers
229 views

Glassfish 4.1 configure http/https proxy in CentOS 6

To access external endpoints I have to go through proxy server. I have been trying to configure the http and https proxy in my glassfish 4.1 server but have had no success. I've tried adding the ...
0
votes
1answer
237 views

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. ...
1
vote
2answers
1k views

GlassFish on CentOS 7 (systemd) - “asadmin restart-domain” doesn't work as expected

I use the following systemd script for GlassFish 4 on CentOS 7: [Unit] Description = GlassFish Server v4.1 After = syslog.target network.target [Service] User=glassfish ExecStart = /usr/bin/java -...
0
votes
1answer
46 views

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. ...
0
votes
0answers
163 views

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 {...
0
votes
1answer
335 views

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.
2
votes
1answer
398 views

What dictates the available Cipher Suites in GlassFish and Payara?

I have the same version of Payara Server (4.1.1.154) running on two different machines. I do not have the same list of available cipher suites between the two. What determines the available cipher ...
-1
votes
0answers
50 views

Exclude certain hosts from Payara Server access log [closed]

We have an external load balancer that makes health checks to the application servers. We use conditional logging in our current Apache TomEE server to prevent this activity from filling up the HTTP ...
-1
votes
1answer
233 views

How to configure Glassfish to allocate different memory size for JVM per web application

I have 2 Java web applications deployed on my Glassfish Enterprise Server v2.1.1. I want each of them to have different configurations for JVM options, specially for memory allocation. I have studied ...
1
vote
1answer
798 views

stickysession not work fine in apache and two Glassfish Instances

I have two application that run in two Glassfish Instances, i configure my apache to use sticky session like so : ProxyPass / balancer://Appcluster/ stickysession=JSESSIONID But this not work 100% ...
1
vote
1answer
79 views

Glassfish 3.1.2 and Oracle Oct 2016 CPU

So we do have some Glassfish 3 installations floating around and no Premium Support for them. Oracle has released a Critical Patch Update notification and CVE-2016-5519 regarding the same ...
1
vote
0answers
493 views

Autostart GlassFish4 on boot on CentOS 7 minimal install

I've installed GlassFish 4 on one of my virtual machines which is CentOS 7 with minimal install. I want to start GlassFish when I start the virtual machine. I've created /usr/lib/systemd/system/...
1
vote
1answer
602 views

enable-secure-admin not found

I'm running Glassfish 4.1 on Ubuntu 16. enable-secure-admin worked the first time I setup glassfish it. Due to some issue I had setting up security certificate I tried to set it up glassfish from ...
1
vote
1answer
1k views

Does Glassfish 4.x require JDK 7 specifically?

I was thinking about setting up a Java EE 7 framework to run Spring applications on Glassfish, which depends on JDK 7. However, we already have JDKs compatible with the newer specifications of Java 8 ...
0
votes
0answers
393 views

Nginx kill session with Glassfish app

First of all, thank for reading and sorry for my bad english. I'm Uruguayan so if you dont understand me, let me know. I'm having the next situation: In my workplace, we are going to use nginx as a ...
1
vote
1answer
1k views

Opensuse port forwarding 80 to 8080 not working

I've a glassfish server that use the port 8080. I need forward from port 80 to 8080 so I can access the content without put the :8080 port in the url. I've tried to put a masquerade rule, add ...
0
votes
0answers
107 views

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: ...
1
vote
1answer
1k views

nginx reverse proxy glassfish issues

I have nginx serving as reverse proxy for a glassfish server with ssl, serving three glassfish context's, one demo site, one jenkins and one glassfish admin server. Root is redirected to the demo site....
1
vote
1answer
305 views

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 ...
1
vote
1answer
840 views

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: [...
2
votes
1answer
3k views

How to verify that a firewall closes inactive connections?

How can I verify that a firewall closes connections on port X to a server after N minutes of inactivity? Background: I am working on a Java EE application deployed to a Glassfish application server. ...
1
vote
0answers
187 views

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, ...
2
votes
1answer
2k views

Access Glassfish server logs via REST

I am using Glassfish 3.1.2.2. I have deployed Glassfish to localhost. I have enabled the monitoring service and set the log level to HIGH for all components. I should be able to use the view the ...
0
votes
2answers
2k views

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: /...
0
votes
0answers
382 views

Why is GlassFish 4.1 slow on Ubuntu 15.04?

I have a GlassFish 4.1 Server instance running on Ubuntu 15.04 Desktop Edition. I use this as a development server, where NetBeans will automatically deploy my packages as I work on them, for easy &...
0
votes
1answer
736 views

Apache reverse proxy 302 redirect browsers directly takes to the redirected URL

I have setup a reverse proxy through glassfish server via apache mod_proxy. my concern is when there is a 302 redirect happens then after that every time i access that url which invoked 302 redirect ...
0
votes
0answers
480 views

Glassfish 3 unable to deactivate SSL3 for IIOP

I'm running Glassfish 3.1.2.2 and want to disable SSL3 for the IIOP ports (default 3820 and 3920). I set configs.config.server-config.iiop-service.iiop-listener.SSL.ssl.ssl3-enabled=false configs....
2
votes
1answer
404 views

Communication between Apache and glassfish

We are currently using HTTPD server (apache) to handle client request. The requests are further proxied to a Application Server (glassfish) which provides the content. The content are static files (...
1
vote
0answers
22 views

Communication between HTTPD and Glassfish server [duplicate]

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 ...
1
vote
0answers
2k views

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 ...
1
vote
2answers
743 views

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 ...
0
votes
1answer
717 views

What does “Waiting for DAS to start” mean in GlassFish 3?

I try to install the Glassfish 3 on my PC. I used the installation exe from https://glassfish.java.net/de/downloads/3.0.1-final.html I started the Installer which installed Glassfish. I created a ...
0
votes
1answer
797 views

Apache proxy to Glassfish - How to supress subfolder in URL?

I've got a single linux server running Apache/2.2.24 running both HTTP/HTTPS along with a Glassfish 3.1.2 server listening on port 8080. Glassfish runs a single deployed application which has ...
-1
votes
1answer
2k 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
2answers
2k 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
1answer
973 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
988 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 ...