Menu Content/Inhalt
Home
Honde Valley
Written by jay   
Friday, 19 June 2009
Took a one week break from work and visted Honde Valley in Eastern Highlands, Zimbabwe. A few pics that I took....
Last Updated ( Monday, 28 December 2009 )
Read more...
 
Tip: Tomcat 6 connecting to MySQL - Ubuntu 8.10
Written by jay   
Thursday, 12 February 2009


A good old db connection using the mysql jdbc driver was giving me problems. Placed the connector in the Catalina_Home\lib etc but just could not connect. Well it turns out the Apache Tomcat v6.0.18 has a default startup script that enables java security by default. There are two ways to solve this.

1) The easy way but surely is not to be done on a production server. Open the tomcat6 startup script like so:  sudo gedit /etc/init.d/tomcat6. Locate these lines of code:

# Use the Java security manager? (yes/no)
TOMCAT6_SECURITY=yes


Change the value from yes to no. Warning, I have no idea of the real implications of doing that other than the obvious - surely your environment will be less secure. Oh, and that my simple jsp tests started working, which is all I really wanted to do.

 

2) Probably the right way to do it, set the policies properly to allow db connections etc. Typically, in /etc/tomcat6/policy.d/, there are several files where one can set the various policies to allow things such as db connectivity etc. Never really tried it but in theory, can control quite a number of security settings. I shall refer you to the tomcat 6 documentation on how to actually perform that.

Last Updated ( Thursday, 12 February 2009 )
 
Lotus Notes 8.5 on ubuntu 8.10
Written by jay   
Tuesday, 20 January 2009
IBM Lotus Notes 8.5 has since been released. It comes at a time when I'm busy re-building my laptop and that means I will be doing a fresh install of notes 8.5 on Ubuntu 8.10  - the Intrepid Ibex. Below is an brief account of my experience...
Last Updated ( Thursday, 12 February 2009 )
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 Next > End >>

Results 5 - 8 of 30