Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are two types of glassfish distribution: the executable installer and zip archive.

I have to use the zip archive. But the admin console doesn't work, it only shows a blue footer div, the resource /theme/META-INF/com_sun_faces_ajax.js is not found and error in the page:


<script type="text/javascript">
    if (true) {
        //submitAndDisable(document.getElementById('loginButton'), 'Login');

        // ERROR HERE:
        //    Uncaught TypeError: Cannot read property 'form' of null


when installed by extract from zip archive, but it works very well if install by the executable installer.

share|improve this question
up vote 1 down vote accepted

When I ran into the Javascript errors you're describing, it was because of an issue with OpenJDK and Glassfish, which I resolved by installing Sun Java. I don't know if that will make a difference in your situation.

Here's where I got the tip that it was an OpenJDK problem:

share|improve this answer
This is unbelievable. The Sun JDK really works! – Xiè Jìléi Dec 3 '10 at 9:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.