dev@glassfish.java.net

Re: InstantiationException

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 06 Oct 2008 11:29:07 -0700

I've built just this morning and I don't see this problem.


..............................................
Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish team, LSARC member






On Oct 6, 2008, at 11:21 AM, Jennifer Chou wrote:

> I have checked-out a fresh workspace and seeing the following
> error. Anybody else see this?
> Maybe I need to wait until after branch is created? I also see it
> on the nightly builds from 10-05 and 10-06
>
> C:\gfv3_1005\v3\distributions\web\target\glassfish\bin>asadmin start-
> domain
> javax.xml.stream.FactoryConfigurationError: Provider
> javax.xml.stream.XMLInputFa
> ctory could not be instantiated: java.lang.InstantiationException
> Command start-domain failed.
>
> C:\gfv3_1006\v3\distributions\web\target\glassfish\modules>java -jar
> glassfish.j
> ar
> Oct 6, 2008 1:24:01 PM com.sun.enterprise.glassfish.bootstrap.ASMain
> main
> INFO: Launching GlassFish on Apache Felix OSGi platform
>
> Welcome to Felix.
> =================
>
> Oct 6, 2008 1:24:07 PM OSGiModuleImpl start
> INFO: Started bundle org.glassfish.common.glassfish-mbeanserver [9]
> Oct 6, 2008 1:24:07 PM OSGiModuleImpl start
> INFO: Started bundle org.glassfish.core.kernel [79]
> ERROR: Error starting file:/C:/gfv3_1006/v3/distributions/web/target/
> glassfish//
> modules/osgi-adapter.jar (org.osgi.framework.BundleException:
> Activator start er
> ror.)
> javax.xml.stream.FactoryConfigurationError: Provider
> javax.xml.stream.XMLInputFa
> ctory could not be instantiated: java.lang.InstantiationException
> at javax.xml.stream.XMLInputFactory.newInstance(Unknown Source)
> at org.jvnet.hk2.config.ConfigParser.<clinit>(ConfigParser.java:
> 202)
> at
> com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
> ateHabitat(AbstractModulesRegistryImpl.java:137)
> at
> com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:394)
>
> at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:131)
> at
> org.apache.felix.framework.util.SecureAction.startActivator(SecureAct
> ion.java:591)
> at org.apache.felix.framework.Felix._startBundle(Felix.java:1607)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1541)
> at
> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
> 35)
> at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:267
> )
> at java.lang.Thread.run(Unknown Source)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>