Hello,
I hope you can help.

I've installed cyclos (http://project.cyclos.org) on my tomcat5.5 running on
debian lenny on amd64Bit Machine.
A Mail to the Cyclos Team itself gets no answer since a week and the Cyclos
Forum is nearly dead :(

With an disabled security manager all works fine.
The Manager was disabled in /etc/init.d/tomcat5.5

With an enabled Security Manager and this code in 50user.policy all works
fine too:
grant {
  permission java.security.AllPermission;
};

But otherwise I get thousand lines of Errors. Here some first lines they are
specific (I think)

                                               
Jul 15 05:57:33 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:33 AM
org.apache.coyote.http11.Http11BaseProtocol init#012INFO: Initializing
Coyote HTTP/1.1 on http-8080                        
Jul 15 05:57:35 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:35 AM
org.apache.coyote.http11.Http11BaseProtocol init#012INFO: Initializing
Coyote HTTP/1.1 on http-8443                        
Jul 15 05:57:35 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:35 AM
org.apache.catalina.startup.Catalina load#012INFO: Initialization processed
in 2966 ms                                     
Jul 15 05:57:35 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:35 AM
org.apache.catalina.core.StandardService start#012INFO: Starting service
Catalina                                          
Jul 15 05:57:35 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:35 AM
org.apache.catalina.core.StandardEngine start#012INFO: Starting Servlet
Engine: Apache Tomcat/5.5                          
Jul 15 05:57:35 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:35 AM
org.apache.catalina.core.StandardHost start#012INFO: XML validation disabled    
                                           
Jul 15 05:57:38 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:38 AM
org.apache.commons.modeler.Registry registerComponent#012SEVERE: Error
registering
Catalina:type=Valve,name=StandardContextValve,path=/banks-of-community,host=localhost#012javax.management.MBeanException:
Cannot instantiate ModelMBean of class
org.apache.commons.modeler.BaseModelMBean#012#011at
org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:385)#012#011at
org.apache.commons.modeler.Registry.registerComponent(Registry.java:835)#012#011at
org.apache.catalina.core.StandardPipeline.registerValve(StandardPipeline.java:302)#012#011at
org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:234)#012#011at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4140)#012#011at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)#012#011at
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:744)#012#011at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:144)#012#011at
java.security.AccessController.doPrivileged(Native Method)#012#011at org.

...

Jul 15 05:57:39 srv097 jsvc.exec[14351]: [INFO] banks-of-community] -
Initializing Spring root WebApplicationContext                                  
                                      
Jul 15 05:57:39 srv097 jsvc.exec[14351]: [INFO] ContextLoader - Root
WebApplicationContext: initialization started                                   
                                       
Jul 15 05:57:39 srv097 jsvc.exec[14351]: [INFO] CustomWebApplicationContext
- Refreshing nl.strohalm.cyclos.spring.customwebapplicationcont...@ec0a9f9:
display name [Root WebApplicationContext]; startup date [Thu Jul 15 05:57:39
UTC 2010]; root of context hierarchy                                            
                                                                   
Jul 15 05:57:40 srv097 jsvc.exec[14351]: [INFO] XmlBeanDefinitionReader -
Loading XML bean definitions from class path resource
[nl/strohalm/cyclos/spring/persistence.xml]                 
Jul 15 05:57:40 srv097 jsvc.exec[14351]: [WARN]
DefaultNamespaceHandlerResolver - Ignoring namespace handler
[org.apache.cxf.transport.http_jetty.spring.NamespaceHandler]: problem with
handler class file or dependent class
<java.lang.ExceptionInInitializerError>java.lang.ExceptionInInitializerError#012#011at
org.apache.cxf.transport.http_jetty.spring.NamespaceHandler.init(NamespaceHandler.java:25)#012#011at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.initHandlerMappings(DefaultNamespaceHandlerResolver.java:123)#012#011at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:96)#012#011at
org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.<init>(DefaultNamespaceHandlerResolver.java:83)#012#011at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDefaultNamespaceHandlerResolver(XmlBeanDefinitionReader.java:498)#012#011at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:487)#012#011at
org.springframework.beans.f

...

Jul 15 05:57:42 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:42 AM
org.apache.coyote.http11.Http11BaseProtocol start#012INFO: Starting Coyote
HTTP/1.1 on http-8080
Jul 15 05:57:43 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:43 AM
org.apache.coyote.http11.Http11BaseProtocol start#012INFO: Starting Coyote
HTTP/1.1 on http-8443
Jul 15 05:57:43 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:43 AM
org.apache.jk.common.ChannelSocket init#012INFO: JK: ajp13 listening on
/0.0.0.0:8009
Jul 15 05:57:43 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:43 AM
org.apache.jk.server.JkMain start#012INFO: Jk running ID=0 time=0/76 
config=null
Jul 15 05:57:43 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:43 AM
org.apache.catalina.storeconfig.StoreLoader load#012INFO: Find registry
server-registry.xml at classpath resource
Jul 15 05:57:43 srv097 jsvc.exec[14351]: Jul 15, 2010 5:57:43 AM
org.apache.catalina.startup.Catalina start#012INFO: Server startup in 8513
ms

