Dear all,

I finally installed it in both Ubuntu and Debian (Lenny). Instead of
creating symbolic links, adding following lines in <Host> section of
server.xml file has worked for me:

    <!-- DEFINE A CONTEXT PATH FOR DSpace JSP User Interface -->
    <Context path="/jspui" docBase="/home/dspace/webapps/
jspui" debug="0" reloadable="true" cachingAllowed="false"
allowLinking="true"/>
    <!-- DEFINE A CONTEXT PATH FOR DSpace XML User Interface -->
    <Context path="/xmlui" docBase="/home/dspace/webapps/xmlui" debug="0"
reloadable="true" cachingAllowed="false" allowLinking="true"/>

The http://localhost:8080/jspui is now looking good, I should think about it
before since this method worked well in Windows :) Now, I guess those
symbolic links may have to be created in somewhere else instead of
/usr/share/tomcat6/webapps, since index.html file is in ROOT folder. The
manual needs some changes regarding this about where to find the exact
location for symbolic links.

I am having another problem with tomcat6 when I want to make 'jspui' as
default interface. The 'Undeploy' link for current jspui interface is
disabled, has anyone fixed it before?

Thank you all, great help!


On Tue, Aug 17, 2010 at 12:09 AM, MOHIT SHARMA <[email protected]> wrote:

>
> Hi ,
>
>
> Append the following lines to /etc/default/tomcat6 to set the preferences
> necessary for dspace:
>
>
> $ sudo gedit /etc/default/tomcat6
>      -->TOMCAT6_USER=dspace
>       -->TOMCAT6_SECURITY=no
>
> 13.) Modify the Tomcat properties in /etc/tomcat6/server.xml to use UTF-8
> encoding. You can also change the port from the non-standard 8180 to 8080 to
> match the examples in DSpace documentation, and the dspace.cfg file:
>
>
> $ sudo gedit /etc/tomcat6/server.xml
>           <Connector port="8080" maxHttpHeaderSize="8192"
>                      maxThreads="150" minSpareThreads="25"
> maxSpareThreads="75"
>                      enableLookups="false" redirectPort="8443"
> acceptCount="100"
>                      connectionTimeout="20000" disableUploadTimeout="true"
>                      URIEncoding="UTF-8" />
>
>       Also in server.xml modify the webapps directory to point to
> /dspace/webapps:
>
>             <Host name="localhost" appBase="/dspace/webapps"
>              unpackWARs="true" autoDeploy="true"
>              xmlValidation="false" xmlNamespaceAware="false">
>
>
>
> After this restart ur tomcat server by sudo service start tomcat6.
>
>
> I hope after this ur problem will be solved :)
>
>
>
> -- Mohit Sharma
>
>
>
>
> On Mon, Aug 16, 2010 at 23:13, Poulter, Dale 
> <[email protected]>wrote:
>
>>  The server.xml appears to just point to the default webapps directory of
>> tomcat.  Could try copying the contents of dspace/webapps to the
>> tomcat/webapps directory and restarting tomcat?
>>
>>
>>
>> *From:* Altaf Mahmud [mailto:[email protected]]
>> *Sent:* Monday, August 16, 2010 12:21 PM
>> *To:* Poulter, Dale
>> *Cc:* [email protected]
>> *Subject:* Re: [Dspace-tech] Can't install DSpace 1.6.2 on Ubuntu 10.04
>>
>>
>>
>> Hi Poulter,
>>
>> Just rechecked that server.xml file. No, I don't have any entry there.
>>
>> Thanks.
>>
>> On Mon, Aug 16, 2010 at 8:14 PM, Poulter, Dale <
>> [email protected]> wrote:
>>
>> Altaf,
>>
>>
>>
>> Do you have an entry for Dspace in the tomcat server.xml ?
>>
>>
>>
>> *From:* Altaf Mahmud [mailto:[email protected]]
>> *Sent:* Monday, August 16, 2010 9:11 AM
>> *To:* [email protected]
>> *Subject:* [Dspace-tech] Can't install DSpace 1.6.2 on Ubuntu 10.04
>>
>>
>>
>> Hello,
>>
>> Again down here with a problem. I have dspace 1.6.2 and trying to install
>> it on Ubuntu 10.04. I followed this link: "
>> http://ir.sun.ac.za/wiki/index.php/Dspace"; as suggested before while
>> facing repository problem. I honestly tried every step described there. I've
>> also setup mail server successfully as I am receiving mails. My dspace.cfg
>> file is look like as follows:
>>
>> dspace.dir = /home/dspace
>>
>> dspace.baseUrl = http://dserver
>>
>> dspace.url = ${dspace.baseUrl}/jspui  [hostname --fqdn]
>>
>> dspace.hostname = dserver
>>
>> dspace.name = DSpace for My University
>>
>>
>>
>> db.name = postgres
>>
>> db.url = jdbc:postgresql://localhost:5432/dspace
>>
>> db.driver = org.postgresql.Driver
>>
>> db.username = dspace
>>
>> db.password = dspace
>>
>> mail.server = dserver
>>
>> mail.from.address = dspace-nore...@dserver
>>
>>
>>
>> feedback.recipient = dspace-h...@dserver
>>
>> mail.admin = dspace-h...@dserver
>>
>> alert.recipient = [email protected]
>>
>> registration.notify = [email protected]
>>
>>
>>
>> default.language = en_US
>>
>>
>> Finally, my build process is successful. But when I browsed:
>> http://dserver/jspui [I didn't yet try default 'jspui' interface] it
>> shows 404 Not Found error. Did I do something wrong? What else I can do
>> further? However, I am going for re-installation, also tried with the
>> rebuild process. But in the mean time I hope may be there could be a hint. I
>> have been using tomcat6, so I just put tomcat6 instead of tomcat5.5 as
>> mentioned in the link. And my Ubuntu is not server version, I installed
>> apache and other stuffs manually.
>>
>> Thanks for all of your help.
>>
>> --
>> -Altaf
>>
>>
>>
>>
>> --
>> -Altaf
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>>
>>
>


-- 
-Altaf
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to