On Thu, 26 Aug 2004, Jeff Templon wrote:
> Hi,
>
> the canonical thing to do to check even basic sanity is
> to type
>
> edg-rgma -c "show tables"
>
> if you can't even get that to work there is a config problem
> somewhere. the next thing would be to do
>
> edg-rgma -c "latest select * from ServiceStatus"
>
> make sure you check the capitalization, it might be
> serviceStatus and R-GMA doesn't buy it unless you match
> cases exactly. Failed to instantiate consumer messages
> are caused, among other things, by asking for a table
> which doesn't exist.
Unfortunately any syntax error in the SQL can also cause this. We are
looking into this particular case. The underlying problem of the poor
error message will not be fixed quickly but will have to wait for the next
mojor release of R-GMA which does not go through so many layers of calls.
Steve
>
> HTH,
>
> JT
>
> On Thu, 2004-08-26 at 11:12, Itzhak Ben-Akiva wrote:
> > Hi All,
> >
> > I upgraded TAU's site to LCG-2_2_0 and installed. However, when I query RGMA
> > with the command below, I get the following error message:
> > RGMA exception occurred: Failed to instantiate Consumer
> >
> > edg-rgma -c "latest select ServiceStatus.URI, ServiceStatus.up,
> > ServiceStatus.message, ServiceStatus.MeasurementDate,
> > ServiceStatus.MeasurementTime from ServiceStatus, Service where
> > ServiceStatus.URI=Service.URI and Service.site='TAU-LCG2'"
> >
> > I checked the log messages both in /var/tomcat4/logs and in /opt/edg/var/log.
> > In tomcat, there is errors initalizing EXAMPLES context. However, I have only
> > the R-GMA context in tomcat4/webapps.
> >
> > LifecycleException: Container StandardContext[/examples] has not been started
> > at
> > org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
> > at
> > org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
> > at
> > org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420)
> > at org.apache.catalina.core.StandardHost.remove(StandardHost.java:852)
> > at
> > org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:919)
> > at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:899)
> > at
> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:370)
> > at
> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
> > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221)
> > at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233)
> > at
> > org.apache.catalina.core.StandardService.stop(StandardService.java:554)
> > at
> > org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224)
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
> > at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> > at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:324)
> > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> >
> >
> > What's missing? Does anyone has any idea what is this error about?
> >
> > Many thanks,
> > Itzhak
> > +---------------------------------------------------------+
> > | Dr. Itzhak Ben-Akiva| e-mail : [log in to unmask] |
> > | | [log in to unmask] |
> > | School of Physics | Tel : +972 (8) 934-2613 |
> > | Tel Aviv University | Fax : +972 (8) 934-4106 |
> > | 69978 Ramat Aviv | Mobile : +972 (54)554-5650 |
> > | | http://www.benakiva.com |
> > | Israel | Public Key: DB69CFA3 |
> > |---------------------------------------------------------|
> > |Key Servers: wwwkeys.pgp.net // www.keyserver.net |
> > +---------------------------------------------------------+
> >
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
>
|