Hi all,
        
        Dspace is working successfully from http://localhost:8080 and i have
created the administrator account.

But when i give the ip address(http://ip address:8080), the page won't
display. It says "Error: Request timed out".

Even though i have mentioned the ip address in dspace.cfg file, it
won't display.

How to make my dspace run from ip address so that i can access dspace
from other systems?

Details of the configuration files:

1. dspace (/usr/local/dspace/conf/dspace.cfg)

#DSpace installation directory
dspace.dir = /usr/local/dspace

# DSpace host name - should match base URL.  Do not include port number
dspace.hostname = ipaddress

# DSpace base host URL.  Include port number etc.
dspace.baseUrl = http://ipaddress:8080

# DSpace base URL.  Include port number etc., but NOT trailing slash
# Change to xmlui if you wish to use the xmlui as the default, or remove
# "/jspui" and set webapp of your choice as the "ROOT" webapp in
# the servlet engine.
dspace.url = ${dspace.baseUrl}

# The base URL of the OAI webapp (do not include /request).
dspace.oai.url = ${dspace.baseUrl}

# Name of the site
#dspace.name = DSpace at My University
dspace.name = TKDL-DSpace

##### Database settings #####

# Database name ("oracle", or "postgres")
#db.name = postgres
db.name = postgres
#db.name = oracle

# URL for connecting to database
#db.url = jdbc:postgresql://localhost:5432/dspace
db.url = jdbc:postgresql://localhost:5432/dspace

# JDBC Driver
#db.driver = org.postgresql.Driver
db.driver = org.postgresql.Driver


2. Apache-Tomcat-5.5.28' 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" />

     <Engine name="Catalina" defaultHost="localhost" >


 <Host name="localhost" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

<Context path="" docBase="/usr/local/dspace/webapps/jspui" debug="0"
reloadable="true" cachingAllowed="false"
allowLinking="true"/>

<Context path="/jspui" docBase="/usr/local/dspace/webapps/jspui" debug="0"
reloadable="true" cachingAllowed="false"
allowLinking="true"/>

<Context path="/xmlui" docBase="/usr/local/dspace/webapps/xmlui" debug="0"
reloadable="true" cachingAllowed="false"
allowLinking="true"/>

<Context path="/oai" docBase="/usr/local/dspace/webapps/oai" debug="0"
reloadable="true" cachingAllowed="false"
allowLinking="true"/>
</Host>

3. And in Postgresql
a) postgres.conf

listen_addresses = 'localhost'
#port = 5432
max_connections = 30

b) pg_hba.conf

local   all         all                               trust
host    all         all         127.0.0.1/32          trust
host    all         all         ::1/128               trust
host    dspace     dspace       127.0.0.1 255.255.255.255       MD5


Tell me, what were the modifications to make?

Please reply..

Thanks in advance

With regards
Kumara SS

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to