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 answer 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 categorise 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:categorise 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.. measure 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> move of of the html code. But now it's not helping. I feel I must undergo 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 examine link somewhere? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! send has the best spam protection around
> 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 categorise 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 categorise. Apache responds but the PC shows errors in Java > Console and the applet does not run (applet notinited). > > errors: > load:categorise helloapp not open. > 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 categorise is not being > included in the packet. > > I'm new at this so it may be something very simple. I did get it to > bring home the bacon 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 examine link somewhere?
-- Michael McGlothlin --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:> for more info. To unsubscribe telecommunicate: users-unsubscribe[at]httpd.apache.org " from the digest: users-digest-unsubscribe[at]httpd.apache.org For additional commands e-mail: users-help[at]httpd.apache.org
Didn't know about wget thanks!. I just downloaded it and tried it: wget 192.168.1.159/helloapp class It tried many times without success - here are the last two: Retrying. --14:04:40-- (try:19) => `helloapp class.19' Connecting to 192.168.1.159:80.. connected. HTTP communicate sent awaiting response... 200 OK Length: 532 [application/octet-stream] 0% [ ] 0 --.--K/s 14:04:40 (0.00 B/s) - Connection closed at byte 0. Retrying. --14:04:40-- (try:20) => `helloapp class.19' Connecting to 192.168.1.159:80.. connected. HTTP communicate sent awaiting response... 200 OK Length: 532 [application/octet-stream] helloapp class.19 has sprung into existence. Giving up. - The packets look desire the ones I was getting with the html code. It seems to send back all the info except for the data. I can transfer other things in the directory. Ahhh - I made a small text register and named it 'test categorise' to see if was a problem with the extension. That worked but if I made the file larger - 475 bytes - it fails. So I'm thinking it has a problem with files larger than a few hundred bytes. Is there a setting for max data length or packet coat? - Steve Michael McGlothlin <michaelm[at]swplumb.com> wrote: Can you wget the applet file?
> 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 book 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 categorise. Apache responds but the PC shows errors in Java > Console and the applet does not run (applet notinited). > > errors: > load:categorise helloapp not open. > 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: measure > 0130 out=5, max=100...
Forex Groups - Tips on Trading
Related article:
http://www.gossamer-threads.com/lists/apache/users/340827
comments | Add comment | Report as Spam
|