Tuesday, July 21, 2009

Search package from lib

apt-file search lib_name


To check reference lib, using:

ldd -r lib_path

Tuesday, July 7, 2009

Nightmare ICEFaces!

I used ICEFaces framework to develop business web application.
My project completed 70%, ICEFaces alert update up to version 1.8.1 and stupidest that happened!!!

I updated to 1.8.1 without backup current my web, very risky. Finnaly, my web has some bugs that I can't know and investigate. I tried many times, it spended more time to analysis but everything seems want to against me. I am very disapoint about ICEFaces.

Today, try again, I continue go with another way to solve that problem, haha, thank my God, I suddenly find right solution, that downgrade and upgrade again. Wonderfully, it can fix itseft, I don't know what happen here, but I sure that it maybe good experience for future when facing similar one.

That luckily day!!!

Sunday, April 12, 2009

FCKeditor JSP

JSP FCKeditor
String utf8 = new String(content.getBytes("8859_1"), "utf-8");

Friday, April 3, 2009

Grizzly

https://maven-repository.dev.java.net/nonav/repository/grizzly/jars

Wednesday, April 1, 2009

Disable directory listing on Glassfish!

access domain folder, point to config/default-web.xml
Modify:
<init-param>
<param-name>listings</param-name>
<param-value>false</param-value>
</init-param>

Sunday, February 15, 2009

VNC via SSH

vncviewer username@server_ip localhost:0

install scim Ubuntu

Select scim from Synaptic ...

#nano /etc/environment

export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE="scim"
export XIM_PROGRAM="scim -d"
export QT_IM_MODULE="scim"