Problem with the AutoDiscovery solved. You have to run the skript run.sh with the host option.
1.How can I make this automatically?
2.No transaction is present at the startup. How and where should I configure the transaction manager ?
19:04:20,313 INFO [TreeCache] setEvictionPolicyConfig(): [config: null]
19:04:20,360 WARN [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
19:04:20,402 INFO [TreeCache] interceptor chain is:
19:04:20,461 INFO [TreeCache] cache mode is REPL_SYNC
19:04:21,315 INFO [STDOUT]
It depends on whether you need transaction inside TreeCache. or you can set it to JBossTransactionManagerLookup.