Cannot attach to applet

G

gen_www

I am running an applet in Internet Explorer using <Object> tag and
trying to attach to it using Netbeans IDE. However Netbeans is not able
to attach to the applet. However I can use Netbeans to attach to
Weblogic server.

a) Have read various documents on various websites including
http://java.sun.com/products/plugin/1.3/docs/debugging.html
b) My classes are compiled with -g option. (Attaching to VM fails, so I
dont think that's an issue at this stage)

I will appreciate any help or comments.
Thanks
Gen
---------
Here are the settings and parameters:

Java plugin version = 1.3.1_02
Internet Explorer version = 6.0.xxx
(have tried various versions for both)
1)
Java runtime parameters in Java plugin control panel.
-Djava.compiler=NONE -Xnoagent -Xdebug
-Xrunjdwp:transport=dt_shmem,address=2502,server=y,suspend=n

2) <OBJECT> tag:
OBJECT name="ABC" classid="clsid:CAFEEFAC-0013-0001-0002-ABCDEFFEDCBB"
width="10" height="10" align="baseline"

codebase="http://<%=request.getServerName()%>:<%=request.getServerPort()%>/downloads/jre_plugin.cab#Version=1,3,1,02">

<PARAM NAME="code" VALUE="com.mypackage.myclass.class">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3.1_02">
<PARAM NAME="scriptable" VALUE="true">
<PARAM NAME="mayscript" VALUE="true">
<PARAM NAME="codebase" VALUE="/mydir/mycodebase">
<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM NAME="cache_archive" VALUE="MyArchive.jar">
</object>

3) I have tried to attach using both shared memory attach and socket
attach (dt_shmem and dt_socket).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top