× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We have a V4R5 machine with HTTP server and also Webserver installed on it.
To run HTML pages we have an instance whose config is as follows...
#------------------------------------------------------
 Enable                     GET
  Enable                     HEAD
  Enable                     POST
  Pass /help/* /help/info/*
   Pass /sprasad/* /sprasad/*
  Exec  /cgi-bin/*  /sprasad/*
  Pass /  /QIBM/ProdData/HTTP/Public/HTTPSVR/HTML/Welcome.html
   Pass /help/  /help/info/index.htm
   Pass /sample/*  /QIBM/ProdData/HTTP/Public/HTTPSVR/HTML/*
IconPath /QIBM/HTTPSVR/Icons/
AddIcon text.gif     text  text/*
AddIcon html.gif     html  text/html
AddIcon binary.gif   bin   application/*
AddIcon compress.gif Z     application/x-compress
AddIcon compress.gif gzip  application/x-gzip
AddIcon image.gif    img   image/*
AddIcon movie.gif    vid   video/*
AddIcon sound.gif    au    audio/*
AddType .java text/plain binary 1.0
AddType .html text/html  8bit   1.0
AddType .htm  text/html  8bit   1.0
AddType .gif  image/gif  binary
BindSpecific Off
UserID %%SERVER%%
DNS-Lookup Off
RuleCaseSense On
Imbeds On html
#------------------------------------------------------
This above runs well and and the  static web pages come. Now I have enabled
JSP in it by configuring it from 2001 port.
The new file looks like this.............

#------------------------------------------------------
Enable GET
Enable HEAD
Enable POST
Service /*.jsp     /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService
%%MIXED%%
Pass /IBMWebAS/samples/* /QIBM/ProdData/IBMWebAS/samples/*
Pass /IBMWebAS/* /QIBM/ProdData/IBMWebAS/web/*
Pass /help/* /help/info/*
Pass /sprasad/* /sprasad/*
Exec  /cgi-bin/*  /sprasad/*
Pass /  /QIBM/ProdData/HTTP/Public/HTTPSVR/HTML/Welcome.html
Pass /help/  /help/info/index.htm
Pass /sample/*  /QIBM/ProdData/HTTP/Public/HTTPSVR/HTML/*
IconPath /QIBM/HTTPSVR/Icons/
AddIcon text.gif     text  text/*
AddIcon html.gif     html  text/html
AddIcon binary.gif   bin   application/*
AddIcon compress.gif Z     application/x-compress
AddIcon compress.gif gzip  application/x-gzip
AddIcon image.gif    img   image/*
AddIcon movie.gif    vid   video/*
AddIcon sound.gif    au    audio/*
AddType .java text/plain binary 1.0
AddType .html text/html  8bit   1.0
AddType .htm  text/html  8bit   1.0
AddType .gif  image/gif  binary
BindSpecific Off
UserID %%SERVER%%
DNS-Lookup Off
RuleCaseSense On
Imbeds On html

Disable CONNECT
Disable DELETE
Disable PUT
ServerInit /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterInit
/QIBM/ProdData/IBMWebAS/properties/bootstrap.properties
ServerTerm /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterExit
#------------------------------------------------------

Now, the only addition in lines are as fol

Service /*.jsp     /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService
%%MIXED%%
ServerInit /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterInit
/QIBM/ProdData/IBMWebAS/properties/bootstrap.properties
ServerTerm /QSYS.LIB/QAPPSVR.LIB/QZHJSVLT.SRVPGM:AdapterExit


Now if i start this server instance , it will start and immediately end on
its own..DSPJOBLOG says server instance ending normally with a return code
of 0.

 What is that I am missing here. Kindly tell how to enable JSP service. So
far I have gone step by step as per the redbook .

Thanks in advance
Santosh.








Signature......................

e- mail at :  santoshp@lot.tatasteel.com
FPC-IS, ITS, Tata Steel.
Jamshedpur, India.
Tel : 142134 (O)



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.