[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]
Tc-config's client-logs wrong  XML
Forum Index -> Terracotta Platform
Author Message
walterxu

neo

Joined: 09/03/2013 02:00:49
Messages: 3
Offline

HI!
I have a problem in my machine.

I have two tomact use one terracotta Directory in my machine(192.168.1.1),to connect remote TC_server(192.168.1.2)

in 192.168.1.1's tc-config.xml have 『<logs>/usr/local/terracotta/client-logs</logs>』option ,but two tomcat use one terracotta Directory,can't write client-logs,so i make it


When i start tomcat have a exception 『WARN: We can't create the directory '/logs-127.0.0.1' that you specified for your logs.』

How can i do ??
pomelko

journeyman

Joined: 03/15/2012 12:17:17
Messages: 13
Offline

make sure that tomcat has permission to create dir in /usr/local/terracotta/client-logs

You can also use %(user.dir) property in dir definition
<logs>/usr/local/terracotta/client-logs/%(user.dir)</logs>
walterxu

neo

Joined: 09/03/2013 02:00:49
Messages: 3
Offline

thank you reply to me , I will try it
 
Forum Index -> Terracotta Platform
Go to:   
Powered by JForum 2.1.7 © JForum Team