Changes between Version 20 and Version 21 of GIR3.2_IMF


Ignore:
Timestamp:
10/19/11 13:22:37 (7 years ago)
Author:
lnevers@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIR3.2_IMF

    v20 v21  
    169169Thu Oct 13 15:59:18 2011 Initialization Sequence Completed
    170170}}}
     171Once the VPN is up, connected to the BEN Gateway:
     172{{{
     173$ ssh gw.ben.renci.org
     174}}}
     175Once loggeg in, connect to the geni-imf-dev host:
     176{{{
     177[lnevers@gw ~]$ ssh geni-imf-dev.renci-dcr.ben
     178}}}
     179Install the PubSub component:
     180{{{
     181 $ tar xvzf PubSub_for_PerfSONAR.tar.gz
     182 $ cd PubSub_for_PerfSONAR/IMF/imf_pfsr/src/psm/
     183}}}
     184Set up the environment variable from the README.txt.txt:
     185{{{
     186export JAVA_HOME=/opt/java/jdk1.6.0_18
     187export ANT_HOME=/opt/java/apache-ant-1.8.0
     188export MAVEN_HOME=/opt/java/apache-maven-2.2.1
     189export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$MAVEN_HOME/bin:$PATH
     190export IMF_HOME=/home/lnevers/PubSub_for_PerfSONAR/IMF/
     191}}}
     192Then ran maven install which failed due to a known missing jar problem, which is addressed by running the following first:
     193{{{
     194 $ mvn install:install-file -DgroupId=org.jivesoftware.smackx -DartifactId=smackx-pubsub -Dversion=3.1.0 -Dpackaging=jar -Dfile=lib/smackx.jar
     195 $ mvn install:install-file -DgroupId=javax.mail -DartifactId=mail -Dversion=1.4 -Dpackaging=jar -Dfile=lib/mail-1.4.jar
     196 $ mvn install:install-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1 -Dpackaging=jar -Dfile=lib/jms.jar
     197 $ mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=lib/jmxtools.jar
     198 $ mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri -Dversion=1.2.1 -Dpackaging=jar -Dfile=lib/jmxri.jar
     199}}}
     200Once completed, was able to run the maven install:
     201{{{
     202 $ mvn install assembly:assembly
     203}}}
     204
     205Attempts to run the PubSub Client fails, waiting on response:
     206
     207{{{
     208 $  cd $IMF_HOME/imf_pfsr/src/psm
     209 $  lnevers@geni-imf-dev:~/PubSub_for_PerfSONAR/IMF/imf_pfsr/src/psm$ java -cp $IMF_HOME:target/psm-0.1-jar-with-dependencies.jar
     210     org.renci.geni_imf.psm.Simple
     211    13:20:17,718  INFO IMF:201 - ***** PerfSONAR + PSM Integration *****
     212    13:20:17,719  INFO IMF:203 - Loading measurement properties
     213    13:20:17,721  INFO IMF:215 - Creating XMPP connection
     214    13:20:17,736  INFO IMF:226 - Preparing soap measurement request message #1
     215    13:20:17,737  INFO IMF:278 - Starting measurement thread for PerfSONAR MP
     216    13:20:22,738  INFO IMF:45 - Retrieving measurement from PerfSONAR MP
     217    Oct 19, 2011 1:20:22 PM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
     218    SEVERE: SAAJ0009: Message send failed
     219     java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
     220     Exception in thread "Timer-0" java.lang.NullPointerException
     221        at org.renci.geni_imf.psm.PerfSONAR_MP.retrieve_measurement(PerfSONAR_MP.java:157)
     222        at org.renci.geni_imf.psm.MeasurementThread.run(MeasurementThread.java:51)
     223        at java.util.TimerThread.mainLoop(Timer.java:512)
     224        at java.util.TimerThread.run(Timer.java:462)
     225}}}
     226
     227}}}
     228
     229
     230
    171231
    172232