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

learn more… | top users | synonyms

1
vote
1answer
831 views

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

how to workaround glassfish 3.0.1 admin page slow startup?

I've installed netbeans which comes with glassfish. i just got a book about glassfish and i wanted to try.the first surprise is the time it took to the admin page to load. i've found on serverfault ...
0
votes
1answer
1k views

apache mod_jk loadbalancing issue for glassfish cluster instances

I have a JEE ear application deployed on 2 clusters with 2 instances each on Glassfish v3.1. These are load balanced by an Apache server running on the same machine. My problem is that I am frequently ...
1
vote
1answer
1k views

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

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

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

Should I install both j2EE and J2SE

I just installed J2EE. Det version that come bundled with a JDK. Is there any reason for me to install Java SE as well? I need to run Java SE programs, but the J2EE bundled java runtime should work ...
-1
votes
2answers
261 views

How does a certificate make a server HTTPS?

I've read plenty but i'm still very confused about the server certificate concept. At what stage does it turn a glassfish server from HTTP to HTTPS and how? I know how to create a certificate with ...
4
votes
2answers
3k views

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

Installing Glassfish 3.1 on Ubuntu 10.10 Server

I've used the directions here to successfully install Glassfish 3.0.1 on an virtualized (VirtualBox and VMWare) Ubuntu 10.10 Server instance without any real difficulty not resolved by more closely ...
1
vote
0answers
333 views

Glassfish failed start on update

I'm new to ServerFault. My problem is that recently(today) the Update Tool Notifier of glassfish executed an update. Everything seemed to go well but when I tried to start the server, it threw this ...
0
votes
1answer
820 views

glassfish v2 access control by IP

How can I restrict access to some web-app deployed in Glassfish from certain IPs ? Are there any internal access control in Glassfish or I need to proxy it with external nginx or Apache ?
10
votes
5answers
4k views

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

Glassfish v3 failure when startup. “Cannot allocate memory ”

It is clear in this Question Fail to start Glassfish 3.1: java.io.IOException: error=12, Cannot allocate memory But in my case,I have a 512M memory Ubuntu 10.04 vps.It seems that I don't need ...
4
votes
1answer
650 views

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

Problem starting Glassfish on a VPS

I am attempting to install Glassfishv3 on my Ubuntu (8.04) VPS using Java 1.6. I initially tried starting the server using: asadmin start-domain and received the following error message: ...
0
votes
2answers
262 views

Glassfish 3.0.1 memory leak when ran with Windows Server 2008 R2 Enterprise

I have a memory leak with Glassfish 3.0.1 and Windows Server 2008 R2 Enterprise (64bit machine), with or without any running applications Is there a way to resolve this? The same Glassfish 3.0.1 ...
1
vote
1answer
1k views

Export SSL Cert from IIS and import into GlassFish keystore

What I need: I have an existing SSL certificate installed on IIS 6. On the same machine, I have GlassFish installed and would like to share the same certificate since they both share the same ...
0
votes
2answers
858 views

GF 3.0.1 + Virtual Server: www.myhost.com:8080/projectname-war => www.myhost.com. How?

I need to change www.myhost.com:8080/myproject-war to www.myhost.com. Here is what I've been trying: I configurate the Virtual Server: server. I have still have default Network Listeners to be ...
2
votes
1answer
582 views

VPS for Glassfish

Our small startup company plan to deploy a web application on Glassfish, I and wonder if some of the experience user out there can answer me couple question. When I shopping for server, I usually look ...
0
votes
1answer
602 views

Set up Glassfish connection pool to talk to a database on a Ubuntu VPS

On my Ubuntu VPS, i have a mysql server running and a Glassfish 3.0.1 Application Server running. And I am having a hard to have my GF successfully ping the database. Here is my GF set up Assume: ...
3
votes
4answers
3k views

Can't launch glassfish on ec2 - can't open port

I'm trying to start glassfish on an EBS-based AMI of Ubuntu 10.04 64-bit. I have used glassfish on non-ec2 servers with no problems, but on ec2 I get this message: $ sudo -u glassfish bin/asadmin ...
0
votes
1answer
391 views

How to use admin console when install glassfish-3.0 by extract from zip file?

There are two types of glassfish distribution: the executable installer and zip archive. I have to use the zip archive. But the admin console doesn't work, it only shows a blue footer div, the ...
2
votes
2answers
9k views

How can I rewrite / redirect URL's in Glassfish V3?

I'd like to simplify the URL's to access a Glassfish V3 application by removing file extensions and otherwise shortening URL's. I've already set my application as the default application, so that ...
0
votes
1answer
352 views

404 on new install of Glassfish

