xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Dalton <aa...@daltons.ca>
Subject Re: Failed to load configuration
Date Tue, 06 May 2008 18:04:10 GMT
Thank you very much for your reply, Vadim.  I went through the logs and 
there is a section that does not appear on the 500 error page (appended 
below).  It appears to be a permissions issue?  Is there a way to do an 
auto-check on permission settings?  Or someplace that can tell me what 
they should be?  Excuse my ignorance, but I am new to Tomcat as well as 
Xindice.  Again, thanks for your time and assistance.

Caused by: java.security.AccessControlException: access denied 
(java.util.PropertyPermission xindice.configuration 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.xindice.server.XindiceServlet.loadConfiguration(XindiceServlet.java:232)
         ... 25 more
Caused by: java.security.AccessControlException: access denied 
(java.util.PropertyPermission xindice.configuration 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.xindice.server.XindiceServlet.loadConfiguration(XindiceServlet.java:232)
         at 
org.apache.xindice.server.XindiceServlet.init(XindiceServlet.java:105)
         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:243)
         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:275)
         at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
         at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
         at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099)
         at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)

===================
CURRENT PERMISSIONS
===================

galan:/var/lib/tomcat5.5# ls -alR .
.:
total 24
drwxr-xr-x  6 root     root 4096 May  6 05:12 .
drwxr-xr-x 18 root     root 4096 May  6 14:16 ..
drwxr-x---  3 tomcat55 adm  4096 May  6 17:54 conf
lrwxrwxrwx  1 root     root   19 May  6 05:12 logs -> ../../log/tomcat5.5
drwxr-xr-x  4 root     root 4096 May  6 05:12 shared
drwxr-xr-x  2 tomcat55 root 4096 May  6 17:54 temp
drwxr-xr-x  3 tomcat55 root 4096 May  6 14:36 webapps
lrwxrwxrwx  1 root     root   21 May  6 05:12 work -> ../../cache/tomcat5.5

./conf:
total 44
drwxr-x--- 3 tomcat55 adm     4096 May  6 17:54 .
drwxr-xr-x 6 root     root    4096 May  6 05:12 ..
drwxr-xr-x 3 root     root    4096 May  6 05:12 Catalina
-rw-r--r-- 1 root     root    9194 May  6 17:54 catalina.policy
-rw-r--r-- 1 root     root    3114 Jan 20 11:33 catalina.properties
-rw-r--r-- 1 root     root     330 Jan 20 11:33 context.xml
-rw-r--r-- 1 root     root    2824 Jan 20 11:33 logging.properties
-rw-r--r-- 1 root     root     851 Jan 20 11:33 server-minimal.xml
lrwxrwxrwx 1 root     root      25 May  6 05:12 server.xml -> 
/etc/tomcat5.5/server.xml
-rw-r--r-- 1 tomcat55 nogroup  310 May  6 17:54 tomcat-users.xml
lrwxrwxrwx 1 root     root      22 May  6 05:12 web.xml -> 
/etc/tomcat5.5/web.xml

./conf/Catalina:
total 12
drwxr-xr-x 3 root     root 4096 May  6 05:12 .
drwxr-x--- 3 tomcat55 adm  4096 May  6 17:54 ..
drwxr-xr-x 2 root     root 4096 May  6 05:12 localhost

./conf/Catalina/localhost:
total 20
drwxr-xr-x 2 root root 4096 May  6 05:12 .
drwxr-xr-x 3 root root 4096 May  6 05:12 ..
-rw-r--r-- 1 root root  795 Jan 20 11:31 admin.xml
-rw-r--r-- 1 root root  266 Jan 20 11:31 host-manager.xml
-rw-r--r-- 1 root root  370 Jan 20 11:31 manager.xml

./shared:
total 16
drwxr-xr-x 4 root root 4096 May  6 05:12 .
drwxr-xr-x 6 root root 4096 May  6 05:12 ..
drwxr-xr-x 2 root root 4096 Jan 20 11:33 classes
drwxr-xr-x 2 root root 4096 Jan 20 11:33 lib

./shared/classes:
total 8
drwxr-xr-x 2 root root 4096 Jan 20 11:33 .
drwxr-xr-x 4 root root 4096 May  6 05:12 ..

./shared/lib:
total 8
drwxr-xr-x 2 root root 4096 Jan 20 11:33 .
drwxr-xr-x 4 root root 4096 May  6 05:12 ..

