W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Aw: Re: Cannot start a servlet (continued)

From: <Klaus_Preschern@genesis.at>
Date: Mon, 29 Mar 1999 10:00:22 -0500 (EST)
To: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
cc: www-jigsaw@w3.org
Message-ID: <41256743.00527A11.00@mail.genesis.at>



Benoit Mahe wrote:
>You probably forget to add a ServletDirectoryFrame to your servlet directory.
>That could be the reason of the NullPointerException.

Yes, this solved one of my problems. Thanks much!

Now just the "Servlet not configured properly." problem remains. The servlet
does
not need paramters at initializing time, but is called with parameters. Is it
necessary
to specify the "FirstName", "LastName", etc. parameters in "jigadm" for
GenServlet?

E:\Jigsaw\Jigsaw>java org.w3c.jigsaw.Main -trace
loading properties from: E:\Jigsaw\Jigsaw\config\server.props
Jigsaw[2.0.1]: serving at http://GENPRK:8001/
*** Warning : no logger specified, not logging.
JigAdmin[2.0.1]: serving at http://GENPRK:8009/
GET /gen/AT/genesis/servlet/GenServlet/searchCustomer?FirstName=&LastName=Buder
Zip=&City=&Street=&Max=25 HTTP/1.0
Connection: close
Date: Mon, 29 Mar 1999 14:41:06 GMT
Via: 1.0 PROXY:8888, HTTP/1.1 firewall.GENESIS.AT (IBM Firewall)
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
Accept-Charset: iso-8859-1,*,utf-8
Accept-Language: en
Host: GENPRK:8001
Referer: http://GENPRK:8001/gen/html/PartnerSearchPartyForm.html
User-Agent: Mozilla/4.04 [en] (WinNT; I ;Nav)/3.12

E:\GenConfig.properties
+++ client-0(socket-clients:42) got exception:
org.w3c.jigsaw.http.HTTPException
        at org.w3c.jigsaw.servlet.ServletWrapperFrame.perform(ServletWrapperFra
e.java)
        at org.w3c.tools.resources.FramedResource.performFrames(Compiled Code)
        at org.w3c.tools.resources.FramedResource.perform(FramedResource.java)
        at org.w3c.jigsaw.http.httpd.perform(Compiled Code)
        at org.w3c.jigsaw.http.Client.processRequest(Client.java)
        at org.w3c.jigsaw.http.Client.startConnection(Compiled Code)
        at org.w3c.jigsaw.http.socket.SocketClient.run(SocketClient.java)
        at org.w3c.util.CachedThread.run(Compiled Code)
HTTP/1.1 500 Internal Server Error
Date: Mon, 29 Mar 1999 14:41:08 GMT
Content-Length: 31
Content-Type: text/html
Server: Jigsaw/2.0.1

     Klaus
Received on Monday, 29 March 1999 10:01:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:29 GMT