Some easy problem i think

my SAX parser needs to read/write a file, therefore i set this permissions:
grant{
   permission java.util.PropertyPermission "javax.xml.parsers.SAXParserFactory", "write";
   permission java.io.FilePermission "c:\\-", "read, write, delete";
   permission java.net.SocketPermission "*:1-", "connect,accept,resolve";
};i just want the whole thing to run first then i will narrow down the permissions, however when i execute this code:
parser.parse("Users.xml", this);i get this Exception:
java.net.UnknownHostException: Users.xml
     at java.net.PlainSocketImpl.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at java.net.Socket.connect(Unknown Source)
     at sun.net.NetworkClient.doConnect(Unknown Source)
     at sun.net.NetworkClient.openServer(Unknown Source)
     at sun.net.ftp.FtpClient.openServer(Unknown Source)
     at sun.net.ftp.FtpClient.<init>(Unknown Source)
     at sun.net.www.protocol.ftp.FtpURLConnection.connect(Unknown Source)
     at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Unknown Source)
     at java.net.URL.openStream(Unknown Source)
     at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
     at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)I didn't get that exception without the permissions (without policies etc). And i can't really find out what's going on, but i thought it might be somewhat obvious for some of you experts out there. Well i hope so, because i really need to get through this,
Greetz and thanx in advance,
Nick

Sorry for the noise, i was really stupid
parser.parse("Users.xml", this);
the string was interpreted as a url
sorry again

