...
HTML |
---|
<ol> <li>Install the binary version of <a href="http://www.globus.org/toolkit/downloads/4.0.4/#wscore_bin">Java WS Core 4.0.4</a> <ol style="list-style-type: lower-alpha"> <li>Extract the ZIP archive to any folder on your hard drive. (In what follows, we assume this directory is say, c:\globus).)</li> <li>Open a Command Prompt window, change directory to the installation directory, and set the <code>GLOBUS_LOCATION</code> environment variable (which is <em>case sensitive</em>, even on Windows): <pre> > <b>cd c:\globus\ws-core-4.0.4</b> > <b>set GLOBUS_LOCATION=%CD%</b> > <b>echo %GLOBUS_LOCATION%</b></pre></li> <li>As a crude test, start the container (with transport-level security disabled): <pre> > <b>bin\globus-start-container -nosec</b> Starting SOAP server at: http://141.142.251.212:8080/wsrf/services/ With the following services: [1]: http://141.142.251.212:8080/wsrf/services/AdminService [2]: http://141.142.251.212:8080/wsrf/services/AuthzCalloutTestService [3]: http://141.142.251.212:8080/wsrf/services/ContainerRegistryEntryService [4]: http://141.142.251.212:8080/wsrf/services/ContainerRegistryService [5]: http://141.142.251.212:8080/wsrf/services/CounterService [6]: http://141.142.251.212:8080/wsrf/services/ManagementService [7]: http://141.142.251.212:8080/wsrf/services/NotificationConsumerFactoryService [8]: http://141.142.251.212:8080/wsrf/services/NotificationConsumerService [9]: http://141.142.251.212:8080/wsrf/services/NotificationTestService [10]: http://141.142.251.212:8080/wsrf/services/PersistenceTestSubscriptionManager [11]: http://141.142.251.212:8080/wsrf/services/SampleAuthzService [12]: http://141.142.251.212:8080/wsrf/services/SecureCounterService [13]: http://141.142.251.212:8080/wsrf/services/SecurityTestService [14]: http://141.142.251.212:8080/wsrf/services/ShutdownService [15]: http://141.142.251.212:8080/wsrf/services/SubscriptionManagerService [16]: http://141.142.251.212:8080/wsrf/services/TestAuthzService [17]: http://141.142.251.212:8080/wsrf/services/TestRPCService [18]: http://141.142.251.212:8080/wsrf/services/TestService [19]: http://141.142.251.212:8080/wsrf/services/TestServiceRequest [20]: http://141.142.251.212:8080/wsrf/services/TestServiceWrongWSDL [21]: http://141.142.251.212:8080/wsrf/services/Version [22]: http://141.142.251.212:8080/wsrf/services/WidgetNotificationService [23]: http://141.142.251.212:8080/wsrf/services/WidgetService [24]: http://141.142.251.212:8080/wsrf/services/gsi/AuthenticationService</pre> Press Ctrl-C to abort the container.</li> </ol></li> <li>Obtain a user certificate and stop the container normally <ol style="list-style-type: lower-alpha"> <li>In the previous Command Prompt window, start the container again: <pre> > <b>echo %GLOBUS_LOCATION%</b> > <b>bin\globus-start-container -nosec</b> Starting SOAP server at: http://141.142.251.212:8080/wsrf/services/ With the following services...</pre></li> <li>Open another Command Prompt window and try to stop the container: <pre> > <b>set<b>cd GLOBUS_LOCATION=c:\globus\ws-core-4.0.4</b> > <b>set GLOBUS_LOCATION=%CD%</b> > <b>echo %GLOBUS_LOCATION%</b> > <b>%GLOBUS_LOCATION%<b>bin\bin\globus-stop-container</b> Error: ; nested exception is: GSSException: Defective credential detected [Caused by: Proxy file (C:\DOCUME~1\TOMSCA~1\LOCALS~1\Temp\x509up_u_tom scavo) not found.]</pre> </li> <li>Press Ctrl-C to abort the container.</li> <li>Request an<li>Obtain a short-term X.509 end-entity certificatecredential from the <a href="http://gridshib.globus.org/docs/gridshib-ca/index.html">GridShib CA</a></li> <li>In the first Command Prompt window, start the container as abovebefore.</li> <li>In the second Command Prompt window, try to stop the container again: <pre> > <b>%GLOBUS_LOCATION%<b>bin\bin\globus-stop-container</b> Error: ; nested exception is: java.net.ConnectException: Connection refused: connect</pre> </li> <li>Finally, stop the container normally, authenticationgauthenticating at the message level using your GridShib CA-issued credential: <pre> > <b>%GLOBUS_LOCATION%<b>bin\bin\globus-stop-container -s http://localhost:8080/wsrf/services/ShutdownService -m msg</b></pre> </li> </ol></li> <li>Start and stop a secure container <ol style="list-style-type: lower-alpha"> <li>In the first Command Prompt window, start the container: <pre> > <b>echo %GLOBUS_LOCATION%</b> > <b>bin\globus-start-container</b> Starting SOAP server at: https://141.142.250.163:8443/wsrf/services/ With the following services...</pre></li> <li>In the second Command Prompt window, stop the container: <pre> > <b>echo %GLOBUS_LOCATION%</b> > <b>%GLOBUS_LOCATION%\bin<b>bin\globus-stop-container</b></pre></li> </ol></li> <li>Request the <code>SecureCounterService</code> <ol style="list-style-type: lower-alpha"> <li>In the first Command Prompt window, start the container: <pre> > <b>echo %GLOBUS_LOCATION%</b> > <b>bin\globus-start-container</b> Starting SOAP server at: https://141.142.250.163:8443/wsrf/services/ With the following services...</pre></li> <li>In the second Command Prompt window, request a service: <pre> > <b>echo %GLOBUS_LOCATION%</b> > <b>%GLOBUS_LOCATION%\bin<b>bin\counter-client -s https://localhost:8443/wsrf/services/SecureCounterService -m conv -z none</b> Got notification with value: 3 Counter has value: 3 Got notification with value: 13</pre></li> <li>Stop the container: <pre> > <b>%GLOBUS_LOCATION%\bin\globus-stop-container</b></pre></li> </ol></li> <li>Install GridShib for GT v0.6.0 <ol style="list-style-type: lower-alpha"> <li>Download the GS4GT v0.6.0 source distribution (ZIP<a href="http://gridshib.globus.org/downloads/gridshib-gt-source-0_6_0.zip">ZIP archive</a>) from the GridShib Downloads page. web site. (A <a href="http://gridshib.globus.org/downloads/gridshib-gt-source-0_6_0.tar.gz">GZIP archive</a>) is also available.)</li> <li>Double-click the ZIP archive and extract the source files into a folder of your choice. (In what followssay, we assume this folder is c:\gridshib).)</li> <li>In the second Command Prompt window, type the following commands: <pre> > <b>cd c:\gridshib\gridshib-gt-0_6_0</b> > <b>echo %GLOBUS_LOCATION%</b> > <b>ant deploy</b> > <b>ant deploy-echoservice</b></pre></li> </ol></li> <li>Request the <code>ShibEchoService</code> <ol style="list-style-type: lower-alpha"> <li>In the first Command Prompt window, start the container: <pre> > <b>echo %GLOBUS_LOCATION%</b> > <b>bin\globus-start-container</b> Starting SOAP server at: https://141.142.250.163:8443/wsrf/services/ With the following services...</pre></li> <li>In the second Command Prompt window, and request a service: <pre> > <b>echo %GLOBUS_LOCATION%</b> > <b>%GLOBUS_LOCATION%\bin\shibecho -s https://localhost:8443/wsrf/services/ShibEchoService -z none</b></pre></li> <li>Stop the container: <pre> > <b>%GLOBUS_LOCATION%\bin\globus-stop-container</b></pre></li> </ol></li> <li>TBA</li> </ol> |