[AG-TECH] AG 2.2 Shared Apps

Brian Corrie bcorrie at sfu.ca
Thu Jun 17 23:30:40 CDT 2004


Hello all (mostly Argonne folks),

I "think" I have written an AG 2.2 shared application. My question is 
about backwards compatibility with AG 2.1.2 venue servers etc.

I can successfully register my shared app with agpm on my 2.2 client on 
my laptop. When I connect to a 2.1.2 venue server sure enough it shows 
up in the client as a shard app. I can even add it as a shared app to a 
venue. That is where I hit a snag. Should I be able to run a 2.2 shared 
app, using a 2.2 Venue Client, but with a 2.1.2 venue server???

It appears not thus far... The first clue is that the app URL that is in 
the Properties dialog for the shared app has the form 
https://venueserver.netera.ca:8000/112. This is the 2.1.2 form I 
believe. In looking at Susanne's Shared Question Tool her test stub has 
a URL of the form 
https://venueserver.netera.ca:8000/Venues/default/apps/somebighexstring.

When I try to open the shared app in the venue client I get nothing... 
no errors, no results! When I run my shared app from the command line 
(this used to work in 2.1.2) I get a credential error as enclosed below. 
I suspect this is the same problem (although the shared app doesn't tell 
me anything when I run it from within the Venue Client). I am using the 
app URL from the properties dialog in the client.

Any thoughts?

Cheers,

Brian

p.s. Where does the log file go when you run something from within the 
venue client??? I could not find it in the Logs directory...


06/17/04 21:07:45 724 SharedVizServer     venuevizserverclient.py:263 
DEBUG SharedVizServer.__init__:Started shared vizserver  appUrl 
https://venues.cns.ualberta.ca:8000/110, debug 1, log SharedVizServer.log
06/17/04 21:07:45 724 Toolkit     toolkit.py:79 DEBUG Initializing AG 
Toolkit version 2.2
06/17/04 21:07:45 724 SharedVizServer     sharedappclient.py:110 ERROR 
SharedAppClient.Join failed: https://venues.cns.ualberta.ca:8000/110
Traceback (most recent call last):
   File "C:\Python23\Lib\site-packages\AccessGrid\SharedAppClient.py", 
line 105, in Join
     (self.__publicId, self.__privateId) = 
self.__appProxy.Join(clientProfile)
   File "C:\Python23\Lib\site-packages\AccessGrid\SharedApplication.py", 
line 553, in Join
     return self.proxy.Join(clientProfile)
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 453, in 
__call__
     return self.__r_call(*args, **kw)
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 475, in 
__r_call
     self.__hd, self.__ma)
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 347, in 
__call
     config = self.config)
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 187, in call
     r.endheaders()
   File "C:\Python23\lib\httplib.py", line 712, in endheaders
     self._send_output()
   File "C:\Python23\lib\httplib.py", line 597, in _send_output
     self.send(msg)
   File "C:\Python23\lib\httplib.py", line 564, in send
     self.connect()
   File "C:\Python23\Lib\site-packages\pyGlobus\io.py", line 1093, in 
connect
     self.sock.connect(self.host, self.port, self.io_attr)
   File "C:\Python23\Lib\site-packages\pyGlobus\io.py", line 671, in connect
     raise ex
GSITCPSocketException: no credentials:
Problem with local credentialsunable to access trusted certificates in: 
x509_cert_dir=C:\Documents and Settings\All Users\Application 
Data\AccessGrid\certificates
   Function:proxy_init_cred
06/17/04 21:07:45 724 SharedVizServer     sharedappclient.py:118 ERROR 
SharedAppClient.Join failed: https://venues.cns.ualberta.ca:8000/110
Traceback (most recent call last):
   File "C:\Python23\Lib\site-packages\AccessGrid\SharedAppClient.py", 
line 113, in Join
     (self.__publicId, self.__privateId) = oldAppProxy.Join()
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 453, in 
__call__
     return self.__r_call(*args, **kw)
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 475, in 
__r_call
     self.__hd, self.__ma)
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 347, in 
__call
     config = self.config)
   File "C:\Python23\Lib\site-packages\SOAPpy\Client.py", line 187, in call
     r.endheaders()
   File "C:\Python23\lib\httplib.py", line 712, in endheaders
     self._send_output()
   File "C:\Python23\lib\httplib.py", line 597, in _send_output
     self.send(msg)
   File "C:\Python23\lib\httplib.py", line 564, in send
     self.connect()
   File "C:\Python23\Lib\site-packages\pyGlobus\io.py", line 1093, in 
connect
     self.sock.connect(self.host, self.port, self.io_attr)
   File "C:\Python23\Lib\site-packages\pyGlobus\io.py", line 671, in connect
     raise ex
GSITCPSocketException: no credentials:
Problem with local credentialsunable to access trusted certificates in: 
x509_cert_dir=C:\Documents and Settings\All Users\Application 
Data\AccessGrid\certificates
   Function:proxy_init_cred





Brian




More information about the ag-tech mailing list