November 29, 2003

JBoss 3.2.2 and PostgreSQL 7.3

I'm working on moving an enterprise java app that I host to my new gentoo box and have run into a few interesting nuances. I finally got everything installed and up and running (had to put DTD's in my XML deployment descriptors and use the new template for a datasource). Now it is time to try to run the site... Everything worked fine until I tried to hit the DB... Turns out that I was using a really old version of the JDBC driver which threw this exception: "Option xactisolevel is not recognized"... I found this article which explained that I needed to grab a new JDBC driver. Once I got that installed and everything else working, things are good.

I even like the feature which warns about DB connections that are left open. I know I (and co-workers of mine) have issues with remembering to close the connections when they are done with them. The new version of JBoss will actually throw an exception warning that the server had to close the connection for you and tells you to fix it... Now why would companies pay hundreds of thousands of dollars for other J2EE servers that suck when JBoss is free?? I love it!!

Posted by doug at November 29, 2003 10:51 PM
Comments

Java sucks. I need someone to tell me why java and or tomcat is sucking up 99% of the processor and being super slow. We think it's a garbage collection thing, but I sure as heck don't know what to do about that! :)

Posted by: stacey at December 1, 2003 04:33 PM

java -help and java -X to see command-line options. then turn on the verbose gc and anything else that looks interesting. hell, you can even turn on profiling to see what runs for so long, but that output file is harder to mentally parse.

Posted by: john at December 2, 2003 08:47 AM

I turned on verbose for garbage collecting and you know what it shows me? NOTHING! But on the test server it shows me all sorts of goodies. That boggles my mind. I did learn enough to know that we're running incremental gc, so I dont know if that is a good or bad thing. But hey, let's not litter Doug's comments with java talk. IM me. ;)

Posted by: stacey at December 2, 2003 10:52 AM
Post a comment









Remember personal info?