with security manager disabled it looks like this:

Jul 15 06:01:59 srv097 jsvc.exec[14482]: Jul 15, 2010 6:01:59 AM
org.apache.coyote.http11.Http11BaseProtocol init#012INFO: Initializing
Coyote HTTP/1.1 on http-8080
Jul 15 06:02:00 srv097 jsvc.exec[14482]: Jul 15, 2010 6:02:00 AM
org.apache.coyote.http11.Http11BaseProtocol init#012INFO: Initializing
Coyote HTTP/1.1 on http-8443
Jul 15 06:02:00 srv097 jsvc.exec[14482]: Jul 15, 2010 6:02:00 AM
org.apache.catalina.startup.Catalina load#012INFO: Initialization processed
in 2936 ms
Jul 15 06:02:01 srv097 jsvc.exec[14482]: Jul 15, 2010 6:02:01 AM
org.apache.catalina.core.StandardService start#012INFO: Starting service
Catalina
Jul 15 06:02:01 srv097 jsvc.exec[14482]: Jul 15, 2010 6:02:01 AM
org.apache.catalina.core.StandardEngine start#012INFO: Starting Servlet
Engine: Apache Tomcat/5.5
Jul 15 06:02:01 srv097 jsvc.exec[14482]: Jul 15, 2010 6:02:01 AM
org.apache.catalina.core.StandardHost start#012INFO: XML validation disabled
Jul 15 06:02:05 srv097 jsvc.exec[14482]: 06:02:05,343  INFO
[/banks-of-community] - Initializing Spring root WebApplicationContext
Jul 15 06:02:20 srv097 jsvc.exec[14482]: 06:02:20,623  INFO
DataBaseConfiguration - Cyclos database version 3.5.6 found on MySQL version
5.0.51a-24+lenny4
Jul 15 06:02:23 srv097 jsvc.exec[14482]: 06:02:23,751  INFO
CyclosOSCacheProvider - Enabling disk cache on
/var/lib/tomcat5.5/webapps/banks-of-community/WEB-INF/cache
Jul 15 06:03:00 srv097 jsvc.exec[14482]: 06:03:00,079  INFO
[/banks-of-community] - Cyclos initialized
Jul 15 06:03:01 srv097 jsvc.exec[14482]: 06:03:01,211  INFO
[/banks-of-community] - No Configuration for this context.  Initializing.
Jul 15 06:03:01 srv097 jsvc.exec[14482]: 06:03:01,211  INFO
[/banks-of-community] - configuring cewolf app..
Jul 15 06:03:01 srv097 jsvc.exec[14482]: 06:03:01,215  INFO
[/banks-of-community] - using storage class
de.laures.cewolf.storage.ClusterableSessionStorage
Jul 15 06:03:01 srv097 jsvc.exec[14482]: 06:03:01,215  INFO
[/banks-of-community] - using overlibURL /pages/scripts/overlib.js
Jul 15 06:03:01 srv097 jsvc.exec[14482]: 06:03:01,216  INFO
[/banks-of-community] - debugging is turned off
Jul 15 06:03:01 srv097 jsvc.exec[14482]: 06:03:01,216  INFO
[/banks-of-community] - ...done.
Jul 15 06:03:03 srv097 jsvc.exec[14482]: Jul 15, 2010 6:03:03 AM
org.apache.coyote.http11.Http11BaseProtocol start#012INFO: Starting Coyote
HTTP/1.1 on http-8080
Jul 15 06:03:03 srv097 jsvc.exec[14482]: Jul 15, 2010 6:03:03 AM
org.apache.coyote.http11.Http11BaseProtocol start#012INFO: Starting Coyote
HTTP/1.1 on http-8443
Jul 15 06:03:04 srv097 jsvc.exec[14482]: Jul 15, 2010 6:03:04 AM
org.apache.jk.common.ChannelSocket init#012INFO: JK: ajp13 listening on
/0.0.0.0:8009
Jul 15 06:03:04 srv097 jsvc.exec[14482]: Jul 15, 2010 6:03:04 AM
org.apache.jk.server.JkMain start#012INFO: Jk running ID=0 time=0/19 
config=null
Jul 15 06:03:04 srv097 jsvc.exec[14482]: Jul 15, 2010 6:03:04 AM
org.apache.catalina.storeconfig.StoreLoader load#012INFO: Find registry
server-registry.xml at classpath resource
Jul 15 06:03:04 srv097 jsvc.exec[14482]: Jul 15, 2010 6:03:04 AM
org.apache.catalina.startup.Catalina start#012INFO: Server startup in 64007
ms

-- 
View this message in context: 
http://old.nabble.com/problems-start-cyclos-in-Tomcat-with-secutrity-manager-tp29166853p29166853.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to