kumare
asked on
applet timing out with jars
I am preloading few jars in applet archive param. but when I include the xerces jar which is like 1.7 mb i am getting a JVM heartbeat exception. I got it working with a workaround of placing the xerces jar in jre/lib/ext directory on my system for now. But I want to include the xerces jar also in the applet archive param. Any thoughts?
check thsi trail:
http://www.java.net/node/689057
they are mentioneg that 1.6_14 fixed some of the issues with haerbeat
ASKER
i am using 1.6_26
when do youe xperimence this error - do you have java condsole iopened - can you paste the stack trace
In general 1.7 mb is by no means prohibitive size for applet jars
I used to have more than that - and it worked fine
I used to have more than that - and it worked fine
ASKER
nothing in the java console .. the only thing in my logs is
JVM heartbeat .. Exception, send ts: 1748724199965, now ts: 1748734200455, dT 10000490
JVM heartbeat .. Exception, send ts: 1748724199965, now ts: 1748734200455, dT 10000490
at waht moment does that happen?
Maybe in your code - you are catching exceptiion and not printing stack trace ?
Maybe in your code - you are catching exceptiion and not printing stack trace ?
ASKER
it happens at random points...i have inserted printstacktrace in all catch blocks
but when you put xerces in loacl ext folder - it stops happening?
really strange that at random point - if the issue is downloading, I thought with applet it does
everything in the beginning rather than all the time going to te server and downloading new classes
have you tried to access this applet fior different clients?
Is the picture the same?
really strange that at random point - if the issue is downloading, I thought with applet it does
everything in the beginning rather than all the time going to te server and downloading new classes
have you tried to access this applet fior different clients?
Is the picture the same?
ASKER
i have not tried from different clients.. would it make any change??
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
good!
You mean you changed the version in java control in control panel?
You mean you changed the version in java control in control panel?
ASKER
i did not change the version of java... just unchecked to use the next generation java plugin
ASKER
disabling the next generation plugin solved the above probelm
I see. Thanks.
Which version of Java are you running ?