From: Sriram K. <sr...@sd...> - 2009-06-28 18:26:35
|
Malcolm, Couple of comments inline - >> > It wasn't clear to me whether this needs to be set when doing the 'ant > install' stage, or when starting Tomcat so I did both. I started > with my > working configuration with Fork, changed the opal.properties and the > job's > properties to use DRMAA, undeployed and deployed the application and > verified > that in each case I could see the libdrmaa via: > The Tomcat server is the one that needs the libdrmaa to be in its LD_LIBRARY_PATH because it needs to launch the jobs via DRMAA. The client doesn't need this property to be set. Make sure that that this environment variable is set correctly before starting Tomcat (and also that this environment variable is available to Tomcat as well). I am assuming that you are starting up Tomcat from a bash shell - so an export LD_LIBRARY_PATH before running the Tomcat start script on the same shell should do the trick. > I'm just taking a WAG here, but the client complains: > > faultCode: {http://schemas.xmlsoap.org/soap/ > envelope/}Server.userException > > and the server complains: > > edu.sdsc.nbcr.opal.util.Util.getRemoteDN(Util.java:62) - Client's > DN: Unknown > client > 2009-06-26 13:18:12,508 INFO > edu.sdsc.nbcr.opal.util.Util.getRemoteIP(Util.java:43) - Client's IP: > 127.0.0.1 > > This makes me wonder if there is some authentication problem. > > Is there a problem if I'm running the client as root? If I'm > running it from > the same system that the server is running from? I assure you that this is not a problem. If you were running the service via SSL and had set up an authorization handler, the client's DN would be used to restrict access to the service. However, since you are running this service over regular HTTP, this information is simply logged, and no action taken. So there is no authentication issue for sure. We are running some tests here to test out Opal with DRMAA+PBS - will let you know how that goes. Thanks for testing this feature out for us. Cheers, Sriram |