perfsonar-dev - perfsonar: r2913 - in branches/geant2_java-rrd-ma-extra: bin doc
Subject: perfsonar development work
List archive
- From:
- To:
- Subject: perfsonar: r2913 - in branches/geant2_java-rrd-ma-extra: bin doc
- Date: Fri, 5 Oct 2007 07:44:07 -0400
Author: roman
Date: 2007-10-05 07:44:07 -0400 (Fri, 05 Oct 2007)
New Revision: 2913
Modified:
branches/geant2_java-rrd-ma-extra/bin/perfsonar-rrdma.sh
branches/geant2_java-rrd-ma-extra/doc/example-installation-output.txt
Log:
- execute right for server shel scripts
- output of example installation procedure updated
Modified: branches/geant2_java-rrd-ma-extra/bin/perfsonar-rrdma.sh
===================================================================
--- branches/geant2_java-rrd-ma-extra/bin/perfsonar-rrdma.sh 2007-10-05
11:12:23 UTC (rev 2912)
+++ branches/geant2_java-rrd-ma-extra/bin/perfsonar-rrdma.sh 2007-10-05
11:44:07 UTC (rev 2913)
@@ -325,6 +325,8 @@
ps_server_start()
{
+ chmod u+x $SERVER_DIR/bin/*.sh
+
PORTLINE=$(grep "service.port"
$SERVER_DIR/webapps/$SERVICE_NAME-$SERVICE_VERSION/WEB-INF/classes/perfsonar/conf/service.properties)
SERVICE_PORT=$(echo $PORTLINE | awk -F'=' '{print $2}')
Modified:
branches/geant2_java-rrd-ma-extra/doc/example-installation-output.txt
===================================================================
--- branches/geant2_java-rrd-ma-extra/doc/example-installation-output.txt
2007-10-05 11:12:23 UTC (rev 2912)
+++ branches/geant2_java-rrd-ma-extra/doc/example-installation-output.txt
2007-10-05 11:44:07 UTC (rev 2913)
@@ -1,136 +1,139 @@
-
-
-
-romradz@pc:~/tmp/geant2_java-rrd-ma-2.3-20070913-extra/bin$
./perfsonar-rrdma.sh install
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
./perfsonar-rrdma.sh install
Installing the service...
- [input] Enter the port which will be used by your service: [8080]
+Enter the port which will be used by your service: [8080]
+7979
+Enter operating system type: ([linux], linux-64bit, freebsd, solaris, other)
- [input] Enter operating system type: ([linux], linux-64bit, freebsd,
solaris, other)
-
- [input] Enter the directory path where header file of the rrdtool
(rrd.h) can be found: [/usr/local/rrdtool/include]
+Enter the directory path where header file of the rrdtool (rrd.h) can be
found: [/usr/local/rrdtool/include]
/usr/include
- [input] Enter the directory path where library files of the rrdtool
(librrd*) can be found: [/usr/local/rrdtool/lib]
+Enter the directory path where library files of the rrdtool (librrd*) can be
found: [/usr/local/rrdtool/lib]
/usr/lib
- [javac] Note:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/java/src/Rrd.java
uses unchecked or unsafe operations.
- [javac] Note: Recompile with -Xlint:unchecked for details.
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:
In function ‘duplicate’:
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:44:
warning: incompatible implicit declaration of built-in function ‘malloc’
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:44:
warning: incompatible implicit declaration of built-in function ‘strlen’
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:45:
warning: incompatible implicit declaration of built-in function ‘strcpy’
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:
In function ‘getTokens’:
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:50:
warning: incompatible implicit declaration of built-in function ‘malloc’
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:
In function ‘preserveGraphOutput’:
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:77:
warning: incompatible implicit declaration of built-in function ‘malloc’
- [exec]
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/contrib/rrdjtool/native/Rrd.c:80:
warning: incompatible implicit declaration of built-in function ‘strcat’
- [echo]
- [input] Do you want the service to accept messages with measurement data
and store them?: (y, [n])
+Note:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/java/src/Rrd.java
uses unchecked or unsafe operations.
+Note: Recompile with -Xlint:unchecked for details.
+-------------------------------------------------------------------------------
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:
In function ‘duplicate’:
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:44:
warning: incompatible implicit declaration of built-in function ‘malloc’
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:44:
warning: incompatible implicit declaration of built-in function ‘strlen’
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:45:
warning: incompatible implicit declaration of built-in function ‘strcpy’
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:
In function ‘getTokens’:
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:50:
warning: incompatible implicit declaration of built-in function ‘malloc’
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:
In function ‘preserveGraphOutput’:
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:77:
warning: incompatible implicit declaration of built-in function ‘malloc’
+/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../contrib/rrdjtool/native/Rrd.c:80:
warning: incompatible implicit declaration of built-in function ‘strcat’
+-------------------------------------------------------------------------------
+Turn on service registration to Lookup Service: ([n],y)
- [input] Turn on service registration to Lookup Service?: (y, [n])
+Enter the service description: [perfSONAR service]
- [input] Enter the service description: [perfSONAR service]
-
- [input] Enter the contact email address of service owner: []
-
- [input] Enter the organization name where the service is being
installed: []
+Enter the contact email address of service owner: []
+
+Enter the organization name where the service is being installed: []
test-org
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
-BUILD SUCCESSFUL
-Total time: 56 seconds
-romradz@ps:~/geant2_java-rrd-ma-2.3-20070913-extra/bin$
-romradz@pc:~/tmp/geant2_java-rrd-ma-2.3-20070913-extra/bin$
./perfsonar-rrdma.sh start
+
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
./perfsonar-rrdma.sh start
Starting up the service...
-STARTED Jetty Thu Sep 13 14:27:30 CEST 2007
-
-BUILD SUCCESSFUL
-Total time: 2 seconds
-romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20070913-extra/bin$
2007-09-13 14:27:31.938::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
-2007-09-13 14:27:32.341::INFO: Statistics on = false for
SelectChannelConnector @ 0.0.0.0:8080
-2007-09-13 14:27:32.522::INFO: jetty-6.1.3
+./perfsonar-rrdma.sh: 450:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../server/jetty-6.1.3/bin/jetty.sh:
Permission denied
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
ls -al ../server/jetty-6.1.3/
+bin/ etc/ lib/ LICENSES/ logs/ README.txt
resources/ start.jar VERSION.txt webapps/
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
ls -al ../server/jetty-6.1.3/bin/
+total 264
+drwxr-xr-x 2 romradz romradz 4096 2007-10-05 13:31 .
+drwxr-xr-x 9 romradz romradz 4096 2007-10-05 13:31 ..
+-rw-r--r-- 1 romradz romradz 488 2007-10-05 13:19 build_release_bundles.sh
+-rw-r--r-- 1 romradz romradz 24944 2007-10-05 13:18 change_version.sh
+-rw-r--r-- 1 romradz romradz 1053 2007-10-05 13:19 jetty-service.conf
+-rw-r--r-- 1 romradz romradz 204800 2007-10-05 13:18 Jetty-Service.exe
+-rw-r--r-- 1 romradz romradz 15237 2007-10-05 13:19 jetty.sh
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
chmod u+x ../server/jetty-6.1.3/bin/*.sh
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
./perfsonar-rrdma.sh start
+Starting up the service...
+Starting Jetty:
+STARTED Jetty Fri Oct 5 13:36:44 CEST 2007
+Jetty running pid=18908
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
2007-10-05 13:36:46.399::INFO: Logging to STDERR via
org.mortbay.log.StdErrLog
+2007-10-05 13:36:46.970::INFO: Statistics on = false for
SelectChannelConnector @ 0.0.0.0:7979
+2007-10-05 13:36:47.172::INFO: jetty-6.1.3
Parse catalog: catalog
Loading catalog: catalog
-Default BASE:
file:/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/catalog
-Catalog does not exist:
file:/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/catalog
-Loading catalog:
file:/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/entities/catalog
+Default BASE:
file:/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/catalog
+Catalog does not exist:
file:/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/catalog
+Loading catalog:
file:/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/entities/catalog
============= eXist Initialization =============
-Thu Sep 13 14:27:37 CEST 2007 - eXist logs
dir=/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/logs
-Thu Sep 13 14:27:37 CEST 2007 - eXist log4j
configuration=/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/TMPfile.xml
+Fri Oct 05 13:36:56 CEST 2007 - eXist logs
dir=/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/logs
+Fri Oct 05 13:36:56 CEST 2007 - eXist log4j
configuration=/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/TMPfile.xml
log4j:WARN Continuable parsing error 1 and column 181
log4j:WARN Document root element "log4j:configuration", must match DOCTYPE
root "null".
log4j:WARN Continuable parsing error 1 and column 181
log4j:WARN Document is invalid: no grammar found.
-Thu Sep 13 14:27:37 CEST 2007 - eXist-DB
configuration=/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/conf.xml
+Fri Oct 05 13:36:57 CEST 2007 - eXist-DB
configuration=/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/conf.xml
Found 1 catalog entries.
-Loading catalog:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/catalog.xml
+Loading catalog:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/webapps/exist/WEB-INF/catalog.xml
================================================
Found 1 catalog entries.
-2007-09-13 14:27:41.281::WARN: Unknown realm: Test Realm
-AuxiliaryComponentManager.initManager: Read config file name as:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/webapps/geant2_java-rrd-ma/WEB-INF/classes/perfsonar/conf/components.properties
-AUX ComponentManager create [config] =
org.perfsonar.base.auxiliary.components.configuration.properties.PropertiesConfigurationComponent
-AUX ComponentManager: init [config]
-PropertiesConfigurationComponent.initComponent:Read the file name as:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/server/jetty-6.1.3/webapps/geant2_java-rrd-ma/WEB-INF/classes/perfsonar/conf/service.properties
-AUX ComponentManager create [logger] =
org.perfsonar.base.auxiliary.components.logger.log4j.Log4jLoggerComponent
-AUX ComponentManager: init [logger]
-AUX ComponentManager create [eventType_config] =
org.perfsonar.service.measurementArchive.eventTypeConfig.EventTypeConfigurationComponent
-AUX ComponentManager: init [eventType_config]
-2007-09-13 14:27:43.802::INFO: Started SelectChannelConnector @ 0.0.0.0:8080
+2007-10-05 13:37:01.043::WARN: Unknown realm: Test Realm
+Oct 5, 2007 1:37:03 PM
org.perfsonar.base.auxiliary.AuxiliaryComponentManager initManager
+INFO: AuxiliaryComponentManager.initManager: Read config file name as:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/webapps/perfSONAR-RRD-MA-2.3-dev/WEB-INF/classes/perfsonar/conf/components.properties
+Oct 5, 2007 1:37:04 PM
org.perfsonar.base.auxiliary.components.configuration.properties.PropertiesConfigurationComponent
initComponent
+INFO: PropertiesConfigurationComponent.initComponent: Read the file name as:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/server/jetty-6.1.3/webapps/perfSONAR-RRD-MA-2.3-dev/WEB-INF/classes/perfsonar/conf/service.properties
+2007-10-05 13:37:05.475::INFO: Started SelectChannelConnector @ 0.0.0.0:7979
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
-romradz@pc:~/tmp/geant2_java-rrd-ma-2.3-20070913-extra/bin$
./perfsonar-rrdma.sh test
+
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
./perfsonar-rrdma.sh test
Testing the service...
-Buildfile: build.xml
+Echo test:
+End point:
http://127.0.0.1:7979/perfSONAR-RRD-MA-2.3-dev/services/MeasurementArchiveService
+Request file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../samples/requests/EchoRequest.xml
+Response file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../samples/requests/response-1.xml
+- RequestHandler: Service received a request
+- RequestHandler: Service sent a successful response
+time taken :2.902 secs
+Client exiting
-init-test:
+LookupInfo test:
+End point:
http://127.0.0.1:7979/perfSONAR-RRD-MA-2.3-dev/services/MeasurementArchiveService
+Request file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../samples/requests/LookupInfoRequest.xml
+Response file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin/./../samples/requests/response-2.xml
+- RequestHandler: Service received a request
+- RequestHandler: Service sent a successful response
+time taken :1.227 secs
+Client exiting
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
-echo-test:
- [java] End point:
http://127.0.0.1:8080/geant2_java-rrd-ma/services/MeasurementArchiveService
- [java] Request file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/samples/requests/EchoRequest.xml
- [java] Response file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/samples/requests/response-1.xml
-0 [btpool0-2] INFO sonar-info - RequestHandler: Service received a
request
-715 [btpool0-2] INFO sonar-info - RequestHandler: Service sent a
successful response
- [java] time taken :2.049 secs
- [java] Client exiting
-BUILD SUCCESSFUL
-Total time: 8 seconds
-Buildfile: build.xml
-init-test:
-lookup-info-test:
- [java] End point:
http://127.0.0.1:8080/geant2_java-rrd-ma/services/MeasurementArchiveService
- [java] Request file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/samples/requests/LookupInfoRequest.xml
- [java] Response file:
/home/romradz/tmp/geant2_java-rrd-ma-2.3-20070913-extra/samples/requests/response-2.xml
-7390 [btpool0-2] INFO sonar-info - RequestHandler: Service received a
request
-7495 [btpool0-2] INFO sonar-info - RequestHandler: Service sent a
successful response
- [java] time taken :0.461 secs
- [java] Client exiting
-BUILD SUCCESSFUL
-Total time: 5 seconds
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
./perfsonar-rrdma.sh stopShutting down the service...
+Shutting down Jetty: 18908
+2007-10-05 13:40:04.580::INFO: Shutdown hook executing
+STOPPED Fri Oct 5 13:40:06 CEST 2007
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
-romradz@ps:~/tmp/geant2_java-rrd-ma-2.3-20070913-extra/bin$
./perfsonar-rrdma.sh stop
-Shutting down the service...
-2007-09-13 14:30:15.326::INFO: Shutdown hook executing
-2007-09-13 14:30:15.751::INFO: Shutdown hook complete
-STOPPED Thu Sep 13 14:30:17 CEST 2007
-BUILD SUCCESSFUL
-Total time: 4 seconds
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
./perfsonar-rrdma.sh uninstall
+Uninstalling the service...
+romradz@vaja:~/tmp/geant2_java-rrd-ma-2.3-20071005-extra/bin$
-
- perfsonar: r2913 - in branches/geant2_java-rrd-ma-extra: bin doc, svnlog, 10/05/2007
Archive powered by MHonArc 2.6.16.