The following instructions show how to configure your Sambar Server to
run your ASP applications with iASP.
Before continuing, please make sure that Sun Web Server (SWS 2.1) is
properly installed and running.
- Sign on to the SWS Admin server by pointing your web browser at the
following URL:
http://<hostname>:2380/admin/server_admin.html
- In the SWS Admin server, select or create a web server. The
following example uses a default web server named "sws_server".

- In the Server List column, under the Web Server folder, select the
Servlets item.

-
/usr/jsdk/examples:/iasp/lib/classes:/iasp/lib/activation.jar:/iasp/lib/ejbcorba.jar:/iasp/lib/iasplib.jar:
/iasp/lib/jsdk.jar:/iasp/lib/buttons.jar:/iasp/lib/iasp_image.jar:/iasp/lib/iasp_sock.jar:/iasp/lib/iasp_chart.jar:
/iasp/lib/iasp_mail.jar:/iasp/lib/iasp_pop3.jar:/iasp/lib/iasp_exec.jar:/iasp/lib/rjax.jar
NOTE: Make sure you
replace the /iasp directory above with your correct Instant ASP installation
path.
- In the Server List column, under the Web Server folder, select the
Web Sites item.

- Highlight a web site from the Web Sites List column.
- Right-click Web Server and choose Web Site Manager... from the pop-up
menu.

- Choose Properties from the drop-down list in the Web Site Manager.

- Select URL Aliases from the list of properties you can modify.

- :
Site URI: *.asp.
Directory/URL Alias: DispatcherServlet.
Type: servlet.
- Select Site Properties from the list of properties you can modify.

- For Document Root, specify the Instant ASP root directory.
NOTE: This step is not necessary--it
simply allows you to easily view the Instant ASP documentation and sample
files. If you do not set your document root to the Instant ASP root
directory, make sure you have a path to get to the Instant ASP folder
from your web browser.
- Choose Servlets from the drop-down list in the Web Site Manager.
- Select Manager in the Servlets column.
- In the Servlet Manager, click the Add button to add a new servlet.

- Specify the following information in the appropriate fields of the
new row.
Servlet Name: DispatcherServlet
Code: Dispatcher.DispatcherServlet
Loading: startup
- Save your changes and restart your Web server.
- Verify that Instant ASP is running correctly by pointing your web
browser at:
http://<hostname>/<path to Instant ASP directory>
- Choose the "Hello World" sample from the General samples
link in the left-hand pane. You will see several lines displaying the
phrase, "Hello World", in increasing font sizes.
If you encounter any problems or errors, please contact support@halcyonsoft.com
|