Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Prerequisites for SSHTELNET_configurator.jar

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Prerequisites for SSHTELNET_configurator.jar


Chronological Thread 
  • From: Rodrigo Dlugokenski <>
  • To: Błażej Pietrzak <>
  • Cc:
  • Subject: Re: [perfsonar-user] Prerequisites for SSHTELNET_configurator.jar
  • Date: Fri, 4 Jun 2010 15:13:51 -0300
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=llXf31qf458AnNH24qg+S+0bV2I69LetLpEO5Gcy7rgCviCkc4P4cCEz57R/S+LkjR TMU7LB/rxJfKZtUeP38Ryrry9svm8Juf7dbrblUX/0g4AF+WM9O6tTd1RovfFNLfe0UX SY92rvYPsStHy6g7+IO7CYhXkXXsZ2gqsBkoA=

I know about the url changes, I installed all the system by hand, by myself, and VERY carefully. ;D ;D

From various jars that you can download easily on internet, most doesn't matched the md5s.

I will work on this again in the next week, and I'll try again the 1.4, even trying to download from another ISP.

Have a nice weekend ;D



2010/6/4 Błażej Pietrzak <>
Rodrigo Dlugokenski pisze:

Maybe it's this, because I finished all configurations, and when I access
the service (
http://server:8180/perfsonar-java-sshtelnet-mp/services/TelnetSSH) for the
basic test, I got this error msg:
The service cannot be found for the endpoint reference (EPR)
/perfsonar-java-sshtelnet-mp/services/TelnetSSH

Comparing the md5sum from common lib files of the 2 releases, the md5 are
not the same.

I installed the 1.3.4.2 deb and works fine.

After all, thank you for your attention.

For now I'll test the 1.3, but is more painful to configure than 1.4.
Congrats for simplifying in the new release.
 
From 1.4 release the urls have changed from "ps-mdm-sshtelnet-mp" to "perfsonar-java-sshtelnet-mp", so that is the reason why you cannot access the service.
If I may suggest anything it would be better if you use the 1.4 release since it fixes some bugs from 1.3.4.2 release.
The metadata file that you created could be used in 1.4 release as well.


Best regards
Blazej


2010/6/2 Błażej Pietrzak <>

 
Rodrigo Dlugokenski pisze:

 Yep, and the md5sum is exactly the same. BUT, the big but, is the libs md5
   
that are not the same.

I tested the debs, and extracted the tar.gzs from inside the debs and
tested
again. The tools i've used returned nothing wrong.


>From 1.3 (that works)
92da637204abfd9117ffee6e4599f8d2  commons-logging-1.0.4.jar
2bcc94a8ea24e38a4c224602276a60c7  jdom-1.0b8.jar
21dd3d4436ecec44604a0c637098d005  wss4j-1.5.1.jar

>From 1.4 (dont work)

8a507817b28077e0478add944c64586a  commons-logging-1.0.4.jar
4546524c1ced1091fed1abc055f26f41  jdom-1.0b8.jar
8f0f5e7e65a18485edc2cf5958dc7f4c  wss4j-1.5.1.jar

Maybe something wrong with the .deb from 1.4? I redownloaded again, and I
had the same results.


____________________________________________
Rodrigo Dlugokenski
Research Assistant/Network Engineering and Computer Science Undergrad
Student
Informatics Institute of Federal University of Rio Grande do Sul - Brazil
Academic e-mail:
Professional e-mail:



     
Hmm, I think you're probably right. The fastest way to solve this issue
would be to generate the new release candidate package of the service.
I will let you know when the new package will be available in the
repository.
Thank you for spotting this issue.

Best regards
Blazej


   
2010/6/2 Błażej Pietrzak <>



     
Rodrigo Dlugokenski pisze:

 Looks like it is some regression.


       
I can run the SSHTELNET_configurator.jar from* **
perfsonar-java-sshtelnet-mp_1.3.4.2_all.deb* just fine.






         
That's weird, because nothing has changed in the configurator since that
release.

Best regards
Blazej


 On Tue, Jun 1, 2010 at 9:54 AM, Rodrigo Dlugokenski <


       
> wrote:





         
*
Lib contents:
arch-mp1 lib # ls -la
total 1132
drwxr-xr-x 2 tomcat tomcat   4096 Jun  1 12:44 .
drwxr-xr-x 4 tomcat tomcat   4096 Jun  1 12:44 ..
-rwxr-xr-x 1 tomcat tomcat  64815 Jun  1 12:44
commons-logging-1.0.4.jar
-rwxr-xr-x 1 tomcat tomcat 153786 Jun  1 12:44 jdom-1.0b8.jar
-rwxr-xr-x 1 tomcat tomcat 927468 Jun  1 12:44 wss4j-1.5.1.jar

Java version, the only one I installed:*
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode)

