InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.4: Example wscp commands, procedures, and scripts >
6.6.0.2.2.4.14: Administering URL providers and URLs

6.6.0.2.2.4.14: Administering URL providers and URLs

The wscp URL and URLProvider operations allow you to create and install instances of URLs and URL providers.

The following example command creates an instance of a URL provider. The name, Protocol and StreamHandlerClass attributes are required.

wscp> URLProvider create /URLProvider:Prov1/ -attribute {{Protocol http}
{StreamHandlerClass com.ibm.ejs.myStreamHandler}}

The following example command installs a URL provider on a node:

wscp> URLProvider install /URLProvider:AppProv/ -node /Node:AppServ1/
-jarFile "C:/jars/provider.jar"

The following example command creates an instance of a URL. You must specify a URL provider for the URL; the Spec attribute is required:

wscp> URL create /URLProvider:Prov1/URL:testURL/ -attribute {{Spec mySpec}}
Go to previous article: 6.6.0.2.2.4.13: Administering JavaMail sessions Go to next article: 6.6.0.2.2.5: Sample Tcl procedures and scripts

 

 
Go to previous article: 6.6.0.2.2.4.13: Administering JavaMail sessions Go to next article: 6.6.0.2.2.5: Sample Tcl procedures and scripts