ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tammo van Lessen <tvanles...@gmail.com>
Subject Re: Unable to deploy ODE in ubuntu-bundled (7.10) tomcat5.5 [Solution]
Date Wed, 23 Jan 2008 22:47:12 GMT
Hi,

thanks for reporting that, however I think this is more related to 
tomcat's configuration than to Ode. If I'm not misinterpreting the 
stacktrace you have been not allowed to read the 
'geronimo.bootstrap.logging.enabled' system property. I guess that 
tweaking tomcat.policy may help. See [1] for some details.

HTH,
   Tammo

[1]http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html

mosser@polytech.unice.fr wrote:
> Hello everybody !
> 
> 
> I'm trying to deploy ODE war under Tomcat 5.5 and Apache.
> 
> I basically apt-get install java-sun-1.5, tomcat5.5 and the
> libapache2-mod-jk module.  Axis deployment was OK.
> 
> When I use the tomcat Manager to deploy ODE (1.1.1 from "Getting ODE"
> page), I get the following error in tomcat logs :
> 
> Jan 23, 2008 2:20:34 PM org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive ode.war
> org.apache.commons.logging.LogConfigurationException:
> java.lang.ExceptionInInitializerError (Caused by
> java.lang.ExceptionInInitializerError)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
>         at
> org.apache.geronimo.kernel.log.GeronimoLogFactory.getInstance(GeronimoLogFactory.java:92)
>         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
>         at
> org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:381)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4119)
>         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)
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
>         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:458)
>         at
> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>         at
> org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1394)
>         at
> org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
>         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:276)
>         at
> org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)
>         at
> org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:192)
>         at
> org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>         at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>         at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
>         at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>         at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
>         at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
>         at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.ExceptionInInitializerError
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>         at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
>         ... 55 more
> Caused by: java.security.AccessControlException: access denied
> (java.util.PropertyPermission geronimo.bootstrap.logging.enabled read)
>         at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
>         at
> java.security.AccessController.checkPermission(AccessController.java:427)
>         at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
>         at
> java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
>         at java.lang.System.getProperty(System.java:628)
>         at
> org.apache.geronimo.kernel.log.GeronimoLogging.isBootstrapLoggingInitializationEnabled(GeronimoLogging.java:118)
>         at
> org.apache.geronimo.kernel.log.BootstrapLog4jLog.<clinit>(BootstrapLog4jLog.java:33)
> 
> Seeing a security exception, I edit /etc/default/tomcat5.5 setting :
> TOMCAT5_SECURITY=no
> 
> And, then sudo /etc/init.d/tomcat5.5 restart
> 
> And then ... it works ! So, appearently, ODE doesn't support SECURITY
> under tomcat.
> 
> Cheers.
> 


Mime
View raw message