[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: dr_pompeii  XML
Profile for dr_pompeii -> Messages posted by dr_pompeii [8]
Author Message
Thanks guys for your replies

I appreciate

I will read carefully the link

Best Regards
Hello gkeim

Thanks for the reply


Of course, java doesn't know anything about the -f option.
 

Thats right, a try of many types of configurations of my first post about to start the client


Do you want your client to get its config from the server (-Dtc.config=localhost:9510) or do you want to explicity specify a local config file? You seem to be trying to do both
 

Is mandatory use only one way right?
thanks for the "-Dtc.config" sample, I see now my confusion.

where I can see all the possible parameters for "Dtc" ?
a command option like help or some link from Terracotta?


Also, you say you're using 1.6 but you are specifying a 1.5 boot jar.
 

It seems that I keep the old result value before install the jdk1.6, but even with that, exists a unique jar in lib/dso-boot (1.5 version)


If you just kept to using dso-java, you wouldn't have this trouble as it ensures the proper bootjar is built and used.
 

I know that dso-java has its own control of some variables, therefore when is mandatory
use java -Xbootclasspath/p ?

Thanks in advanced




Hello guys

Thanks both you for the replies

About gkeim

Sounds like you have another running process holding the config file open. Windows doesn't like that.
 

Thats right, windows shouldnt put its hands in this.

I did this, the same application from windows (of course with the same pom.xml) was executed in Linux Fedora Core 5 and works fine!, the unique difference is that in my windows I work with maven 2.1.0 and in Linux 2.0.9
I will test maven 2.0.9 in windows, would be this a bug?

About tgautier
Do you mean tc:run? I do not believe our maven plugin supports a tc:client command.  

yes, typo error, is mvn tc:run .

But my previous paragraph happens

Regards
Thanks for your time amiller

-Manuel



Dear Members

(I tried this in maven forums but no help yet, perhaps from Terracotta side I hope have better results)

I am trying to work in peace about terracotta/maven integration

follow part of my configuration

Code:
 
 <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

Code:
 
 [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
Hello Guys

I have Terracotta server 3.0.1
JDK 1.6 update 14

To startup the server
Code:
 %TERRACOTTA_HOME%/bin/start-tc-server.bat -f D:\java\maven-projects\myproject\target\classes\tc-customerconsole-wo-spring.xml
 

all starts fine

now to see my jvm environment

Code:
%TERRACOTTA_HOME%/bin/dso-env.bat localhost:9510 


Results in this (multiple lines for better presentation)
Code:
 -Xbootclasspath/p:"D:\java\terracotta\terracotta-3.0.1\bin\..\lib\dso-boot\dso-boot-hotspot_win32_150_16.jar" 
 -Dtc.install-root="D:\java\terracotta\terracotta-3.0.1\bin\.." 
 -Dtc.config=localhost:9510
 


Now I tried these options to start the client but see the sad results

(multiple lines for better presentation)
Code:
 java -Xbootclasspath/p:"D:\java\terracotta\terracotta-3.0.1\bin\..\lib\dso-boot\dso-boot-hotspot_win32_150_16.jar" 
      -Dtc.install-root="D:\java\terracotta\terracotta-3.0.1\bin\.." 
      -Dtc.config=localhost:9510 
      -f D:\java\maven-projects\myproject\target\classes\tc-customerconsole-wo-spring.xml 
      -cp classes com.jordan.myproject.MainWithoutSpring	
 Unrecognized option: -f
 Could not create the Java virtual machine.	 
 			
 changing to -Dtc.f
 java -Xbootclasspath/p:"D:\java\terracotta\terracotta-3.0.1\bin\..\lib\dso-boot\dso-boot-hotspot_win32_150_16.jar" 
      -Dtc.install-root="D:\java\terracotta\terracotta-3.0.1\bin\.." 
      -Dtc.config=localhost:9510 
      -Dtc.f D:\java\maven-projects\myproject\target\classes\tc-customerconsole-wo-spring.xml 
      -cp classes com.jordan.myproject.MainWithoutSpring	
 Error occurred during initialization of VM
 java.lang.NoSuchMethodError: java.lang.Integer.getAndRemoveCacheProperties()V
 at java.lang.System.initializeSystemClass(Unknown Source)
 
         	
 java -Xbootclasspath/p:"D:\java\terracotta\terracotta-3.0.1\bin\..\lib\dso-boot\dso-boot-hotspot_win32_150_16.jar" 
      -Dtc.install-root="D:\java\terracotta\terracotta-3.0.1\bin\.." 
      -Dtc.config=localhost:9510 
      -Dtc.f D:\java\maven-projects\myproject\target\classes\tc-customerconsole-wo-spring.xml 
      -Dtc.cp classes com.jordan.myproject.MainWithoutSpring	
 Error occurred during initialization of VM
 java.lang.NoSuchMethodError: java.lang.Integer.getAndRemoveCacheProperties()V
 at java.lang.System.initializeSystemClass(Unknown Source)
 
         	        				
 java -Xbootclasspath/p:"D:\java\terracotta\terracotta-3.0.1\bin\..\lib\dso-boot\dso-boot-hotspot_win32_150_16.jar" 
      -Dtc.install-root="D:\java\terracotta\terracotta-3.0.1\bin\.." 
      -Dtc.config=localhost:9510 
      -cp classes com.jordan.myproject.MainWithoutSpring					 
 Error occurred during initialization of VM
 java.lang.NoSuchMethodError: java.lang.Integer.getAndRemoveCacheProperties()V
 at java.lang.System.initializeSystemClass(Unknown Source)	
 



Therefore, what is

java.lang.NoSuchMethodError: java.lang.Integer.getAndRemoveCacheProperties()V
at java.lang.System.initializeSystemClass(Unknown Source)

and how I can resolve that?

Thanks in advanced
Thanks guys for the reply

but in your link, where is the section to download the source code
about the old release?

Regards
Dear Members

I see that in
http://www.terracotta.org/web/display/orgsite/DownloadCatalog
only Terracotta 3.0 series is available

I dont see a link about old releases

From which link would be available these old release?,
like terracotta-generic-2.7.1.tar.gz

Thanks in advanced
 
Profile for dr_pompeii -> Messages posted by dr_pompeii [8]
Go to:   
Powered by JForum 2.1.7 © JForum Team