I am BRAND NEW to Glassfish, so I thought I would install a copy and poke around (I'm actually looking at a number of Java servers for personal edification). So, I installed a basic copy of Glassfish ...
1
vote
5answers
280 views

Java Application Hosting

I've made a webapplication which runs on glassfish v3 on my computer. It's not a big application and i am not expecting a lot of traffic. All the hosts supporting glassfish is very expensive (about ...
0
votes
1answer
101 views

How to set JBOSS/JDBSC to cach the MySQL server settings?

Is it possible to set JBOSS/JDBC's MySQL connector to cache the server's settings so that I won't get a big bunch of "show variables" connection all the time? I think there is a similar settings ...
0
votes
1answer
1k views

Why does my MySQL server keep converting HEAP to MyISAM

We ve been having some issues with our MySQL server intermittently. It keeps throwing out a lot of these queries concurrently (thus stacking them up in my processlist). We are using a MyISAM db and ...
1
vote
1answer
2k views

glassfish v3 - update all pakages via command line on linux

Does anyone know how to do this? I just want a one-shot command to "update everything" over the command line? This is for a remote server so it must be over the command line. I used: $ sudo pkg ...
1
vote
1answer
518 views

filtering request from IIS and redirecting it to Glassfish

I have IIS running on my server on 80 i want if request with /webapplication comes then the request should be redirected to my glassfish from IIS it self glassfish is running on 8080 how to configure ...
0
votes
1answer
3k views

Setting up SSL on Glassfish V2 or V3

My employer recently purchased a Trustwave SSL certificate. Trustwave advertises support on their website, but they don't give an installation guide like they do for their other servers at all, and I ...
0
votes
2answers
333 views

Glassfish basic configuration forgotten

I installed glassfish v3 some time ago and it's been a while since I last used it, so I forgot the port on which the server is listening and the port on which the admin console is listening. Moreover, ...
1
vote
2answers
1k views

Glassfish V3 using up all available memory

I have a Virtual Server with 1GB of RAM. When i start glassfish with asadmin start-domain it instantly allocates all available memory, although i defined -Xmx128m in my domain.xml. Am I missing an ...
1
vote
2answers
701 views

Glassfish installation error: cannot open display

When trying to extract the Glassfish jar file with java -Xmx256m -jar glassfish-installer-v2.1-b60e-linux.jar i get following error: (.:31766): Gtk-WARNING **: cannot open display: and ...
6
votes
2answers
2k views

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

How to run GlassFish as Windows service?

I already saw the http://www.ryandelaplante.com/rdelaplante/entry/creating_a_windows_service_for link, but it doesn't appear to work on GlassFish v3. If anyone's successfully gotten GlassFish v3 to ...
3
votes
2answers
4k views

authbind, privbind or iptables REDIRECT (port 80 to 8080)?

I'd like to run Glassfish v3 as a non-privileged user on Linux (Debian), but make it available on port 80. I'm currently doing this with iptables: iptables -t nat -I PREROUTING -p tcp -d x.x.x.x ...
0
votes
1answer
405 views

Glassfish hangs when it can't connect to datasources

I am running glassfish v2.1.1 on linux. I have some datasources set up to connect to mysql and other databases. There are times where I would like to run glassfish without connecting to these ...
1
vote
1answer
540 views

Setup IIS 6/7 to passthrough to Glassfish v2.x

I need to setup IIS 6 and 7 to pass all request to Glassfish v2.x. Is there a simple tutorial that will get this interaction between IIS and Glassfish working?
1
vote
1answer
500 views

Glassfish v3 logging

In Glassfish v2.1 I could look at my web-applications log all stdout and stderr in the glassfish server log ($GF_HOME/domains/domain1/logs/server.log). But I dont see the same in v3. Is there a ...
1
vote
0answers
201 views

(Rails, Warbler) Deploying and initializing Rails applications in Glassfish…?

I'm currently in the process of finishing up a Rails application. I am using Warbler to package it up as a ".war" file and am using GlassFish to deploy it. I do this because the application is to be ...
0
votes
1answer
2k views

Listening to 80 port with non-root Glassfish on Centos

I use Glassfish Stack to manage applications. I run Glassfish on CentOS with non-root user. Therefor I am not able to open 80 port as the ports under 1024 are accessibly only by root users. There is ...
1
vote
3answers
1k views

GlassFish will not start when SNMP is enabled

I have a GlassFish v3 app server running on 64-bit Debian Lenny. Everything is running fine, except I would like to monitor GF's JVM instance with SNMP. However, every time I try to enable it by ...
4
votes
2answers
1k views

How can I use Glassfish under Linux as a reverse-proxy?

Question says it all. I would like to use SUN Glassfish 2.0x server as a reverse-proxy server, so that when someone hits this server, he/she is transparently redirected to an internal web site, which ...
1
vote
1answer
1k views

How to stop OpenEsb Glassfish Admin console from opening connection to glassfishesb.org

I have a Glassfish v2.1 app server (OpenEsb distribution) running behind a very restrictive firewall. Some times a bottom frame will appear, trying to connect to this address: ...
2
votes
3answers
4k views

HAProxy check says server is down when it is up

I am trying to setup 2 Glassfish servers in a load balanced configuration using UCARP and HAProxy Server1 has 2 IPs x.x.x.17 and x.x.x.18 HAProxy is listening on only x.x.x.18 and Glassfish ...
0
votes
1answer
964 views

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

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?
0
votes
1answer
1k views

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: ...
5
votes
4answers
4k views

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). ...