Questions tagged [glassfish]

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

202 questions
16
votes
6 answers

Why (or how) does the number of open file descriptors in use by root exceed ulimit -n?

Our server recently ran out of file descriptors, and in regards to that I have some questions. ulimit -n is supposed to give me the maximum number of open file descriptors. That number is 1024. I checked the number of open file descriptors by…
oligofren
  • 601
  • 2
  • 8
  • 21
15
votes
5 answers

Alternatives to Apache

Our current stack is Apache + Tomcat + MySQL, using ProxyPass AJP to fire requests from Apache to Tomcat. We also run PHP for Wordpress on the same sites, and so need working .htaccess files. In response to an annoying problem (see this Stack…
Marcus Downing
  • 778
  • 10
  • 18
15
votes
5 answers

is it really necessary to run Apache as a front-end to Glassfish/JBoss/Tomcat?

I'm primarily a Java developer, and I come to you with a question that straddles the divide between developers and sysadmins. Years ago, when it was a novel thing to run Tomcat as an app server, it was customary to front it with Apache. As I…
Caffeine Coma
  • 419
  • 1
  • 5
  • 13
10
votes
4 answers

JBOSS App Server vs. Glassfish

I'm quite newbie on Glassfish. What are some differences between JBoss and Glassfish? Why would you chooose one over the other. I'm trying to read up on Glassfish, but it is really hard to pinpoint things that I may need before I start installing…
codingbear
  • 221
  • 1
  • 3
  • 8
9
votes
3 answers

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 netstat -n -e -p -a -t | grep httpd | grep CLOSE_WAIT…
Ryan
  • 420
  • 5
  • 13
9
votes
1 answer

Is it bad practice to run a web application server directly on port 80/443

I am hosting a web app on amazon aws, using an ec2 instance. On that instance i will be running only one application. using glassfish v3.0.1 I do not want to run the app using : www.mydomain.com:8080 or www.mydomain.com:8181 I just want to use :…
ccot
  • 181
  • 2
  • 11
7
votes
3 answers

Apache ProxyPass Missing Images

I have a apache server that sits in front of my glassfish server. mydomain.com goes directly to my static files on apache, than if you hit the subdomain forum.mydomain.com it goes to the glassfish webapp forum/ at 127.0.0.1:8080/forum/. This proxy…
EpicOfChaos
  • 185
  • 1
  • 2
  • 6
6
votes
2 answers

offline undeploy war from glassfish

I've got Glassfish 2.1.1 here and I need to undeploy war application. Problem is that the application is corrupted and prevents the Glassfish server from starting, so I need to undeploy it while server is down. asadmin undeploy need conenction to…
andrej
  • 463
  • 4
  • 12
5
votes
4 answers

Glassfish Vs Tomcat (Java app servers)

I am looking at running a java application server on my debian linux webserver, and am looking for a breakdown of the advantages that using either app server would provide me with (or disadvantages). I am using apache 2 as my webserver and have no…
PixelSmack
  • 530
  • 4
  • 8
5
votes
2 answers

Using both basic and client-certificate authentication with GlassFish

I'm currently building a Java-servlet applcation (using Jersey on GlassFish to be specific). In some parts of the application I need to authenticate the user using basic authentication and in some other parts I need to use client certificates. Which…
Yrlec
5
votes
2 answers

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 ubuntu virtual machines: 1 domain administrator and 2…
Marco Aviles
  • 161
  • 1
  • 4
5
votes
0 answers

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, I change the url hostname from "localhost" to…
5
votes
2 answers

how to set ENABLE_CLEAR_REFERENCES in GlassFish 3.1.1?

I'm running GlassFish 3.1.1 on Linux and in my server.log I've noticed the following error: SEVERE: log4j:ERROR log4j called after unloading, see http://logging.apache.org/log4j/1.2/faq.html#unload. SEVERE: java.lang.IllegalStateException:…
stivlo
  • 739
  • 3
  • 10
  • 24
5
votes
2 answers

Issues with setting up SSL on Glassfish v3

I am currently setting up SSL on glassfish and having some issues connecting to the server. http://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl/ I have followed this guide to set up the certificates which seemed to…
user75849
  • 91
  • 1
  • 6
5
votes
1 answer

Are there RPMs for GlassFish v3?

It seems that the GlassFish project itself does not provide RPM packages, and neither does JPackage (http://jpackage.org/). Is someone else providing ready-built RPM packages for RHEL/CentOS? On a related note: why are RPM packages so conspicuously…
Markus Miller
  • 1,914
  • 3
  • 15
  • 15
1
2 3
13 14