Wednesday, November 5, 2008

What About GroovyMag Dave?

Kickin' down the cobblestones: Don't you hate blog posts about blogging?

I was reading through the first ever issue of GroovyMag and ran across a link to Dave Klein's blog. Having not read it in awhile I followed the link and found he was lacking an excuse for not blogging more often.

@Dave - Maybe it has something to do with the excellent contributions to the magazine?

Two More Failures

Two more issues with the production server have been resolved. First, GlassFish JVM settings were modified to make it actually work with only 512MB memory when deploying large .war files. I changed -client to -server and I reduced the max from 512 to 384. Not on the first try mind you. My first guess was to increase the perm gen but then nothing else would run on the server. It also took a lot of research to figure out how to have OpenSolaris forward http requests on port 80 to GlassFish running on port 8080. Most of the information I was initially finding was for using iptables on Linux. OpenSolaris doesn't have iptables and the previous way of using the inetd.conf file is no longer correct. So it took forever to find what is a very easy change. Enable ipfilter like so:

svcadm enable network/ipfilter
Then create an ipnat.conf file in the /etc/ipf directory with the following contents:

rdr xnf0 your.ip.add.ress/32 port 80 -> 127.0.0.1 port 8080 tcp

Load the file by using the -f attribute with ipnat:

ipnat -f /etc/ipf/ipnat.conf

Now the application can be deployed. But... in an effort to shrink the .war file, which was originally just short of 30 MB, I took out the fun features. This has left Q2OH an extremely simple application. So Q2OH 1.0 will be the Internet's simplest application.

Tuesday, November 4, 2008

I'm So Glad I Bought a Color Laser Printer

I can't wait to print out the first issue of GroovyMag. This looks like just the sort of resource I can use. I'm happy to support a quality publication like this and I look forward to purchasing future issues. Once I've actually read it I'll be sure to write a review.