Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
1k 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
144 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
295 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
264 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
401 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
331 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: ...
5
votes
1answer
755 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
177 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
725 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
234 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
3k 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
614 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
2k 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 ...
3
votes
0answers
492 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, ...
6
votes
4answers
14k 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
643 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
258 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
190 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
291 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
364 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
395 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
962 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
5answers
3k 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
372 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
303 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
374 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
364 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
409 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 ...
2
votes
3answers
6k 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
352 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
348 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
51 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
569 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 ...
0
votes
1answer
32 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 ...
2
votes
1answer
839 views

How to construct SELinux rules for a Glassfish server

I'm running Glassfish 3.1 on a CentOS 6 solution and by default SELinux is enabled. I have installed Sun's JDK version 1.6.0_29 on the server and extracted the Glassfish 3.1.1 to /opt/glassfish-3.1.1 ...
1
vote
2answers
357 views

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

What can I do to collect usage statistics for a local web application deployed on Glassfish behind Apache?

I have an application running in Glassfish v2.1 which does not have access to the outside world, so I cannot use Google Analytics or something else that has to phone home. It needs to be local to our ...
1
vote
2answers
372 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
166 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
588 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
203 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
791 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
57 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 ...