> Hi,
>
> > Are you seeing any errors?
>
> Yes:
>
> Starting Slide
> Service slidestore.j2ee.J2EEDescriptorsStore@60ff2f initialization failed
: Name java:comp is not bound in this Context
>
> at
org.apache.slide.common.Namespace.initializeServices(Namespace.java:446)
> at org.apache.slide.common.Namespace.loadDefinition(Namespace.java:718)
> at
org.apache.slide.common.EmbeddedDomain.addNamespace(EmbeddedDomain.java:202)
> at
wrappers.catalina.SlideServerListener.loadNamespace(SlideServerListener.java
:340)
> at
wrappers.catalina.SlideServerListener.initializeDomain(SlideServerListener.j
ava:286)
> at
wrappers.catalina.SlideServerListener.lifecycleEvent(SlideServerListener.jav
a:152)
> at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.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 java.lang.reflect.Method.invoke(Native Method)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Ok, it gets very tricky here, I'm afraid. Since the domain is initialized
outside a webapp, it doesn't have a naming environment available (so that's
why it fails). At the moment, the store can't be used at all with this
deployment scenario.

There's a global naming context in Tomcat 4.1, so I'll add the possibility
to lookup in the global context when we are inside the Tomcat core.
I can't fix it with Tomcat 4.0, unfortunately.

It would be good to add new ways for the store to get the DataSource
(instantating it itself would be a way).

BTW, thanks for attaching the trace, it (finally) made me realize what the
problem was.

Remy


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

Reply via email to