Novell is now a part of Micro Focus

How to Load and Configure Websphere Lite

Articles and Tips: tip

Karl Bunnel
Novell, Inc.

01 Jul 2001

Configuring a Java Servlet with Websphere Lite. Websphere for NetWare version 3.5 includes a new feature called Websphere Lite. This is a configuration that loads only the Websphere Java Servlet and Java Server Pages (JSP) engines to minimize the memory footprint that it requires to load.

In order to load Websphere Lite, simply replace the line: startWebSphere.ncf in the AUTOEXEC.NCF file with the following line: startWebSphereServletEngine.ncf

Be aware that when Websphere Lite is loaded, the Websphere Administration server is not loaded, so attempts to load the Websphere Administration Console will fail.

There is both good news and bad news when loading Websphere Lite. The good news it that you have saved a considerable amount of memory on your NetWare server by loading only the servlet engine. The bad news is that youll need to alter the Websphere configuration files yourself in order to add web applications.

The following are the minimum steps required to configure a Java Servlet:

  1. Open the startWebSphereServletEngine.ncf file (this is found in the sys:\Websphere\AppServer\bin directory). Alter this text file to include any CLASSPATH variables that are required by your web application. You can also add any command-line parameters that may be required by the JVM.

  2. Open the Default_Server.wascml file that is found in the sys:\Websphere\AppServer\properties directory and look for the following tag:

    <web-application name="default_app" action="create">

    Look for the following tag a few lines beneath the above tag:


Now you are ready to insert your servet tags. For the sake of this example, the SimpleServlet will be added as an available servlet for the Websphere servlet engine. Following is an example of how this is done:

<servlet name="SimpleServlet" action="create">

<description>Simple Servlet Example</description>



<parameter name="param1" value="value1"/>




<uri value= "/Simple"/>



Thats it! Make sure you save your changes to the above files and restart your server.

Note: You can download Websphere 3.5 from the URL.

* Originally published in Novell AppNotes


The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates