CONTENTS   NextPrevious  



Servlet_jsp Service

Servlets_jsp Service works as a container of Web Applications. It is developed in accordance with Java Servlet 2.3 API and JavaServer Pages 1.2 specifications.

Visual Administrator

Properties

 

Server

 

Property Key

Description

Default Value

 

 

 

EnableZippedResponse

Determines if the service returns the requested file to the client as ZIP archive.

false

CompileOnStartUp

 

Specifies whether to compile JSPs on server startup or during J2EE application deployment. It is a boolean value.

false

CompilerDebuggingInfo

Specifies the amount of debug information the compiler generates. It has a boolean value. If set to “true,” the compiler generates more debug information. If this property is set to “false,” the local variable values are invisible in debug mode.

false

GlobalWebXmlLocation

Specifies the location of the Web descriptor document.

./services/servlet_jsp/global-web.xml

ExternalCompiler

Specifies the external compiler the system uses.

javac

ServletPropertiesPath

Specifies the directory that contains the servlets settings.

./services/servlet_jsp/work/jspTemp/default/root/WEB-INF

DestroyTimeOut

Specifies a time in milliseconds after which the execution of a servlet is stopped forcefully.

5000

MonitoringPath

Specifies path to Servlet_jsp Service monitor, registered with Monitoring Service.

root.Application Server.Session Monitor.Http Sessions

InternalCompiler

Specifies if there is an internal compiler available. It takes boolean values.

false

ServletCompilerClassPath

Specifies path to directories, jar files or classes, which are used by Servlet_jsp Service at compilation time. When adding services or libraries that Servlet_jsp Service will use, the path to the service or library jar file must be added to the servlet compiler classpath.

.

Console Administrator

Servlet_jsp Service can be administered using the Shell commands from the SERVLET_JSP command group as well.

Note: For information on Servlet_JSP Service Shell commands, refer to the Shell Commands Reference section.

Property Files

../cluster/server/services/servlets_jsp/properties
Servlets_jsp Service properties specified in the Visual Administrator  section can be set from this property file as well. It also contains the following property:

Critical Information and Troubleshooting Tips

When using Fast CGI client FCGI Port property in Servlet_jsp Service, the property file must be activated by removing the comment mark “#” in front of it.

If Fast CGI is used with another HTTP server (for example, Apache) make sure that SAP J2EE Engine 6.20 and the other HTTP server are configured to use different ports.

CGIServlets to be interpreted by Servlet_jsp Service, and the corresponding interpreters to be used, must be set in global-web.xml. You must specify servlet name and script interpreter. For example:

<servlet>
   <servlet-name>python</servlet-name>
   <servlet-class>com.inqmy.services.servlets_jsp.server.CGIServlet</servlet-class>
   <init-param>
          <param-name>interpreter</param-name>
          <param-value>c:\Program Files\Python\python.exe</param-value>
   </init-param>
</servlet>

Servlet mapping must be specified as well to provide for the correct interpretation of the corresponding CGI servlet:

<servlet-mapping>
   <servlet-name>python</servlet-name>
   <url-pattern>.py</url-pattern>
</servlet-mapping>

Previous  Next