Applet run ..err or not

i try to run my app with visual age. my applet should take live feed images from my webcam but i get a a black screen with a text message on the left corner video started.... in the console i get this message: what is wrong?
Using SimpleLogger
VideoApplet version 1.113 built on 2004/07/09 at 18:51:23 UTC.
** LiveWave Video Streamer Initialized **
Video initializing...
getBackBuffer for verison: 1.2.2
using non-volatile Image
port = 2245
java.lang.ClassNotFoundException: netscape.javascript.JSObject
     java.lang.Throwable(java.lang.String)
     java.lang.Exception(java.lang.String)
     java.lang.ClassNotFoundException(java.lang.String)
     java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
     java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
     java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
     java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
     java.lang.Class java.lang.Class.forName(java.lang.String)
     com.livewave.applet.JavaScriptSupport(java.applet.Applet)
     void com.livewave.applet.VideoApplet.init()
     void sun.applet.AppletPanel.run()
     void java.lang.Thread.run()
Video initialized...
Video starting...
Video connecting...
Video connecting...
MessageManager connect
MessageManager connecting to localhost/127.0.0.1 2245 TIMES= 1
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:2245 connect,resolve)
     java.lang.Throwable(java.lang.String)
     java.lang.Exception(java.lang.String)
     java.lang.RuntimeException(java.lang.String)
     java.lang.SecurityException(java.lang.String)
     java.security.AccessControlException(java.lang.String, java.security.Permission)
     void java.security.AccessControlContext.checkPermission(java.security.Permission)
     void java.security.AccessController.checkPermission(java.security.Permission)
     void java.lang.SecurityManager.checkPermission(java.security.Permission)
     void java.lang.SecurityManager.checkConnect(java.lang.String, int)
     java.net.Socket(java.net.InetAddress, int, java.net.InetAddress, int, boolean)
     java.net.Socket(java.net.InetAddress, int)
     void com.livewave.net.client.MessageManager.connect()
     boolean com.livewave.net.controller.UnitController._initMessageManager(com.livewave.net.client.MessageManager)
     boolean com.livewave.net.controller.UnitController.initialize(com.livewave.server.control.UnitID, java.lang.String, java.lang.String, java.lang.String, java.net.InetAddress, int, com.livewave.net.controller.UnitController$Notify)
     void com.livewave.applet.VideoApplet.start()
     void sun.applet.AppletPanel.run()
     void java.lang.Thread.run()
Video started...
setSize(374,414)
getBackBuffer for verison: 1.2.2
using non-volatile Image
setSize(410,447)
getBackBuffer for verison: 1.2.2
using non-volatile Image

There seems to be two problems:
java.lang.ClassNotFoundException: netscape.javascript.JSObject
The class netscape.javascript.JSObject can't be found, and the second error is security related:
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:2245 connect,resolve)
Your applet isn't allowed to open a socket to your local host. It's only allows to open a socket back to the server which it was loaded from (try using your ip-address instead of 127.0.0.1)
/Kaj

