Questions tagged [glassfish]

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

207 questions
3
votes
1 answer

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 --user admin --passwordfile - create-domain…
3
votes
1 answer

Installing Glassfish 3.1 on Ubuntu 10.10 Server

I've used the directions here to successfully install Glassfish 3.0.1 on an virtualized (VirtualBox and VMWare) Ubuntu 10.10 Server instance without any real difficulty not resolved by more closely following the directions. However when I try…
andand
  • 349
  • 2
  • 6
  • 13
2
votes
0 answers

Websocket Error in connection establishment: net::ERR_CONNECTION_REFUSED 'wss://'

First I asked this question in stackoverflow, but it looks like a server issue more than coding problem. I am developing a project with Java EE and I have access to the server computer under a university LAN. Just to give details I also add my codes…
tonder
  • 121
  • 1
  • 1
  • 2
2
votes
1 answer

enable-secure-admin not found

I'm running Glassfish 4.1 on Ubuntu 16. enable-secure-admin worked the first time I setup glassfish it. Due to some issue I had setting up security certificate I tried to set it up glassfish from scratch again. The guide I'm following the most…
2
votes
1 answer

Access Glassfish server logs via REST

I am using Glassfish 3.1.2.2. I have deployed Glassfish to localhost. I have enabled the monitoring service and set the log level to HIGH for all components. I should be able to use the view the server logs at a REST end point at …
DavidS
  • 163
  • 1
  • 1
  • 7
2
votes
1 answer

Communication between Apache and glassfish

We are currently using HTTPD server (apache) to handle client request. The requests are further proxied to a Application Server (glassfish) which provides the content. The content are static files (software images). Below is the ProxyPass directive…
2
votes
0 answers

How to enable CORS on Glassfish?

Cross-Origin Resource Sharing is a mechanism that enables cross-origin requests[1]. As you can see in the link [1], It is easy to enable CORS in Apache Tomcat 7. Just a configuration in the file web.xml. As i'm testing a service with Glassfish…
jgomo3
  • 121
  • 1
  • 5
2
votes
0 answers

Trying to deploy Confluence on Glassfish 4

So I'm trying to deploy Confluence as a WAR on Glassfish 4 (Using Oracle JDK 7). The WAR deploys just fine except I get the following errors when trying to load the page in my browser: Could not load bootstrap from environment No server id…
TuxOtaku
  • 59
  • 7
2
votes
1 answer

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

I'm getting the following error when deploying a Spring+JAX-WS application on JBoss server 6.1.0: 09:14:38,175 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed:…
arlahiru
  • 31
  • 2
  • 4
2
votes
1 answer

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 glasshfish appserver including the ones for static…
user193116
  • 163
  • 1
  • 7
2
votes
1 answer

GlassFish change port of web-service

I am new to Java and Linux. I have a JSP site and a java web service deployed on a GlassFish server (working OK). I need to change the port of both the application and web-service. I have changed the listener port in the domain.xml file, but the web…
Dror
  • 601
  • 5
  • 10
2
votes
0 answers

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 "bin" directory. Following are a few steps which I…
user775829
2
votes
1 answer

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 with a link /opt/glassfish pointing to the latest…
tronda
  • 1,371
  • 1
  • 10
  • 13
2
votes
1 answer

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 server. I want to be able to measure: page load…
Freiheit
  • 201
  • 1
  • 2
  • 15
2
votes
1 answer

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 a GoogleWebToolkit frontend and a REST…
Hank
  • 379
  • 3
  • 15
1 2
3
13 14