I think the problem has to do with a store being used before it is 
initialized.  The same thing occurs when using the MemoryDescriptorsStore (or 
the DefaultStore).  The call to initialize the service is preceded by the 
construction of a NamespaceAccessTokenImpl, which eventually attempts to use 
the uninitialized store.

        at 
org.apache.slide.common.NamespaceAccessTokenImpl.<init>(NamespaceAccessTokenImpl.java:140)
        at org.apache.slide.common.Namespace.initializeServices(Namespace.java:497)

- Steve

On Wednesday 19 November 2003 12:22 pm, Martin Holz wrote:
> Hello,
>
> I tried to run the slidestore.reference.JDBCDescriptorsStore with the
> recent cvs and got problems with cyclic dependencies in initialzation.
>
> The JDBCDescriptorsStore expects that initialize is called before
> connect. Is this a valid assumption for a service? The documentation
> is spare here. However Namespace tries to access the
> store during initialization. For details see stacktrace.
>
>
> WARN [apache.slide.common.Domain]  Service
> [EMAIL PROTECTED] connection failed : No
> suitable driver 5294 [main] WARN org.apache.slide.common.Domain  - Service
> [EMAIL PROTECTED] connection failed : No
> suitable driver 5304 [main] DEBUG org.apache.slide.common.SlideException  -
> org.apache.slide.common.ServiceConnectionFailedException: Service
> [EMAIL PROTECTED] connection failed : No
> suitable driver at
> slidestore.reference.JDBCDescriptorsStore.connect(JDBCDescriptorsStore.java
>:320) at
> org.apache.slide.common.AbstractServiceBase.connect(AbstractServiceBase.jav
>a:162) at
> org.apache.slide.store.AbstractStore.connect(AbstractStore.java:240) at
> org.apache.slide.common.AbstractServiceBase.connectIfNeeded(AbstractService
>Base.java:234) at
> org.apache.slide.common.Namespace.connectService(Namespace.java:533) at
> org.apache.slide.common.Namespace.retrieveStore(Namespace.java:632) at
> org.apache.slide.common.Uri.parseUri(Uri.java:379)
>       at org.apache.slide.common.Uri.<init>(Uri.java:106)
>       at org.apache.slide.common.Namespace.getUri(Namespace.java:680)
>       at org.apache.slide.common.Namespace.getUri(Namespace.java:660)
>       at org.apache.slide.common.Namespace.getUri(Namespace.java:648)
>       at
> org.apache.slide.security.ACLSecurityImpl.loadActionsCache(ACLSecurityImpl.
>java:148) at
> org.apache.slide.security.ACLSecurityImpl.init(ACLSecurityImpl.java:123) at
> org.apache.slide.security.SecurityImpl.<init>(SecurityImpl.java:113) at
> org.apache.slide.security.ACLSecurityImpl.<init>(ACLSecurityImpl.java:109)
> at
> org.apache.slide.common.NamespaceAccessTokenImpl.<init>(NamespaceAccessToke
>nImpl.java:140) at
> org.apache.slide.common.Namespace.initializeServices(Namespace.java:497) at
> org.apache.slide.common.Namespace.loadDefinition(Namespace.java:762) at
> org.apache.slide.common.Domain.initNamespace(Domain.java:852)
>       at org.apache.slide.common.Domain.init(Domain.java:476)
>       at org.apache.slide.common.Domain.init(Domain.java:410)
>       at org.apache.slide.common.Domain.init(Domain.java:373)
>       at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:292)
>       at javax.servlet.GenericServlet.init(GenericServlet.java:256)
>       at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:234)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to