Permission error

Поиск
Список
Период
Сортировка
Искать

Permission error

От:
Martin Seebach <martin@biplane.dk>
Дата:
Using:
Tomcat 4
Jakarta Struts 1.2.4
Sun J2SDK 1.4.2_7
PostgreSQL 7.2.1
PostgreSQL JDBC pg72jdbc2

I can't connect and get this error in catalina.out:

[ERROR] ActionServlet - Initializing application data source 
org.apache.struts.action.DATA_SOURCE 



    
    
    
    
    
    
    
    



What can I do to make this work? Thanks alot!

-- 
Venlig hilsen
Martin Seebach


Re: Permission error

От:
John R Pierce <pierce@hogranch.com>
Дата:
Martin Seebach wrote:
> Using:
> Tomcat 4
> Jakarta Struts 1.2.4
> Sun J2SDK 1.4.2_7
> PostgreSQL 7.2.1
> PostgreSQL JDBC pg72jdbc2
> 
> I can't connect and get this error in catalina.out:

test to see if you can connect with "psql -h localhost -u kumdb kumdb" from a 
command line.   postgres does NOT default to supporting TCP connections, you 
need to modify $PGDATA/postgresql.conf and $PGDATA/pg_hba.conf to allow this.

btw, and not actually an issue here, but, thats a really old pgsql, and you 
really should upgrade to 7.4.7 or 8.0.1.


FAQ