2009/11/16 MilleBii <mille...@gmail.com>: > Not sure how to fully disable security but I added the following which I > understand should grand all rights to classes under my webapp: > > 1. grant codeBase "file:${catalina.home}/webapps/nutch-1.0/-" { > permission java.security.AllPermission; > }; in conf/catalina.policy
It should be "file:${catalina.base}/webapps/nutch-1.0/-" { > > 2. /etc/init.d/tomcat6 restart > > 3. start webapp by admin > > Still the same error... > > 2009/11/15 Pid <p...@pidster.com> > >> On 15/11/2009 19:33, MilleBii wrote: >> >>> Nothing... is there a way to get more details actually ? >>> >>> Did another trial I installed Tomcat 6 and deployed the same app, still a >>> problem but I get another issue probably more meaning full >>> >> >> You're running Tomcat with the Security Manager enabled. >> >> Presumably the Ubuntu package automatically configures the Security Manager >> in it's startup config. You should examine those files for more clues as to >> how you can disable it. >> >> If you can disable the Security Manager temporarily, see if the application >> starts up. If not, send more error log info showing what happened and we'll >> try to assist. >> >> If it does, re-enable it and you'll have to to figure out what the >> application is trying to do, then add appropriate permissions in >> tomcat/conf/catalina.policy. >> >> There's more information about the SM here: >> >> http://tomcat.apache.org/tomcat-6.0-doc/security-manager-howto.html >> >> >> >> >> p >> >> >> SEVERE: Exception sending initialized context event (context >>> initialized) >>> >>>> at listener class instance (listener) >>>> org.apache.nutch.searcher.NutchBean$NutchBeanConstructor >>>> java.lang.RuntimeException: java.security.AccessControlException: access >>>> denied (java.lang.reflect.ReflectPermission suppressAccessChecks) >>>> at >>>> >>>> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:81) >>>> at >>>> org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1366) >>>> at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:56) >>>> at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1379) >>>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:215) >>>> at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:120) >>>> at org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:89) >>>> at org.apache.nutch.searcher.NutchBean.<init>(NutchBean.java:77) >>>> at >>>> >>>> org.apache.nutch.searcher.NutchBean$NutchBeanConstructor.contextInitialized(NutchBean.java:425) >>>> at >>>> >>>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) >>>> at >>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) >>>> >>>> >>> So I'm stuck still. >>> >>> 2009/11/15 Caldarale, Charles R<chuck.caldar...@unisys.com> >>> >>> From: MilleBii [mailto:mille...@gmail.com] >>>>> Subject: servlet exception when processing TLD >>>>> >>>>> SEVERE: Error reading tld listeners javax.servlet.ServletException: >>>>> >>>>>> Exception when processing TLD at the ressource path >>>>>> /WEB-INF/taglibs-i18n.tld dans le contexte /nutch-1.0 >>>>>> javax.servlet.ServletException: Exception when processing TLD at the >>>>>> ressource path /WEB-INF/taglibs-i18n.tld dans le contexte /nutch-1.0 >>>>>> at >>>>>> org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:555) >>>>>> >>>>> >>>> The above exception is a wrapper for the underlying cause. Is there >>>> another, nested exception displayed in the logs? >>>> >>>> - Chuck >>>> >>>> >>>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY >>>> MATERIAL and is thus for use only by the intended recipient. If you >>>> received >>>> this in error, please contact the sender and delete the e-mail and its >>>> attachments from all computers. >>>> >>>> >>>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > > > -- > -MilleBii- > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org