• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java plugin properties

 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

when i tried to run an applet ,I am unable to view the applet softphone and a default message is displayed like

If you're experiencing some problems viewing the applet,check your java plug-in control panel :
- In the Proxies tab, uncheck the "Use browser Settings" box
- In the Cache tab, uncheck the "Enable Caching" box

But when i open the control panel,and clicked the java icon.There are tabs like General,Update,Java,Security,Advanced.No other tabs like proxy and cache are found.Am i correct in opening the java plug in properties?If not How should i open the java plug in control panel?Any help would be appreciated

Thanks.
 
Maneesh Godbole
Saloon Keeper
Posts: 11325
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Better suited for the Applet forum.
Moving.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tabs may have been rearranged and/or renamed. Check all the tabs for the afore-mentioned items.
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.As you told i checked out other tabs for the mentioned ones.I can able to find the "use browser settings" under General tab.But even i changed that it doesn't works.But I didnt find cache tab anywhere.In java console i am getting the following error:

Java Plug-in 1.6.0_06
Using JRE version 1.6.0_06 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\people teach
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
basic: Stopping applet ...
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@19616c7
basic: Finding information ...
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@7a84e4, refcount=0
basic: Caching classloader: sun.plugin.ClassLoaderInfo@7a84e4
basic: Current classloader cache size: 1
basic: Done ...
basic: Joining applet thread ...
basic: Destroying applet ...
basic: Disposing applet ...
basic: Joined applet thread ...
basic: Quiting applet ...
liveconnect: Invoking JS method: document
liveconnect: Invoking JS method: URL
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@7a84e4, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1958bf9
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: completed perf rollup
initializing Applet
outbound proxy address 127.0.0.1
outbound proxy port 4000
user1@nist.gov
network: Connecting socket://127.0.0.1:8080 with proxy=DIRECT
127.0.0.1
- number of capture devices: 2
- name of the capture device: DirectSoundCapture
- format accepted by this AUDIO device: LINEAR, 48000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 48000.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 48000.0 Hz, 8-bit, Stereo, Unsigned
- format accepted by this AUDIO device: LINEAR, 48000.0 Hz, 8-bit, Mono, Unsigned
- format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 8-bit, Stereo, Unsigned
- format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 8-bit, Mono, Unsigned
- format accepted by this AUDIO device: LINEAR, 32000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 32000.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 32000.0 Hz, 8-bit, Stereo, Unsigned
- format accepted by this AUDIO device: LINEAR, 32000.0 Hz, 8-bit, Mono, Unsigned
- format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 8-bit, Stereo, Unsigned
- format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 8-bit, Mono, Unsigned
- format accepted by this AUDIO device: LINEAR, 16000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 16000.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 16000.0 Hz, 8-bit, Stereo, Unsigned
- format accepted by this AUDIO device: LINEAR, 16000.0 Hz, 8-bit, Mono, Unsigned
- format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 8-bit, Stereo, Unsigned
- format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 8-bit, Mono, Unsigned
- format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 8-bit, Stereo, Unsigned
- format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 8-bit, Mono, Unsigned
- name of the capture device: JavaSound audio capture
- format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
- format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
network: Cache entry not found [url: http://localhost:8080/phone/media/protocol/dsound/DataSource.class, version: null]
network: Connecting http://localhost:8080/phone/media/protocol/dsound/DataSource.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/media/protocol/dsound/DataSource.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
network: Cache entry not found [url: http://localhost:8080/phone/javax/media/protocol/dsound/DataSource.class, version: null]
network: Connecting http://localhost:8080/phone/javax/media/protocol/dsound/DataSource.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/javax/media/protocol/dsound/DataSource.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
network: Cache entry not found [url: http://localhost:8080/phone/media/processor/raw/Handler.class, version: null]
network: Connecting http://localhost:8080/phone/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/media/processor/raw/Handler.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
network: Cache entry not found [url: http://localhost:8080/phone/javax/media/processor/raw/Handler.class, version: null]
network: Connecting http://localhost:8080/phone/javax/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/javax/media/processor/raw/Handler.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
network: Cache entry not found [url: http://localhost:8080/phone/com/sun/media/processor/raw/Handler.class, version: null]
network: Connecting http://localhost:8080/phone/com/sun/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/com/sun/media/processor/raw/Handler.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
network: Cache entry not found [url: http://localhost:8080/phone/com/ibm/media/processor/raw/Handler.class, version: null]
network: Connecting http://localhost:8080/phone/com/ibm/media/processor/raw/Handler.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/com/ibm/media/processor/raw/Handler.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
network: Cache entry not found [url: http://localhost:8080/phone/media/processor/unknown/Handler.class, version: null]
network: Connecting http://localhost:8080/phone/media/processor/unknown/Handler.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/media/processor/unknown/Handler.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
network: Cache entry not found [url: http://localhost:8080/phone/javax/media/processor/unknown/Handler.class, version: null]
network: Connecting http://localhost:8080/phone/javax/media/processor/unknown/Handler.class with proxy=DIRECT
network: Connecting http://localhost:8080/phone/javax/media/processor/unknown/Handler.class with cookie "JSESSIONID=AEE32E7AFB00C524785563B5921E82E3"
Supported format : dvi/rtp, 8000.0 hz, 4-bit, mono
Supported format : dvi/rtp, 11025.0 hz, 4-bit, mono
Supported format : dvi/rtp, 22050.0 hz, 4-bit, mono
Supported format : g723/rtp, 8000.0 hz, mono, framesize=192 bits
Supported format : gsm/rtp, 8000.0 hz, mono, framesize=264 bits
Supported format : ulaw/rtp, 8000.0 hz, 8-bit, mono, framesize=8 bits
Supported format : mpegaudio/rtp, 48000.0 hz, 16-bit, mono, bigendian, signed
Supported format : mpegaudio/rtp, 22050.0 hz, 16-bit, mono, bigendian, signed
Supported format : mpegaudio/rtp, 44100.0 hz, 16-bit, stereo, signed
Supported format : mpegaudio/rtp, 48000.0 hz, 16-bit, stereo, bigendian, signed
Supported format : mpegaudio/rtp, 22050.0 hz, 16-bit, stereo, bigendian, signed
Supported format : mpegaudio/rtp, 44100.0 hz, 16-bit, mono, bigendian, signed
Supported format : mpegaudio/rtp, 44100.0 hz, 16-bit, stereo, bigendian, signed
javax.sip.PeerUnavailableException: The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.
at javax.sip.SipFactory.createStack(SipFactory.java:324)
at javax.sip.SipFactory.createSipStack(SipFactory.java:165)
at gov.nist.applet.phone.ua.MessageListener.start(MessageListener.java:450)
at gov.nist.applet.phone.ua.MessengerManager.<init>(MessengerManager.java:103)
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.start(NISTMessengerApplet.java:181)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at javax.sip.SipFactory.createStack(SipFactory.java:314)
... 6 more
Caused by: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap
at gov.nist.javax.sip.stack.SIPTransactionStack.<init>(SIPTransactionStack.java:377)
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:268)
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:310)
... 11 more
The Peer SIP Stack: gov.nist.javax.sip.SipStackImpl could not be instantiated. Ensure the Path Name has been set.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at javax.sip.SipFactory.createStack(SipFactory.java:314)
at javax.sip.SipFactory.createSipStack(SipFactory.java:165)
at gov.nist.applet.phone.ua.MessageListener.start(MessageListener.java:450)
at gov.nist.applet.phone.ua.MessengerManager.<init>(MessengerManager.java:103)
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.start(NISTMessengerApplet.java:181)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap
at gov.nist.javax.sip.stack.SIPTransactionStack.<init>(SIPTransactionStack.java:377)
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:268)
at gov.nist.javax.sip.SipStackImpl.<init>(SipStackImpl.java:310)
... 11 more
java.lang.NullPointerException
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.destroy(NISTMessengerApplet.java:257)
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.fatalError(NISTMessengerApplet.java:719)
at gov.nist.applet.phone.ua.MessageListener.start(MessageListener.java:459)
at gov.nist.applet.phone.ua.MessengerManager.<init>(MessengerManager.java:103)
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.start(NISTMessengerApplet.java:181)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.NullPointerException
java.lang.NullPointerException
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.destroy(NISTMessengerApplet.java:257)
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.fatalError(NISTMessengerApplet.java:719)
at gov.nist.applet.phone.ua.MessageListener.start(MessageListener.java:459)
at gov.nist.applet.phone.ua.MessengerManager.<init>(MessengerManager.java:103)
at gov.nist.applet.phone.ua.gui.NISTMessengerApplet.start(NISTMessengerApplet.java:181)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure you restart all browsers that use the Java Plugin after you make any changes in the control panel; otherwise the changes will not take effect.

Caused by: java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util/concurrent/ConcurrentHashMap

That's (at least part of) the problem. You need to get hold of the jar file containing Doug Lea's concurrency classes, and add that to your applet tag's archive attribute.
 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.Before running the applet,The build failed when i deployed like ant deploy-windows in the path c:\jain-sip\jain-sip-applet-phone .The error message is as follows:

C:\jain sip\jain-sip-applet-phone>ant deploy-windows
Buildfile: build.xml

init:
[echo] jmf home set to ${jmf.home}.
[echo] jmf lib set to ${jmf.home}/lib/jmf.jar.
[echo] running os Windows XP
[echo] running jdk 1.6.0_06
[echo] tomcat home set to ${tomcat.home}
[echo] Application built.

compile-webapp:
[javac] Compiling 2 source files to C:\jain sip\jain-sip-applet-phone\classe
s

compile-messenger:

all:

messenger-jar:
[delete] Deleting: C:\jain sip\jain-sip-applet-phone\build\${applet.phone.jar
.name}
[jar] Building jar: C:\jain sip\jain-sip-applet-phone\build\${applet.phone
.jar.name}

sign:
[copy] Copying 1 file to C:\jain sip\jain-sip-applet-phone\build
[signjar] Signing JAR: C:\jain sip\jain-sip-applet-phone\build\${applet.phone.
signed.jar.name} to C:\jain sip\jain-sip-applet-phone\build\${applet.phone.signe
d.jar.name} as nist
[signjar]
[signjar] Warning:
[signjar] The signer certificate has expired.
[signjar] Enter Passphrase for keystore:

war:
[delete] Deleting: C:\jain sip\jain-sip-applet-phone\build\${warname}.war
[copy] Copying 1 file to C:\jain sip\jain-sip-applet-phone\src\gov\nist\app
let\phone\webapp\pages
[copy] Copying 1 file to C:\jain sip\jain-sip-applet-phone\src\gov\nist\app
let\phone\webapp\pages
[war] Building war: C:\jain sip\jain-sip-applet-phone\build\${warname}.war


deploy-windows:

BUILD FAILED
C:\jain sip\jain-sip-applet-phone\build.xml:115: Execute failed: java.io.IOExcep
tion: Cannot run program "${tomcat.home}\bin\catalina.bat": CreateProcess error=
2, The system cannot find the file specified

Total time: 5 seconds

Due to tis build failed ,the war file created is not working.I have to clear this before running an applet.Any idea regarding why the build gets failed?

Thanks
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The presence of unsubstituted Ant variables like "${warname}" indicates that you have not defined those variables. You need to set those with the correct values before the build will run. A brief look at the error messages indicates that there are at least 5 such variables that have no values.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic