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

learn more… | top users | synonyms

2
votes
1answer
398 views

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

Glassfish 2.1 won't start after changing Maximum Pool Size

I'm running Glassfish 2.1 on an Ubuntu server, I was trying to test something, so I change in the administrative console on localhost:4848 the Maximum Pool Size to 1, I stopped the server, but when I ...
0
votes
2answers
193 views

Glassfish admin loading forever

i have downloaded the .sh bundle of Glassfish 3.1.2 on my mac machine and started the server using ./asadmin stat-domainand tried to hit the url http://localhost:4848/ but the page is loading ...
0
votes
0answers
308 views

PortUnificationException in Glassfish after installing SSL cert

I've installed an SSL cert (incliding a GoDaddy root cert) into a brand new keystore (myks.jks) on Glassfish 3.1 and now when the server starts, I get this in the logs (and I can't access the admin ...
1
vote
1answer
3k views

How can I reduce Glassfish startup time from 2 minutes to something acceptable?

I'm running Glassfish Open Source Edition v3.1.1 on a Ubuntu 12.04 Micro Instance in Amazon EC2 (Elastic Compute Cloud). I've configured a single domain with a single application. When I start the ...
0
votes
1answer
233 views

Unable to use port even if sudo is used to create a domain for glassfish in ubuntu

I am trying to create a domain in glassfish. I have already done this in another server with ubuntu 12.04. Everything worked fine. I was just trying to replicate the same setup in another server with ...
0
votes
2answers
487 views

glassfish start script fails through crontab

I have a created a script to check to see if my glassfish server is running, if it isn't, it attempts to kill the java process to ensure it's not hung, and then issues the asadmin start-domain command ...
1
vote
1answer
1k views

Can't get Glassfish 3.1.2.2 to use anything other than jdbc/__TimerService for the EJB Timer Service

I am trying to set up a Glassfish cluster (1 DAS with a cluster that has an instance running on an ssh-node). This is where I am: DAS running Cluster created asadmin create-cluster cluster Node ...
0
votes
1answer
427 views

Glassfish admin console display no login page

I'm running glassfish 3.1.2 on Debian 6 (a VM on Mac OS X 10.8 host). Default domain1 starts OK, system listens on tcp port 4848, the 'Admin console loading' page is displayed for a duration of at ...
0
votes
1answer
292 views

Start Cluster automatically at Glassfish 3.1

I am able to start Glassfish domain automatically, in other words I can run it as a service by using "asadmin create-service". When machine is restarted, domain is getting up automcatically. I want ...
1
vote
1answer
600 views

Apache2/glassfish|tomcat: Redirecting some (but not all) requests on 80 to glassfish on port 8080, where is the admin screen?

Using that answer: How to redirect traffic on port 80 to Tomcat port 8080 whilst still allowing the server to send/receive on port 80 I've configured my apache2 server to redirect some requests to ...
0
votes
1answer
2k views

Glassfish doesnot start as a service at bootup at Ubuntu 12.04

As far as I know command statement below is used to create Glassfish service, After execution following command. GlassFish_domain1 file is created under /etc/init.d directory. And link files are ...
1
vote
0answers
166 views

proxy ajp single apache single glassfish multiple GF domains

I'm sorry if I am not well versed enough to be as specific as some would wish here. I have successfully got Apache mod_proxy_ajp working with Glassfish 3.1.2 on a VPS. However it is one Apache httpd ...
1
vote
1answer
362 views

GlassFish cluster-targeted jdbc is not enabled

I have a GlassFish cluster. When I tried to add node and a instance, DAS saids a bunch of error messages telling Resource [ jdbc/xxxx ] of type [ jdbc ] is not enabled ...
1
vote
2answers
287 views

Strange enduser experience with Liferay, Glassfish and Apache on RedHat

Tried multiple forums to get to the bottom of this. I hope I can get some direction here: Here is the stack I am working with: Red Hat Enterprise Linux Server release 5.6 (Tikanga) Liferay 6.0.6 on ...
1
vote
1answer
500 views

IIS - Forwarding requests to a folder to another port

Context I currently installed Glassfish 3 in a server that currently holds ASP and PHP inside Internet Information Server 7 so we can start moving to a new system architecture (the information system ...
1
vote
1answer
425 views

Glassfish JSF/EAR Apache 2.2 proxy_ajp_mod Referred Content Missing (images/links/etc)

Full disclosure: Since this seems to be more of a configuration issue, I deleted this from Stack (where it wasn't getting any response) and reposted here. The problem is how to change the ...
3
votes
1answer
2k views

Apache in front of Glassfish: mod_jk on https(443)

After the recommendation of using Apache http server in front of glassfish ( check question ), i used the following tutorial and made it work but only on port 80. What i mean is now i can type: ...
6
votes
1answer
1k views

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

How to protect or hide a web application on GlassFish?

I have to deploy a ready web application on a public GlassFish instance. The itself has user management and users must be registered to login as we all know it. However I have to protected or hide the ...
1
vote
1answer
939 views

How can i handle JSESSIONID in Nginx conf

Im using Nginx as FrontEnd Server, and behind it a Apache Http Server and begind it a Glassfish Application Server :) My problem is, when i need a static context like; ...
3
votes
1answer
1k views

glassfish 3.1.2 admin console port 4848 blocked by firewall

I've got a remote server. There is glassfish 3.1.2 running behind apache 2.2. The administration port 4848 is blocked by firewall so that I cannot use http://some_server.com:4848 where some_server is ...
3
votes
1answer
299 views

What is and what is not replicated in a glassfish cluster with a mod_jk load balancer?

I have a Glassfish (3.1.2) cluster over 2 computers as nodes, with a mod_jk load balancer. Are servlet instance variables replicated perfectly? If not, how do I make sure it is? Are all actions, ...
0
votes
1answer
5k views

Error deploying Spring with JAX-WS application in Jboss 6 server

I'm getting this error when I deploying spring+JAX-WS application in jboss server 6.1.0. 09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed: ...
0
votes
1answer
800 views

How can I automate the deployment of a glassfish application?

I'm writing a bash script that pulls a specific copy of our java web application from the svn repository and builds it. I would like that script to be able to deploy the generated .war file on the ...
3
votes
1answer
3k views

How to configure Glassfish + NGINX to serve static files with NGINX?

I have a EC2 ubuntu with Glassfish v3 + Nginx setup to host my java web application. This application is deployed as a WAR file to Glassfish . The NGINX is currenty passing all request to the ...
4
votes
0answers
635 views

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, ...
7
votes
4answers
18k views

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

How would I measure the amount of RAM needed per Glassfish domain?

In our test environment we have a lot of apps spread out over a few servers and Glassfish domains. To make versioning easier I would have liked to have one Glassfish domain per customer per app (kind ...
0
votes
1answer
336 views

DNS caching “-Dsun.net.inetaddr.ttl=30” in glassfish v3?

Excuse my basic question, but i am a software engineer and not very experienced with server admin. I am using reCAPTCHA in my j2ee application, and on google's site they say that the reCAPTCHA plugin ...
1
vote
1answer
266 views

Windows server 2008/glassfish/postgres proxy timeout HTTP idle after 120 seconds

Environment: Windows 2008 Server Edition Netbeans 6.7.1 Glassfish 2.1 Apache 2.2.15 for win32 Original problem (almost fixed): The HTTP/1.1 GET method to send data fails if I wait for more than ...
0
votes
2answers
380 views

Forward requests coming into port 80, for a particular link, to port 8080 locally [closed]

I have 2 web forms, one coded using Java Servlets on glassfish (port 8080) and another using PHP on apache(port 80). But my office ITdept is refusing to open port 8080 to outside traffic. How do I set ...
0
votes
3answers
1k views

Private cloud solution [Eucalyptus,OpenStack, Nimbus] for Java deployments [Glassfish, Tomcat] [closed]

I am interested in a way to have private cloud which would host Glassfish (or Tomcat) server. Which option from Eucalyptus, Openstack or Nimbus would be best to deploy java applications on it? Or ...
0
votes
1answer
2k views

Install Tomcat on Linux server

I am trying to install Tomcat on my linux server .Once I had installed glassfish and already working with it . I successfully installed tomcat7 to my server but when I request the machine url : 8081 ...
1
vote
0answers
492 views

How to handle serlvet login redirects which cross reverse proxy virtual host boundary

I'm trying to setup the GlassFish application server behind an Apache reverse proxy. I've got it working with both port 80 and 443, but the problem is the transition between the two that occurs when ...
0
votes
1answer
511 views

How can I set up port forwarding for GlassFish on Windows Server 2008 and IIS7?

I bought a Windows Server 2008 and installed GlassFish, Java, PostgreSQL etc. Now my website is running on localhost:8080 in the GlassFish server. How can I set up a port forwarding such that when a ...
1
vote
1answer
2k views

Glassfish 3.1.1 Creating Domain fails, The system cannot find the path specified

I tried to install Glassfish 3.1.1 on windows with an installer but the Config Result - Creating Domain fails. This is the error message: Executing command :C:\glassfish3\glassfish\bin\asadmin.bat ...
0
votes
4answers
5k views

GlassFish: There is a process already using the server port

I'm trying to run GlassFish 3.1.1 on Centos 6 in the Joyent cloud. No matter what I set the admin port to in glassfish/domains/domain1/config/domain.xml, when attempting to start it says: There is a ...
1
vote
1answer
458 views

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

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

Putting varnish in front of a mod_jk balanced Glassfish cluster

I am just trying to get varnish in front of Glassfish instances, which are load balanced with the mod_jk connector in Apache. But I don't really know how to combine them. The AJP_Ports for instances ...
1
vote
1answer
412 views

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

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

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

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

Glassfish Daemon with Apache and Mod_proxy

I am trying to setup an ubuntu web server which utilizes both Apache's httpd web server for some content and glassfish for Java-based applications. I figured I would use mod_proxy as I've had luck ...
0
votes
1answer
383 views

Glassfish 3 Cluster and Local init scripts

I'm trying to set-up a Glassfish 3.1.1 Cluster for testing purposes. Currently, I've got 2 hosts with Glassfish 3.1.1 installed. I've set-up a DAS domain on host1, and followed this guide to create ...
0
votes
1answer
54 views

Switching glassfish 2.x to 3.1.1

So I am managing a old java project that is using glassfish 2.x. Seems like netbeans does not support 2.x versions any more, so I want to change it to 3.1.1. How to properly make that change? I have ...
2
votes
0answers
788 views

Uninstall Glassfish and metro completely

I thought of updating my Glassfish server from 2.1 to 3.1.1 in a Linux machine. I downloaded the .ZIP package. However during uninstalling of Glassfish v2.1 I did not find the uninstall.sh file in ...
1
vote
1answer
34 views

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