PDA

View Full Version : Problem & Question



cedricvonck
01-01-2004, 11:14 AM
1) Problem

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



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!

cedricvonck
01-08-2004, 02:13 PM
Anyone ?:notworthy

cedricvonck
02-04-2004, 02:21 PM
Can somebody pleae shed a little light on my problem please??

Thank you.

Sorry for the bump....
*bump*

Bok
02-04-2004, 02:29 PM
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

cedricvonck
02-04-2004, 02:45 PM
Ok thank you.
I will try this tomorrow, my other pc is currently down...

Thank you for quick response !!

Regards,
Cedric Vonck

michaelgarvie
02-07-2004, 05:59 AM
Hi Cedric,
Has your problem been solved?
Miguel

cedricvonck
02-07-2004, 06:21 AM
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

michaelgarvie
02-07-2004, 10:21 AM
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

cedricvonck
02-07-2004, 10:39 AM
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



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

michaelgarvie
02-07-2004, 12:47 PM
Cedric, maybe your default permissions are too strict. Try adding this line to the java.policy file:

permission java.security.AllPermission;

cedricvonck
02-07-2004, 01:13 PM
Ok I will try it asap.

cedricvonck
02-07-2004, 01:18 PM
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.

michaelgarvie
02-09-2004, 04:40 AM
Good! The output is normal. If you open it from a VNC window then it'll appear in that window.

cedricvonck
02-09-2004, 11:29 AM
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?)

michaelgarvie
02-10-2004, 04:42 AM
you run vncviewer, put in the ip address and password and then you run the batch file from within there.

what about the generations?

cedricvonck
02-10-2004, 11:37 AM
vnc => I will try it.

Generations: of how many generations a Work Unit consists?

michaelgarvie
02-10-2004, 12:26 PM
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.

cedricvonck
02-10-2004, 12:56 PM
I see :smoking: :cool:

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 :cry: :cry:

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

Keep up the good work!!!!

michaelgarvie
02-10-2004, 01:25 PM
Why the hell would you want to VNC into your own machine?!

So you're leaving the project then?