tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Problem running my webapp with Tomcat 7.0.22.0 Security Manager enabled (Windows Vista)
Date Tue, 10 Jan 2012 09:19:21 GMT
On 09/01/2012 19:22, james@mobilewebexpert.co.uk wrote:
> Hiya,
> 
> I've just turned on Tomcat's Security Manager and (not surprisingly) I'm now having a
problem running my webapp. I know I probably need to specify some security privileges somewhere,
but not sure where - possibly catalina.policy? Can anyone help??

Yes, in catalina.policy.  Have fun.


p

> Here's the error from the log file:
> 
> 09-Jan-2012 17:33:34 org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Servlet.service() for servlet [Manager] in context with path [/manager] threw
exception [Could not initialize class org.netbeans.modules.schema2beans.DDLogFlags] with root
cause
> java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.schema2beans.DDLogFlags
> at org.netbeans.modules.schema2beans.DOMBinding.register(DOMBinding.java:166)
> at org.netbeans.modules.schema2beans.BeanProp.registerDomNode(BeanProp.java:1809)
> at org.netbeans.modules.schema2beans.GraphManager.createRootBinding(GraphManager.java:232)
> at org.netbeans.modules.schema2beans.BaseBean.createRoot(BaseBean.java:288)
> at org.netbeans.modules.web.monitor.data.MonitorData.<init>(MonitorData.java:98)
> at org.netbeans.modules.web.monitor.data.MonitorData.<init>(MonitorData.java:75)
> at org.netbeans.modules.web.monitor.data.MonitorData.<init>(MonitorData.java:71)
> at org.netbeans.modules.web.monitor.server.MonitorFilter.setupDataRecord(MonitorFilter.java:484)
> at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:331)
> at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:270)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
> at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:305)
> at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:245)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:57)
> at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
> at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273)
> at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:270)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
> at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:305)
> at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:245)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
> at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:57)
> at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:193)
> at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
> at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> 
> Thanks,
> James


-- 

[key:62590808]


Mime
View raw message