5
votes
Why (or how) does the number of open file descriptors in use by root exceed ulimit -n?
@oligofren
I also carried out some testing to determine how "ulimits -Sn" for "open files" was enforced.
Like the poster Chosen mentioned in link, the ulimit for "open files" is indeed applied per ...
4
votes
Apache Reverse Proxy Java Application Server CLOSE_WAIT Connections
This is a known issue with mod_proxy, since 2011.
The ttl needs to be shorter than the application's keepalive, so that apache is always first to send a FIN.
Another difficulty is it's not defined ...
3
votes
nginx reverse proxy glassfish issues
I had a lot of trouble making GF4.1 admin console work ok with an Nginx reverse proxy so leaving this here in case anybody comes looking.
The big trouble is not making it work, but that GlassFish's ...
3
votes
How to Configure Apache mod_proxy to proxy Glassfish 4.1 on Fedora 21?
You've likely run into an issue with SELinux.
By default the web server can only make outbound connections to a limited range of ports:
# semanage port -l | grep http
http_cache_port_t ...
3
votes
What does "Waiting for DAS to start" mean in GlassFish 3?
DAS stands for "Domain Administration Server" in glassfish. The administration guide might also be helpful.
3
votes
Accepted
Non-heap memory leak JVM
There are a few possibilities given what you've shared, for example:
a leaky JNI library, or,
a thread-creation leak, or
leaky dynamic code proxies (perm-gen leak),
but I can only make a guess ...
2
votes
Glassfish admin loading forever
I had a similar issue, payara 4.(something) -- I tracked it down to file that was bundled in the modules directory - it contained a xerces implementation --
If you run the follwing command:
find &...
2
votes
How to Configure Apache mod_proxy to proxy Glassfish 4.1 on Fedora 21?
I know that this is an old post but I run into the same problem. My problem was the selinux and after I run the following:
setsebool -P httpd_can_network_connect 1
everything works fine!
2
votes
Accepted
Communication between Apache and glassfish
Just thinking out loud. I can think about 2 scenarios.
The first one is you are allowed to use PHP (or python, ruby ...) on your apache.
Just make the user request a PHP script when downloading a ...
2
votes
Accepted
How to verify that a firewall closes inactive connections?
If it's available or can be installed, take a look at netcat. You could do something like this.
On the server run:
nc -l 31415
On the client run:
nc -w 5400 <server> 31415
You can change ...
2
votes
How to configure Glassfish to allocate different memory size for JVM per web application
If you don't want to specify memory options for the application that satisfy both applications, then you need to run multiple instances of your container.
This will give you 2 JVMs with different run ...
2
votes
Accepted
Can GlassFish or Payara be configured to specify server preferred order of cipher suites?
You can do that by selecting which cipher suites should be used. You have to specify the suites in the order of priority.
The Admin Console doesn't provide UI to order the selected cipher suites but ...
2
votes
Accepted
Alternative way of passing system/environment variable to service (glassfish)
apparently there is an asenv.conf file in the glassfish directory. You could edit that (environment file).
bashrc files are used for login shells and as you have already seen for yourself, not useful ...
1
vote
Accepted
Remove subpath (context root) in nginx for a java app
You need to specify the application's root URL in the application configuration. This will make the application generate correct URLs for links and resources.
1
vote
How to forward http request to application running on port 80 with NGINX
The only way to accomplish this is to bind a second IP address to the network interface and bind Glassfish explicitly to the first IP and nginx to the second IP.
As soon as any application listens to ...
1
vote
Reengineer a Glassfish Cluster to be used with AWS Auto Scaling and ELB
Your Idea
Why would you have an minimum of zero? Use one, or for high availability, two.
If you want high availability you need a minimum of two nodes, so if one fails the system keeps working while ...
1
vote
GlassFish on CentOS 7 (systemd) - "asadmin restart-domain" doesn't work as expected
need to add to the section [Service] Restart=on-failure
1
vote
Accepted
What dictates the available Cipher Suites in GlassFish and Payara?
We needed to download the Java Cryptography Extension to get the Cipher Suites we we were looking for. Installation consisted of copying the local_policy.jar and US_export_policy.jar from the download ...
1
vote
Accepted
Glassfish 3.1.2 and Oracle Oct 2016 CPU
Disclaimer: I work for Payara
Is there a timeline for the Glassfish open source project to release a new Glassfish 3 version incorporating the relevant fixes?
Oracle are not maintaining GlassFish 3....
1
vote
Opensuse port forwarding 80 to 8080 not working
Try below iptables rules, it should work for you
sudo iptables -I INPUT -p tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
sudo iptables -t nat -A PREROUTING -p tcp -m ...
1
vote
Accepted
ErrorDocument 405 not working in Apache
Try the ProxyErrorOverride directive
ProxyErrorOverride On
It should display the Apache error page instead of the one from the application server.
1
vote
How to verify that a firewall closes inactive connections?
First, start by confirming that it is not any side of the application closing the connection after some idle time period. This can be done by capturing traffic (in Windows use Wireshark and tcpdump in ...
1
vote
Access Glassfish server logs via REST
I just spotted a typo in the documentation that lead me astray. The log files are available on the management path, not the monitoring path:
The log files are available on the management path, not ...
1
vote
Does GlassFish Server need JDK or JRE in order to run Java EE applications?
As GlassFish is an AS (Application Server) it looks like that the answer to the question is comparable to the accepted answer of this Q&A.
It depends on the WAR content. If the WAR contains JSPs, ...
1
vote
Accepted
JDBC Connection Pool details on Glassfish
You can get the details via asadmin:
asadmin get domain.resources.jdbc-connection-pool.NAME_OF_THE_CONNECTION_POOL.*
e.g.
asadmin get domain.resources.jdbc-connection-pool.PostgresConnectionPool.*
1
vote
JDBC Connection Pool details on Glassfish
Also, where are the connection pool details stored?
domains/domain1/config/domain.xml
1
vote
Using GlassFish behind Nginx with SSL
Should we install SSL certificates for GlassFish Server (maybe self signed certificates) to ensure SSL/TLS connection after passing the load balancer?
If you have wildcard SSL certificate for *....
1
vote
Accepted
SSL certificate is not properly installed on Glassfish
The problem here is two-fold:
You need to ensure that the certificate you are using can be verified from the server certificate (the one you expose) to the root CA. In Java application servers, this ...
1
vote
Accepted
Load balancing glassfish v4.0 CLUSTER with apache HTTP server: Location of apache
The Admin console doesn't need to use the Apache LB layer.
You can add a DNS entry for one Apache instance for the URL, and then use this to load balance to available nodes.
More common for ...
1
vote
Can't get Glassfish 3.1.2.2 to use anything other than jdbc/__TimerService for the EJB Timer Service
In the Oracle GlassFish Server 3.1 Application Development Guide
http://docs.oracle.com/cd/E18930_01/html/821-2418/beahw.html
you can see this line:
Caution - Do not use the jdbc/__TimerPool ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
glassfish × 201java × 50
apache-2.2 × 32
linux × 13
ssl × 12
mod-proxy × 11
mod-jk × 11
ubuntu × 10
cluster × 10
application-server × 10
nginx × 9
tomcat × 8
load-balancing × 6
port × 6
centos × 5
windows-server-2008 × 5
iis × 5
web-server × 5
reverse-proxy × 5
installation × 5
jboss × 5
jdbc × 5
mysql × 4
security × 4
ssl-certificate × 4