Warning: mysql_real_escape_string(): No such file or directory in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): No such file or directory in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): No such file or directory in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): No such file or directory in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): No such file or directory in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): No such file or directory in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786

Warning: mysql_real_escape_string(): A link to the server could not be established in /home/jayshao/web/wp/wp-content/plugins/statpress-reloaded/statpress.php on line 1786
java | Jason E. Shao

OutOfMemory PermGen Errors

OutOfMemory PermGen Errors
In the past I’ve gone to the good old reliable “-XX:MaxPermSize=256m” (or 384m, 512m, etc.) to try to get redeploys in webapp containers like Tomcat and Glassfish to allow numerous hot-redeploys. I figured I’d invest a little time in sorting this out to see if there’s a better solution – unfortunately it doesn’t look like ...

Spring wiring private init-method

While adding some unit tests to older Spring code, I noticed that the production Spring configuration was wiring together some pretty simple Factory objects that had private init() methods (took a few minutes to figure out why I kept getting wavy lines), that looked like this: 1234567891011121314private void init(){ try { StringBuilder sb = new ...

IntelliJ and JRebel

So, after enduring some abuse from colleagues who miss VisualStudio (I have to admit – that feature to move the program counter does look really cool) I spent a bit of time the other day setting up with a trail-run of JRebel. So far the experience has been pretty fantastic – I can use maven to jetty:run ...

[Fixed] IntelliJ Ubuntu Launcher Problem

http://ubuntuforums.org/showthread.php?t=224100I had a bunch of trouble getting a GNOME launcher to successfully execute (interestingly enough, the Eclipse/STS launchers mostly worked fine) – turned out it was related to JDK_HOME not being recognized by GNOME. I’d gotten accustomed to setting up my environment variables in ~/.bashrc and sourcing that into .profile – apparently GNOME looks in ...

Trying IntelliJ, For Real this Time

So – have been getting an increasing amount of weirdness with Eclipse/m2Eclipse/STS recently, which has made experimenting w/Intellij increasingly attractive. Going to try doing a mostly turkey switch for a few days, and see – since many people I know and respect rave about it. Initial thoughts: Maven import was real easy, and looks to ...

What’s Jason Up to?

Some people have commented on updates to Facebook & Linked in, so thought I’d author a quick post detailing what I’m up to these days. For anyone who’s wondering, as of January of this year, I am no longer at CampusEAI – I’ve chosen to join ContextWeb, an advertising network/exchange vendor based in NYC, as ...

ContextWeb is Hiring Java Developers in NYC

For people who have heard, I recently started a new position as a developer at ContextWeb. ContextWeb is a targeted/contextual advertising provider and exchange, and recently embarked on a technical re-architecture moving from C# to Java, moving from DBs to Hadoop, running a SCRUM/Agile environment with a bunch of pretty sharp people, free coffee, soft ...

[FIXED] Eclipse Issues with Clicking on Ubuntu/GNOME

For the last few months, have moved most of my work programming from the Mac to Ubuntu (first convenience via VMs, recently because I switched jobs and at the new employer it was that or Windows) which has mostly gone will, though there were some issues around Eclipse UI gotchas, notably: Sometimes buttons wouldn’t let ...

Compiling Java 1.6 projects using Maven on Mac OS X

Compiling Java 1.6 projects using Maven on Mac OS X This makes much sense (took a few minutes though) had my JVM defaulted to JDK 5 from Eclipse 3.4 which wouldn’t run on the 64-bit Java 6 VM – easy fix though – personally I prefer changing the symlinks in /System/Library/Frameworks/JavaVM.Framework/ to point to the ...

Recommended Programmer Reading

I was recently asked via email what training or whatnot I would recommend to bring a programming team up to speed on Java. A couple options come to mind – depending on the overall scope of your programming team and their past experience (if I can ask – what is your past experience?) but, I ...