You are probably configuring lucene to store it's index in a non
existent direcory.

john bryant a écrit :

>Hi David,
>
>Thanks. That password property error i have already corrected. By the way,
>there is sample mutli store configuration file given in wikipedia which is
>indicating to configure in wrong way. Now i am getting following error. I am
>getting slide.common.Domain ERROR. please help . here is log file
>
>
>
>19 Oct 2005 18:42:24 - org.apache.slide.common.Domain - ERROR -
>java.lang.NullPointerException
>java.lang.NullPointerException
>at java.io.File.<init>(File.java:194)
>at org.apache.lucene.store .FSDirectory.getDirectory(FSDirectory.java:83)
>at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:173)
>at org.apache.slide.index.SampleTxtContainsIndexer.initialize(
>SampleTxtContainsIndexer.java:73)
>at org.apache.slide.store.AbstractStore.initialize(AbstractStore.java:265)
>at org.apache.slide.common.Namespace.initializeServices(Namespace.java:488)
>at org.apache.slide.common.Namespace.loadDefinition(Namespace.java:755)
>at org.apache.slide.common.Domain.initNamespace(Domain.java:840)
>at org.apache.slide.common.Domain.init(Domain.java:432)
>at org.apache.slide.common.Domain.init(Domain.java:366)
>at org.apache.slide.common.Domain.init(Domain.java:329)
>at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253)
>at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195)
>at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java
>:1029)
>at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
>at org.apache.catalina.core.StandardContext.loadOnStartup(
>StandardContext.java:4013)
>at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
>at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
>at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
>at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
>at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
>at org.apache.catalina.core.StandardService.start(StandardService.java:480)
>at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
>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.startup.Bootstrap.start(Bootstrap.java:287)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
>19 Oct 2005 18:42:24 - org.apache.slide.common.Domain - ERROR - Domain
>initialization error
>Oct 19, 2005 6:42:24 PM org.apache.catalina.core.StandardHost getDeployer
>INFO: Create Host deployer for direct deployment ( non-jmx )
>Oct 19, 2005 6:42:24 PM org.apache.catalina.core.StandardHostDeployerinstall
>INFO: Processing Context configuration file URL file:/root/jakarta-
>slide-2.1-tomcat-5.0.28/conf/Catalina/localhost/manager.xml
>Oct 19, 2005 6:42:24 PM org.apache.catalina.core.StandardHostDeployerinstall
>INFO: Processing Context configuration file URL file:/root/jakarta-
>slide-2.1-tomcat-5.0.28/conf/Catalina/localhost/admin.xml
>Oct 19, 2005 6:42:25 PM org.apache.struts.util.PropertyMessageResources<init>
>INFO: Initializing, config='org.apache.struts.util.LocalStrings',
>returnNull=true
>Oct 19, 2005 6:42:25 PM org.apache.struts.util.PropertyMessageResources<init>
>INFO: Initializing, config='org.apache.struts.action.ActionResources',
>returnNull=true
>
>john
>
>On 10/20/05, David Delbecq <[EMAIL PROTECTED]> wrote:
>  
>
>>Hi john, sas stated in login error message, you didn't define passwords
>>the correct way.
>>Check out http://jakarta.apache.org/slide/samples/Domain.sample to see
>>examples of users with their
>>password set in Domain.
>>
>>Regards,
>>David Delbecq
>>
>>john bryant a écrit :
>>
>>    
>>
>>>Hi ,
>>>
>>>I have configured slide for multiple store and trying to access slide
>>>through browser ( http://10.5.148.251:8080/slide). It ask for
>>>password and login. I have defined users in domain.xml file and using
>>>slide bundle with tomcat 5.0.28. I am also attaching copy of
>>>domain.xml file. When i enter user2 then i get following message in
>>>catalina.out log:
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>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