tried also by modifying conf/policy.d/50local.policy ... same results
strange.

Total stack is always the following

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)
>     at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>     at
> org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123)
>     at
> org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:145)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:769)
>     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>     at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
>     at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
>     at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
>     at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>     at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>     at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>     at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>     at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>     at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>     at
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>     at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>     at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:616)
>     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:616)
>     at
> org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
>


>>> 2009/11/15 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
>
> 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-
>



-- 
-MilleBii-

Reply via email to