[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]
How to start two clients and one server all on different machines?  XML
Forum Index -> General Go to Page: Previous  1, 2
Author Message
ari

seraphim

Joined: 05/24/2006 14:23:21
Messages: 1665
Location: San Francisco, CA
Offline

TGautier: true but you are making a big assumption that the 10. and 172 networks can route to each other. Anupam, can you ping those clients and can you telnet from them to your TC Server's DSO (9510) port?

--Ari
[WWW]
anupam

journeyman

Joined: 07/31/2008 05:32:53
Messages: 11
Offline

Dear Taylor,
Yes , you are right . I did a ping from the clients to the server and it didnt go through. I should work this out with the administrator as to why the machines cant ping .
Also , I observed that when I made the address 172.17.2.18 as server and 172.17.2.19 as client they could connect.

Thanks for your response , I really appreciate it! I will revert back in case of further queries.

Best Regards,
Anupam
anupam

journeyman

Joined: 07/31/2008 05:32:53
Messages: 11
Offline

Dear All,
I installed my server on machine with address 172.17.2.21 , the clients being on the machines .18 and .19 . But when I start the Admin console , I am not able to see any roots and clients (although i see the number of clients as 2). the application that I am using is the classic spring framework jpetstore.
the sessions too are not getting clustered .
I dont know if I need to deploy a load balancer or not ?
A question I had is that why the roots appear to be empty , or could it be that I wrongly did some steps?

Best Regards,
Anupam
anupam

journeyman

Joined: 07/31/2008 05:32:53
Messages: 11
Offline

Dear Taylor,
I have the following configuration now..
Terracotta server - 172.17.2.21
I start the server as

./start-tc-server.sh -f ../config-examples/tc-config-tomcat.xml

Application servers - 172.17.2.18 & 172.17.2.19 with tomcat

application deployed - jpetstore

loadbalancer configured on terracotta server itself i.e on 172.17.2.21

My problem is that i cannot see anything in the roots section of the administrator console and the sessions are not clustered
I access the jpetstore application by typing the URL in the browser as

http://172.17.2.21/jpetstore

I put something in the cart and after some time when I try to put more items the cart is empty meaning that sessions are not clustered
Please can you help me where I might be going wrong?

tgautier

seraphim

Joined: 06/05/2006 12:19:26
Messages: 1781
Offline

Did you follow this tutorial: http://www.terracotta.org/web/display/orgsite/Sessions+Tutorial ?
[WWW]
anupam

journeyman

Joined: 07/31/2008 05:32:53
Messages: 11
Offline

Thanks a lot Taylor!
I did follow that tutorial. fortunately I am now able to see some results . The sessions are getting clustered and everything works ..i.e server at 172.17.2.21 and clients with jpetstore at 172.17.2.18 & 172.17.2.19. the problem as that in the tc-config.xml file I mentioned the web application as

"JPetStore" instead of "jpetstore"

<web-application>jpetstore</web-application>

After making it jpetstore , it started working.

thanks again for your help..

Best Regards,
Anupam
 
Forum Index -> General Go to Page: Previous  1, 2
Go to:   
Powered by JForum 2.1.7 © JForum Team