[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: AW: AW: [geclipse-dev] Problem submitting a job to geclipsetutor(triedwith RCP of Mathias)
|
hi all
I am not behind a proxy and this is what I get when I use telnet:
telnet iwrbdii.fzk.de 2170
Trying 141.52.170.118...
Connected to iwrbdii.fzk.de.
Escape character is '^]'.
seems Ok?
My certificate is also valid "Your certificate will be valid until Apr
17, 2009 and you will be notified in due time for renewal."
I can create now a token - I tried something like:
try {
System.out.println( "Creating VO..." );
IVirtualOrganization vo = createVO();
System.out.println( "Fetching job submission services..." );
/* IGridJobService[] jss = vo.getJobSubmissionServices( null );
if ( ( jss == null ) || ( jss.length == 0 ) ) {
System.err.println( "No job submission services found for VO:
" + vo.getName() );
return IApplication.EXIT_OK;
}*/
IGridJobService s = new GlobusJobService(new
URI("https://glite-rb3.ct.infn.it:7443/glite_wms_wmproxy_server"));
IGridJobService []jss = new IGridJobService[1];
jss[0] = s;
System.out.println( "Creating project..." );
IProject project = createProject( vo );
IGridComputing[]comp = vo.getComputing(null);
for ( IGridComputing c : comp ) {
System.out.println(c.getPath());
}
System.out.println( "Creating job description" );
IGridJobDescription description = createJobDescription( project );
System.out.println( "Importing CAs..." );
importCAs();
System.out.println( "Creating authentication token..." );
createAuthToken( vo );
System.out.println( "Submitting job to " + jss[ 0 ].getName() );
IGridJobID jobID = jss[ 0 ].submitJob( description, null );
System.out.println( "Job submission finished. Job ID is: " +
jobID.getJobID() );
} catch ( Exception exc ) {
exc.printStackTrace();
}
return IApplication.EXIT_OK;
}
I get
Creating VO...
Fetching job submission services...
Creating project...
.vos/geclipsetutor/CE @ iwrce.fzk.de:2119/jobmanager-lcgpbs-dgiseq
.vos/geclipsetutor/CE @ iwrce.fzk.de:2119/jobmanager-lcgpbs-dgipar
.vos/geclipsetutor/CE @ dgrid-ce.fzk.de:2119/jobmanager-lcgpbs-dgiseq
.vos/geclipsetutor/CE @ dgrid-ce.fzk.de:2119/jobmanager-lcgpbs-dgipar
.vos/geclipsetutor/CE @ grid011f.cnaf.infn.it:2119/jobmanager-lcgpbs-gilda
.vos/geclipsetutor/CE @ grid010.ct.infn.it:2119/jobmanager-lcgpbs-long
.vos/geclipsetutor/CE @ grid010.ct.infn.it:2119/jobmanager-lcgpbs-infinite
.vos/geclipsetutor/CE @ grid010.ct.infn.it:2119/jobmanager-lcgpbs-infinite
.vos/geclipsetutor/CE @ grid010.ct.infn.it:2119/jobmanager-lcgpbs-long
.vos/geclipsetutor/CE @ grid010.ct.infn.it:2119/jobmanager-lcgpbs-short
.vos/geclipsetutor/CE @ grid010.ct.infn.it:2119/jobmanager-lcgpbs-short
.vos/geclipsetutor/CE @ iceage-ce-01.ct.infn.it:2119/jobmanager-lcgpbs-short
.vos/geclipsetutor/CE @ iceage-ce-01.ct.infn.it:2119/jobmanager-lcgpbs-long
.vos/geclipsetutor/CE @
iceage-ce-01.ct.infn.it:2119/jobmanager-lcgpbs-infinite
.vos/geclipsetutor/CE @ grid004.iucc.ac.il:2119/jobmanager-lcgpbs-short
.vos/geclipsetutor/CE @ grid004.iucc.ac.il:2119/jobmanager-lcgpbs-long
.vos/geclipsetutor/CE @ grid004.iucc.ac.il:2119/jobmanager-lcgpbs-infinite
Creating job description
Importing CAs...
Creating authentication token...
Submitting job to Globus Gatekeeper @
https://glite-rb3.ct.infn.it:7443/glite_wms_wmproxy_server
java.lang.ClassCastException: eu.geclipse.jsdl.JSDLJobDescription
at
eu.geclipse.globus.resources.GlobusJobService.submitJob(GlobusJobService.java:49)
at eu.geclipse.jobsubmission.Application.start(Application.java:131)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
I dont know what could be wrong?
best regards bewind
Ariel Garcia schrieb:
Hello Bernhard,
The only thing I can think of is that the RCP can not connect to the
net. Did you correctly specify the proxy in the sample code? Ariel, any
other ideas what could be wrong here?
Well, usually proxies do not allow you to tunnel ldap requests anyways (and
i just checked it is not used for the info-service query)... so my guess
would be that his network connection doesn't allow him to connect to the
info-service, because his parameters seem to be fine.
It works fine for me:
Fetching job submission services...
Creating project...
Creating job description
Importing CAs...
Creating authentication token...
Submitting job to WMS @
https://dgrid-rb.fzk.de:7443/glite_wms_wmproxy_server
Job submission finished. Job ID is:
https://dgrid-rb.fzk.de:9000/3RlNhrchdeQdDJ9L1y2aqQ
For B it fails to get any JSS... which means that he cannot get any content
from ldap://iwrbdii.fzk.de:2170 ...
Bernhard, can you please check if you can connect to that host/port with
telnet iwrbdii.fzk.de 2170
? (or something equivalent if you use windows, or even an ldap browser)
Sometimes in some networks outgoing connections to "non-web" ports are
blocked etc. Outgoing connectivity to some ports is a must for glite.
I just tried entering the wrong(=unreachable) port for the info-server, and
after a longish timeout (~ 1 or 2 mins) i also get the 'no JSS found'
message.
Also (for later, after getting through this problem ;-):
if it fails when creating the auth token, i would remind Bernhard to check
the validity of his personal Gilda certificate (if i remember correctly
they give you certificates which are valid for only 2 weeks... you have to
request a new one with the same DN after that period)
Best regards, Ariel
_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev