Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users
unexpected EOF on client side when Apache sends applet class
 

Index | Next | Previous | View Flat


swsyah at yahoo

Oct 25, 2007, 10:24 AM


Views: 183
Permalink
unexpected EOF on client side when Apache sends applet class

Apache 2.2.4 on Slax Linux, clients are win 2000 and win 98 with Mozilla an IE

I'm trying to get Apache on a Slax Linux machine to serve an applet to a browser on a Windows PC.

The html loads and displays; the applet is a simple 'hello world' app that runs in appletviewer fine. html and class are in the htdocs directory. hppd.conf was edited to allow to all.

The PC requests the html, Apache delivers, ack, ack etc. PC requests helloapp.class, Apache responds, but the PC shows errors in Java Console and the applet does not run (applet notinited).

errors:
load:class helloapp not found.
java.lang.ClassNotFoundException: helloapp
at ......
at ...
Caused by: java.io.IOException: unexpected EOF
at ...

The tcp packet returned by Apache is:

0000 ...v.".....e..E.
0010 .t*I[at].@.........
0020 ..P.(....C"..P.
0030 ..xv..HTTP/1.1.2
0040 00.OK..Date:.Thu
0050 ,.25.Oct.2007.10
0060 :16:04.GMT..Serv
0070 er:.Apache/2.2.4
0080 .(Unix).mod_ssl/
0090 2.2.4.OpenSSL/0.
00A0 9.8b.DAV/2..Last
00B0 -Modified:.Thu,.
00C0 25.Oct.2007.09:5
00D0 8:21.GMT..ETag:.
00E0 "220c-214-462de9
00F0 40"..Accept-Rang
0100 es:.bytes..Conte
0110 nt-Length:.532..
0120 Keep-Alive:.time
0130 out=5,.max=100..

The packet is 372 bytes but it says the Content-Length is 532

This and the error suggest that the actual applet class is not being included in the packet.

I'm new at this, so it may be something very simple. I did get it to work the other night after adding codebase="." to the <applet> part of of the html code. But now it's not helping. I feel I must have changed something in the Apache configuration.

I tried searching the archives, but it doesn't seem set up well for searching - am I missing a search link somewhere?






__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Subject User Time
unexpected EOF on client side when Apache sends applet class swsyah at yahoo Oct 25, 2007, 10:24 AM
    Re: unexpected EOF on client side when Apache sends applet class michaelm at swplumb Oct 25, 2007, 10:30 AM
        Re: unexpected EOF on client side when Apache sends applet class swsyah at yahoo Oct 25, 2007, 11:15 AM
            Re: unexpected EOF on client side when Apache sends applet class michaelm at swplumb Oct 25, 2007, 11:52 AM
                Re: unexpected EOF on client side when Apache sends applet class swsyah at yahoo Oct 25, 2007, 12:05 PM
                    Re: unexpected EOF on client side when Apache sends applet class michaelm at swplumb Oct 25, 2007, 12:10 PM
            Re: unexpected EOF on client side when Apache sends applet class solprovider at apache Oct 25, 2007, 12:19 PM
    Re: unexpected EOF on client side when Apache sends applet class swsyah at yahoo Oct 25, 2007, 4:36 PM
        Re: unexpected EOF on client side when Apache sends applet class solprovider at apache Oct 26, 2007, 12:33 PM
    Re: unexpected EOF on client side when Apache sends applet class swsyah at yahoo Oct 26, 2007, 7:42 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.