I can confirm that renaming dspace-sword to sword fixes the 404 not 
available error.

Kim Shepherd wrote:
> Hi Deb,
>
> In addition to the other suggestions give here, I would make sure you are 
> using either jspui or xmlui as the ROOT webapp in your Tomcat installation. 
> This causes less problems for SWORD deposits, and is as easy as renaming your 
> jspui (or xmlui) webapp dir/war to ROOT.
>
> If you do not want to/can't use jspui or xmlui as ROOT, you can edit 
> dspace.cfg to configure your own deposit URL, eg:
>
> sword.deposit.url = http://www.yoursitename.com/sword/deposit
>
> This was one trick that got me when I first started using SWORD, though as I 
> recall I didn't have trouble with getting initial service documents..
>
> If the 1.5 documentation is telling you to use 'dspace-sword' as a webapp 
> name, it must be out of date -- by default, the webapp is just called "sword" 
> now.
>
> Cheers,
>
> Kim.
>
>   
>> -----Original Message-----
>> From: Debashree Pati [mailto:dp...@oln.org]
>> Sent: Thursday, 5 February 2009 8:00 a.m.
>> To: 'Mr Havercamp'
>> Cc: DSpace-tech@lists.sourceforge.net
>> Subject: Re: [Dspace-tech] question about deploying dspace-sword
>>
>> Thank you very much for keeping up with my postings. I decided to do a
>> fresh
>> install of dspace in my linux machine and go from there. Hopefully,
>> things
>> will work well there. If not, I'll be back to posting again.
>>
>> - deb
>>
>> -----Original Message-----
>> From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
>> Sent: Wednesday, February 04, 2009 1:30 PM
>> To: Debashree Pati
>> Cc: DSpace-tech@lists.sourceforge.net
>> Subject: Re: [Dspace-tech] question about deploying dspace-sword
>>
>> Debashree Pati wrote:
>>     
>>> Yes, in my [Dspace]/webapps/sword/ there are WEB-INF/ and META-INF/
>>>       
>> with
>>     
>>> contents.
>>> Also, the lni/ and oai/ have folders and files.
>>>
>>> But, [Tomcat]/work/Catalina/localhost/oai is empty. There isn't any
>>>       
>> lni
>>     
>>> subdirectory here. I don't remember of any error while installing
>>>       
>> Tomcat.
>>     
>> Yes, checking my Catalina/localhost/ directory I see similar
>> directories
>> to you.
>>     
>>> Shouldn't these web apps. supposed to be under [Tomcat]/webapps? -
>>>       
>> Here I
>>     
>>> only have the folders - docs, examples, host-manager, manager, ROOT,
>>> sword-client, and sword-client.war(put by me). Why doesn't it have
>>>       
>> the
>>     
>>> jspui, xmlui, etc.? I am reading up some Tomcat tutorial to figure
>>>       
>> out
>>     
>>> what's going on. Will appreciate any help.
>>>
>>>       
>> You can either deploy the generated war files from
>> /your/build/path/build/dspace-1.5.1-release/dspace/modules/oai/target/
>> to the tomcat webapps directory, or you can reference the dspace app
>> directly from /usr/local/dspace/webapps/ (these are the unpacked war
>> files, all dropping them into tomcat/webapps will do is unpack them
>> from
>> there instead).
>>
>> Without the error logs above SEVERE: Error listenerStart it's hard to
>> diagnose.
>>
>> One thing I had to do was set TOMCAT5_SECURITY=no. Not sure where this
>> setting is on a Windows platform.
>>
>> Could you also provide your Tomcat context config?
>>     
>>> Thanks,
>>> Deb
>>>
>>>
>>> -----Original Message-----
>>> From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
>>> Sent: Wednesday, February 04, 2009 11:09 AM
>>> To: Debashree Pati
>>> Cc: DSpace-tech@lists.sourceforge.net
>>> Subject: Re: [Dspace-tech] question about deploying dspace-sword
>>>
>>> No, there should be more files than that. If you look in the sword
>>> directory you should see the sub directories META-INF/ and WEB-INF/.
>>>
>>> What about in oai/ and lni/?
>>>
>>> Were there any errors during installation?
>>>
>>> Cheers
>>>
>>>
>>> Hayden
>>>
>>> Debashree Pati wrote:
>>>
>>>       
>>>> Thanks Hayden for the reply.
>>>>
>>>> I had added the context path for Dspace SWORD user like you've
>>>>         
>> mentioned.
>>
>>     
>>>> And, yes I am able to browse to both jspui and xmlui.
>>>>
>>>> Another thing I noticed is that under
>>>>
>>>> C:\Program Files\apache-tomcat-6.0.18\work\Catalina\localhost\sword
>>>> There is only a single file called SESSIONS.ser. I believe this must
>>>>         
>> be
>>     
>>> what
>>>
>>>       
>>>> Tomcat is attempting to deploy. All the other subdirectories like
>>>> [Tomcat]\work\Catalina\localhost\jspui or xmlui have whole bunch of
>>>>
>>>>         
>>> various
>>>
>>>       
>>>> files. How does your directory content under sword look like?
>>>>
>>>> Tomcat logs two SEVERE errors in catalina.log file: (but I am not
>>>>         
>> able to
>>     
>>>> figure out how to resolve them)
>>>>
>>>>
>>>>         
>> -----------------------------------------------------------------------
>> -----
>>     
>>>> ----
>>>>
>>>> INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
>>>> Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext
>>>>         
>> start
>>     
>>>> SEVERE: Error listenerStart
>>>> Feb 4, 2009 10:37:46 AM org.apache.catalina.core.StandardContext
>>>>         
>> start
>>     
>>>> SEVERE: Context [/dspace-sword] startup failed due to previous
>>>>         
>> errors
>>     
>>>> Feb 4, 2009 10:37:48 AM org.apache.catalina.startup.HostConfig
>>>>         
>> deployWAR
>>     
>>>> INFO: Deploying web application archive sword-client.war
>>>> Feb 4, 2009 10:37:49 AM org.apache.coyote.http11.Http11Protocol
>>>>         
>> start
>>     
>>>> INFO: Starting Coyote HTTP/1.1 on http-8080
>>>> Feb 4, 2009 10:37:49 AM org.apache.jk.common.ChannelSocket init
>>>> INFO: JK: ajp13 listening on /0.0.0.0:8009
>>>> Feb 4, 2009 10:37:49 AM org.apache.jk.server.JkMain start
>>>> INFO: Jk running ID=0 time=0/31  config=null
>>>> Feb 4, 2009 10:37:49 AM org.apache.catalina.startup.Catalina start
>>>> INFO: Server startup in 3594 ms
>>>>
>>>>
>>>>         
>> -----------------------------------------------------------------------
>> -----
>>     
>>>> ---
>>>>
>>>> Thanks for any help.
>>>> -Deb
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Mr Havercamp [mailto:mrhaverc...@gmail.com]
>>>> Sent: Wednesday, February 04, 2009 10:05 AM
>>>> To: Debashree Pati
>>>> Cc: DSpace-tech@lists.sourceforge.net
>>>> Subject: Re: [Dspace-tech] question about deploying dspace-sword
>>>>
>>>> I was able to get sword working by adding the context;
>>>>
>>>> <Context path="/dspace-sword"
>>>>         
>> docBase="/path/to/dspace/webapps/sword"
>>     
>>>> debug="0" reloadable="true" cachingAllowed="false"
>>>>         
>> allowLinking="true"/>
>>     
>>>> If you are able to browe jspui and/or xmlui I'm assuming you may
>>>>         
>> have
>>     
>>>> done this; if so, is Tomcat logging any additional errors?
>>>>
>>>> Cheers
>>>>
>>>>
>>>> Hayden
>>>>
>>>> Debashree Pati wrote:
>>>>
>>>>
>>>>         
>>>>> Hi,
>>>>>
>>>>> The DSpace 1.5 documentation (3.4 Windows Installation -
>>>>>           
>> Installation
>>     
>>>>> Steps - step 10) states:
>>>>>
>>>>> 10. Browse to either |http://localhost:8080/jspui| or
>>>>> |http://localhost:8080/xmlui|. You should see the DSpace home page
>>>>>           
>> for
>>     
>>>>> either the JSPUI or XMLUI, respectively.
>>>>>
>>>>> What about the dspace-sword instance? The documentation does not
>>>>> mention it anywhere.
>>>>>
>>>>> The installation step in README under the download
>>>>> *dspace-sword-6-11-2007/dspace-sword* states:
>>>>>
>>>>> 7/ When deployed you should be able to view your service document
>>>>>           
>> at
>>     
>>>>> the following url:
>>>>>
>>>>> http://[dspace.hostname]/dspace-sword/servicedocument
>>>>>
>>>>> But, it just gives me the 404 message of resource not found.
>>>>>
>>>>> Can someone please help me in getting this to work?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Deb
>>>>>
>>>>> -------------------------------------------------------------------
>>>>>           
>> -----
>>     
>>>>>
>>>>>
>>>>>           
>> -----------------------------------------------------------------------
>> -----
>>     
>>>> --
>>>>
>>>>
>>>>         
>>>>> Create and Deploy Rich Internet Apps outside the browser with
>>>>>
>>>>>
>>>>>           
>>>> Adobe(R)AIR(TM)
>>>>
>>>>
>>>>         
>>>>> software. With Adobe AIR, Ajax developers can use existing skills
>>>>>           
>> and
>>     
>>> code
>>>
>>>       
>>>>>           
>>>> to
>>>>
>>>>
>>>>         
>>>>> build responsive, highly engaging applications that combine the
>>>>>           
>> power of
>>     
>>>>>           
>>>> local
>>>>
>>>>
>>>>         
>>>>> resources and data with the reach of the web. Download the Adobe
>>>>>           
>> AIR SDK
>>     
>>>>>           
>>>> and
>>>>
>>>>
>>>>         
>>>>> Ajax docs to start building applications
>>>>>
>>>>>
>>>>>           
>>>> today-http://p.sf.net/sfu/adobe-com
>>>>
>>>>
>>>>         
>>>>> -------------------------------------------------------------------
>>>>>           
>> -----
>>     
>>>>> _______________________________________________
>>>>> DSpace-tech mailing list
>>>>> DSpace-tech@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>>>>
>>>>>
>>>>>
>>>>>           
>>>>         
>>>       
>> -----------------------------------------------------------------------
>> -------
>> Create and Deploy Rich Internet Apps outside the browser with
>> Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and
>> code to
>> build responsive, highly engaging applications that combine the power
>> of local
>> resources and data with the reach of the web. Download the Adobe AIR
>> SDK and
>> Ajax docs to start building applications today-
>> http://p.sf.net/sfu/adobe-com
>> _______________________________________________
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>     
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to