*Package used*
perfsonar-java-sshtelnet-mp_1.4_all.deb

*With classpath explicited, I had the same error:*
arch-mp1 Configuration_Tool # java -cp
lib/commons-logging-1.0.4.jar:lib/jdom-1.0b8.jar:lib/wss4j-1.5.1.jar
-jar
SSHTELNET_configurator.jar sshtelnet.xml
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/IllegalAddException
Caused by: java.lang.ClassNotFoundException:
org.jdom.IllegalAddException
     at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: ServicePropertiesConfigurator. Program
will
exit.

I'm thinking if is not another requisite, a indirect one (ex: jdom
needs
another libs?)

Thanks for the quick response!


____________________________________________
Rodrigo Dlugokenski
Research Assistant/Network Engineering and Computer Science Undergrad
Student
Informatics Institute of Federal University of Rio Grande do Sul -
Brazil
Academic e-mail:
Professional e-mail:



2010/6/1 Błażej Pietrzak <>

Rodrigo Dlugokenski pisze:




           
 Hi all!




             
I'm trying to deploy the telnet/ssh mp, and the service is running
fine
in
tomcat.

But my problem is with the SSHTELNET_configurator.jar. When I try to
run
it
quits with message below:

arch-mp1 Configuration_Tool # java -jar SSHTELNET_configurator.jar
sshtelnet.xml
Exception in thread "main" java.lang.NoClassDefFoundError:
org/jdom/IllegalAddException
Caused by: java.lang.ClassNotFoundException:
org.jdom.IllegalAddException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: ServicePropertiesConfigurator. Program
will
exit.

Trying to "fix" I installed JDOM and Jakarta-Commons libs, but no
luck.

Is some another prerequisite that I don't have in my java enviroment?

My system:
ArchLinux
Java JDK +JRE 1.6u20
eXist db 1.2.6
Tomcat 5.5

I have the very same system for other services I already deployed,
like
RRD,
SQL, etc, and they're working as expected.
I tried the path with Ubuntu 8 and CentOS 5, but i've found much more
difficult to deploy than with archlinux, I bet that in Ubuntu/CentOS
the
prerequisites are installed all automatically, even the indirect
ones,
right?

Thanks for your attention,
Rodrigo

____________________________________________
Rodrigo Dlugokenski
Research Assistant/Network Engineering and Computer Science Undergrad
Student
Informatics Institute of Federal University of Rio Grande do Sul -
Brazil
Academic e-mail:
Professional e-mail:






               
Hi Rodrigo,

Thanks for using SSH/Telnet MP service.
It looks like the libraries that are used by the Configuration Tool
are
not found by the JVM. Those libraries are installed together with the
Configuration Tool under the Configuration_Tool/lib directory. At
first
I
thought that it is a problem with the working directory path, but it
looks
like it is something else. No matter what working directory I choose
it
works on both Ubuntu and CentOS.

In order to solve the problem I need help from your side.
Could you answer to the questions provided below, please?

1. What's under the Configuration_Tool/lib directory (ie. run "ls -al
Configuration_Tool/lib" command)?
2. What's the output of the "java -version" command?
3. Could you provide those libraries in the classpath ie. run the
command
below:
"java -cp
lib/commons-logging-1.0.4.jar:lib/jdom-1.0b8.jar:lib/wss4j-1.5.1.jar
-jar
SSHTELNET_configurator.jar sshtelnet.xml".
Does it work for you?
4. Which package version have you used (e.g. 1.4RC2)?
5. Is it DEB or RPM package?

Best regards
Blazej

--
_________________________________________
Blazej Pietrzak
Network Research and Development
Poznan Supercomputing & Networking Center
Poznan, Poland






             
--
_________________________________________
Blazej Pietrzak
Network Research and Development
Poznan Supercomputing & Networking Center
Poznan, Poland




       

     
--
_________________________________________
Blazej Pietrzak
Network Research and Development
Poznan Supercomputing & Networking Center
Poznan, Poland


   

 


--
_________________________________________
Blazej Pietrzak
Network Research and Development
Poznan Supercomputing & Networking Center
Poznan, Poland





Archive powered by MHonArc 2.6.16.

Top of Page