Thursday, 6 January 2005

Deploying blojsom in JBoss 4.0

« 2 Vodkas You Need To Try | Main | More blojsom blogs to check out »

After Simon posted an entry on deploying Pebble on JBoss 4.0 I figured I'd see if there were any gotchas in deploying blojsom under JBoss 4.0.

NOTE: I did this under JBoss 4.0.1 as well.

Good news is you can still go by the existing instructions to install blojsom on JBoss.

Bad news is that you're going to modify the Tomcat server.xml to enable proper UTF-8 support for proper internationalization handling. My guess is that you'd need to do this for other blog software packages as well.

Go into the /jboss-4.0.1/server/default/deploy/jbossweb-tomcat50.sar directory, open up the server.xml file and add URIEncoding="UTF-8" to the various <Connector ... /> elements that require internationalization support.

Example:

<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" address="${jboss.bind.address}"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"/>

That's about it. Using the blojsom quickstart bundle, it's still basically download, deploy, and blojsom is running. That and the little extra UTF-8 bit. No big whoop. /images/emoticons/mozilla_laughing.gif

Posted by david at 8:32 PM in java ... just java

 

[Trackback URL for this entry]

Your comment:

(not displayed)
 
 
 

Live Comment Preview:

 
« First  « Prev   1 2 3 4 5   Next »  Last »
« January »
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
23242526272829
3031