[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: AW: AW: AW: [geclipse-dev] File Transfer
|
Hi all
There was a mess somewhere with the RCP and therefore I installed eclipse and the latest Nightly Builds again and now the RCP seems to be configured right and the code seems to try to establish a connection to the Storage Element.
The problem is that i need the GILDA Certificate and thats not (yet??) in the repository so I have to load it
locally.
I just tried this
CaCertManager.getManager().addCertificates(certs);
IPath path = new Path("/home/pod/.globus/gilda-vo.pem");
ICaCertificate cert = loader.getCertificate(path);
CaCertManager.getManager().addCertificate(cert);
but that seems not to work ?
So how do I load a certificate from a local file?
The exceptions I get are:
eu.geclipse.core.reporting.ProblemException: Failed to establish a network connection
at eu.geclipse.efs.gridftp.internal.GridFTPConnection.connect(GridFTPConnection.java:197)
at eu.geclipse.efs.gridftp.internal.GridFTPConnection.getClient(GridFTPConnection.java:458)
at eu.geclipse.efs.gridftp.internal.GridFTPConnection.makeDir(GridFTPConnection.java:853)
at eu.geclipse.efs.gridftp.GridFile.mkdir(GridFile.java:221)
at org.eclipse.core.filesystem.provider.FileStore.copyDirectory(FileStore.java:171)
at org.eclipse.core.filesystem.provider.FileStore.copy(FileStore.java:138)
at org.eclipse.core.internal.filesystem.local.LocalFile.copy(LocalFile.java:93)
at jobsubmission.Application.start(Application.java:231)
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)
eu.geclipse.core.reporting.ProblemException[23812698]: Authentication failed. Caused by Failure unspecified at GSS-API level. Caused by COM.claymoresystems.ptls.SSLThrewAlertException: Unknown CA
at COM.claymoresystems.ptls.SSLConn.alert(SSLConn.java:235)
at COM.claymoresystems.ptls.SSLHandshake.recvCertificate(SSLHandshake.java:304)
at COM.claymoresystems.ptls.SSLHandshakeClient.processTokens(SSLHandshakeClient.java:128)
at COM.claymoresystems.ptls.SSLHandshake.processHandshake(SSLHandshake.java:135)
at org.globus.gsi.gssapi.GlobusGSSContextImpl.initSecContext(GlobusGSSContextImpl.java:494)
at org.globus.ftp.extended.GridFTPControlChannel.authenticate(GridFTPControlChannel.java:208)
at org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:104)
at org.globus.ftp.GridFTPClient.authenticate(GridFTPClient.java:89)
at eu.geclipse.efs.gridftp.internal.GridFTPConnection.connect(GridFTPConnection.java:168)
at eu.geclipse.efs.gridftp.internal.GridFTPConnection.getClient(GridFTPConnection.java:458)
at eu.geclipse.efs.gridftp.internal.GridFTPConnection.makeDir(GridFTPConnection.java:853)
at eu.geclipse.efs.gridftp.GridFile.mkdir(GridFile.java:221)
at org.eclipse.core.filesystem.provider.FileStore.copyDirectory(FileStore.java:171)
at org.eclipse.core.filesystem.provider.FileStore.copy(FileStore.java:138)
at org.eclipse.core.internal.filesystem.local.LocalFile.copy(LocalFile.java:93)
at jobsubmission.Application.start(Application.java:231)
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)
-------- Original-Nachricht --------
> Datum: Thu, 29 May 2008 09:28:39 +0200
> Von: "Stuempert, Mathias IWR" <mathias.stuempert@xxxxxxxxxx>
> An: "Developer mailing list" <geclipse-dev@xxxxxxxxxxx>
> Betreff: AW: AW: AW: AW: [geclipse-dev] File Transfer
> Good morning Pod,
>
> > With that code I should fetch all files in foofoo to my local dir?
>
> As Ariel already stated no, have a look at the childNames(),
> childInfos() and childStores() methods of IFileStore.
>
> > Also System.out.println( info.exists()+
> > info.getName()+
> > info.getLength()+
> > info.getLastModified()+
> > info.isDirectory()
> > );
> > and System.out.println("end"); is not printed out.
>
> Mmmh, that is strange. That does obviously mean that an exception is
> thrown before, right? Could you please check this and post that
> exception with the full stacktrace?
>
> Cheers, Mathias
> _______________________________________________
> geclipse-dev mailing list
> geclipse-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/geclipse-dev
--
Super-Aktion nur in der GMX Spieleflat: 10 Tage für 1 Euro.
Über 180 Spiele downloaden: http://flat.games.gmx.de