Hi,
I just realized that I was posting on developers forum instead of users
forum. To continue with this conversation, these errors happen for every
request. I understand that first response does take bit longer than others.
But for us, response time with subsequent request is also high.

Thanks,
L


Date: Mon, 09 Jan 2012 09:10:09 -0500
From: Bill Burke <bbu...@redhat.com>
Subject: Re: [Resteasy-developers] RESTEasy-jaxb performance
To: resteasy-develop...@lists.sourceforge.net
Message-ID: <4f0af541.7020...@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I did JAXB benching in the past.  It seemed that there is significant
overhead only at initialization time (when you first create the
JAXBContext).  Other than that, it seemed to perform quite well.  Is
that what you're talking about?

On 1/6/12 1:57 PM, Cassa L wrote:
> Hi,
>    While trying to find out bottlenecks in slow response from JBOSS-REST
> Easy framework, I saw these in my server logs. I see that jaxb tries to
> find someproperties and it can't find them, Also, there is 110milisecond
> gap between using jaxb default and using optimized accessor. Again after
> optimization is over it took 20miliseconds to start response process.
> Can anyone explain me why this is happening and how to reduce this
> 100milisecond gap?
>
>
> 18080-1) Trying to locate com/xxx/ist/retail/xxx/ws/
model/jaxb.properties
> 01:08:22,804 FINE  [javax.xml.bind] (http--17.209.126.15-18080-1)   not
> found
> 01:08:22,804 FINE  [javax.xml.bind] (http--17.209.126.15-18080-1)
> Checking system property javax.xml.bind.JAXBContext
> 01:08:22,804 FINE  [javax.xml.bind] (http--17.209.126.15-18080-1)   not
> found
> 01:08:22,804 FINE  [javax.xml.bind] (http--17.209.126.15-18080-1)
> Checking META-INF/services
> 01:08:22,804 FINE  [javax.xml.bind] (http--17.209.126.15-18080-1)
> Reading
>
vfs:/content/xxx.war/WEB-INF/lib/jaxb-impl-2.2.4.jar/META-INF/services/javax.xml.bind.JAXBContext
> 01:08:22,805 FINE  [javax.xml.bind] (http--17.209.126.15-18080-1) Trying
> to load com.sun.xml.bind.v2.ContextFactory
> 01:08:22,806 FINE  [javax.xml.bind] (http--17.209.126.15-18080-1) loaded
> com.sun.xml.bind.v2.ContextFactory from
>
vfs:/content/xxx.war/WEB-INF/lib/jaxb-impl-2.2.4.jar/com/sun/xml/bind/v2/ContextFactory.class
> *01:08:22,810* F*INE  [com.sun.xml.bind.v2.ContextFactory]
> (http--17.209.126.15-18080-1) Property
> com.sun.xml.bind.XmlAccessorFactoryis not active.  Using JAXB's
> implementation*
> *01:08:22,924 FINE
> [com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory]
> (http--17.209.126.15-18080-1) Using optimized Accessor for protected
> java.lang.Long /....(purposely removed removed class/package names from
> here )/*
> 01:08:22,924 FINE
> [com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory]
> (http--17.209.126.15-18080-1) Using optimized Accessor for protected
> java.lang.Integer/....(purposely removed removed class/package names
> from here )/
> 01:08:22,931 FINE
> [com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory]
> (http--17.209.126.15-18080-1) Using optimized Accessor for public
> java.util.List /....(purposely removed removed class/package names from
> here )/
> 01:08:22,931 FINE
> [com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory]
> (http--17.209.126.15-18080-1) Using optimized Accessor for public
> java.lang.String/(purposely removed emoved class names from here
> )./StringMapEntryTypes.key
> 01:08:22,932 FINE
> [com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory]
> (http--17.209.126.15-18080-1) Using optimized Accessor for public
> java.lang.String (purposely removed emoved class names from here
> ).StringMapEntryTypes.value
> 01:08:22,934 FINE
> [com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory]
> (http--17.209.126.15-18080-1) Using optimized Accessor for
> com./....(purposely removed removed class/package names from here )/
> *01:08:22,934* *FINE
> [com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory]
> (http--17.209.126.15-18080-1) Using optimized Accessor for
> com/....(purposely removed removed class/package names from here )/*
> *01:08:22,954 INFO
> [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/xxx
> ws]] (http--17.209.126.15-18080-1)*
>
>
> Thanks,
> L
>
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to