You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dr_pompeii <dr...@yahoo.com> on 2009/06/20 01:45:35 UTC

Failed to run terracotta client - Error assembling JAR

Dear Members 

I have this code for terracotta/maven integration

<plugin>
		
        	<groupId>org.terracotta.maven.plugins</groupId>
        	<artifactId>tc-maven-plugin</artifactId>
        	<version>1.3.1</version>

	        <configuration>
	          <!-- used by tc:bootjar -->
	          <verbose>true</verbose>
	          <!-- <overwriteBootjar>true</overwriteBootjar> -->
	          <!-- <bootJar>target/bootjar.jar</bootJar> -->
	
	          <!-- used by tc:start and tc:stop so DSO server could outlive mvn
process -->
	           <startServer>true</startServer> 
	          <!-- <spawnServer>true</spawnServer> --> 
	          
<config>D:\java\maven-projects\distributedspring\target\classes\tc-customerconsole-wo-spring.xml</config> 
	           <jvm>D:\java\jdk1.5.0_16\bin\java.exe</jvm>
	           <jvmargs>-Xmx20m</jvmargs> 

I can start the server
mvn tc:start
without problems,

but if I try to start the client
mvn tc:client
, I receive this error

[INFO] [jar:jar]
[INFO] Building jar:
D:\java\maven-projects\distributedspring\target\distributed
spring-1.0-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error assembling JAR

Embedded error: Problem creating jar: El proceso no tiene acceso al archivo
porque 
otro proceso tiene bloqueada una parte del archivo
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Jun 20 06:32:50 COT 2009
[INFO] Final Memory: 12M/21M
[INFO]
------------------------------------------------------------------------
D:\java\maven-projects\distributedspring>

The spanish part

El proceso no tiene acceso al archivo porque
otro proceso tiene bloqueada una parte del archivo 

would be translated to

The process has no access to the file because other process has block a part
of the file

Of course that the server is the other process

How I can resolve this?

Thanks in advanced
-- 
View this message in context: http://www.nabble.com/Failed-to-run-terracotta-client---Error-assembling-JAR-tp24120391p24120391.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org