Hi,

we currently are developing a slide store implementation for 
the IBM/Informix database server and encountered the following 
problem: Slide throws a ObjectValidationFailedException.
We are using Slide 1.0.16 and the bundled JDBCDescriptorsStore.

I'm getting crazy, because I can't find any reason why.
The namespace initialization fails while loading namespace 
metabase base data (please see logs). The database schema 
is correctly built and empty. The first insert (into objects)
seems ok, but after invoking JDBCDescriptorsStore.grantPermission, 
(which itself is done correctly, too) the above mentioned 
exception is thrown. I've added some logging information to
the JDBCDescriptorsStore.grantPermission code. Therefore,
the last line of that method was a getLogger Call and the 
text is written to the logfile, but the logcall in the context 
of the calling function (Namespace.loadBaseData), which would 
be the next statement after finishing the grantPermission call 
isn't reach. Instead a execption is thrown from the 
StandardStore.grantPermission method. But why is 
StandardStore.grantPermission also called? 

Hope I got pointed out where the problems seems to be, 
but I hope it wasn't too confused? :) 

I'm a little bit stumped. Any hints? 
 
-- 
Marcus Flehmig
University of Kaiserslautern
Set domain for Slide host
Set domain for Webdav host
Set domain for Slide admin host
Starting Slide
org.apache.slide.structure.ObjectNotFoundException: No object found at /actions
        at slidestore.reference.JDBCDescriptorsStore.retrieveObject(Unknown Source)
        at org.apache.slide.store.StandardStore.retrieveObject(Unknown Source)
        at org.apache.slide.common.NamespaceConfig.getActionNode(Unknown Source)
        at org.apache.slide.common.NamespaceConfig.initializeNamespaceConfig(Unknown 
Source)
        at org.apache.slide.common.Namespace.loadConfiguration(Unknown Source)
        at org.apache.slide.common.EmbeddedDomain.addNamespace(Unknown Source)
        at 
wrappers.catalina.SlideServerListener.loadNamespace(SlideServerListener.java:340)
        at 
wrappers.catalina.SlideServerListener.initializeDomain(SlideServerListener.java:286)
        at 
wrappers.catalina.SlideServerListener.lifecycleEvent(SlideServerListener.java:152)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Slide started
Starting service Slide Tomcat
Apache Tomcat/4.0.1
Starting service Slide WebDAV
Apache Tomcat/4.0.1
Starting service Slide Admin
Apache Tomcat/4.0.1
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Loading namespace 
definition
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Node store: 
slidestore.reference.JDBCDescriptorsStore
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Security store 
references nodestore
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Lock store store 
references nodestore
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Revision descriptors 
store references nodestore
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Revision descriptor 
store references nodestore
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Content store: 
slidestore.reference.FileContentStore
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Registering Store 
MetaBaseStore of class class org.apache.slide.store.StandardStore with parameters {} 
on scope /
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Initializing Store 
MetaBaseStore(org.apache.slide.store.StandardStore)
28 Feb 2002 11:03:21 - slidestore.reference.JDBCDescriptorsStore - INFO - Loading and 
registering driver: com.informix.jdbc.IfxDriver
28 Feb 2002 11:03:21 - INFO - FileContentStore rootpath: 
/shared/public/users/flehmig/webdav/metabase/server/contentstore
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Loading namespace 
metabase parameters
28 Feb 2002 11:03:21 - org.apache.slide.common.Namespace - INFO - Loading namespace 
metabase base data
28 Feb 2002 11:03:21 - slidestore.reference.JDBCDescriptorsStore - INFO - Connecting 
to 
"jdbc:informix-sqli://elbe.informatik.uni-kl.de:1904/metabase:informixserver=ifmxdbis1"
 as user "webuser"
28 Feb 2002 11:03:23 - org.apache.slide.common.Namespace - ERROR - Unable to read 
Namespace base configuration file : 
28 Feb 2002 11:03:23 - org.apache.slide.common.Namespace - ERROR - 
org.apache.slide.common.ObjectValidationFailedException: Invalid object at / : 
Permission object uri is incorrect
org.apache.slide.common.ObjectValidationFailedException: Invalid object at / : 
Permission object uri is incorrect
        at org.apache.slide.security.NodePermission.validate(Unknown Source)
        at org.apache.slide.store.StandardStore.enumeratePermissions(Unknown Source)
        at org.apache.slide.store.StandardStore.grantPermission(Unknown Source)
        at org.apache.slide.common.Namespace.loadBaseData(Unknown Source)
        at org.apache.slide.common.EmbeddedDomain.addNamespace(Unknown Source)
        at 
wrappers.catalina.SlideServerListener.loadNamespace(SlideServerListener.java:340)
        at 
wrappers.catalina.SlideServerListener.initializeDomain(SlideServerListener.java:286)
        at 
wrappers.catalina.SlideServerListener.lifecycleEvent(SlideServerListener.java:152)
        at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:498)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

28 Feb 2002 11:03:23 - org.apache.slide.transaction.SlideTransactionManager - INFO - 
Rollback Transaction 1 xid main-1014890601854-1- in thread main
28 Feb 2002 11:03:23 - org.apache.slide.common.Namespace - INFO - Loading namespace 
metabase configuration

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to