home list archives users mailing list

Subject: Fwd: error during End-to-End client exexution

Date view Thread view Subject view Author view Attachment view

From: Abhishek Gupta (abhishek.virgo@gmail.com)
Date: May 30, 2007 12:53

---------- Forwarded message ----------
From: Abhishek Gupta <abhishek.virgo@gmail.com>
Date: May 30, 2007 5:22 PM
Subject: Re: error during End-to-End client exexution
To: Amy Krause <amrey@epcc.ed.ac.uk>

Dear Dr Amy,

I tried the following command using pass ogsadai
$ mysql -u ogsadai -p
yeah its giving the following error
ERROR 1045 (28000): Access denied for user 'ogsadai'@'localhost' (using
password: YES)

- abhishek
IIITMK

On 5/30/07, Amy Krause <amrey@epcc.ed.ac.uk> wrote:
>
> Hi,
>
> #1180523143724:25# Error
> accessing JDBC connection at jdbc:mysql://localhost:3306/ogsadai as user
> ogsadai.
> 2007-05-30 16:35:43,733 ERROR
> impl.DataServiceImpl[http-8080-2,errorExceptionAndChildren:363]
> #1180523143724:25# Access denied
> for user 'ogsadai'@'localhost' (using password: YES)
>
> You have now provided a username and password but the error indicates
> that MySQL doesn't allow user 'ogsadai'@'localhost' to access the
> database. Maybe the password is not correct?
> Also ensure that access is indeed granted to user
> 'ogsadai'@'localhost' - sometimes the host is different, e.g. it could be
> 'ogsadai'@'myhost' or 'ogsadai'@' localhost.localdomain'.
> Try logging on to MySQL with a command line client
> e.g. mysql -u ogsadai -p
> from the same machine and with the same username/password - does that give
> you any errors?
>
> Cheers,
> Amy
>
>
> On Wed, 30 May 2007, Abhishek Gupta wrote:
>
> > Hi,
> >
> > I am using globus-4.0.4, apache-tomcat-6.0.10, ogsadai-wsrf-2.2
> >
> > I've define the following parameters in data.service.resource.properties
> >
> > dai.resource.id=MySQLResource
> > dai.data.resource.type=Relational
> > dai.product.name=MySQL
> > dai.product.vendor=MySQL
> > dai.product.version=
> > dai.data.resource.uri=jdbc:mysql://localhost:3306/ogsadai
> > dai.driver.class=org.gjt.mm.mysql.Driver
> > dai.data.service.resource.uri.two=jdbc:mysql://localhost:3306/ogsadai
> > dai.data.service.resource.id.two=MySQLResource
> >
> > I'm getting following error during End-to-End client exexution
> >
> > I run the following command and got the errors:
> >
> > [root@localhost ogsadai-wsrf-2.2]# ant dataServiceClient -
> > Ddai.url=http://localhost:8080/wsrf/services/ogsadai/DataService -
> > Ddai.resource.id=MySQLResource -
> > Ddai.action=examples/Perform/JDBC/query/select1Row.xml
> > Buildfile: build.xml
> >
> > setupClientSecurity:
> >
> > dataServiceClient:
> > [echo] Executing Perform document on resource MySQLResource...
> > [java] Service version: OGSA-DAI WSRF 2.2
> > [java] Number of resources: 1
> > [java] Resource: MySQLResource
> > [java] Data Service Resource: MySQLResource
> > [java] About to invoke Perform...
> > [java] Internal fault. Consult the OGSA-DAI Service Provider with ID
> > 1180523143724:25.
> >
> > BUILD FAILED
> > /usr/local/ogsadai-wsrf-2.2/build.xml:1510: Java returned: 1
> >
> > LOG FOR ERROR ID ID 1180523143724:25.
> >
> > 2007-05-30 16:35:43,725 ERROR
> > impl.DataServiceImpl[http-8080-2,errorExceptionAndChildren:363]
> > #1180523143724:25# A server-side
> > error occurred.
> > 2007-05-30 16:35:43,725 ERROR
> > impl.DataServiceImpl[http-8080-2,errorExceptionAndChildren:363]
> > #1180523143724:25# There was an
> > error during the execution of the request by resource MySQLResource.
> > 2007-05-30 16:35:43,730 ERROR
> > impl.DataServiceImpl[http-8080-2,errorExceptionAndChildren:363]
> > #1180523143724:25# There was an
> > error during the execution of the request.
> > 2007-05-30 16:35:43,731 ERROR
> > impl.DataServiceImpl [http-8080-2,errorExceptionAndChildren:363]
> > #1180523143724:25# There was an
> > error during the execution of activity statement.
> > 2007-05-30 16:35:43,732 ERROR
> > impl.DataServiceImpl[http-8080-2,errorExceptionAndChildren:363]
> > #1180523143724:25# Error using
> > JDBC connection at jdbc:mysql://localhost:3306/ogsadai.
> > 2007-05-30 16:35:43,732 ERROR
> > impl.DataServiceImpl[http-8080-2,errorExceptionAndChildren:363]
> > #1180523143724:25# Error
> > accessing JDBC connection at jdbc:mysql://localhost:3306/ogsadai as user
> > ogsadai.
> > 2007-05-30 16:35:43,733 ERROR
> > impl.DataServiceImpl[http-8080-2,errorExceptionAndChildren:363]
> > #1180523143724:25# Access denied
> > for user 'ogsadai'@'localhost' (using password: YES)
> >
> > Pls suggest me solution for this problem.
> >
> > Thanks in advance
> >
> > - abhishek
> > IIITMK
> >
>
>
>
>
>
> --
> ------------------------------------------------------------
> | Dr Amy Krause Applications Consultant |
> | |epcc|, The University of Edinburgh |
> | King's Buildings, Mayfield Road, Edinburgh EH9 3JZ, UK |
> | Tel: +44 (0)131 650 6718 --- email: a.krause@epcc.ed.ac.uk |
> ------------------------------------------------------------
>


Date view Thread view Subject view Author view Attachment view