Similar Messages

  • Applet runs with jre 1.5 but not jre 1.6

    I'm working on an applet which works just fine when 1.5.0_15 is the latest JRE installed on the PC, but does not work when 1.6.0_6 is installed. In the latter case, the applet does not load due to getting a NoClassDefFoundError. Here's the Java Console error trace:
    java.lang.NoClassDefFoundError: com/hp/nonstop/hsc/core/configuration/ConfigurationMetaData
            at com.hp.nonstop.hsc.tools.configurator.ConfiguratorApplet.init(ConfiguratorApplet.java:53)
            at sun.applet.AppletPanel.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.hp.nonstop.hsc.core.configurati
    on.ConfigurationMetaData
            at sun.applet.AppletClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.applet.AppletClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            ... 3 moreThe relevant (I think) portions of the <object> generated by the JSP is:
    <object
        classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        name="ConfiguratorApplet" width="600" height="400"
        codebase="http://java.sun.com/products/plugin/1.3/jinstall-131-win32.cab">
    <param name="java_code" value="com.hp.nonstop.hsc.tools.configurator.ConfiguratorApplet.class">
    <param name="java_codebase" value="/HSC/configurator">
    <param name="java_archive" value="configurator.jar,../lib/configapi.jar,<<other jar files listed here>>">
    <<other param tags included here>>
    </object>The class it can't seem to find (under 1.6) is actually located in the configapi.jar file, which itself is located in the ../lib folder (relative to the /HSC/configurator folder where configurator.jar is located).
    Obviously, when the browser is using JRE 1.5.15 the VM engine can find all the needed classes as the applet runs OK. But when 1.6.6 is installed, things can't be found. I suspect something different in the search paths (though I thought the "java_archive" value was supposed to specify that), in the permissions needed to read the files, or something, but I just can't track down what the difference is (and thus why things are failing with 1.6 installed).
    Any help/ideas would be greatly appreciated!

    Stephen.Thomas wrote:
    have [you] tried moving the configapi.jar into the same folder as the configurator.jarYes, I have. I've also tried re-rooting the page to the lib directory where everything exists; i.e. changing java_codebase to /HSC/lib and changing java_archive so all jars referenced no longer have ../lib/ in them. Same behavior.
    It's almost as if the search path is behaving differently between 1.5 and 1.6, possibly not even being controlled by the values of java_codebase and java_archive at all.

  • Applet runs on local PC but not over network

    My applet runs just fine locally within an html container file but when I post it to my website, (both html file and class file in the same folder ) the applet has errors.
    Are there some classes that can't be used in downloaded files. Do I need to change some settings on Internet Explorer?
    Does the class need to be downloaded ahead of time? I thought the class was downloaded and run upon html access?
    Here's hoping for an easy answer. The website applet feature was one of my reasons for wanting to learn JAVA.
    Here's the link that doesn't work. It will provide you with the error message
    http://home.roadrunner.com/~adejaco/BALLBOUNCE4.HTM
    THanks,

    Welcome to the Sun forums.
    adejaco wrote:
    My applet runs just fine locally within an html container file but when I post it to my website, (both html file and class file ...This output suggest the class is not there.
    load: class BallBounce4 not found.
    java.lang.ClassNotFoundException: BallBounce4
    http://home.roadrunner.com/~adejaco/BallBounce4.class
    --->
    Not Found
    The requested URL /~adejaco/BallBounce4.class was not found on this server.
    Apache/2.0.52 (Red Hat) Server at home.roadrunner.com Port 80
    --------------------

  • UnsupportedAudioFileException when applet runs served by servlet

    I have spent the better part of two days sorting through this. I developed an applet, using several examples found here and elsewhere, that will play, pause and stop playing an MP3 file. It is very simple and purposely designed that way. I use Eclipse as my development environment and when I run the applet directly from the IDE it runs fine. When I jar the files, sign the jar and deploy the applet through a servlet I get the following:
    javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
         at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
         at org.myorg.applet.MP3JLayerApplet.playMP3(MP3JLayerApplet.java:158)
         at org.myorg.applet.MP3JLayerApplet$PlayerThread.run(MP3JLayerApplet.java:116)
    So I am assuming that there is something in the classpath missing that is causing the heartburn to the applet (running in FF5 in Windows 7). Where do I start unpacking the issue? I have the Java Control Panel Console in trace mode but it doesn't show which classes/jars are being accessed as the applet loads. Is there a way to see each class as it is loaded and where (like the -verbose switch) ?
    The segment of code that is running is as follows:
                   URL url = null;
                   if (classID!=null)
                        try
                             url = new URL(audioURL);          
                             System.out.println(url);     
                        catch (Exception ex)
                             System.err.println(ex);     
              try {
                   AudioInputStream in = AudioSystem.getAudioInputStream(url);
    The audioURL is a string with the following value:
    http://localhost:9080/BSFDocs/lectureFiles/717/lecture.mp3
    If the URL is used directly in the browser, the mp3 is downloaded and would play in Media player with no problems.
    Again, if the applet is run directly in from Eclipse using the Run as --> Java Applet option, it works perfectly. If run from the servlet it fails.
    Suggestions?
    Thanks

    FYI,
    I didn't have to download and install any plug-ins before to have this work. It would work with the Browser's VM but now doesn't seem to.

  • Mkinitcpio err: command not found [solved]

    I rebuilt fbsplash yesterday and get this error when running 'mkinitcpio -p kernel26'
    -> Parsing hook: [fbsplash]
    /lib/initcpio/install/fbsplash: line 90: err: command not found
    Line 90 reads
    err "Theme invalid or not found: '$theme'"
    The maintainer of fbsplash reported that 'err' is a function in /lib/initcpio/init_functions which is part of the package mkinitcpio.
    However looking through the other scripts in /lib/initcpio/install/ this is the only one which uses this command and thus the only one producing the error.
    Is it not valid?
    Last edited by subatomic (2011-07-13 08:51:42)

    falconindy wrote:
    Mr.Elendig wrote:Maybe he haven't updated it for the latest release of mkinitcpio
    This. The 'err' function no longer exists.
    http://projects.archlinux.org/mkinitcpi … 88108eb385
    Yes, I have updated to the latest release of mkinitcpio in [core]. It's 0.7.2-1. And the function 'err' is still in /lib/initcpio/init_functions which is part of mkinitcpio 0.7.2-1 and used by the file /lib/initcpio/init, the hook 'net' which is also included in mkinitcpio 0.7.2-1 and by the hook 'encrypt' which is part of cryptsetup 1.3.1-2.
    Just run:
    grep -Rw err /lib/initcpio
    And I didn't get the 'command not found' error. Nevertheless I have replaced the 'err' calls by 'error' calls in the fbsplash hook.
    Btw., is there a documentation about the mkinitcpio API?

  • ERR "Could not load "image-loading" from icon theme"

    Just finished installing OpenBox on a virtualbox
    But cannot get nitrogen to set background.
    while running nitrogen from command line
    [utkarsh@myhost ~] $ nitrogen
    ERR: Could not load "image-loading" from icon theme, this indicates a problem with your Gtk/Gtkmm install

    I too had to the same problem. Couldn't find why we get that error. But could set the wallpaper using the command line.

  • MAX RT Target Update Error nipal.err file not found

    when trying to run a test on the daq assistant, receive error stsing that drivers don't match on RT target and host. When try to reinstall NI-DAQmx 7.2.0 get error file not found ...\NI-PAL\1.8.2.3.0\nipal.err. I checked, the file is not there.

    Hello,
    I don't understand if you get this when trying to reinstall DAQmx on your computer or in the RT box.
    I am trying to download the software to the RT target from the host (MAX Real Time Software Install Wizard).
    you might want to try uninstalling all the software and then reinstalling it. If it is reinstalling in your computer, I would first try to uninstall the driver and then reinstall it. If that doesn't fix it, you can try upgrading NI-VISA and that should install the latest version of the driver you are missing. Then install DAQmx
    I tried to uninstall and reinstall DAQmx on the RT target but receive the nipal.err file not found error (the file it is looking for should be on the host). I tried to reinstall VISA on the RT Target and also receive a file not found error: error reading from local disk visa-eng.err.
    So no luck as of yet with the DAQmx
    Tom

  • Instance of an applet running at server

    Hello there,
    Is there a way to find the instance of and applet that is running at a remote server.
    Client is IE browser.
    Thanks

    NTushar wrote:
    By external I mean that anything other than the Applet being worked on.That doesn't really narrow it down.
    It can be another Applet, Frame or maybe just a console application. The main concern is not the application.Well, yes it is. For example, a 1963 Dodge Dart cannot access your applet.
    But one thing is certain, whatever the application may be it has no relation with the Applet.Like that Dodge Dart. Sorry, it can't be done.
    Therefore there has to be some way by which the Application finds about the Applet, and so I thought what could be better than having a reference to the instance of the Applet.
    Summing it up, there is an Applet over the internet and a reference to it has to be found.
    Clear Enough.So, you're asking if there is some universal way that anything in the universe can see the applet. The answer is no.
    If you narrow the field down a bit, you can make it possible. Here are the three main ways that come to mind:
    1) other applets running in the same environment can see the applet
    2) if the applet acts as a network server of some sort, other applications (not necessarily Java ones) that have access to that host, could see it. This would require signing the applet, and configuring hardware and software firewalls to allow access, which might be a good idea.
    3) The applet could be made to access periodically a server, to update status information and look for commands.

  • Applet running problem in ie 6.0 under Windows XP

    Applet running problem in ie 6.0 under Windows XP
    I have a PC running Iternet Explorer 6.0 running under Windows XP. I have developed an applet using JDK 1.3 which is running fine with applet viewer , but it is not running in ie. I have installed Netscape navigator and Opera 5. the applet is running fine in both of these browsers but somehow it is not running in IE.
    Later on I upgraded my JDK to 1.4. It also displays use Java2 (V1.4.1) for <applet> (requires restart) tck marked in Advance section under Tools-Options menu of IE.
    I have also tried and set various options in my Control Panel�s Java Plug-in but all in vain. I have searched the sites for this solution but no one answers specifically.
    I know it�s a small problem due to discarded JVM in IE under Windows XP but give me solution for that.
    Thanks in Advance
    [email protected]

    Dear I have the same problem .
    Applet running problem in 6.0 . Enen I have installed the latest Jre 1.5.
    What should I do. I am fedup with this problem.

  • Applet run in applet viewer but produces error in browser

    Dear All,
    Rather new in Java developpement, this topic should be peanuts for most of you.
    I am using Oracle JDevelopper 11.
    I have written a very simple applet which just display a text using the following code:
    *public void paint(Graphics g){ g.drawString("I am talking to you !",40,40); }*
    The html code calls the applet using the following code:
    *<APPLET CODE="project1.Applet1.class" HEIGHT="200" WIDTH="600" ALIGN="bottom">This browser does not support Applets.</APPLET>*
    Running the hmtl file in the applet viewer, result is as expected.
    But running the html file using the server instance gives an error message which translation to English looks like the following:
    Error: click to get more information.
    The no java supported text is not displayed.
    I have set my browser to the lowest security level in order to check for security matter.
    No change.
    Browser is IE 8
    OS is Windows XP.
    Thanks a lot for helping a poor stuck beginner.
    Ben

    Hi Frank,
    Thank you for your help.
    I guess something is wrong with Jdeveloper or there is something I don't understand (most likely ;-)).
    Please correct me if I am wrong.
    The directory structure build by Jdeveloper is the following:
    Application name
    Project name
    classes
    project name <<< my class is stored under this folder
    public_html
    html file calling my applet class
    Calling Project1.Applet1 (as given as default when I create a java html file) in the html file give the following error message:
    open HTTP connection failed:http://127.0.0.1:7101/Application2-Project1-context-root/Project1/Applet1.class
    Calling Applet1 in the html file give the following error message: wrong name for applet Projet/Applet
    It does not refer to an http connection problem.
    Calling Project1/Applet1 gives the following
    HTTP connection failed:http://127.0.0.1:7101/Application2-Project1-context-root/Project1/Applet1.class
    So I am really puzzled.
    And stucked.
    Any hint ?
    Ben
    Edited by: Big Ben on 06-sept.-2010 21:01

  • Where an Applet runs from.... DEBATE

    I'm in a debate here and I really don't know the answer (I know, I probably really should). WHERE does an applet run from? I have an applet that resides on my tomcat server. It has roughly 200 helper classes. (well more than that, but kind of close) When I type in the URL for the applet from my client computer, WHERE do the classes run from? Are they loaded to the client computer and run ON THE CLIENT or is it run remotely from the server? I'm not really sure. If it IS run on the browser, WHY is it slow? Not only do I need to get this info, I find it fascinating (and embarrassing that I don't know!).
    Lots of thanks for your responses!

    Very good point. Sorry about that. =)
    I'm drawing a diagram with many components and connections on it. When you move it, it redraws the components. Makes sense. The problem is, I had this SAME function in my desktop application (same application really, just moved to an applet) and it went much smoother. On the applet, when moving the diagram there is a slight delay in the motion so that it is not fluid. I don't know why that would be if the applet runs off the client (like the application) and the diagram and all of its components and methods are the same...

  • Frequently when I open Firefox it says Firefox is already running but is not responding. I have to go to the task manager, find Firefox and close the process before I can get firefox to load.

    Those are all the details I have

    There is an article about this problem see:
    * [[Firefox is already running but is not responding]]

  • My G Drive will not show up on my desktop for use. It did yesterday. It is not full and currently the light turns on and seems to be running but will not show up on my desktop. What can I do?

    My G Drive will not show up on my desktop for use. It did yesterday. It is not full and currently the light turns on and seems to be running but will not show up on my desktop. What can I do?

    1. verify on another Mac first. and another port.
    2. very likely dead SATA card
    read about it here:
    Your dead external hard drive is likely fine! Great hope for your 'faulty' external HD

  • When I click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system" and I've tried to shut down and restart my computer but it keeps

    when i click to open firefox it says that "firefox is already running but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." and I've tried to shut down and restart my computer but it keeps showing the same message. I've even uninstalled Firefox and then reinstalled in the hopes that the problem would be solved but it this message is still popping up. What can I do to solve this problem?
    == This happened ==
    Just once or twice
    == I was on facebook trying to upload pictures yesterday. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; InfoPath.1)

    Do you have a profile lock file in your profile folder? If so, delete it and see if TB runs properly:
    http://kb.mozillazine.org/Profile_in_use#Remove_the_profile_lock_file

  • I close firefox and try to open it again later, it WON'T and says, "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." Firefox isn't running .

    After I turn on my laptop and click on firefox it works fine and it opens THE FIRST TIME. So can you help? i DON'T WANT TO RESTaRT my computer everytime and sometimes have to clsoe firefox b/c I'm typing paper and computer goes slow.

    Sounds like a "hang at exit" problem. There are several possible causes for that error. See:
    * How to stop the running Firefox process
    ** In Task Manager, does firefox.exe show in the '''<u>Processes</u>''' tab?
    ** See: http://kb.mozillazine.org/Kill_application
    * What may cause Firefox to hang at exit
    ** http://support.mozilla.com/en-US/kb/Firefox+hangs (see "Hang at exit" section)
    ** http://kb.mozillazine.org/Firefox_hangs
    ** https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding
    * You may need to try Firefox Safe Mode
    ** You may need to use '''Safe Mode''' to locate the problem: http://support.mozilla.com/en-US/kb/Safe+Mode
    **Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes '''<u>before</u>''' starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    ** If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling '''<u>one at a time</u>''' until the problem reappears. '''<u>You MUST close and restart Firefox after EACH change</u>''' via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    ** See the following for more information
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+plugins
    *** http://support.mozilla.com/en-US/kb/Basic+Troubleshooting

  • Firefox is OPEN and working fine, but when I click a link in Thunderbird I get 'Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.'

    If I click a link on my desktop or in any other program (while Firefox is open and running), I get this message: "Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system." There's about a billion links for this if you Google it, but they all say that Firefox wasn't shut down properly. (OK, maybe not ALL of them, but if the needle is in that haystack, I haven't yet found it.) That's not the issue in my case since I haven't shut FF down at all.
    == This happened ==
    Every time Firefox opened
    == IDK

    This began to happen to me when I tried to run two separate profiles simultaneously on the same installation of firefox with -no-remote

Maybe you are looking for

  • IChat and Internet Sharing conflict

    It seems that if I turn on Internet Sharing then I cannot make a Video connection. I have tested this with iChat Test ([email protected]) and it is a solid bug. Peter

  • Why no more support for AppleScript?

    I am a graduate student, and I need to be able to cite sources easily. In the previous version of pages, I was able to use Papers2 to easily insert citations and build a bibliography. Now that function is no longer available. Until it returns, I will

  • Firefox uses too much ram

    My FIrefox has been using too much RAM as of late. I have followed all the steps in the firefox support page about checking for possible plugins that may or may not be using too much RAM, but after starting firefox in safe mode, there really wasn't m

  • Please help...IDOC_BPM_FILE error

    Hi gurus, I am trying to send IORDER01(pm order) from an R/3 system to a file, which works fine. but when i try to use some business logic like if order type = 'PM01' then only i have to write to the file, using ccBPM, it fails... this is my first BP

  • Mplayer - forward/backward with downloading file [solved]

    Hi guys, When I open a video file that is still downloaded I cannot go forward or backward. Can this be changed or is mplayer simply not capable to do so? I think other video players such as VLC support that by default. Last edited by orschiro (2011-