Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stellation-res] Checkin of database abstraction layer

On Sat, 2002-08-31 at 06:07, Mark C. Chu-Carroll wrote:

In "/var/lib/pgsql/data/postgresql.conf", uncomment the line containing
tcpip_socket and setting the parameter to true. This provides the same
function formerly done using the -i parameter.

Then restart postgres ("service postgresql restart" as root), and it
should work.
Done that, new problem:
====================
Error Initializing database: org.eclipse.stellation.repos.database.
DatabaseConnectionException: Error connecting to database server
Something unusual has occured to cause the driver to fail. 
Please report this exception: Exception: java.sql.SQLException: FATAL 1:  No pg_hba.conf entry for host 127.0.0.1, user stellation, database stellationdb

Stack Trace:

java.sql.SQLException: FATAL 1:  No pg_hba.conf entry for host 127.0.0.1, user stellation, database stellationdb

	at org.postgresql.Connection.openConnection(Connection.java:178)
	at org.postgresql.Driver.connect(Driver.java:149)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:172)
	at org.eclipse.stellation.repos.database.PostgresDatabase.connectToDatabase(PostgresDatabase.java:44)
	at org.eclipse.stellation.repos.database.PostgresDatabase.<init>(PostgresDatabase.java:34)
	at org.eclipse.stellation.repos.database.AbstractDBAccessPoint.<init>(AbstractDBAccessPoint.java:62)
	at org.eclipse.stellation.workspace.Configure.database(Configure.java:140)
	at org.eclipse.stellation.workspace.Configure.command(Configure.java:78)
	at org.eclipse.stellation.workspace.Svc.command(Svc.java:67)
	at org.eclipse.stellation.workspace.Svc.run(Svc.java:549)
	at org.eclipse.stellation.workspace.Svc.main(Svc.java:333)
End of Stack Trace
====================

I will leave Posgres for the moment.

Rodolfo
-- 

 MAXPROGRAMS
 IBM Business Partner
 Microsoft MSDN Business Connection Partner
 rmraya@xxxxxxxxxxxxxxx
 http://www.maxprograms.com

Back to the top