× 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.


  • Subject: Re: HelloWorldServlet Help?
  • From: Nick_Vrtis@xxxxxxxxx
  • Date: Thu, 19 Oct 2000 17:12:38 -0400

Mandy and Barbara (and others),

Thanks for the things to check.  Early on, I thought that it might be left
over junk from the CONFIG, so I created a new one from scratch using the
Web interface.  That's the one I've been testing.  Here is the listing:

Configuration: SERVLETS


# HTTP CONFIGURATION FILE
HostName AMWUSACS.AMWAYNET
BindSpecific Off
Port 80
UserID %%SERVER%%
DNS-Lookup Off
Imbeds On html
AlwaysWelcome On
DirAccess Selective
Pass /IBMWebAS/samples/* /QIBM/ProdData/IBMWebAS/samples/*
Pass /IBMWebAS/doc/* /QIBM/ProdData/IBMWebAS/doc/*
Pass /IBMWebAS/system/admin/* /QIBM/ProdData/IBMWebAS/system/admin/*
Pass /IBMWebAS/* /QIBM/ProdData/IBMWebAS/web/*
# Pass /servlet/* QIBM/ProdData/IBMWebAS/servlets/*
Service /servlet/* /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterService
Pass /as400/* /AS400/*
Pass /AS400/*
ServerInit /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterInit 
/QIBM/ProdData/IBMWebAS/properties/server/servlet/servletservice/jvm.properties
ServerTerm /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterExit
LogFormat Common
LogTime LocalTime
ErrorLog /home/ATS2650/errorlog.txt 2000
AccessLog /home/ATS2650/accesslog.txt 2000
Enable GET
Enable HEAD
Enable POST
Enable OPTIONS
Enable TRACE
Disable CONNECT
UseACLs protectonly
UseMetaFiles Off
MinActiveThreads 10
MaxActiveThreads 40
PersistTimeout 4 seconds
MaxPersistRequest 3

I also checked the DTAARA, and here's what that has:

Group PTF#: SF99066-06  V4R3M0 07/26/1999

I also compared the JVM Properties file.  I've only changed that through the 
Admin Web.

The only difference between what Barbara sent was the JT400.JAR to the class 
path.

Note that I removed the applet from the list, and then went through the ADD 
process.
During that process, I did the TEST, and it came back OK.  I also saw the load 
of HelloWorldServlet
in the logs.

I think I mentioned it before, but I get a MCH3601 in the job log on the AS/400 
every time I try the Servlet.
I suspect that's related to the Error setting CONVERT_REQUEST_BODY to NO error.

Thanks for all the help folks.... We'll figure this out somehow.  Nick
---------------------- Forwarded by Nick Vrtis/IS/Corp/Amway on 10/19/2000
05:01 PM ---------------------------

Please respond to JAVA400-L@midrange.com

Sent by:  owner-java400-l@midrange.com


To:   JAVA400-L@midrange.com
cc:

Subject:  Re: HelloWorldServlet Help?


Here are the relevant entries from the HTTP config, noted a while ago for a
working WS1.1 on V4R3:

# MODIFICATION made by Admin/Config to handle JSPs and servlets
ServerInit /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterInit
/QIBM/ProdData/IBMWebAS/properties/server/servlet/servletservice/jvm.proper
ties
ServerTerm /QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:AdapterExit
# END OF MODIFICATION

Your jvm.properties file may be the root of the problem - what
modifications (if any) have you made to it? Could be a classpath problem,
for example. WS needs to be able to find the servlet in the classpath.

You certainly can't run WS3 on V4R3 and my recollection is that you can't
run WS2 either - anyone else able to confirm?

I haven't got access to the V4R3 system right now so can't get hold of the
jvm.properties file - sorry.

Mandy






Nick_Vrtis@amway.com on 19/10/2000 17:21:45

Please respond to JAVA400-L@midrange.com

To:   JAVA400-L@midrange.com
cc:    (bcc: Mandy Shaw/Pacific/UK)
Subject:  Re: HelloWorldServlet Help?





We can do this!  If nothing else, I'm learning a lot about how to debug
this guy....

OS/400 = V4R3
HTTP Server for AS/400 1.0
WebSphere 1.1

Will the newer releases of WebSphere run on V4R3?

Here is what I get from the -vv (at least during the error part).

Pass........ /IBMWebAS/system/admin/* did NOT match
/servlet/HelloWorldServlet
Pass........ /IBMWebAS/* did NOT match /servlet/HelloWorldServlet.
Service..... matched "/servlet/HelloWorldServlet" ->
"/QSYS.LIB/QHTTPSVR.LIB/Q
No wilds.... so no PATH_INFO
AuthCheck... Translated script name:
"/QSYS.LIB/QHTTPSVR.LIB/QZHJSVLT.SRVPGM:A
AccessOk.... by fast path. No protect rule nor ACL.
AA.......... check returned 200
Translated.. "-null-"
HTHandle..... Access as "%%SERVER%%" for Client "-unknown-"
PICS........ no protocol bags received.
APIClassExecute....  Looking up API class "service"
APIClassExecute....  Trying to match "/servlet/HelloWorldServlet" with
pattern
APIClassExecute....  Calling function "AdapterService"
GWAPI:  HTTPD_set() called
GWAPI:  HTTPD_set() args..... name= CONVERT_REQUEST_BODY ; name size= 20
GWAPI:  HTTPD_set() args..... value= NO ; value size= 2
GWAPI:  HTTPD_set()... failed with return code 2
APIClassExecute....Return code from API class "service" function
"AdapterServi
ErrorLog.... [19/Oct/2000:11:26:44 +0000] Service handler performed no
action;
No need..... to call getpeername().
DetailedErr. bailing out on error 0 because HTErrorInfo == OK.
Returning... ERROR 500:  ** Service handler performed no action; contact
the s
No.......... metafile to look for.
No.......... PICS labels to send back.
............ Header section for client HTTP/1.1 500 Service handler
performed
Socket...... wrote 572 bytes on socket 27.
HTWriter.... sent 572 of 572 bytes.
Logging..... updating SNMP/PerfMon counters.
Logging....... fastpath off.
No need..... to call getpeername().
Uninit Fn... not defined for module "HTPresentation".
Uninit Fn... for module "HTList" (@2701131776) being called.

 and Here is what I get from the Native DLL log:

Error setting CONVERT_REQUEST_BODY to NOAdapterService
Error setting CONVERT_REQUEST_BODY to NOAdapterService
Error setting CONVERT_REQUEST_BODY to NO

Nick



Please respond to JAVA400-L@midrange.com

Sent by:  owner-java400-l@midrange.com


To:   JAVA400-L@midrange.com
cc:

Subject:  Re: HelloWorldServlet Help?



Hmm, not as straightforward a solution as I have hoped.  It is like the
service directive in the http server was called, but I don't understand the
'no action' part.  Which level of websphere are you running?  Another
suggestion I'd suggest is to stop then start your http server (STRTCPSVR)
with an instance startup value of -vv (dash-vee-vee), and try again.  Then
look at the spool file generated under the main http server job for clues.
I'm suspecting there is something wrong with an http cfg directive
somewhere... perhaps if you posted just the websphere related directives,
someone could spot a possible typo if there is one.



Nick_Vrtis@amway.com on 10/18/2000 11:21:09 AM

Please respond to JAVA400-L@midrange.com





+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



      Regards,
      Mandy Shaw

      Catalyst Solutions plc
      Kingfisher House
      Frimley Business Park
      Camberley
      Surrey
      GU16 5SG
      UK

      http://www.catalyst-solutions.com
      Email: Mandy.Shaw@uk.catalyst-solutions.com

      Telephone: +44 (0)870 166 1000
      DDI: +44 870 166 1324
      Facsimile: +44 870 168 3920
      Mobile: +44 410 447966
      Email to mobile 'phone: mandyshaw@sms.genie.co.uk




----------------------------------------------------------------------
----------------------------------------------------------------------
Catalyst Solutions plc.  Registered No 2918101.
Registered @ Kingfisher House, Frimley Business Park, Frimley,
Surrey. GU16 5SG   U.K.

NOTICE:
This message is intended only for the named addressee(s) and may
contain confidential and/or privileged information. If you are not the
named addressee you should not disseminate, copy or take any action
or place any reliance on it. If you have received this message in error
please notify postmaster@catalyst-solutions.com and delete the message
and any attachments accompanying it immediately.
----------------------------------------------------------------------


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

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.