0
votes
0answers
23 views

Glassfish-3.0.1 mixing user sessions - SSO

We are experiencing a strange behaviour, we have an application (jsf 2.2.4 embedded) that has a login form, glassfish has sso enabled and a custom realm (LDAP). We have also several applications (some ...
1
vote
0answers
48 views

Setting up a web server behind a ZTE NAT [closed]

down vote favorite I have developed a web app in Java using netbeans and running on a glassfish server attached to netbeans. I would like to show this to some people but I can't get it running across ...
1
vote
2answers
618 views

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 ...
1
vote
0answers
59 views

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 ...
0
votes
1answer
17 views

Block access to specific URL

I have several java war applications hosted in a glassfish, some of then exposing web services. I need a way to block access to an specific application without blocking the entire access to server by ...
0
votes
2answers
111 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
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
541 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
1answer
587 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
237 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 ...
0
votes
4answers
1k views

Private cloud solution [Eucalyptus,OpenStack, Nimbus] for Java deployments [Glassfish, Tomcat]

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
1k 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
337 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
50 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 ...
1
vote
2answers
354 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 ...
1
vote
0answers
160 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. ...
0
votes
1answer
159 views

How to run a multi language web application server?

I'm a web application developer and whenever I buy a web hosting for my application I'm either limited by the technologies supported or the amount of resources (heap size for instance) so I have ...
1
vote
1answer
200 views

Should I install both j2EE and J2SE

I just installed J2EE. Det version that come bundled with a JDK. Is there any reason for me to install Java SE as well? I need to run Java SE programs, but the J2EE bundled java runtime should work ...
0
votes
1answer
722 views

glassfish v2 access control by IP

How can I restrict access to some web-app deployed in Glassfish from certain IPs ? Are there any internal access control in Glassfish or I need to proxy it with external nginx or Apache ?
1
vote
2answers
2k views

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: ...
1
vote
5answers
275 views

Java Application Hosting

I've made a webapplication which runs on glassfish v3 on my computer. It's not a big application and i am not expecting a lot of traffic. All the hosts supporting glassfish is very expensive (about ...
0
votes
1answer
1k views

Why does my MySQL server keep converting HEAP to MyISAM

We ve been having some issues with our MySQL server intermittently. It keeps throwing out a lot of these queries concurrently (thus stacking them up in my processlist). We are using a MyISAM db and ...
1
vote
2answers
1k views

Glassfish V3 using up all available memory

I have a Virtual Server with 1GB of RAM. When i start glassfish with asadmin start-domain it instantly allocates all available memory, although i defined -Xmx128m in my domain.xml. Am I missing an ...
1
vote
2answers
695 views

Glassfish installation error: cannot open display

When trying to extract the Glassfish jar file with java -Xmx256m -jar glassfish-installer-v2.1-b60e-linux.jar i get following error: (.:31766): Gtk-WARNING **: cannot open display: and ...
1
vote
3answers
1k views

GlassFish will not start when SNMP is enabled

I have a GlassFish v3 app server running on 64-bit Debian Lenny. Everything is running fine, except I would like to monitor GF's JVM instance with SNMP. However, every time I try to enable it by ...
4
votes
4answers
4k views

Glassfish Vs Tomcat (Java app servers)

I am looking at running a java application server on my debian linux webserver, and am looking for a breakdown of the advantages that using either app server would provide me with (or disadvantages). ...
5
votes
2answers
3k views

Using both basic and client-certificate authentication with GlassFish

I'm currently building a Java-servlet applcation (using Jersey on GlassFish to be specific). In some parts of the application I need to authenticate the user using basic authentication and in some ...
1
vote
3answers
2k views

Problem with monitoring Glassfish with JConsole

I have enabled JMX connection on remote Glassfish server and then I've restarted it. During starting server notified: Standard JMX Clients (like JConsole) can connect to JMXServiceURL: ...
2
votes
1answer
2k views

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 ...
1
vote
2answers
2k views

503 error in glassFish [closed]

I am using Glassfish V2 server and till now every thing was going fine. It was deploying the application as usual, but suddenly it has started to prompt a 503 error saying "unable to find context ...
1
vote
2answers
432 views

What is a good strategy for diagnosing a Java Application Server that has stopped responding?

I have an installation of OpenSSO running on Glassfish. Everything is pretty much stock with as little configuration as possible to get the system working. I've started running into issues where the ...
1
vote
1answer
1k views

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 ...