Hi Majid, 
Thank you very much for your reply, bellow is the error log. Also note that
Dspace was working but whenever I try to enable this option:
tcpip_socket=true, postgresql fails to startup.


2008-04-16 14:57:29,709 WARN  org.dspace.app.webui.servlet.DSpaceServlet @
anonymous:no_context:database_error:org.postgresql.util.PSQLException:
Connection 
refused. Check that the hostname and port are correct and that the
postmaster is accepting TCP/IP connections.
org.postgresql.util.PSQLException: Connection refused. Check that the
hostname and port are correct and that the postmaster is accepting TCP/IP
connections.
        at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFa
ctoryImpl.java:122)
        at
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:
65)
        at
org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.
java:116)
        at
org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.
java:30)
        at
org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:369)
        at org.postgresql.Driver.connect(Driver.java:245)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:185)
        at
org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(Driv
erManagerConnectionFactory.java:48)
        at
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnect
ionFactory.java:290)
        at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPoo
l.java:840)
        at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
        at java.sql.DriverManager.getConnection(DriverManager.java:582)
        at java.sql.DriverManager.getConnection(DriverManager.java:207)
        at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:
514)
        at org.dspace.core.Context.<init>(Context.java:117)
        at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:113)
        at
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java
:132)
        at
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:175)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128
)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102
)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http
11Protocol.java:583)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:519)
        at java.net.Socket.connect(Socket.java:469)
        at java.net.Socket.<init>(Socket.java:366)
        at java.net.Socket.<init>(Socket.java:180)
        at org.postgresql.core.PGStream.<init>(PGStream.java:58)
        at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFa
ctoryImpl.java:77)
        ... 33 more

----------------------------------------------------------------

-----Original Message-----
From: majid kalkatechi [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 19, 2008 9:00 AM
To: Hossein Hamam
Cc: [email protected]
Subject: Re: [Dspace-tech] System Internal Error

hi Hossein,
Internal System error might be caused by a variety of exceptions, you
can reproduce the error and then send the error log to the list. The
log file for dspace 1.5 is located in : <dspace>/log/dspace.log
If you set the Log4j mode to DEBUG, you'll get more comprehensive logs
to send. To do this, open <dspace>/config/log4j.properties and insert
a line like this at the bottom : log4j.rootLogger=DEBUG , A1.
hi,
Internal System error might be caused by variety of exceptions. try to
reproduce the error and send the log files messages. The log file for
dspace 1.5 is located in [dspace]/log/ directory. If you set the Log4j
mode to DEBUG, dspace will  generate much more usefull messages.

On Fri, Apr 18, 2008 at 5:47 PM, Hossein Hamam <[EMAIL PROTECTED]> wrote:
>
>
> Dear All,
>
> Dspace was successfully installed and was up and running.
>
> However, upon a server restart, and after tomcat and postgresql
successfully
> started, Dspace was givin a page saying the message below. Clicking on any
> link in Dspace was still giving the same page with the same below error.
>
> "Internal System Error
>
> The system has experienced an internal error. Please try to do what you
were
> doing again, and if the problem persists, please contact us so we can fix
> the problem."
>
>
> P.S.: I recognized that this page appears whether postgresql was started
or
> not.
>
> Did anyone face this problem? Is it probably that Dspace is not
> communicating with postgresql?
>
> thank you for your reply,
>
> Hossein
>
>  ----------------------------------------------------------------
>
> -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>
>
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
> _______________________________________________
>  DSpace-tech mailing list
>  [email protected]
>  https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to