./temp:
total 12
drwxr-xr-x 2 tomcat55 root    4096 May  6 17:54 .
drwxr-xr-x 6 root     root    4096 May  6 05:12 ..
-rw-r--r-- 1 tomcat55 nogroup    5 May  6 17:54 tomcat5.5.pid

./webapps:
total 4220
drwxr-xr-x 3 tomcat55 root       4096 May  6 14:36 .
drwxr-xr-x 6 root     root       4096 May  6 05:12 ..
drwxr-xr-x 4 tomcat55 nogroup    4096 May  6 14:36 xindice
-rw-r--r-- 1 root     root    4295092 May  6 14:36 xindice.war

./webapps/xindice:
total 16
drwxr-xr-x 4 tomcat55 nogroup 4096 May  6 14:36 .
drwxr-xr-x 3 tomcat55 root    4096 May  6 14:36 ..
drwxr-xr-x 2 tomcat55 nogroup 4096 May  6 14:36 META-INF
drwxr-xr-x 4 tomcat55 nogroup 4096 May  6 14:36 WEB-INF

./webapps/xindice/META-INF:
total 28
drwxr-xr-x 2 tomcat55 nogroup  4096 May  6 14:36 .
drwxr-xr-x 4 tomcat55 nogroup  4096 May  6 14:36 ..
-rw-r--r-- 1 tomcat55 nogroup 11357 May  2  2007 LICENSE
-rw-r--r-- 1 tomcat55 nogroup   144 May  6 14:32 MANIFEST.MF
-rw-r--r-- 1 tomcat55 nogroup   397 May  2  2007 NOTICE

./webapps/xindice/WEB-INF:
total 20
drwxr-xr-x 4 tomcat55 nogroup 4096 May  6 14:36 .
drwxr-xr-x 4 tomcat55 nogroup 4096 May  6 14:36 ..
drwxr-xr-x 2 tomcat55 nogroup 4096 May  6 14:36 config
drwxr-xr-x 2 tomcat55 nogroup 4096 May  6 14:36 lib
-rw-r--r-- 1 tomcat55 nogroup 3073 May  2  2007 web.xml

./webapps/xindice/WEB-INF/config:
total 20
drwxr-xr-x 2 tomcat55 nogroup 4096 May  6 14:36 .
drwxr-xr-x 4 tomcat55 nogroup 4096 May  6 14:36 ..
-rw-r--r-- 1 tomcat55 nogroup 5803 May  2  2007 commands.xml
-rw-r--r-- 1 tomcat55 nogroup 3625 May  2  2007 system.xml

./webapps/xindice/WEB-INF/lib:
total 4640
drwxr-xr-x 2 tomcat55 nogroup    4096 May  6 14:36 .
drwxr-xr-x 4 tomcat55 nogroup    4096 May  6 14:36 ..
-rw-r--r-- 1 tomcat55 nogroup   31605 May  2  2007 commons-logging-1.0.3.jar
-rw-r--r-- 1 tomcat55 nogroup 2952605 May  2  2007 xalan-2.5.2.jar
-rw-r--r-- 1 tomcat55 nogroup  949628 May  2  2007 xerces-2.6.0.jar
-rw-r--r-- 1 tomcat55 nogroup  494519 May  6 14:32 xindice-1.1.jar
-rw-r--r-- 1 tomcat55 nogroup    6508 May  6 14:32 xindice-dom-1.1.jar
-rw-r--r-- 1 tomcat55 nogroup  124724 May  2  2007 xml-apis.jar
-rw-r--r-- 1 tomcat55 nogroup    9024 May  2  2007 xmldb-api-20030701.jar
-rw-r--r-- 1 tomcat55 nogroup   29039 May  2  2007 
xmldb-api-sdk-20030701.jar
-rw-r--r-- 1 tomcat55 nogroup   11302 May  2  2007 xmldb-common-20030701.jar
-rw-r--r-- 1 tomcat55 nogroup   33999 May  2  2007 
xmldb-xupdate-20040205.jar
-rw-r--r-- 1 tomcat55 nogroup   57460 May  2  2007 xmlrpc-1.1.jar

-- 
Aaron Dalton       |   Super Duper Games
aaron@daltons.ca   |   http://superdupergames.org

Mime
View raw message