You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by fl...@icw.de on 2009/11/02 13:22:09 UTC

Re: Start time of cxf

Hi there!

Daniel Kulp <dk...@apache.org> wrote on 30.10.2009 17:45:29:
> Can you "kill -3" the container during this and see the stack trace? I'm 

> wondering if it's downloading a schema off the internet or something.

I attached the dump when running kill -3 during cxf startup.

Any ideas?

How long does it take on your machines?

Cheers,

Florian



InterComponentWare AG:  
Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, J�rg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich  
Firmensitz: 69190 Walldorf, Industriestra�e 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516  

RE: Start time of cxf

Posted by "Shulok, Thomas" <th...@lmco.com>.
Hi All,

I've been seeing the same thing, especially on machines that are not connected to the outside world (as might be expected).  Is there any suggestion for a workaround here?  

Thanks,
Thom 

-----Original Message-----
From: Daniel Kulp [mailto:dkulp@apache.org]
Sent: Monday, November 02, 2009 7:10 AM
To: users@cxf.apache.org
Cc: florian.grunow@icw.de
Subject: Re: Start time of cxf


It's definitely trying to download something schema related:

The last line in the stack with CXF is:
       at org.apache.cxf.dosgi.dsw.OsgiUtils.readIntentMap(OsgiUtils.java:422)

Thus, it's something in the intent map.  Looking at it:
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)

Those two lines are while parsing the Spring beans files.   It's loading the 
XML and trying to validate the beans files.   Thus, this is down in Spring 
someplace.  

Dan



On Mon November 2 2009 7:22:09 am florian.grunow@icw.de wrote:
> Hi there!
> 
> Daniel Kulp <dk...@apache.org> wrote on 30.10.2009 17:45:29:
> > Can you "kill -3" the container during this and see the stack trace? 
> > I'm
> >
> > wondering if it's downloading a schema off the internet or something.
> 
> I attached the dump when running kill -3 during cxf startup.
> 
> Any ideas?
> 
> How long does it take on your machines?
> 
> Cheers,
> 
> Florian
> 
> 
> 
> InterComponentWare AG:
> Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, Jörg Stadler /
>  Aufsichtsratsvors.: Prof. Dr. Christof Hettich Firmensitz: 69190 
> Walldorf,  Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.: 
> DE 198388516  =
> 

--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Re: Start time of cxf

Posted by Daniel Kulp <dk...@apache.org>.
It's definitely trying to download something schema related:

The last line in the stack with CXF is:
       at org.apache.cxf.dosgi.dsw.OsgiUtils.readIntentMap(OsgiUtils.java:422)

Thus, it's something in the intent map.  Looking at it:
org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)

Those two lines are while parsing the Spring beans files.   It's loading the 
XML and trying to validate the beans files.   Thus, this is down in Spring 
someplace.  

Dan



On Mon November 2 2009 7:22:09 am florian.grunow@icw.de wrote:
> Hi there!
> 
> Daniel Kulp <dk...@apache.org> wrote on 30.10.2009 17:45:29:
> > Can you "kill -3" the container during this and see the stack trace? I'm
> >
> > wondering if it's downloading a schema off the internet or something.
> 
> I attached the dump when running kill -3 during cxf startup.
> 
> Any ideas?
> 
> How long does it take on your machines?
> 
> Cheers,
> 
> Florian
> 
> 
> 
> InterComponentWare AG:
> Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, Jörg Stadler /
>  Aufsichtsratsvors.: Prof. Dr. Christof Hettich Firmensitz: 69190 Walldorf,
>  Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516  =
> 

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Re: Start time of cxf

Posted by David Bosschaert <da...@gmail.com>.
I'm only guessing but it might be related to XML schema resolution. I think
it still tries to go to remote hosts to resolve the schemas in some cases,
even though they are available in the bundle.

One way to try this out is to start it up without a network. I have seen
stack traces appear without network that hinted at this.

David

2009/11/2 <fl...@icw.de>

> Hi there!
>
> Daniel Kulp <dk...@apache.org> wrote on 30.10.2009 17:45:29:
> > Can you "kill -3" the container during this and see the stack trace? I'm
>
> > wondering if it's downloading a schema off the internet or something.
>
> I attached the dump when running kill -3 during cxf startup.
>
> Any ideas?
>
> How long does it take on your machines?
>
> Cheers,
>
> Florian
>
>
>
> InterComponentWare AG:
> Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, Jörg Stadler /
> Aufsichtsratsvors.: Prof. Dr. Christof Hettich
> Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 /
> USt.-IdNr.: DE 198388516
>