Questions tagged [glassfish]

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

207 questions
4
votes
5 answers

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 start-domain domain1 There is a process already…
orange80
  • 198
  • 2
  • 12
4
votes
3 answers

How to redirect Apache to different ports on a GlassFish server?

I have a GlassFish instance running different services on different ports. An Apache web server sits in front of the GlassFish, and I want to set up virtual hosts on Apache to redirect to certain ports on the GlassFish server. I've added the Tomcat…
digitalcolony
4
votes
2 answers

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 --dport 80 -j REDIRECT --to-port 8080 This works, but…
Chris Lercher
  • 4,152
  • 9
  • 35
  • 41
4
votes
2 answers

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 runs some old Apache (which we cannot…
jfmessier
  • 163
  • 1
  • 8
3
votes
1 answer

What dictates the available Cipher Suites in GlassFish and Payara?

I have the same version of Payara Server (4.1.1.154) running on two different machines. I do not have the same list of available cipher suites between the two. What determines the available cipher suites in Payara and GlassFish?
Blegger
  • 272
  • 1
  • 5
  • 14
3
votes
2 answers

How to verify that a firewall closes inactive connections?

How can I verify that a firewall closes connections on port X to a server after N minutes of inactivity? Background: I am working on a Java EE application deployed to a Glassfish application server. Clients communicate with the application using…
DavidS
  • 163
  • 1
  • 1
  • 7
3
votes
1 answer

Load balancing glassfish v4.0 CLUSTER with apache HTTP server: Location of apache

I am teaching myself to build clustered Java EE 7 applications. I am focused on Glassfish Server v4.0. Based on the official documentation (Chapter 7 page 133) , Glassfish can be loadbalanced using Apache Http server using mod_jk. I was reading a…
ccot
  • 181
  • 2
  • 11
3
votes
2 answers

Non-heap memory leak JVM

I have a glassfish v4.0 set up on Ubuntu server running on oracle java virtual machine and jvm process resident memory size (got via "top" command) grows up until jvm doesnt have memory to create new thread. What I have: VPS Server with 1Gb of ram…
Oskars Pakers
  • 143
  • 1
  • 1
  • 6
3
votes
1 answer

Glassfish Server JVM Tunning

I need to setup a Oracle Glassfish Server and after some research I came up with a configuration that I would like to propose. Any suggestions and/or corrections are very welcome. My Hardware/OS (relevant) details: Ubuntu 12.04 LTS 64bits JDK…
3
votes
3 answers

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 forever, i try refreshing the page too but no luck here…
Hunt
  • 151
  • 2
  • 11
3
votes
1 answer

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 domain with time asadmin start-domain, it reports…
Nilzor
  • 185
  • 2
  • 9
3
votes
1 answer

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: www.mydomain.com and it runs. However if i run an…
ccot
  • 181
  • 2
  • 11
3
votes
1 answer

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 the domain name of my server. How can I configure…
Nurjan
  • 203
  • 5
  • 10
3
votes
1 answer

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, including method calls and disk writes, replicated…
Navigateur
  • 185
  • 3
3
votes
1 answer

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 of like a heavyweight version of lots of jetty…
oligofren
  • 641
  • 2
  • 8
  • 23
1
2
3
13 14