From: | tony <tony(at)animaproductions(dot)com> |
---|---|
To: | Doug McNaught <doug(at)wireboard(dot)com> |
Cc: | postgres list <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: permissions |
Date: | 2002-02-23 17:13:26 |
Message-ID: | 1014484406.5320.52.camel@vaio |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sat, 2002-02-23 at 15:06, Doug McNaught wrote:
> So you're saying that part of your web app works fine and talks to the
> database, and part of it doesn't? What are the differences between
> the parts?
The administration pages are protected by a login page. Each page has a
Macromedia "restrict user" script which checks to se if the user is
logged in.
> The error you're getting indicates that the DB connection URL used by
> that part of the web app is wrong. I doubt it's a file permissions
> error at all.
The connection details are in Connection/name.jsp and this is included
in the page on the fly. e.g.
<%@ include file="Connections/frac.jsp" %>
<%
Driver Driverdocumentation =
(Driver)Class.forName(MM_frac_DRIVER).newInstance();
Connection Conndocumentation =
DriverManager.getConnection(MM_frac_STRING,MM_frac_USERNAME,MM_frac_PASSWORD);
I can see your point about the connection URL but it is only in one
place for the whole app. Not being able to connect at all seems logical
in this case...
It seems that the login part is not working i.e. the request to the
password table is failing. tony, postgres and tomcat4 are all database
users, tony owns the database.
Really stumped on this one
Cheers
Tony
--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html
From | Date | Subject | |
---|---|---|---|
Next Message | Doug McNaught | 2002-02-23 17:21:10 | Re: permissions |
Previous Message | Johan Mjönes | 2002-02-23 16:56:10 | Problems with DBI, DBD::Pg and Postgres 7.2. |