Diego Bragato wrote:

Thanks for the answer,
there is a mismatch: my Embedded Domain (version1.8)
Looked the way you are saying is correct (Definition and then Parameters)

I changed the order into
loadParameters ( where there is the new NameSpaceConfig)
loadDefinition ()

The bootstrap went through fine

Is this correct or there is an on going change to code ?

I don't know How it works for check in ...

Thanks
Diego

Yes, it was my typo, sorry :)


Those code I`v taken from Domain class. In Domain.java (initNamespace() method) the order is:
namespace.loadParameters(namespaceConfigurationDefinition);
...


namespace.loadDefinition(namespaceDefinition);

So, I think it is correct. I don`t know is there any side effects of those change. It whold be nice if one of slide developers explains it.


At 11:45 AM 12/2/2003 +0300, you wrote:


Diego Bragato wrote:

Hi all,
I've been trying to run slide with latest code
At startup it goes with this exception in the catalina.out

Starting Slide
java.lang.NullPointerException
at org.apache.slide.security.SecurityImpl.init(SecurityImpl.java:136)
at org.apache.slide.security.ACLSecurityImpl.init(ACLSecurityImpl.java:110)


at org.apache.slide.security.SecurityImpl.<init>(SecurityImpl.java:129)
at org.apache.slide.security.ACLSecurityImpl.<init>(ACLSecurityImpl.java:100)


at org.apache.slide.common.NamespaceAccessTokenImpl.<init>(NamespaceAccessTokenImpl.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.EmbeddedDomain.addNamespace(EmbeddedDomain.java:228)


at wrappers.catalina.SlideServerListener.loadNamespace(SlideServerListener.java:359)

at wrappers.catalina.SlideServerListener.initializeDomain(SlideServerListener.java:296)

at wrappers.catalina.SlideServerListener.lifecycleEvent(SlideServerListener.java:145)

at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

at org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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:203)
Starting service Slide Tomcat
Apache Tomcat/4.1.24-LE-jdk14
Starting service Slide WebDAV
Apache Tomcat/4.1.24-LE-jdk14
Starting service Slide Admin
Apache Tomcat/4.1.24-LE-jdk14

I understood simply that the namespaceConfig object in the Namespace is null and it doesn't look to be initialized

Anybody can help ?

On the other hand is there a tag in the cvs with a reasonably stable release I can use ?

Diego


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



You have to modify EmbeddedDomain#addNamespace() mrthod:


change method call order from
          namespace.loadParameters(configuration);
          namespace.loadDefinition(definition);
to:
          namespace.loadDefinition(definition);
          namespace.loadParameters(configuration);


-- Utkin Andrew




--------------------------------------------------------------------- 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]



--
Utkin Andrew




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



Reply via email to