Hi Sascha
[EMAIL PROTECTED] wrote:
>
> Hi to all of you,
>
> here is some behaviour from some Applets, I don't understand.
> My config is Apache 1.3.6 + JServ 1.0b5 on NT SP3 with JDK 1.2
> and JSDK 2.0.
>
> Apache is working ok, JServ seems also to be ok most of times.
> Problems come when interaction comes into play: I have Hunters
> book and can't get Applet-Servlet communication get to work
> properly. The ChatApplets all don't work: Netscape 4.5 tells me
> "Applet HttpChatApplet class HttpChatApplet could not be loaded"
> and access.log gives me a
> "GET /servlets/HttpChatApplet.class HTTP/1.0" 404 296
> although everything is there and should be ok.
This can't work, because you try to execute the servlet named class in the
HttpChatApplet package ( I don't think you have this one :)
What you want is to download the file HttpChatApplet.class.
To do so, you have to move this file out of the servlet zone into a "normal" Apache
directory.
> Should I tell sth else? Daytime example (also Chapter 10) gives me
> 4 out of 5 times - RMI is the problem - jserv.log tells:
> [08/06/1999 08:02:37:063 GMT+02:00] DaytimeServlet: init
> [08/06/1999 08:02:37:403 GMT+02:00] DaytimeServlet: Problem
> binding to RMI registry: Stub class not found:
> DaytimeServlet_Stub; nested exception is:
> java.lang.ClassNotFoundException: DaytimeServlet_Stub
Is this in really in your zone CLASSPATH?
> Yet something else: SurveyServlet from JSDK examples don't work
> either: "GET /servlets/SurveyServlet HTTP/1.0" 500 595 - Internal
> Server Error - all other three examples run fine.
Not enough infos to help you there.
> Next question is how is applet-servlet installation supposed to be
> setup? Servlets and appltes in /servlets dir or applets in /htdocs ?
> (I have them all in /servlets currently).
See above.
> I believe there is some setup or invocation problem involved - any
> help is welcome. Maybe you can just tell me if you got it to work
> on your machine and then we could work out what are the config
> diffs in our installations or code (I slightly adapted examples to live
> with /servlets). Thanks very much for your help in advance.
Sorry don't know this book (there are so many).
But I hope the above helps a bit.
> Sascha Kompass
Tschau
Christian
-- --------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]