glassfish v3 requires at least openjdk-6 6b19

Bug #559286 reported by Peter Halicky
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
OpenJDK
Fix Released
Undecided
Unassigned
openjdk-6 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Glassfish V3 does not work properly with openjdk-6 6b18~pre4-1ubuntu1; after a fresh install, attempt to open the login page of the admin console results in the error below. Installing a java package from java.sun.com and using that works without a problem.

HTTP Status 500 -

type Exception report

message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: java.lang.reflect.InvocationTargetException while attempting to process a 'initPage' event for '/login.jsf'.

root cause
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'initPage' event for '/login.jsf'.

root cause
java.lang.reflect.InvocationTargetException

root cause
java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a javax.xml.transform.stream.StreamSource

note The full stack traces of the exception and its root causes are available in the GlassFish v3 logs.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: openjdk-6-jdk 6b18~pre4-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Apr 9 16:30:56 2010
SourcePackage: openjdk-6

Revision history for this message
Peter Halicky (peto-halicky) wrote :
Revision history for this message
Vladimir (vlstefanovic) wrote :

Ubuntu 10.04
Kernel: 2.6.32-20-generic x86

Revision history for this message
eugene (vassaeve) wrote :

I need glassfish!!!!! it's my work.

Revision history for this message
Mike Baranczak (mbaranczak-gmail) wrote :

Same thing here. I can still deploy my own apps on Glassfish - it's only the admin console that's broken.

This appears to be a known bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6909759

Revision history for this message
Robin Stocker (nibor) wrote :

The problem has been fixed upstream in OpenJDK6 b19.

When will this arrive in Lucid? Would it have to be in backports?

Changed in openjdk:
status: New → Fix Released
Revision history for this message
AleksanderAdamowski (aadamowski) wrote :

Confirming bug on Lucid Lynx, Glassfish admin console throws exception:

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'initPage' event for '/login.jsf'.
...
Caused by: java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a javax.xml.transform.stream.StreamSource

Revision history for this message
Matthias Klose (doko) wrote :

please could you recheck with the openjdk-6 packages in
deb http://ppa.launchpad.net/openjdk/ppa/ubuntu lucid main

Changed in openjdk-6 (Ubuntu):
status: New → Incomplete
Revision history for this message
Robin Stocker (nibor) wrote :

The problem is still there with 6b18-1.8-2lucid5:

Caused by: java.lang.UnsupportedOperationException: Cannot create XMLStreamReader or XMLEventReader from a javax.xml.transform.stream.StreamSource

It works with my own build of openjdk though (built with icedtea).

Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 559286] Re: glassfish v3 does not run under openjdk-6

On 15.07.2010 09:49, Robin Stocker wrote:
> The problem is still there with 6b18-1.8-2lucid5:
>
> Caused by: java.lang.UnsupportedOperationException: Cannot create
> XMLStreamReader or XMLEventReader from a
> javax.xml.transform.stream.StreamSource
>
> It works with my own build of openjdk though (built with icedtea).

which version, which configure options?

Revision history for this message
Robin Stocker (nibor) wrote : Re: glassfish v3 does not run under openjdk-6

The default branch of the following repository: http://icedtea.classpath.org/hg/icedtea6

The version reported by java -version is:
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9pre+r2abd775a9d46) (Ubuntu build 1.6.0_20-b20)
OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode)

Configured using: ./configure --disable-plugin

I'll see if the problem also exists with http://icedtea.classpath.org/hg/release/icedtea6-1.8

Revision history for this message
Robin Stocker (nibor) wrote :

The problem also exists with icedtea6-1.8, version:

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8+rc691bc07c5e0) (Ubuntu build 1.6.0_18-b18)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

Matthias Klose (doko)
summary: - glassfish v3 does not run under openjdk-6
+ glassfish v3 requires at least openjdk-6 6b19
Revision history for this message
Mike Baranczak (mbaranczak-gmail) wrote :

This bug was fixed upstream (in OpenJDK) a long time ago. Does anybody know when it'll be incorporated into the distro? Right now, Ubuntu still uses version 6b18 of OpenJDK - that release is ancient.

Revision history for this message
Oleg O Andreev (olegoandreev) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.