Sponsored Content
Operating Systems Solaris Java api/sample code for sftp Post 302368266 by rsvedula on Wednesday 4th of November 2009 12:28:27 PM
Old 11-04-2009
SFTP using zehon

I am trying to work on SFTP using zehon , but get this error

Code:
"at org.apache.commons.vfs.impl.DefaultFileSystemManager.setupComponent(DefaultFileSystemManager.java:429)
 at org.apache.commons.vfs.impl.DefaultFileSystemManager.setReplicator(DefaultFileSystemManager.java:388)
 at org.apache.commons.vfs.impl.StandardFileSystemManager.init(StandardFileSystemManager.java:100)
 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.commons.vfs.VFS.createManager(VFS.java:89)
 at org.apache.commons.vfs.VFS.getManager(VFS.java:51)
 at com.zehon.FileTransferClient.getFileObject(FileTransferClient.java:729)
 at com.zehon.FileTransferClient.resourceExist(FileTransferClient.java:573)"

Has anyone implemented using zehon? if yes could you please share ur experience?

Thanks
 

2 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Need the sample code for implementation of SFTP

Hi we need to implement SFTP through unix shell scripts. I have seen many posts, in which there is discussion about non-interactive,automated SFTP. Can anyone please send me the sample code for SFTP shell script. We are using SFTP to transfer the files from the host server to the target... (10 Replies)
Discussion started by: kumarm
10 Replies

2. Programming

Java UI does not come up using txtContent.setLineWrap(true) API

Hello , I have code which runs on solaris using java 1.2.2 .. UI will not come up when i use the command "txtContent.setLineWrap(true);".. UI gets displayed if do not use it... ______________________________________________________ txtContent = new JTextArea(20,30); ... (0 Replies)
Discussion started by: shafi2all
0 Replies
libglpk-java(3) 					       libglpk-java overview						   libglpk-java(3)

NAME
libglpk-java - GNU Linear Programming Kit Java Binding DESCRIPTION
The GNU Linear Programming Kit (GLPK) package supplies a solver for large scale linear programming (LP) and mixed integer programming (MIP). The GLPK project is hosted at http://www.gnu.org/software/glpk. It has two mailing lists: - help-glpk@gnu.org and - bug-glpk@gnu.org. To subscribe to one of these lists, please, send an empty mail with a Subject: header line of just "subscribe" to the list. GLPK provides a library written in C and a standalone solver. The source code provided at ftp://gnu.ftp.org/gnu/glpk/ contains the docu- mentation of the library in file doc/glpk.pdf. The Java platform provides the Java Native Interface (JNI) to integrate non-Java language libraries into Java applications. Project GLPK for Java delivers a Java Binding for GLPK. It is hosted at http://glpk-java.sourceforge.net/. To report problems and suggestions concerning GLPK for Java, please, send an email to the author at xypron.glpk@gmx.de. ARCHITECTURE
A GLPK for Java application will consist of the following - the GLPK library - the GLPK for Java JNI library - the GLPK for Java class library - the application code. GLPK LIBRARY
The GLPK library can be compiled from source code. Follow the instructions in file INSTALL provided in the source distribution. Precompiled packages are available in many Linux distributions. The usual installation path for the library is /usr/local/lib/libglpk.so. The library has to be in the search path for binaries. GLPK FOR JAVA JNI LIBRARY
The GLPK for Java JNI library can be compiled from source code. Follow the instructions in file INSTALL provided in the source distribu- tion. The usual installation path for the library is /usr/local/lib/jni/libglpk-java.so. The library has to be in the search path for binaries. Specify the library path upon invocation of the application, e.g. java -Djava.library.path=/usr/local/libjni GLPK FOR JAVA CLASS LIBRARY
The source code to compile the GLPK for Java class library is provided at http://glpk-java.sourceforge.net. The GLPK for Java class library can be compiled from source code. Follow the instructions in file INSTALL provided in the source distribu- tion. The usual installation path for the library is /usr/local/share/java/glpk-java.jar. The library has to be in the CLASSPATH. Specify the classpath upon invocation of the application, e.g. java -classpath /usr/local/share/java/glpk-java.jar;. SEE ALSO
Further documentation and examples can be found in the documentation path, which defaults to /usr/local/share/doc/libglpk-java. version 1.0.18 September 10th, 2011 libglpk-java(3)
All times are GMT -4. The time now is 06:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy