Category Archives: Uncategorized

Solution to Java program unable to find valid certification path to requested target

On macOS sierra, some Java program encountered error: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Popular google answer suggested to use keytool to add certificate to $JAVA_HOME/jre/lib/security/cacerts.This solution probably works on other OS … Continue reading

Posted in Java, Uncategorized | Tagged | Leave a comment

Is our life easier than before?

html -> xml -> json TCP/IP -> RPC ->DCOM/Corba -> Soap -> RESTful language specific mechanisms: Java RMI, Jini, .NET remoting When a technology is mature, it is also out of interest of experts/pioneers.

Posted in Uncategorized | Leave a comment

build wxWidgets-2.9.2 on ubuntu 11.04 Natty Narwhal

../../configure –help onega@ub-laptop:/d4/ux/cpplib/wxWidgets-2.9.2/release/shared$ ../../configure –enable-shared –enable-xrc –enable-monolithic –enable-debug_gdb –without-subdirs onega@ub-laptop:/d4/ux/cpplib/wxWidgets-2.9.2/release/shared$ make

Posted in Uncategorized | Tagged | Leave a comment

minimal MFC window

#define _WIN32_WINNT  0x0501 #include <afxwin.h> struct CMainFrame : public CFrameWnd { CMainFrame() { Create(NULL, “Onega’s mini MFC Application”); } void CMainFrame::OnPaint() { CRect rect; GetClientRect (&rect); CPaintDC dc(this); CString msg = “Compile command: cl minimfc.cpp /link /subsystem:windows”; dc.DrawText(msg, &rect, DT_SINGLELINE … Continue reading

Posted in CPP, GUI, MFC, Uncategorized | Leave a comment

farewell letters

i received 5 farewell letters today. wish all the best to them.

Posted in Uncategorized | Leave a comment

JBoss on ubuntu lucid

InstallationInstall JDK6Download jboss-5.1.0.GA.zip and unzip to preferred placestart jboss (/media/d4/bin/jboss-5.1.0.GA/bin/run.sh ) First JSPTen Quick Steps for Deploying a Super Simple JSP Web App (WAR) on JBoss AppServer

Posted in Uncategorized | Leave a comment

US Visa

It is very painful to fill the visa application form online since it will expire though I am still actively working on it. I have to save to local disk every 10 minutes. After uploaded the saved data file, I … Continue reading

Posted in Uncategorized | Leave a comment