|
I seem to remember having something like this caused by not having an entry in the hosts table for the local AS/400 (CFGTCP option 10) but it's probably irrelevant (especially if your config did work at one point). However this message basically means, I think, that the servlet engine can't process the request. You're at least now getting an error message indicating that WebSphere is trying to process it as a servlet, which is a start. I should assume your PASS directives are OK now. You are aware that you should not have a PASS directive for /servlet/* as the format /servlet/xxx is dedicated to WebSphere as the standard format for its automatic servlet invocation (i.e. servlets whose names are not defined explicitly to WS). How did you set up the HTTP config to connect to WebSphere? If you did it the hard way (by typing), I suggest you have another go via the HTTP Admin client (port 2001) which makes it much easier and gives you options for WS 2 & 3 so you just pick whichever you have installed. If WS 3 (which is the one I know better), make sure you've pointed the HTTP config at the right WS domain. As has already been said, we need your WS version number really as there are such major differences between versions. Mandy smet@us.ibm.com on 19/10/2000 03:22:55 Please respond to JAVA400-L@midrange.com To: JAVA400-L@midrange.com cc: (bcc: Mandy Shaw/Pacific/UK) 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 To: JAVA400-L@midrange.com cc: Subject: Re: HelloWorldServlet Help? Good suggestion. Here is the URL: http://amwusacs.amwaynet/servlet/HelloWorldServlet I checked the config, and I had a PASS statement for /servlet/*. It's sort of strange that the server returned the .class file as if it was a .html (or at least tried to)? I removed the PASS statement, and here is what gets returned now: <HTML><HEAD><TITLE>Error</TITLE></HEAD> <BODY><H1>Error 500</H1>Service handler performed no action; contact the server administrator.<P><HR><ADDRESS>IBM HTTP Server for AS/400 1.0 </ADDRESS></BODY></HTML> I'm not sure what this is trying to tell me? Thanks for the suggestion though. Maybe this is progress? Nick smet@us.ibm.com@midrange.com on 10/17/2000 06:50:17 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? Nick , what you are looking at is HelloWorldServlet's java class file (!) - HelloWorldServlet.class. I suspect you may somehow be calling the File Serving Servlet to view the class file. This can happen if you are specifying HelloWorldServlet.class as part of your browser URL. I guess the first question is, what URL are you specifying at your browser? Nick_Vrtis@amway.com on 10/17/2000 12:50:54 PM Please respond to JAVA400-L@midrange.com To: JAVA400-L@midrange.com cc: Subject: HelloWorldServlet Help? Help! My AS/400 Web Server is so messed up, I can't even get the Hello World Servlet to run properly. It looks like something isn't getting translated properly, but I've tried changing every CCSID I could except the SYSVAL. The SYSVAL is 65535 for CCSID I won't even try to explain why that's set the way it is, but I've got a Spainish friend living in Italy who would be happy to bend your ear for a few hours.... Anyway. Here is what I get back when I try to call up the HelloWorld: I'm sure that it will look at least a little different by the time the various mail servers get through with it.. but basically, it isn't a web page. It looks like the messages coming directly from the Servlet are OK (there is some HTML buried in there), and it looks like some of the messages come through OK, but the returns and line feeds don't look like they made it. I did a hex edit on it, and it doesn't look like old, untranslated EBCDIC. Nothing shows up in the error log or the event log. I tried turning the global trace on, but it keeps turning it off. I've looked in every other "log" I could find, and there wasn't anything in any of those. Nor is there anything in the job log for the server job. I have not recompiled the servlet. Êþº¾ - 1 ? 0 ) + - ( . / ()L java/io/PrintWriter; ()V (L java/lang/String;)V R(L javax/servlet/http/HttpServletRequest;L javax/servlet/http/HttpServletResponse;)V ? </body></html> <body> <h1>Hello World</h1> '<head><title>Hello World</title></head> <html> <init> Code ConstantValue Exceptions HelloWorldServlet HelloWorldServlet.java ?LineNumberTable ?LocalVariables SourceFile doGet getWriter java/io/IOException java/io/PrintWriter javax/servlet/ServletException javax/servlet/ServletResponse javax/servlet/http/HttpServlet ' b .,¹ ,¹ ? N-¶ ?-¶ ?-¶ ?-¶ ?-¶ ?± $ " ) * ? , - ? . ! / ' 0 - $ ! *· ± $ " & # anybody got any suggestions? Thanks. Nick +--- | 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@zapp +--- | 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@zapp +--- | 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. ----------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
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.