Re: problems start cyclos in Tomcat with secutrity manager

2010-07-15 Thread stefan-b
(DelegatingMethodAccessorImpl.java:25)#012#011at
java.lang.reflect.Method.invoke(Method.java:597)#012#011at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)#012#011at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)#012#011at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)#012#011at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)#012#011at
java.lang.reflect.Method.invoke(Method.java:597)#012#011at
org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)#012Caused
by: java.lang.NullPointerException#012#011at
nl.strohalm.cyclos.utils.SettingsHelper.storeLocalSettings(SettingsHelper.java:125)#012#011at
nl.strohalm.cyclos.http.lifecycle.SettingsInitialization.init(SettingsInitialization.java:47)#012#011at
nl.strohalm.cyclos.http.LifecycleListener$2.doInTransactionWithoutResult(LifecycleListener.java:199)#012#011at
org.springframework.transaction.support.TransactionCallbackWithoutResult.doIn   


  
Jul 15 16:45:07 srv097 jsvc.exec[17567]:
Transaction(TransactionCallbackWithoutResult.java:33)#012#011at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127)#012#011at
nl.strohalm.cyclos.http.LifecycleListener.run(LifecycleListener.java:194)#012#011at
nl.strohalm.cyclos.http.LifecycleListener.runAll(LifecycleListener.java:217)#012#011at
nl.strohalm.cyclos.http.LifecycleListener.contextInitialized(LifecycleListener.java:138)#012#011...
31 more 
Jul 15 16:45:07 srv097 jsvc.exec[17567]: Jul 15, 2010 4:45:07 PM
org.apache.catalina.core.StandardContext start#012SEVERE: Error
listenerStart  
Jul 15 16:45:07 srv097 jsvc.exec[17567]: Jul 15, 2010 4:45:07 PM
org.apache.catalina.core.StandardContext start#012SEVERE: Context
[/banks-of-community] startup failed due to previous errors
-

So it seems, there is no way to run Cyclos with security Manager enabled -
else you have a solve for the problem above.
At the other Hand it is of course very careless to run other tomcat apps
while a financial Software is running in it.

My solve at this point is to disable security Manager and forbid running
other apps on the tomcat Server.
I think this is an elegant solution.

In this case - if you have a solution for the problem above I would be very
obliged else thanks at all and with best regards

Stefan B













-- 
View this message in context: 
http://old.nabble.com/problems-start-cyclos-in-Tomcat-with-secutrity-manager-tp29166853p29170658.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



Re: problems start cyclos in Tomcat with secutrity manager (Solved)

2010-07-15 Thread stefan-b
org.apache.catalina.storeconfig.StoreLoader load#012INFO: Find registry
server-registry.xml at classpath resource
Jul 15 20:03:17 srv097 jsvc.exec[3323]: Jul 15, 2010 8:03:17 PM
org.apache.catalina.startup.Catalina start#012INFO: Server startup in 58874
ms
-

Thanks for all and have a nice Day!
:D

Stefan B



-- 
View this message in context: 
http://old.nabble.com/problems-start-cyclos-in-Tomcat-with-secutrity-manager-tp29166853p29171906.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



problems start cyclos in Tomcat with secutrity manager

2010-07-14 Thread stefan-b
 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



Re: problems start cyclos in Tomcat with secutrity manager

2010-07-14 Thread André Warnier

stefan-b wrote:

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

To make a long story short, I do not think that there is any problem in disabling the 
security manager, if you trust the webapps that you install on your server.
It is another matter entirely if you are going to allow other people to load and install 
webapps on it.
Finding out which specific permissions you need to grant to an application which you do 
not entirely know, can be a long and frustrating experience, and may well come to the same 
thing anyway in the end, given a complex application.



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