users@jaxb.java.net

Re: JAXBContext.newInstance() - long time to execute

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 27 Mar 2006 10:53:14 -0800

Beech Tanya wrote:
> Hi
>
>
>
> I've been using JAXB (2) with Tomcat (5.5.16) inside axis2 and have found
> that first time JAXBContext.newInstance(...) is called it takes over 1
> minute with 100% cpu usage and often causes the connection to time out.
> Subsequent calls happen instantly as it does inside my test harness. Any
> ideas as to what can cause it to hang for this long?

How big is your schema?

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com