cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prem <>
Subject Re: Failed to generate types->Access is denied
Date Tue, 08 Sep 2015 16:45:20 GMT
No clean works fine and its related to the system performance.

thats rather a java issue than the CXF itself.

Cxf generates a file and Java writes it to the file system. As windows has
a write buffer the handle to the file is being released and Java thinks the
file is on the HDD but its still being locked.

My HDD is encrypted that's why this is happening for me.

On a ssd its not happening that often and after disabling windows write
buffer on the driver its almost gone.

Cxf should wait and verify the created file before it will try to read it

I've reported a bug at cxf Jira.
On 8 Sep 2015 2:42 pm, "Aki Yoshida-3 [via CXF]" <> wrote:

> okay. i saw your pom in your earlier post.
> i think you shouldn't be generating your source files in your normal
> source folder because then you can't automatically get a clean build
> option.
> maybe your old build process is locking that directory and the
> generator couldn't write to the files or something in windows
> interfering with it.
> if you generate your source files into one of the sub directories
> within the target directory, you'll have an option of running a clean
> build to eliminate such issues. (you may see mvn clean already
> throwing an error if something is locking one of its sub directories).
> other than that, i have no idea.
> 2015-09-08 15:04 GMT+02:00 prem <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5760890&i=0>>:
> > Hi Aki,
> >
> > No its not a build problem, please read my previous post in details.
> > There are no java files. Everything is generated from wsdl's on the fly.
> > Using fast ssd or with cxf with enabled fork=always everything works
> fine.
> > But that's not an option for me and I'm still looking for the real issue
> > behind this.
> >
> > Cheers
> > Prem
> >
> >
> >
> > --
> > View this message in context:
> > Sent from the cxf-user mailing list archive at
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> To unsubscribe from Failed to generate types->Access is denied, click here
> <>
> .
> <>

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message