users@glassfish.java.net

Re: Glassfish v3 deployment exception

From: <glassfish_at_javadesktop.org>
Date: Mon, 11 Jan 2010 06:47:40 PST

Using the latest build the exception the exception is no longer thrown just as you said. It prints a warning related to the bad .jar file and it proceeds with the deployment process.

But now a new exception is thrown:

[#|2010-01-11T14:20:34.707+0000|SEVERE|glassfishv3.0|javax.enterprise.system.core.org.glassfish.internal.data|_ThreadID=27;_ThreadName=Thread-1;|Exception while invoking class org.glassfish.appclient.server.core.AppClientServerApplication start method
org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied dependency exception : private org.glassfish.appclient.server.core.jws.DeveloperContentHandler org.glassfish.appclient.server.core.jws.JavaWebStartInfo.dch
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:102)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
        at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:341)
        at org.glassfish.appclient.server.core.AppClientServerApplication.newJavaWebStartInfo(AppClientServerApplication.java:140)
(...)

Caused by: org.jvnet.hk2.component.ComponentException: Failed to create class org.glassfish.appclient.server.core.jws.DeveloperContentHandler
        at com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:74)
        at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:71)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581)
        at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
        at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
        ... 44 more
Caused by: java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
        at org.glassfish.appclient.server.core.jws.DeveloperContentHandler.documentBuilderFactory(DeveloperContentHandler.java:269)
        at org.glassfish.appclient.server.core.jws.DeveloperContentHandler.<clinit>(DeveloperContentHandler.java:96)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:68)
        ... 51 more
[Message sent by forum member 'ruiminde' (rui.coelho_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=380085