naga murari

+ Follow
since Aug 12, 2009
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by naga murari

Hi Ulf,

First Thanks for the Reply.

The same application is working fine if I am executing from my machine by using the URL:


. My machine name is c10831 in network. But the same application if I give servername instead of localhost it is not working.

for eg: http://c10831:8080/ExceleRATE.

I mean classNotFoundException is coming in my machine also.

Unfortunately I removed the network plug.

I tried with this URL http://c10831:8080/ExceleRATE

. Then it is working. So I am thinking the problem might be with network. I mean Firewalls are Turnon. so I am thinking firewalls to be turnoff.

Is this solution Ulf. or is there any workaround for this. In the above some websites are loading with applets even the firewalls are turn on.

Also I heard that if we execute from Unix machine we will not get this exception. Is this true Ulf..

If will ask our client please turn off the firewall, he will not accept right.....

Ulf...please give me one solution

Thanks in Advance...

14 years ago
Problem not solved. can you please help on this.
14 years ago
I want to execute the code from client machines. So I am giving my server name like "http://c10831:8080/ExceleRATE".
14 years ago

Thanks for your reply. But I tried with that, still it is not working....

can you please help out. I have urgent deliverables.

Thanks in Advance.
14 years ago
hi any body there to help on this....
14 years ago
I have one jsp (Main.jsp) in which i am embedding One.Class file by using the following tag:

<applet codebase = "http://localhost:8080/ExceleRATE/" code="One" height="350" width="650" alt="Applet Not Supported by this Browser" archive="http://localhost:8080/ExceleRATE/dom4j-1.6.1.jar,http://localhost:8080/ExceleRATE/One.jar">

This applet ( reads the XML file and displays the data in tree structure.

I kept the One.class file, and all the jar files in the same folder where jsp is there. All the files are in tomcat/webapps/ExceleRATE (project folder).

This is working fine in the machine where i am running tomcat(for running applets separate setting neet to be made for java.policy file ..that i did in my machine and client machine....), but not working from the different machine, i.e client machine (here my machine will act as server).

I am getting the following error in client machine:

load: class One not found.
java.lang.ClassNotFoundException: One
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$ Source)
at Source)
Caused by: open HTTP connection failed:http://c10831:8080/ExceleRATE/One.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$ Source)
at Method)
... 7 more
Exception: java.lang.ClassNotFoundException: One
Dump thread stack ...

Can you please help me where I am doing wrong.

Thank in Advance..
14 years ago