Posted: February 28, 2012 in Life in general
Tags: Eclipse, GWT, maven, OEPE, WebLogic
This howto helped me to create a GWT project using Maven. It even allows me to run the GWT project in development mode with Jetty, very sweet!
On the other hand, OEPE’s Weblogic plug-in doesn’t play nice with GWT based project. Looks like I’ll continue use Maven to build WAR files.
Posted: February 28, 2012 in howto, Technology
Tags: bug, Eclipse, OEPE, Oracle, WebLogic
When I tried to add an Oracle WebLogic Server 12c as a new server runtime to a project in OEPE (Eclipse), OEPE refused to recognize the information I entered. Fortunately, Daniel G. told me that I have to select the
wlserver folder first, then backspace a few times to remove
wlserver from the path and type in the
wlserver back to trigger the screen to fresh. The goal is to change the path using different ways to trigger a refresh action, which doesn’t get triggered when it supposed to. Once I was able to trigger the fresh action on
wlserver folder, OEPE was able to recognize the server runtime installed in the folder.
This definitely worth a bug on OEPE!
Posted: February 24, 2012 in howto, Technology
Tags: box.net, howto, Ubuntu, WebDav
Here is an instruction that worked for me.
Posted: February 22, 2012 in Life in general
Tags: ads, Android
If ads in Android notification menu annoys you, this blog post gives some pointers on how to remove them.
Posted: December 9, 2011 in Database, Technology
Tags: isql, sql, Sybase
Today a coworker taught me how to figure out what database instance I am using when using the isql command line tool connecting to Sybase. This involves two query statements:
select dbid from master..sysprocesses where spid = @@spid
The above statement will display the
dbid of the database instance you are using. Next using this
dbid to find out the name:
select name from master..sysdatabases where dbid = [dbid]
Thanks to Bob for this cool trick!
I found a need to debug JBoss with Eclipse. A search on google led me to ths page. I had to tweak a bit to get my local instance to work.
For example, I had to change the quote character from ” to “.
After that, JBOSS was able to load the new parameters correctly.
The post also have slightly different UI screen than what I see on my version of Eclipse. I did the following:
Go to Run –> Debug Configurations … in the menu
Rick click on Remote Java Application and choose New
Choose the project of your choice. Change the address to 8787 to match the parameter specified for JBoss earlier. Change host name if necessary.
Click Apply and then Debug
I was able to connect to the server and start debug the application.
Posted: August 10, 2011 in howto, Technology
Tags: JBoss, remote connection
I didn’t realize that Jboss has a security “feature” to not allow remote connection by default until I read this post. Following the tip on that page helped me to access Jboss remotely.
Posted: August 4, 2011 in howto, Technology
Tags: GWT, howto, Java, Tutorial
I came across this tutorial and found it useful!
Posted: July 25, 2011 in howto, links, Technology
I came across the following tool today. Looks like exactly what I needed to work around the short sleep setting for the machine and prevent Windows from sleeping.
While trying to setup JMS code, I encountered a few small issues and resolved them. Here are my notes:
Where in the world is
ChapterExRepository? Here it is.
According to the following thread, one way to include log4j xml config file is to include the path to the file in the classpath.