----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

When using Apache 1.3.4 on Solaris 2.6,  clients (both IE 5.0 and Netscape
4.5) can't find .jar file to download even it is in the same (DocumentRoot)
directory. 
When using IIS on NT box with the same .html and .jar files I have no
problem, everything works fine.
Any idea what might be wrong ?. I added MIME description in mime.types for
Apache but that did not help.
Here is the html source:
<html>
<head>
<title>Chat</title>
</head>
<body>
<applet code=ChatApp.class name=ChatApp archive=Chat.jar width=0 height=0
MAYSCRIPT>
        <param name=switchServerPort value=8080>
        <param name=appname value=Chat>
        <param name=debug value=0>
        <param name=tunnelling value=false>
        <param name=encrypted value=false>
        <param name=resarchive value=chat.zip>
        <param name=resfile value=strings.txt>
        <param name=tunnelinport value=443>
        <param name=tunneloutport value=443>
        <param name=tunnelinprotocol value=https>
        <param name=tunneloutprotocol value=https>
        <param name=readthreads value=2>
        <param name=sendthreads value=2>
        <param name=messagecopies value=2>
</applet>
<h1><center>Hazelnut Chat</center></h1>
<h1><center>Applet</center></h1>
</body>
</html>

And here is Java Console log:
==============================================
IOException Loading Archive: http://172.16.12.38:82/Chat.jar
java.io.FileNotFoundException: 172.16.12.38:82//Chat.jar
        at com/ms/net/wininet/http/HttpInputStream.connect
        at com/ms/net/wininet/http/HttpInputStream.<init>
        at com/ms/net/wininet/http/HttpURLConnection.createInputStream
        at com/ms/net/wininet/WininetURLConnection.getInputStream
        at com/ms/vm/loader/JarArchiveSet.loadNextJar
        at com/ms/vm/loader/JarArchiveSet.getResourceBits
        at com/ms/vm/loader/JarArchiveSet.getClassData
        at com/ms/vm/loader/ResourceLoader.getClassData
        at com/ms/vm/loader/URLClassLoader.findClass
        at com/ms/vm/loader/URLClassLoader.loadClass
        at com/ms/vm/loader/URLClassLoader.loadClass
        at com/ms/applet/AppletPanel.processSentEvent
        at com/ms/applet/AppletPanel.processSentEvent
        at com/ms/applet/AppletPanel.run
        at java/lang/Thread.run
java.lang.ClassNotFoundException: ChatApp
        at com/ms/vm/loader/URLClassLoader.loadClass
        at com/ms/vm/loader/URLClassLoader.loadClass
        at com/ms/applet/AppletPanel.processSentEvent
        at com/ms/applet/AppletPanel.processSentEvent
        at com/ms/applet/AppletPanel.run
        at java/lang/Thread.run
Please help, I am kind of stuck with this.
Thanks, Dimitrije
This e-mail is confidential.  If you receive this e-mail in error, please
inform EBS immediately.  Any opinions expressed in this e-mail are those of
the author and do not necessarily represent the views of EBS.



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to