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?
greenearthAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

for_yanCommented:


Which version of Java are you running ?
0
for_yanCommented:

check thsi trail:
http://www.java.net/node/689057

they are mentioneg that 1.6_14 fixed some of the issues with haerbeat
0
greenearthAuthor Commented:
i am using 1.6_26
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

for_yanCommented:
when do youe xperimence this error - do you have java condsole iopened - can you paste the stack trace
0
for_yanCommented:
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
0
greenearthAuthor Commented:
nothing in the java console .. the only thing in my logs is

JVM heartbeat .. Exception, send ts: 1748724199965, now ts: 1748734200455, dT 10000490
0
for_yanCommented:
at waht moment does that happen?

Maybe in your code - you are catching exceptiion and not printing stack trace ?
0
greenearthAuthor Commented:
it happens at random points...i have inserted printstacktrace in all catch blocks
0
for_yanCommented:
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?
0
greenearthAuthor Commented:
i have not tried from different clients.. would it make any change??
0
for_yanCommented:
If this is an issue realted to downloading additional classes and delays related to those - then it may be soem network issue.
especially taht it happens at different points.
I would have tried on another machinee
0
greenearthAuthor Commented:
finally I think the browseer was timing out when it did not hear from the applet, disabled the next generation java plugin in  and it worked.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
for_yanCommented:
good!

You mean you changed the version in java control in control panel?
0
greenearthAuthor Commented:
i did not change the version of java... just unchecked to use the next generation java plugin
0
greenearthAuthor Commented:
disabling the next generation plugin solved the above probelm
0
for_yanCommented:
I see. Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.