Configuring Instant ASP on a WebLogic 4.5 Application Server
The following instructions show how to configure Instant ASP on BEA
WebLogic Server version 4.5.
- Stop your BEA WebLogic Application Server.
- Under the installed WebLogic root directory, open the weblogic.properties
file.
- Add iasplib.jar to the weblogic.httpd.servlet.classpath property
as follows:
weblogic.httpd.servlet.classpath=[iasp root]/lib/iasplib.jar
- Map files with an asp extension to the iASP engine as follows:
weblogic.httpd.register.*.asp=Dispatcher.DispatcherServlet
- Map the WebLogic document root to the iASP installed root as follows:
weblogic.httpd.documentRoot=[iasp root]
- Restart your WebLogic Server.
- To verify that iASP is running correctly, open your iASP online documents
in your web browser. Select iASP ADD-ONs -> EJB/Corba Connector,
open the Session Demo and BeanManage WebLogic sample pages, and run
their samples.
Configuring Instant ASP on a WebLogic 6.0 Application Server
The following instructions show how to configure Instant ASP on BEA
WebLogic Server version 6.0.
NOTE: To configure a servlet for WebLogic
6.0, please see: http://edocs.bea.com/wls/docs60/quickstart/quick_start.html
- Create a plain text file named web.xml under <weblogic6_dir>/<weblogic_dir>/config/mydomain/applications/
DefaultWebApp_myserver/WEB-INF/. Web.xml should contain the following:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>
iASPServlet
</servlet-name>
<servlet-class>
Dispatcher.DispatcherServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
iASPServlet
</servlet-name>
<url-pattern>
*.asp
</url-pattern>
</servlet-mapping>
</web-app>
- Add the iASP classes to the Weblogic server:
Open the startWebLogic script (startWebLogic.cmd
or startWebLogic.sh), find the setting
classpath line, and add all iASP jars contained in <iasp_home>/lib/
in the line.
EXAMPLE:
Find the line:
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\;d:\bea;
then append the iasp classes to the line:
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\;d:\bea;<iASP_home>\lib\<all
jar files>
- Copy your ASP application to the <weblogic6>/config/mydomain/applications/DefaultWebApp_myserver/.
- Restart the WebLogic server and access your ASP application at: http://<hostname>:<port>/
If you encounter any problems or errors, please contact support@halcyonsoft.com
|