Results 1 to 19 of 19

Thread: Problem & Question

  1. #1

    Problem & Question

    1) Problem

    When I fire up the batch file islandNT I get the following error

    Code:
    java.lang.ExceptionInInitializerError: java.security.AccessControlException: acc
    ess denied (java.lang.RuntimePermission loadLibrary.JavaAccessBridge)
            at java.security.AccessControlContext.checkPermission(Unknown Source)
            at java.security.AccessController.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkPermission(Unknown Source)
            at java.lang.SecurityManager.checkLink(Unknown Source)
            at java.lang.Runtime.loadLibrary0(Unknown Source)
            at java.lang.System.loadLibrary(Unknown Source)
            at com.sun.java.accessibility.AccessBridge.<clinit>(AccessBridge.java:56
    9)
            at java.lang.Class.newInstance0(Native Method)
            at java.lang.Class.newInstance(Unknown Source)
            at java.awt.Toolkit.loadAssistiveTechnologies(Unknown Source)
            at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
            at sun.awt.GlobalCursorManager$CursorEvent.<init>(Unknown Source)
            at sun.awt.GlobalCursorManager.<clinit>(Unknown Source)
            at java.awt.Cursor.initIDs(Native Method)
            at java.awt.Cursor.<clinit>(Unknown Source)
            at java.awt.Window.<init>(Unknown Source)
            at java.awt.Frame.<init>(Unknown Source)
            at java.awt.Frame.<init>(Unknown Source)
            at javax.swing.JFrame.<init>(Unknown Source)
            at islandev.IslandsEvoGUI$1.<init>(IslandsEvoGUI.java:87)
            at islandev.IslandsEvoGUI.run(IslandsEvoGUI.java:85)
            at distrit.server.FineGrainedInteractiveTasks$1.run(Unknown Source)
    2004.01.01 17:08:03.703
    Java version 1.4.2 from sun
    Oracle Java version 1.3.1

    :begin
    start /low /b /wait java -Djava.security.policy=java.policy -jar ITClient.jar 139.184.166.27 KingKong Name -i 30 -c 60 mail@host.country
    goto begin

    Is this worse??

    2) How I get the island(s) to display?
    I have VNC installed
    Wich virtual screen should I access?

    Os: Windows XP Pro Sp 1 512 Mb ram

    Thnx!

  2. #2
    Anyone ?

  3. #3

    Talking

    Can somebody pleae shed a little light on my problem please??

    Thank you.

    Sorry for the bump....
    *bump*

  4. #4
    Administrator Bok's Avatar
    Join Date
    Oct 2003
    Location
    Wake Forest, North Carolina, United States
    Posts
    24,475
    Blog Entries
    13
    you have listed two versions of java, which comes first in the path?

    I would perhaps edit your environment variables to remove the oracle 1.3.1 or edit the startIsland.bat to include a full path to the sun java (which is probably c:\program files\java\j2re142\bin\java or something)

    Or it might be that the java.policy file has been renamed or deleted... is this still in the same directory ?

    Bok

  5. #5
    Ok thank you.
    I will try this tomorrow, my other pc is currently down...

    Thank you for quick response !!

    Regards,
    Cedric Vonck

  6. #6
    Hi Cedric,
    Has your problem been solved?
    Miguel

  7. #7
    unfortunately not...
    And I would not like to run it as a service. Because this machine is my main dev machine with oracle 9i & oracle forms installed.

    So I am sorry to say that I will leave DHEP.

    Regards,
    Cedric Vonck

  8. #8
    Cedric Wait! Don't go yet! It might be simple to solve. is the java.policy file in the directory where you run the batch file from? Is this the running directory? Has it not downloaded as java.policy.txt instead?

    Maybe you could install a separate fresh JRE, for eg. v 1.4.2 and in the batch file specify this as your path instead of the other version. This should definitively work.

    With regards to VNC, the window will open wherever you ran the batch file from..

    Good luck, Miguel

  9. #9
    is the java.policy file in the directory where you run the batch file from?
    Yes it is...

    Is this the running directory?
    Yes it is...

    Has it not downloaded as java.policy.txt instead?
    It is downloaded as java.policy

    Maybe you could install a separate fresh JRE, for eg. v 1.4.2 and in the batch file specify this as your path instead of the other version. This should definitively work.
    Did it.. no dice.
    It always bombs out even on my other machine. (with version 1.4.2.01


    Code:
    Path=C:\PROGRA~1\Java\J2RE14~1.2_0\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW

  10. #10
    Cedric, maybe your default permissions are too strict. Try adding this line to the java.policy file:

    permission java.security.AllPermission;

  11. #11
    Ok I will try it asap.

  12. #12
    it seems to work now....

    but now I get a GUI error (it is to fast)

    Now appears the following:

    *************REVERTING!!!!!!!!!!! to F<f>4.9E-324</f><p0>0.0</p0><p1>0.0</p1><p2
    >0.7592592592592593</p2><g>oPUCNv5rvUrjf4rP0brXdrhFMNZCoUe7KY~rvUvnc3pdEuSYnA[]O
    3l~A[eCVr^</g><l>378</l>
    2004.02.07 19:13:36.281
    P0, Gen: 268, Top: F<f>1.0000000000000002</f><p0>0.13661202185792348</p0><p1>0
    .3688524590163934</p1><p2>0.6851851851851851</p2><g>oPUCNXCrvUrjf4rP0brXdrhFaNXC
    u`UCJ~eok0brlbrvVMgY]9XMTjVj~Cu2Vll</g><l>378</l>, Avg: 0.9292466943378087

    Is this normal?
    How I can access the gui via vnc?

    Thank you for your help.

  13. #13
    Good! The output is normal. If you open it from a VNC window then it'll appear in that window.

  14. #14
    Thnx again for replying

    If you open it from a VNC window then it'll appear in that window.
    How do I do this ???

    And how many generations are we speaking about ? (500 ? 1000?)

  15. #15
    you run vncviewer, put in the ip address and password and then you run the batch file from within there.

    what about the generations?

  16. #16
    vnc => I will try it.

    Generations: of how many generations a Work Unit consists?

  17. #17

    Work / Effort

    Effort units depend on the run. For example the runs with multiple fault are harder and each generation will be worth more effort units. Larger circuits are algo harder and will deserve more effort units.

  18. #18
    I see

    But when I do
    vnc
    Ip Address 192.168.2.100 (my main address on wich my vnc server runs)
    Password: ******

    Loopback connections are forbidden

    So nevermind my stupid remarks about vnc... It was nice to learn something but I think I will stick with Rieselsieve or Dnet...

    Keep up the good work!!!!

  19. #19
    Why the hell would you want to VNC into your own machine?!

    So you're leaving the project then?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •