Trouble with Tomcat 6 and Spring Security

June 18th, 2009 sraeburn No comments

Spring Security requires privileged access under the Java security manager to function. Tomcat 6, on Ubuntu at least, comes with the security manager enabled and this causes an exception to be thrown when the Spring Security filter is triggered.

Quick hack solution : turn off the Java security manager.

sudo nano /etc/init.d/tomcat6:
TOMCAT6_SECURITY=no (instead of yes)

Better solution : assign the correct privileges via the Java security manager policy files (stored in /etc/tomcat6/policy.d).

Share this Post
del.icio.us  Digg  Facebook  Twitter  Google  Yahoo Buzz  StumbleUpon 
Tags:

What to study?

June 16th, 2009 sraeburn No comments

There always seems to be too much to learn and not enough time to study. I want to settle on one main new thing to learn, in some depth, rather than flit between many different things. Here are the some options that I am considering:

  1. Ruby on Rails
  2. Windows development (Visual C++ / Visual C#)
  3. Mac / iPhone development (Objective C)
  4. More Java development – Web Services, SDO/SCA , Seam, JSF, Wicket
  5. Other ??

At home, I’m working on the Mac so #2 is probably not going to win :-) . How to choose between the others?

Share this Post
del.icio.us  Digg  Facebook  Twitter  Google  Yahoo Buzz  StumbleUpon 
Tags:

Installing WordPress with Subversion

June 16th, 2009 sraeburn No comments