GlassFish is an open-source application server project for the Java EE platform.
1
vote
0answers
12 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
0answers
5 views
Glassfish (v2.1.1) uptime command?
Is there something like asadmins uptime command as documented here[1] for older glassfishes?
I have a glassfish v2.1.1-b31g application server running, when I try to execute the command the following ...
0
votes
0answers
8 views
Glassfish server running java application lifetime
We're developing with Glassfish 3+ with a Maven project.
However, when we run an application in Netbeans - the application stops to work after a small amount of time.
The application which runs at ...
0
votes
0answers
7 views
JSF direct a subdomain to a page
A JSF application is running in a GlassFish (configured to listen to port 80) server which is hosted in a virtual server and can be accessed through internet like "www.healthdept.lk". Under the ...
0
votes
0answers
9 views
Creating Glassfish Cluster nodes across different OSes (Windows Server 2008 and Redhat)
Is it possible to create a Glassfish 3.1.2 CE cluster with one node on Windows 2008 and another on Redhat?
0
votes
1answer
29 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
59 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
17 views
Glassfish 2.1 How do Glassfish uses /generated/jsp/j2ee-modules/your_app_name/org/apache/jsp/jsp
I'm using Glassfish 2.1 under CentOS, Red Hat and Ubuntu.
And I was wondering (trying to diagnose whats happening here: http://stackoverflow.com/questions/15626002/pwc1231-and-pwc6344) how does ...
0
votes
0answers
35 views
Install existing SSL certificate in Glassfish for accessing console
I used to access admin console on 4848 port, everything worked correctly, only receiving the usual "certificate not trusted" message.
I am not much into server configuration and network ...
0
votes
0answers
10 views
How do I customise the formatting of Sun App Server logs?
We're running Sun App Server 9.1. I know it's GlassFish, but I'm not sure which version. The logs are something along the lines of this:
...
0
votes
0answers
37 views
SSL issue with mod_proxy [duplicate]
I get a 500 error "Error during SSL Handshake with remote server" when trying to use HTTPS through a proxy to a backend app server. My proxy is apache httpd with mod_proxy. The backend server is ...
0
votes
0answers
50 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 ...
0
votes
1answer
66 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
27 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
0answers
22 views
Export a JSF2 web project in war
I have a JSF 2.0 web project and I use Glassfish 3.1.2 server. In this project, I have among other things :
a class called AjaxServlet annotated with @javax.servlet.annotation.WebServlet
a class ...
0
votes
2answers
99 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
...
0
votes
0answers
14 views
Have GlassFish Append Some Information To Served 'text/html' Output
We have several instances of GlassFish installed on both development environment and production environment. The machines on both end have exact matching domain names. This leads us into trouble when ...
1
vote
0answers
158 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
97 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
0answers
75 views
Admin-listener ports for every running Glassfish domain using asadmin utility
The title pretty much sums it up, but here's the long version.
There's a Glassfish server, with several domains running. The domains potentially can be set up in non-default location(s). To ...
0
votes
1answer
66 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
186 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
130 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
96 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 ...
0
votes
1answer
79 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
...
0
votes
0answers
183 views
Glassfish and SSL [closed]
I'm struggling to get SSL working on Glassfish 3.1.1. I've been following tutorials like
http://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl/
and SO posts like this
...
0
votes
0answers
63 views
Hot deploy file (page or jar) to Glassfish
A long time ago I had used Websphere and if necessary we could drop a jar file into a directory on the server and it would use that one instead of the one located inside the deployed ejb.jar. It was ...
1
vote
2answers
163 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 ...
0
votes
0answers
66 views
Glassfish Server not Working [closed]
I installed Wamp server some days before for creating my own email server. but after installing this i found that whenever i try to test my website by glassfish server through Netbeans then it shows ...
1
vote
1answer
141 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 ...
0
votes
0answers
104 views
How do I create certificates using OpenSSL and then configure glassfish to use them?
I have been tasked with using OpenSSL to create a CA, server certs and eventually to sign user's certificates to be used with Glassfish. I do NOT have access to Apache so I cannot handle certs through ...
1
vote
1answer
128 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 ...
0
votes
0answers
67 views
Additional configurations for Apache http server on top of Glassfish
I am using mod_jk in Apache, fronting Glassfish.
All I want from Apache is just to direct http/https (80/443) to Glassfish (8080/8181).
What additional configurations must I apply to Apache? I mean ...
2
votes
1answer
512 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:
...
4
votes
1answer
350 views
Is it bad practice to run a glassfish app 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
81 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
358 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;
...
0
votes
0answers
83 views
glassfish frequently refusing connections, but cannot figure out the reason
CountTimeouts is high. i.e. for few minutes CountTimeouts 2122 count, out of CountHits 7404 .
There are some queued connections:
CountQueued1MinuteAverage 993 count
but the server has very little ...
3
votes
1answer
600 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 ...
0
votes
0answers
169 views
Cannot configure proxyPass for glassfish admin console
I've got the following situation.
There is an apache 2.2 server and glassfish 3.1.2 running behind it. All requests to port 80 are redirected to glassfish server through mod_proxy.
This is what I ...
3
votes
1answer
126 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
953 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
228 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 ...
2
votes
1answer
836 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
232 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, ...
1
vote
4answers
3k 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
337 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
167 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
119 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
170 views
Forward requests coming into port 80, for a particular link, to port 8080 locally
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 ...
