Your problem is the same as any Debian based system. I had this
problem, another user had a similar problem a few days ago and now
you.

Debian/Ubuntu tighten up Tomcat permissions which are a nightmare to
try and fix. However this solution below will probably get you up and
running.

First locate your 04webapps.policy file

The path to the file is most likely:
/etc/tomcat5/policy.d/04webapps.policy
If you're using tomcat 5.5 it's:
/etc/tomcat5.5/policy.d/04webapps.policy

In your 04webapps.policy file add the following at the end of the file
before the closing bracket i.e. }

// Debian hack for nutch
  permission java.util.logging.LoggingPermission "control", "";
  permission java.io.FilePermission "./*", "read,write,execute,delete";
  permission java.util.PropertyPermission "user.dir", "read";
  permission java.util.PropertyPermission "disableLuceneLocks", "read";
  permission java.util.PropertyPermission "java.io.tmpdir", "read";
  permission java.util.PropertyPermission "org.apache.*", "read";
  permission java.io.FilePermission "/-", "read,write,execute,delete";
  permission java.lang.RuntimePermission "createClassLoader", "";

Save the file, restart tomcat and then restart catalina.

This should solve this problem. If you still have the same problem add
the following line to the 04webapps.policy file:

permission java.security.AllPermission;

Once done restart all as described above.

On some systems the first hack will be suffice however there are some
setups that require the AllPermission directive.

Hope this helps.
-- 
Regards
Justin Hartman
PGP Key ID: 102CC123

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to