Search This Blog

Friday, July 15, 2016

JBOSS - not able to lookup the connection factory from remote host

If your jboss is clustered with HAJNDI and it is running on a host with another node.

You telnet it on 1100 and get a marshal object from the port

For example telnet host 1100 and you see a marshaled object in putty, it might be the serialized object,a stub from the remote server.

you might get the reply from 8083 and ha load balance proxy.

Now jboss while it boots acquires port 4447 and your default 8080 and other ports for bisocket connector.So these ports are required for jboss to function properly.

If you are facing issues with looking up the remote CF it might be due to the network connectivity with required ports.

Try following things

Do a lookup from local system if it works you can be sure that the CF jndi is correct.

Now check the firewall status of the your jboss server. $ service iptable status or ip6tables

If it says firewall is turned off, try doing telnet on all the ports required for JBOSS.

You should be able to telnet all the required ports which are required for JBOSS not just the 8080.

If you are not able to telnet required ports from your client it means that you wont be able to do any lookups on the remote naming url, you might get the context though.



Also check for listen ports by

$ netstat -an |grep LISTEN

Check for your source and target specific connection

$netstat -tcp | egrep "clientip|destinationip"








Monday, July 4, 2016

How to start vnc server, connect to it and change password

From putty -->

$vncserver
after you  press enter you will get

-bash-4.1$ vncserver



New 'xxxxx:17 (appltest)' desktop is xxxx:17

Starting applications specified in /homet/.vnc/xstartup
Log file is /home/.vnc/xxxx:17.log


now connect on port 17 in vnc box

host:17 and press connect, before that you can set the password as


vncpasswd

after you press enter it will ask for the new password , use it above to connect.

This is an alternative to export displays from the linux based systems.