Capturing webcam inages: java.securty.AccessControllerException

Discussion in 'Java' started by Michiel Bakker, Jun 28, 2003.

  1. Hi guys,

    I'm trying to capture images from a webcam in an ejb with a jsp as the
    client. I'm using j2eesdk1.3.1 from Sun. When I call my image capture
    function on the jsp I get the following error:

    java.security.AccessControlException: access denied
    (java.lang.RuntimePermission modifyThreadGroup)
    java.io.IOException: Capture device in use

    The device is not in use, I checked that. It seems that it has something to
    do with securty restrictions. I'm not familiar with java.security and I' not
    very experienced with ejb's. I was wondering if someone knows if this is a
    security problem in the ejb. I tried the same code in a servlet and in the
    servlet it works fine.
    Any suggestions?

    Thanks.

    Michiel.
     
    Michiel Bakker, Jun 28, 2003
    #1
    1. Advertising

  2. Michiel Bakker

    sandeep.manne

    Joined:
    Jun 13, 2008
    Messages:
    1
    Please send me the code to capture still image from webcam. Thanks in advance
     
    sandeep.manne, Jun 13, 2008
    #2
    1. Advertising

  3. Michiel Bakker

    kishor.patil

    Joined:
    Sep 16, 2008
    Messages:
    1
    Capturing Webcam Image on JSP or Servlet page

    Hi Michiel,

    I am developing an application in which there is one need , I want to capture still image from a webcam (web cam is attached at browser machine) with JSP or Servlet client. Ca you please send me the code in this regards.


    Please send me the above code so that I can use for my requirement.
    Early reply is appriciable.

    If anyone has this kind of code please send me ASAP.

    Thanks in advance.

    Kishor Patil.


     
    kishor.patil, Sep 16, 2008
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    475
  2. Konrad

    webcam

    Konrad, Aug 4, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    554
    Tian Min Huang
    Aug 6, 2003
  3. Bobby A
    Replies:
    6
    Views:
    838
    perry
    May 15, 2004
  4. Roland Poellinger
    Replies:
    2
    Views:
    7,326
    Roland Poellinger
    Feb 28, 2005
  5. Andrew Thompson

    Re: Capture image from webcam in java

    Andrew Thompson, Feb 16, 2010, in forum: Java
    Replies:
    1
    Views:
    5,644
    Arved Sandstrom
    Feb 16, 2010
Loading...

Share This Page