Re: servlet exception when processing TLD
Sorry for the delay was busy with other staff. file:${catalina.base}/webapps/nutch-1.0/- { Doesn't work either modified botch catalina.policy init.d/50locale.policy I don't like the idea of disabling all security which is working right now, any idea how to set this properly ? 2009/11/16 Konstantin Kolinko knst.koli...@gmail.com 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 Rchuck.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 -- -MilleBii-
Re: servlet exception when processing TLD
MilleBii wrote: Not sure how to fully disable security ... Under Ubuntu, there is probably a file /etc/default/tomcat, which is invoked by the tomcat startup script in /etc/init.d. In the file /etc/default/tomcat, there should be a line like TOMCAT_SECURITY=YES Setting it to NO will diable the security manager. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: servlet exception when processing TLD
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 Rchuck.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
servlet exception when processing TLD
I have Tomcat 5.5 fresh install (apt-get) on ubuntu and just trying to deploy the standard distribution of nutch-1.0... and I'm getting the following errors. Of course the taglibs-i18n.tld file is present. After searching on the net I have found little help... suspecting something wrong with my install but I'm not sure really. How can I fix that ? 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) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301) at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4307) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4144) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760) at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:744) at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:144) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) -- -MilleBii-
RE: servlet exception when processing TLD
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.
Re: servlet exception when processing TLD
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 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. -- -MilleBii-
Re: servlet exception when processing TLD
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 Rchuck.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
Re: servlet exception when processing TLD
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 Rchuck.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-
Re: servlet exception when processing TLD
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 Rchuck.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- -- -MilleBii-