Tomcat hang at start I have spent about 2 days on this issue.That is, when I trying to start up tomcat instance in Ubuntu, log tells me start up done, and I can see the tomcat process is running, I could also see the port 2015-09-09 operation #java #tomcat
CSS position staticHTML elements are positioned static by default.Static positioned elements are not affected by the top, bottom, left, and right properties.An element with position: static; is not positioned in a 2015-09-05 development #css
@Transient and transient in java When I was doing some coding with GSon, I found there are you kinds of transient. One is from Java key words, another is JPA annotation as explained in SF. Java key wordtransient is to prevent membe 2015-08-17 development #java
ubuntu restart network interfaces You need to restart network service if you update your network configuration. 12ifdown [interface]ifup [interface] 2015-08-17 operation #network
postgresql High Availability solutions summary Shared Disk FailoverOnly one copy of the database on shared file system. No data loss if failover happens. If the shared disk array fails or becomes corrupt, all database servers are nonfunctional. 2015-08-02 operation #postgresql
Recovery procedure of Postgresql Any operation is from the view of standby server. 1Execute restore_command to restore xlog to pg_xlog folder from archive folder.If either streaming replication disabled, disconnected or recovery 2015-08-02 operation #postgresql
Setup static IP in ubuntu Under certain circumstance you need to specify a static IP address. There are 2 different ways you can achieve this. Command1ifconfig eth0 [the.ip.you.want] This command effect is temporary so the 2015-08-02 operation #network
docker unable to access website After came to my girlfriend’s home, I find my docker unable to access website.I could not ping by domain name, I thought it is the problem of my gf’s router.Any ping could only return unknown host XXX 2015-07-28 operation #linux #network #docker
postgresql streaming replication Base information for both primary and standby1234PGDATA=/var/lib/postgresql/9.3/mainPGCONF=/etc/postgresql/9.3/main master=192.168.1.100:5432standby=192.168.1.101:5432 Primary ServerCreate user de 2015-07-20 operation #postgresql
postgresql Point In Time Recovery Enable archive setting123456#Set WAL to either hot_standby or archiveecho "wal_level= hot_standby" > postgresql.conf #keep archiving old WALecho "archive_mode=on" > postgresq 2015-07-18 operation #postgresql