cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.nl>
Subject RE: building cocoon fails (The requested operation cannot be performed on a file with a user-mapped section open)
Date Fri, 11 Jul 2008 08:59:07 GMT
I ran mvn with the -e switch and this time it builded ok.... Maybe it
went well because it took a little longer with debugging turned on so
the chance of a file getting locked twice was dramatically reduced. And
just in case you are wondering where maven comes in to the picture:

 

 

<plugin>

  <groupId>org.codehaus.mojo</groupId>

  <artifactId>exec-maven-plugin</artifactId>

  <version>1.1</version>

  <executions>

    <execution>

      <id>cocoon-build</id>

      <goals>

        <goal>exec</goal>

      </goals>

      <phase>package</phase>

      <configuration>

        <executable>build</executable>

        <arguments>

          <argument>war</argument>

        </arguments>

      </configuration>

    </execution>

    ...

  </executions>

 

 

Cheers,

Robby

 

________________________________

From: Robby Pelssers [mailto:robby.pelssers@ciber.nl] 
Sent: vrijdag 11 juli 2008 9:30
To: users@cocoon.apache.org
Subject: building cocoon fails (The requested operation cannot be
performed on a file with a user-mapped section open)

 

Hi list,

 

Anyone who encountered a similar problem?  And does anybody have an idea
how to fix this problem? Below are 2 build trials and it does not always
fail at the same spot.  I already googled on the error "The requested
operation cannot be performed on a file with a user-mapped section open"
and it looks like some kind of file locking issue.

 

Cheers,

Robby

 

---------------------------*******************************--------------
----------------------********************************************------
-------------------------------------------------------

 

cocoon-block-lucene-patch:

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\lucene\conf\luce
ne.xmap

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\sitemap.xmap

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\lucene\conf\luce
ne.xconf

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon
.xconf

 

cocoon-block-mail-patch:

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\mail\conf\mailse
nder.xconf

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\mail\conf\sendma
il_xsl.xconf

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon
.xconf

 

cocoon-block-profiler-patch:

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\profiler\conf\pr
ofiler.component.xmap

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\profiler\conf\pr
ofiler.xmap

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\sitemap.xmap

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\profiler\conf\pr
ofiler.xconf

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon
.xconf

 

BUILD FAILED

D:\development\projects\core-1_3\cocoon-core\tools\targets\webapp-build.
xml:113: The following error occurred while executing this line:

D:\development\projects\core-1_3\cocoon-core\build\cocoon\temp\blocks-bu
ild.xml:3197: The following error occurred while executing this line:

D:\development\projects\core-1_3\cocoon-core\build\cocoon\temp\blocks-bu
ild.xml:168: FileNotFoundException: java.io.FileNotFoundException:
D:\developmen

t\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon.xconf (The
requested operation cannot be performed on a file with a user-mapped
section open

)

 

Total time: 1 minute 32 seconds

1

 

---------------------------*******************************--------------
----------------------********************************************------
-------------------------------------------------------

 

cocoon-block-lucene-patch:

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\lucene\conf\luce
ne.xmap

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\sitemap.xmap

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\lucene\conf\luce
ne.xconf

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon
.xconf

 

cocoon-block-mail-patch:

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\mail\conf\mailse
nder.xconf

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\mail\conf\sendma
il_xsl.xconf

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon
.xconf

 

cocoon-block-profiler-patch:

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\profiler\conf\pr
ofiler.component.xmap

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\profiler\conf\pr
ofiler.xmap

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\sitemap.xmap

Processing:
D:\development\projects\core-1_3\cocoon-core\src\blocks\profiler\conf\pr
ofiler.xconf

Writing:
D:\development\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon
.xconf

 

BUILD FAILED

D:\development\projects\core-1_3\cocoon-core\tools\targets\webapp-build.
xml:113: The following error occurred while executing this line:

D:\development\projects\core-1_3\cocoon-core\build\cocoon\temp\blocks-bu
ild.xml:3197: The following error occurred while executing this line:

D:\development\projects\core-1_3\cocoon-core\build\cocoon\temp\blocks-bu
ild.xml:168: FileNotFoundException: java.io.FileNotFoundException:
D:\developmen

t\projects\core-1_3\cocoon-core\build\webapp\WEB-INF\cocoon.xconf (The
requested operation cannot be performed on a file with a user-mapped
section open

)

 

Total time: 1 minute 32 seconds

1

 

---------------------------*******************************--------------
----------------------********************************************------
-------------------------------------------------------

 


Mime
View raw message