dev@glassfish.java.net

Issue When Deploying App To Latest V3 Build

From: Roger Kitain <Roger.Kitain_at_Sun.COM>
Date: Mon, 31 Aug 2009 20:59:21 -0400

Ok - just changed the subject.


Jane wrote:
> Just want to clarify that this is not a build from source issue.
> Looks like a classloading issue in v3.
>
>
> Sent from Jane's iPhone
>
> On Aug 31, 2009, at 3:44 PM, Amy Roh <Amelia.Roh_at_Sun.COM> wrote:
>
>> Hi Roger,
>>
>> Did you get the xerces NPE from deploying a WebBeans app to v3
>> (non-embedded)? I was getting this in embedded mode and thought it
>> was an issue with embedded mode (in embedded jar). Perhaps, this is
>> an overall v3 issue if it happens in non-embedded mode also.
>>
>> Amy
>>
>> Roger Kitain wrote:
>>> Hello,
>>> I've checked out and build the latest v3 source.
>>> I'm running to some classloading issues when deploying a WebBeans
>>> application.
>>> The same application deploys fine from an older v3 build (Aug 12).
>>> Code such as:
>>> Thread.currentThread().getContextClassLoader().loadClass("javax.faces.context.FacesContext")
>>> is
>>> evals to null whereas in previous build of v3 it worked fine.
>>> In addition I'm also running into xerces related errors:
>>> javax.xml.parsers.FactoryConfigurationError: Provider
>>> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
>>> could not be instantiated: java.lang.NullPointerException
>>> at
>>> javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:129)
>>> at org.jboss.webbeans.xml.BeansXmlParser.parse(BeansXmlParser.java:120)
>>> at
>>> org.jboss.webbeans.bootstrap.BeanDeployment.parseBeansXml(BeanDeployment.java:101)
>>> Again - this all worked fine in a previous build.
>>> -roger
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>