Try seperating the applet from servlet zone.


At 08:45 AM 6/8/99 +0200, you 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.
>
>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
>
>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.
>
>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).
>
>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.
>
>Sascha Kompass
>
>
>
>-- --------------------------------------------------------------
>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]
>


-- --------------------------------------------------------------
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]

Reply via email to