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

learn more… | top users | synonyms

1
vote
2answers
416 views

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

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

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

Glassfish behind Apache reverse proxy: Mod-jk or HTTP?

I am planning a large deployment of a Glassfish-powered web application: A number of nodes running multiple Glassfish 3.1.1 instances are running the web application. The web application consists of ...
5
votes
2answers
4k views

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

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

glassfish - Unknown error when trying port 4848

I'm installing glassfish 3.1 on Windows XP service pack 3. but in configuration step it gives this error: PERFORMING THE REQUIRED CONFIGURATIONS ______________________________________ CREATING ...
0
votes
1answer
59 views

What is the default URL for a Java EE app running on Glassfish?

Newbie question: What is the default URL for a Java EE application running on a glassfish server? I've been googling for a while, and looked through the Glassfish documentation, but I may have ...
0
votes
1answer
175 views

How to run a multi language web application server?

I'm a web application developer and whenever I buy a web hosting for my application I'm either limited by the technologies supported or the amount of resources (heap size for instance) so I have ...
1
vote
1answer
450 views

Glassfish DNS Configuration

First of all, I know that I'm asking a basic question. I'm a software developer and I'm not an expert in server administration and network stuff. I have a VPS (Win 2008) with one static IP e.g. ...
1
vote
1answer
883 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
570 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
2k 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.
1
vote
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
248 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
263 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
4k 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
338 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
881 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
5k 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
582 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
670 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
273 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
904 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
618 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
638 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: ...
4
votes
5answers
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
402 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
10k 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
353 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
291 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
108 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
585 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
341 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
703 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
3k 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
2k 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
5k 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
466 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
545 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
510 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 ...