Author |
Message |
08/03/2006 10:49:19
|
vidarmoe
neo
Joined: 08/03/2006 10:46:55
Messages: 5
Offline
|
Hi!
I have installed the terracotta server under
C:\tc2.0.3
(yes, windows..)
The config file is placed under
C:\tc2.0.3\config
Currently I'm just using the default config file produced with the start-tc-server.bat -f command.
The server successfully starts up with the following message:
C:\tc2.0.3\bin>start-tc-server -f C:\tc2.0.3\config\tc-config.xml
C:\tc2.0.3\bin>echo off
Using the Terracotta home path specified in the
TC_INSTALL_DIR environment variable, \tc2.0.3\bin\...
Using the built-in Terracotta JRE at \tc2.0.3\bin\..\jre\bin\java.exe.
2006-08-03 19:36:38,359 INFO - This is Terracotta, version 2.0.3 as of 20060720-
182010.
2006-08-03 19:36:39,546 INFO - Configuration successfully found and loaded from
the file at 'C:\tc2.0.3\config\tc-config.xml'.
2006-08-03 19:36:39,968 INFO - Log file is now: 'C:\tc2.0.3\config\logs\terracot
ta-server.log'.
2006-08-03 19:36:40,078 INFO - Terracotta license: None; max of 4 simultaneous c
lients active, and a maximum runtime of ten hours.
2006-08-03 19:36:40,953 INFO - JMX Server started on port 9520.
2006-08-03 19:36:41,609 INFO - HTTP Server started on port 9515
2006-08-03 19:36:43,890 INFO - DSO Server started on port 9510.
2006-08-03 19:36:44,000 INFO - JDBC Server is disabled in the configuration.
2006-08-03 19:36:44,000 INFO - Terracotta Server has started up successfully, an
d is now ready for work.
My question is: What is the correct syntax for the URL to use when specifying the
-Dtc.config
startup parameter for my java app (WLS 8.1) running on the same machine as the server?
I have tried with the option
-Dtc.config=http://localhost:9515/config/tc-config.xml
but this gives me the error message
2006-08-03 19:40:02,265 INFO - This is Terracotta, version 2.0.3 as of 20060720-
182010.
2006-08-03 19:40:02,875 WARN - We couldn't load configuration data from the URL
'http://localhost:9515/admin/config/tc-config.xml'; retrying. (Error: http://loc
alhost:9515/admin/config/tc-config.xml.)
2006-08-03 19:40:07,656 WARN - We couldn't load configuration data from the URL
'http://localhost:9515/admin/config/tc-config.xml'; retrying. (Error: http://loc
alhost:9515/admin/config/tc-config.xml.)
What is the correct URL in this case?
Thanks in advance,
Regards
Vidar Moe
|
|
|
08/03/2006 11:34:01
|
bchever
journeyman
Joined: 05/24/2006 15:10:55
Messages: 18
Offline
|
Hi Vidar,
Thank you for writing.
Remove the actual filename from the URL to the config file and all should work fine, e.g., instead of
-Dtc.config=http://localhost:9515/config/tc-config.xml
use
-Dtc.config=http://localhost:9515/config
Let us know if you have any other questions.
Sincerely,
|
Bill Chever
Product Support Manager
Terracotta, Inc. |
|
|
08/03/2006 12:10:02
|
vidarmoe
neo
Joined: 08/03/2006 10:46:55
Messages: 5
Offline
|
Hi, thank you, worked right away :-)
Cheers,
Vidar
|
|
|
|
|
|