Similar Messages

  • I am experiencing some major problems with my MacBook Pro. I have had some issues with it turning on/off at random times, but today, when starting, I get the grey start-up screen and a recovery bar. After filling in approx 1/4 of the way, the machine dies

    I am experiencing some major problems with my MacBook Pro. I have had some issues with it turning on/off at random times, but today, when starting, I get the grey start-up screen and a recovery bar. After filling in approx 1/4 of the way, the machine dies. After starting it in recovery mode, it will not allow me to download OS X Mavericks- it says the disk is locked. Any ideas? I do not have a back-up and do not want to erase everything before I have explored my options. Help?

    try forcing internet recover, hold 3 keys - command, option, r - you should see a spinning globe
    most people will tell you to do both pram and smc resets (google) and if you still have issues, either clean install (easy) or troubleshoot (hard)

  • I cannot run You Tube Videos on my Apple Macbook Air MD760HN/B with OS X 10.9.4. the video window displays a message " An error occurred, Please try again later." Learn more. The screen is black with this message. There appears to be some setting problem?

    Macbook Air MD 760HN/B with OS X 10.9.4
    4 GB RAM, 1.4 Ghz intel Core i5
    Problem 1
    I.     On Youtube whenever I try to play a video, I get a message on a black screen "An Error Occurred, Please Try Again later. Learn More."
    2.   I think it is some setting problem, being a new mac user, I am unable to sort it out.
    Problem 2.
    How to select more than one file in a folder to copy or delete. like it can be done in Windows with shift Click together.
    if one has to select say, file 25 to file 37 in a folder with 75 files. select all (command A) works but I cannot select few continuous files.

    Macbook Air MD 760HN/B with OS X 10.9.4
    4 GB RAM, 1.4 Ghz intel Core i5
    Problem 1
    I.     On Youtube whenever I try to play a video, I get a message on a black screen "An Error Occurred, Please Try Again later. Learn More."
    2.   I think it is some setting problem, being a new mac user, I am unable to sort it out.
    Problem 2.
    How to select more than one file in a folder to copy or delete. like it can be done in Windows with shift Click together.
    if one has to select say, file 25 to file 37 in a folder with 75 files. select all (command A) works but I cannot select few continuous files.

  • The password for the account "account name" was not changed. Your system administrator may not allow you to change your password or there was some other problem with your password. Contact your system administrator for help.

    I have a user who's Active Directory password is going to expire. I had her reset her password by going to apple > system prefs > user > and clicking change password. She received the error "The password for the account "account name" was not changed. Your system administrator may not allow you to change your password or there was some other problem with your password. Contact your system administrator for help."
    I had her change her password via the kpasswd command in terminal and that changed her password on the server sucessfully however the laptop has FileVault on it. Filevault is not recognizing the new password just the old password.
    I have deleted the keychain which didn't resolve and now I am going to decrypt and reencrypt the drive. I'm hoping this is an isolated issue I have over 25 laptops configured like this.

    I "think" the trick was unbinding and rebinding the computer account.
    After unencrypting and trying to reencrypt Filevault would still not take the new password.
    Rebooted the prompt to update the keychain appeared. Updated the keychain. Filevault would still not take the new password.
    Unbinded and rebinded the computer account. It worked and let me add the user to filevault.

  • Graphics Corruption in Some Apps - Problem with Geforce GT750

    Hi
    I am recently facing a graphics corruption problem with my 2013 MBPr. Yesterday I noticed that the window that shows the mail in Mail.app suddenly showed just some noise (just some strange colors). I restarted the app and it was gone. Then I installed a game named "Tales from the Borderlands". On the menu of the game I noticed the corruption again. Every time I would exit and rerun the game, the distortion would randomly change. Here are some examples:
    The problem appeared throughout the game too.
    Then I forced "Integrated Only" using a gfxCardStatus to use Intel Iris Pro instead of Geforce GT750. I started the game and the problem was gone. I tried some more times again by switching GPUs and every time I noticed that the problem is with Geforce GT750 and Intel Iris Pro has no problem.
    Any ideas what is causing the problem and what should I do? Thanks in advance for any help.

    Hi Tormirez,
    I can't believe my eyes.. I actually was afraid this might happen.
    Since I've been following the 2011 MBP forum after i had my MBP repaired (reflow by someone near Antwerp, Belgium), I've been learning some specific things about the very likely nature of these GPU issues.
    All these issues seem to be related to the replacement of leaded solder by nearly pure tin solder + not soldering according to the best profile (temperature vs time).
    The factor of time saving = money saving may very well play a role here.
    When you consider the nature of that leaded solder problem versus the soldering profiles, it's not hard to imagine that the problem isn't just in the 2011 model range, but may actually have started FROM that range...! I've already heard that some 2012 models also failed in a similar way.
    It may all be quite logical; tin solder needs a roughly 60ºC higher temperature to get into full liquid state then leaded solder.
    As the cheapest way to produce boards is probably rolling entire boards through ovens, melting the parts on it, it would require very precise monitoring of temperatures UNDER the CPU and GPU, to be SURE you have a full flow going on.
    But, at the same time, as you're cooking ALL components around 240ºC, they may have chosen not to stay at this temperature long enough. Or, maybe they stop at 240ºC, while 242ºC might be the minimum required temperature to guarantee full flow.
    Etc.. It's a very complicated mix of factors that determines if small or large batches of board could contain errors at all or not.
    But it may at least be called "bizarre" that these solder errors are found in tens of thousands 2011 MBPs, but also in 2012 models, and in the PS4 and also other brand Windows PCs!!
    If you want to test your GPU hard, download GpuTest OSX x64 0.7.0 from ( geeks3d . com / gputest ) and run the FurMark based stress test on HD resolution for 30-60 mins straight, then turn your machine off completely for 15-30 mins (until it's really cold, put it down on some cold stone floor might help), then repeat several times.
    If the same problem would be hidden in there as in the 2011 models, this is the way to get it triggered soon.
    If you ask me, this might be the first report of the same problem in the 2013 series.....
    Question; do you game a lot? If you answer yes, then it would pretty much make a connection to this similar problem I think!
    I'm curious about the results of the stress test!

  • Can I use a mini dvi to video adapter on my Macbook 7.1 of have some compatibility problems?

    I have a Macbook 7,1 and I want to buy a mini dvi to video (s-video and rca) to plug my macbook to my analog TV.... I want to know, if this have some compatibilty problems... or not....
    tengo una macbook 7.1 y quiero comprar un cable de mini dvi a video compuesto.... en la pagina de apple señala que esta diseñado para imac (intel) y powerbook de 12" que ya ni existen creo.... lo unico que quiero saber es si funcionaria o no el adaptador con mi macbook...

    The first review posting on the product page is:
    +dosen't work on mac pro with nvidia!!!!!+
    +Written by PH from hamburg+
    +August 27, 2007+
    Which suggests no. I have heard from an Apple Store "genius" that it does.
    Both are n=1, so I'd suggest a call to the Apple Store sales line (even if you don't order it that way).

  • Hi team , I have some questions/Problem for my product apple (iPad,iPhone) , I want to employee speak and type thai language

    Hi team , I have some questions/Problem for my product apple (iPad,) , I want to employee that can  speak  or response me in thai language
    1. ผม อาคเนย์  พำนักอยู่ประเทศไทย กรุงเทพฯ  มีปัญหาสอบถาม ดังต่อไปนี้
       - กระผมได้ทำการตัดบัตร เครดิต เพื่อซื้อเกมส์ผ่าน itune store ผ่าน apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ในวันที่18 ก.ค. 56 เวลา 17.07น. ซึ่งทางบัตรเครดิตได้แจ้งเรียกเก็บเงินมายอดเงิน 39.99$ ซึ่งในระบบจริงๆ ทางกระผมต้องการตัดในยอด 99.99$ แต่พอได้ประสานงานไปยังธนาคาร ได้รับการแจ้งกลับมาว่า ได้ทำการตัดบัตรในยอดเงิน 39.99$ ซึ่งในความเป็นจริงนั้น กระผมไม่ได้สั่งซื้อเกมส์ในยอด 39.99$ ซึ่งในยอด 99.99$ นั้นพยายามตัดในระบบบัตรเครดิตอยู่ แต่ทางกระผมได้ยืนยันกลับไปว่าไม่ให้ระบบตัดนะครับ เพราะว่าเนื่องจากมีปัญหาในการชำระเงินระหว่าง Apple itune store อยู่
       - ทั้งนี้ขอให้ทางเจ้าหน้าที่ประสานงานตรวจสอบ apple itune ID : misskor.yaprom@*** เพื่อซื้อเกมส์ Eleves Realm ตามที่ได้ให้รายละเอียดโดยด่วนว่าเป็นเพราะว่าระบบมีปัญหาหรือว่ามีอะไรเกิดขึ้นในข ั้นตอนการชำระเงินครับ
    รบกวนประสานงานกลับมายังกระผม อาคเนย์ ที่หมายเลขโทรศัพท์มือถือ +**** / reply feedback  email : lekod1@*** โดยด่วน ในวันศุกร์ที่ 19 ก.ค. 2556 ครับ
    ขอบคุณครับ
    อาคเนย์  อุดปิน
    กด
    <Edited By Host>

    Google translation:
    พนักงานของ iTunes Store จะไม่ได้อ่านข้อความในเว็บบอร์ดนี้ ถ้าคุณต้องการความช่วยเหลือสำหรับปัญหาที่มีใน iTunes Store, คุณจะต้องติดต่อกับพวกเขาผ่านทางแบบฟอร์มเว็บนี้:
    http://www.apple.com/emea/support/itunes/contact.html

  • I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look

    I am having some huge problems with my colorspace settings. Every time I upload my raw files from my Canon 5D mark II or 6D the pics are perfect in color. That includes the back of my camera, the pic viewer on my macbook pro, and previews. They even look normal when I first open them in photoshop. I will edit, save, and then realize once i've sent it to myself to test the color is WAY off. This only happens in photoshop. I've read some forums and have tried different things, but it seems to be making it worse. PLEASE HELP! Even viewing the saved image on the mac's pic viewer is way off once i've edited in photoshop. I am having to adjust all my colors by emailing myself to test. Its just getting ridiculous.

    Check the color space in camera raw, the options are in the link at the bottom of the dialog box. Then when saving make sure you save it to the srgb color space when sending to others. Not all programs understand color space and or will default to srgb. That won't necessarily mean it will be accurate, but it will put it in the ballpark. Using save for web will use the srgb color space.

  • My computer has some serious problems, my iphoto only shows thumb size pics when I try to open them, i tried to rebuild my files from folders that had the pics in them. originally all the photos has a large delta with a question mark. also I can't back up

    my computer has some serious problems, my iphoto only shows  only shows thumb size pics when I try to open them, i tried to rebuild my files from folders that had the pics in them. originally all the photos had a large delta with a question mark. also I can't back up the library file because its not there. I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place. I also lost my Idvd file, only have broken chain showing.

    Details please
    What version of iPhoto and of the OS?
    i tried to rebuild my files from folders that had the pics in them.
    Exactly what did you do and how did you do it? this ay be the cause of your issue but without details we can n=ony guess
    my iphoto only shows  only shows thumb size pics when I try to open them,
    where do you see htis? In the iPhoto window? what does "try to pen them" exactly mean?
    originally all the photos had a large delta with a question mark.
    Ok - this usually has a simple solution - do you still have a copy of the library that has this problem?
    also I can't back up the library file because its not there.
    This makes no sense at all - all of your previous statements indicate that you do have an iPhoto library but have some problems with it
    By default your iPHoto library is located in your Pictures folder and is named iPhtoo library - if tha tis not the case the you have moved or renamed it and only you know what you did until you tell us the details
    I went to time machune and tried to find the file but I can't find it or I am looking in the wrong place.
    Again unless you actually share what and how you are doing thing but continue to simply state abstract problems it is no possible to assist you - details on using Time Machine are here  --  http://support.apple.com/kb/HT1427?viewlocale=en_US&locale=en_US   --     and   --    http://pondini.org/TM/FAQ.html   ---
    I also lost my Idvd file, only have broken chain showing.
    This would be better addressed in the iDVD forum - but again unlesss yu share detailed information no one can assist
    LN

  • Hello guys my i phone touch is not working on edges and some touch problem and it is not taking too much time too respond it is purshecd in kuwait can i get replace in india

    hello guys my i phone touch is not working on edges and some touch problem and it is not taking too much time too respond it is purshecd in kuwait can i get replace in india it is i phone 4s

    saikumar3 wrote:
    ...it is purshecd in kuwait can i get replace in india it is i phone 4s
    No, warranty is not International and is only valid in country of purchase.

  • I have coverage with mixed formats -  some with PAL ( we think 4:3 ratio) and some HD. When I chose

    I have coverage with mixed formats -  some with PAL ( we think 4:3 ratio) and some HD. When I chose our sequence settings to begin with, is there a way of preventing some shots with bars either at left and right or top and bottom?

    Choose PAL 4x3 and scale down the rest.

  • Some strange problem with Flash/As3

    Hi,
    I am having some strange problem with my flash cs3.
    Whatever script I write in as3  doesn't work, even a stop() function doesn't work . But when I change my publish setting to as2 it works fine.
    Not sure about the root cause, may be some setting or preference or my cs3 is corrupted.
    Can anybody please advise.
    Thanks,
    Kishor

    try this
    create a new fla as3,
    select frame 1
    open the actions panel
    paste in the following code
    var squares:Array = new Array;
    setup();
    function setup():void {
        for (var i = 0; i < 25; i++) {
            var square:Sprite = new Sprite();
            //square.name = "square" + i;
            square.graphics.beginFill(Math.random() * 0xffffff);
            squares.push(square);
            squares[i].graphics.drawRect(0, 0, 100, 100);
            squares[i].x = i*3;
            squares[i].y = i*3;
            squares[i].filters = [];
            square.graphics.endFill();
            stage.addChild(squares[i]);
    for (var j = 0; j < squares.length; j++) {
        squares[j].addEventListener(MouseEvent.MOUSE_DOWN, dragMovie);
        squares[j].addEventListener(MouseEvent.MOUSE_UP, dropMovie);
        squares[j].buttonMode = true;
    function dragMovie(event:MouseEvent):void {
        event.target.startDrag();
    function dropMovie(event:MouseEvent):void {
        event.target.stopDrag();

  • I installed lv 6.1 on a windows 98 system. As I am having problems of stability (much more than with the former release 6.0), I would like to know if there is some specific problem with windows 98 or there is some patch.

    I installed lv 6.1 on a windows 98 system. As I am having problems of stability (frequent crashes, much more than with the former release 6.0), I would like to know if there is some specific problem with windows 98 or there is some patch available.

    My experience with Win98 is that it is not a very stable system, regardless of software used. For example, Win2000 and XP are far more stable than 98. I've had it crash on its own if I leave the computer on for several days.
    I wouldn't recommend running programs for long time (few days) on this OS.
    This being said, can you be more specific in your question. What kind of stability problems did you have, which VIs did you run (if possible post them here), did you change the interrupts and priority levels on those VI, do you get error messages or blue screen....
    Zvezdana S.

  • How do I get flash to stop looping? (And some other problems too)

    I'm brand new to flash so cut me a little slack... 
    I'm in the middle of building a website in Flash CS4 in Action Script 3.0 and (according my the tutorial I'm using) I need to access the "parameters" panel. The problem is I don't see it anywhere. I see "properties" and "filters" but to parameters. I've cycled through all the workspace presets but with no luck. How can I bring it up??
    Also, even though I used the "stop();" code in the beginning of my actions frame my movie just keeps looping when I test it. What am I doing wrong?
    I've attached the file I'm working on, maybe there's some other problem as well..?
    Thanks in advance..

    to see the parameters panel drag a component (like the flvplayback component) onto the stage.  a parameters panel should appear.
    if you have no compiler errors and your swf plays past a stop(), you have other code that's executing after the stop() causing your timeline to advance.

  • I had bought iphone 4 from singapore and now i am relocated to india.....there is some hardware problem in the phone due to which i m nt able to use it.....how do i give the phone for repair and in which country?

    i had bought iphone 4 from singapore and now i am relocated to india.....there is some hardware problem in the phone due to which i m nt able to use it.....how do i give the phone for repair and in which country?

    The warranty is not international and only available in the Country of purchase .If the iPhone is out of warranty  Apple or their Agents will also only give service in the country of original purchase.
    So if you want Apple help you will have to return it to Singapore or find a 3rd party to repair it if they can in India  as long as it is out of warranty and you understand that Apple would never help with that device in future if it has been opened by a 3rd party

Maybe you are looking for

  • Oracle.xml.parser.v2.XMLParseException: Invalid char in text. in BPEL

    Hi, Non Recoverable Business Fault : <bpelFault><faultType>1</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskService"><part name="payload"><operationErroredFault xmlns="http://xmlns.oracle.com/bpel/workflow/taskServ

  • Thumbnail images in some albums are incorrect

    the image name is correct, and when I click open the thumbnail, the correct image appears. iphoto6 btw.  

  • MacBook Pro (2011) Won't Charge Without Restart

    Hi guys, I searched the forums for this problem but couldn't find a match. When I plug the power cable into my 2011 17" MacBook Pro it won't take a charge and the light on the cable doesn't come on. However if I restart the computer, the light will c

  • How can I edit superscripts in a TextField

    Hi there, Is there any way to represent a superscript in a textfield ? Ex: I want to write the acronym for meters per second without the division sign (ms-1 but I want to see the -1 raised in the textfield as a superscript). Is it possible to press t

  • Apps Removed from 'Open In' Menu on Ipad with IOS 8.0.2

    Since getting the IOS 8 update, I am unable to open PDFs in email attachments with the "Open In" menu at the top righthand corner of the screen, from Quick Look view. Before the update, all of my apps that supported PDFs were available in that menu (