GlassFish is an open-source application server project for the Java EE platform.
Questions tagged [glassfish]
207 questions
1
vote
1 answer
setting up workers.properties file for mod_jk
I'm trying to create a workers.properties file to get mod_jk communicating with Apache webserver 2.2.x. The GlassFish 3.1 Administration Document includes the following example for worker.properties:
# Define 1 real worker using…

gkdsp
- 582
- 1
- 6
- 19
1
vote
1 answer
glassfish v3 and java EE in production mode: what are the options to update a live web app?
I am building a web app using java EE and glassfish v3. I want to move it to production mode soon, however i have zero experience with using glassfish in production, i would appreciate if you give me some guidance about how to approach the following…

ccot
- 181
- 2
- 11
1
vote
1 answer
Glassfish admin page login
I have no idea what is going on here. Installed glassfish 3.1.1 onto my windows server, created domain (with admin and password) during the installation phase, everything seems to have went smoothly.
But now when I try to log into the admin web…

Umair
- 139
- 6
1
vote
1 answer
Reverse Proxy and Java Application Server Security
Is it possible to have the reverse proxy (Apache HTTP 2.2) handle authentication (HTTP Basic) and then still use the container managed security of the Java application server (GlassFish 3.1 or JBoss 7.0.2) for authorization?
I've got GlassFish doing…

Ryan
- 430
- 5
- 13
1
vote
1 answer
Apache / Glassfish integration
So I currently have a glassfish 3.1 server and an apache 2.2 server running on a single box. However I am trying to figure out to route some traffic through the apache server to the glassfish server in order to hide the non-standard ports 8080,8181.…

EpicOfChaos
- 185
- 1
- 2
- 6
1
vote
1 answer
Can different Glassfish domains be owned by different unix users?
Is it possible to assign different unix users to each domain under
${GLASSFISH_HOME}/domains
?
I tried assigning different users (even though same belonging to common group) I found permission related errors (writing to other sub folders…

ring bearer
- 157
- 7
1
vote
2 answers
Application Server vs. Web Server?
I asked my teacher in class that Java Server Faces will work on Apache Tomcat. But he then corrected me saying that Tomcat is a Web Server not an Application Server, hence it will not run Java Server Faces.
My question is what is the difference…

prometheuspk
- 121
- 3
1
vote
2 answers
Why's Glassfish so laggy at times?
I've got GlassFish running as a service on a Windows Server (2008 R2). If you're actively using GlassFish, it stays nice and fast. However, if you go away and don't use it for several minutes, when you come back, any Glassfish activity (app or…

Brian Knoblauch
- 2,196
- 2
- 32
- 48
1
vote
1 answer
How to make glassfish v3.1.1 run with -Xmx256m?
I have a t1.micro amazon instance and that machine have very scarce resources. I need for the moment to run glassfish3.1.1 (due to complete JEE6 support) on those conditions. Any guidance is welcome.
Using the default configuration (-Xmx512m) jvm…

Sombriks
- 141
- 2
- 8
1
vote
2 answers
How to best debug JDBC connection leaks on Glassfish v2?
Does anyone have any good tips on debugging connection leaks on GlassFish?
I am currently debugging a GlassFish server which contains an application that has memory leaks sporadically, eventually leading to having to restart the server to free the…

Chris Dale
- 1,553
- 2
- 12
- 22
1
vote
2 answers
Is there any reason to use Apache as a proxy between my users and Glassfish?
I've seen a lot of discussion on the best way to use Apache as a proxy (either mod_proxy or mod_jk) with Glassfish (and other Java application servers), but I haven't seen anybody really explain why.
My setup right now is a single VPS running Ubuntu…
user83640
1
vote
1 answer
Apache/Glassfish recipe for running multiple apps on a single host
I'm trying to set up Apache + Glassfish so that I can access two different webapps on the same physical host, differentiated by the hostname in the URL.
So if I visit http://host1.com, I'll get app1. If I visit http://host2.com, I'll get app2.…

Caffeine Coma
- 419
- 1
- 5
- 13
1
vote
1 answer
Large concurrent user performance issues for Apache + mod_jk + GlassFish v3.1 clusters
I am running a java ee 6 ear application on a GlassFish v3.1 ( 2 clusters with 2 instances each) load balanced by an Apache v2.2 with mod_jk - all on the same server (Windows Server 2003 R2, Intel Xeon CPU x5670 @2.93Ghz, 6GB RAM, 2 cpus).
The web…

user10035
- 11
- 3
1
vote
1 answer
Redirecting from http to https in Glassfish 3
How do you redirect port 80 -> 443 in Glassfish 3? My scenario is a web application SSL, and I want non-SSL requests to be automatically redirected.

Rasmus Franke
- 113
- 1
- 4
1
vote
3 answers
"Too many openfiles" error with Glassfish on Ubuntu
I am having issues with tuning Glassfish 2.1.1 on Ubuntu 10.04 LTS 64-bit (Amazon EC2). As soon as I change the HTTP Service thread count from the default 5 value to 100, I get the following errors in the server.log.
java.net.SocketException: Too…

Hoon
- 23
- 2
- 9