Questions tagged [glassfish]

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

207 questions
2
votes
1 answer

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. 10.20.30.40. I have also registered a domain name e.g.…
2
votes
2 answers

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: JVM failed to start:…
Raydon
  • 21
  • 1
  • 2
2
votes
1 answer

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 at RAM amount, as GF does required good amount…
Harry Pham
  • 98
  • 1
  • 11
2
votes
3 answers

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 there is no need to include the context root in the…
Jin Liew
2
votes
1 answer

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 list -u to see the list of packages that are out of…
orange80
  • 198
  • 2
  • 12
2
votes
3 answers

HAProxy check says server is down when it is up

I am trying to setup 2 Glassfish servers in a load balanced configuration using UCARP and HAProxy Server1 has 2 IPs x.x.x.17 and x.x.x.18 HAProxy is listening on only x.x.x.18 and Glassfish listening on only x.x.x.17 running with the following…
JamesRyan
  • 8,166
  • 2
  • 25
  • 36
1
vote
0 answers

Glassfish - log System.err to second location or do something after logrotate

we have a GF4 server that produces a lot of logs. Currently it is setup like this: com.sun.enterprise.server.logging.GFFileHandler.excludeFields <> com.sun.enterprise.server.logging.GFFileHandler.file …
1
vote
1 answer

GlassFish service stop when the console is logged out

I run a GlassFish server on a Win2k3 machine. If I do a remote desktop login to the console ("mstsc /console") and I log out, the application exits (the server does not shut down, the JVM is simply killed). The wrapper still runs however. I tried…
Thierry Roy
  • 113
  • 2
  • 5
1
vote
2 answers

GlassFish on CentOS 7 (systemd) - "asadmin restart-domain" doesn't work as expected

I use the following systemd script for GlassFish 4 on CentOS 7: [Unit] Description = GlassFish Server v4.1 After = syslog.target network.target [Service] User=glassfish ExecStart = /usr/bin/java -jar…
AndrewG10i
  • 151
  • 2
  • 7
1
vote
1 answer

stickysession not work fine in apache and two Glassfish Instances

I have two application that run in two Glassfish Instances, i configure my apache to use sticky session like so : ProxyPass / balancer://Appcluster/ stickysession=JSESSIONID But this not work 100% correct, it change some times the instance when the…
1
vote
1 answer

Glassfish 3.1.2 and Oracle Oct 2016 CPU

So we do have some Glassfish 3 installations floating around and no Premium Support for them. Oracle has released a Critical Patch Update notification and CVE-2016-5519 regarding the same vulnerabilities in Glassfish has been published at the same…
the-wabbit
  • 40,737
  • 13
  • 111
  • 174
1
vote
0 answers

Autostart GlassFish4 on boot on CentOS 7 minimal install

I've installed GlassFish 4 on one of my virtual machines which is CentOS 7 with minimal install. I want to start GlassFish when I start the virtual machine. I've created /usr/lib/systemd/system/glassfish4.service, which…
ukll
  • 111
  • 5
1
vote
1 answer

Does Glassfish 4.x require JDK 7 specifically?

I was thinking about setting up a Java EE 7 framework to run Spring applications on Glassfish, which depends on JDK 7. However, we already have JDKs compatible with the newer specifications of Java 8 and Java 9. Would anyone happen to know whether…
1
vote
1 answer

Opensuse port forwarding 80 to 8080 not working

I've a glassfish server that use the port 8080. I need forward from port 80 to 8080 so I can access the content without put the :8080 port in the url. I've tried to put a masquerade rule, add iptables rules but nothing changes... The last iptables…
1
vote
1 answer

nginx reverse proxy glassfish issues

I have nginx serving as reverse proxy for a glassfish server with ssl, serving three glassfish context's, one demo site, one jenkins and one glassfish admin server. Root is redirected to the demo site. Http is redirected to https, nginx doing the…
s.ijpma
  • 111
  • 4