[Logo] Terracotta Discussion Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Admin Console connection issues  XML
Forum Index -> General
Author Message
randylayman

neo

Joined: 03/04/2009 15:07:33
Messages: 3
Offline

I'm trying to connect to the Terracotta server using the Admin Console over a VPN connection and am having problems.

On the server I can see it listening on port 9520 and when I connect in the client I see a new socket established, but the client login screen just says "Timed-out".

My client is running on Windows XP with Java 1.5.0_15. The server is running on CentOS with Sun Java 1.5.0_17.

The server log file doesn't show anything on an attempted connection. I haven't been able to find any client log files.

What should I be looking at next?

Randy

gkeim

ophanim

Joined: 12/05/2006 10:22:37
Messages: 685
Location: Terracotta, Inc.
Offline

You can try changing the console's default timeout of 8 seconds:

export JAVA_OPTS="-Dcom.tc.admin.connect-timeout=20000"
admin.sh&


Gary Keim (terracotta developer) Want to post to this forum? Join the Terracotta Community
randylayman

neo

Joined: 03/04/2009 15:07:33
Messages: 3
Offline

Changing that setting makes it take longer to timeout, but no different in the behavior.

I ran WireShart and got a packet capture of the connection. On my local machine I can see traffic coming back from the server in time, I'm just not quite sure what it means. Maybe the attached PCAP file can help.

 Filename terracotta-adminConsole.pcap [Disk] Download
 Description Packet Capture connecting to Admin Console. Console running on 10.8.0.50, server on 10.0.100.152.
 Filesize 5 Kbytes
 Downloaded:  249 time(s)

gkeim

ophanim

Joined: 12/05/2006 10:22:37
Messages: 685
Location: Terracotta, Inc.
Offline

Be sure the server box has a valid address defined in /etc/hosts. JMX can get tripped up with the sort of /etc/hosts files that come out-of-the-box in many Linux distros.

Gary Keim (terracotta developer) Want to post to this forum? Join the Terracotta Community
randylayman

neo

Joined: 03/04/2009 15:07:33
Messages: 3
Offline

In /etc/hosts the machine has its IP address with the machine's name:

10.0.100.152 name
127.0.0.1 localhost.localdomain localhost

Also, I've been able to get a Windows machine set up on the same network as the TC server and the Admin Console works from there. I have a workaround, but I'm still curios as to why it doesn't work over the VPN.

From the packet capture I can see some minimal amount of traffic coming back over the VPN. Could it be because with the VPN open I have multiple active network adapters on my computer?
troy

journeyman

Joined: 01/14/2011 15:08:03
Messages: 45
Offline

Did anyone ever figure this out.

I have the same issue. running my laptop at my office works fine, but over vpn no luck.

I was getting timeout issues first then I increased the timeout variable in the batch script. Now I can connect, but the QUARTZ instance does not show up. Even though I know its running. is there a similar setting for the quartz instance timeout?
hadolphs

journeyman

Joined: 09/01/2011 17:11:35
Messages: 14
Offline

I am having this same problem, connecting from my work network to our EC2 servers... the weird part is that this only happens with terracotta enterprise. With open source (we have it running as well on a different port and jmx opened up in a diff port from EE) it works fine (i am using the corresponding dev console for each).
zjtop

neo

Joined: 07/10/2012 00:18:59
Messages: 3
Offline

I check in Liferay

nitrogen determination apparatus
evizf

neo

Joined: 08/30/2012 20:07:32
Messages: 1
Offline

football jerseys
nfl jersey store
wholesale baseball jerseys
cheap football jerseys
baseball jerseys

cheap football jerseys
baseball jerseys
[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team