java.lang.SecurityException:

0 views
Skip to first unread message

Mukiza Andrew

unread,
Sep 18, 2011, 7:46:21 AM9/18/11
to openxd...@googlegroups.com
Hello there,
I am trying to use the source code of openxdata mobile client i which i checked out from
https://svn.openxdata.org/J2ME/trunk/
i followed the documentation provided at
https://trac.openxdata.org/wiki/MobileSetup
i am using eclipse 3.6 , proguard 4.6 and antenna 1.0.2
when i use ant to run the midlet it runs the emulator for a few seconds and then  terminates
throwing the following exception

Incorrect domain name, switching to 'unidentified_third_party'
        [exec] Incorrect domain name, switching to 'unidentified_third_party'
        [exec] java.lang.SecurityException: unidentified_third_party domain is not configured


could some body be knowing how i can configure the security domain?
Thank you all!
Andrew

NB THE WHOLE COMPILATION LOG IS AS FOLLOWS


[wtkjad] Updating JAD file C:\Users\Andtrew\Documents\Projects\mforms 1.2\epihandy-midlet\dist\obf\openxdata-midlet-tiny.jad

run-obfuscated:
        [exec] Running with storage root C:\Users\Andtrew\j2mewtk\2.5.2\appdb\DefaultColorPhone
        [exec] Running with locale: English_United States.1252
        [exec] Running in the identified_third_party security domain
        [exec] Incorrect domain name, switching to 'unidentified_third_party'
        [exec] Incorrect domain name, switching to 'unidentified_third_party'
        [exec] java.lang.SecurityException: unidentified_third_party domain is not configured
        [exec]     at com.sun.midp.security.Permissions.forDomain(+118)
        [exec]     at com.sun.midp.dev.DevMIDletSuiteImpl.create(+51)
        [exec]     at com.sun.midp.dev.DevMIDletSuiteImpl.create(+74)
        [exec]     at com.sun.midp.main.Main.runLocalClass(+20)
        [exec]     at com.sun.midp.main.Main.main(+80)
        [exec] Execution completed.
        [exec] 92867 bytecodes executed
        [exec] 10 thread switches
        [exec] 1665 classes in the system (including system classes)
        [exec] 951 dynamic objects allocated (48356 bytes)
        [exec] 1 garbage collections (0 bytes collected)
BUILD SUCCESSFUL
Total time: 1 minute 10 seconds

Brent Atkinson

unread,
Sep 20, 2011, 6:43:25 AM9/20/11
to openxd...@googlegroups.com
Hi,

I'm not sure why you're getting that. I've never had to explicitly set the security domain, so I'm wondering if  there is something specific to your setup that is causing that issue. However, you can set the security domain in the "Preferences" application in the Sun WTK Installation. It's under the "Security" section.

Brent


--
You received this message because you are subscribed to the Google Groups "openXdata Developers" group.
To post to this group, send email to openxd...@googlegroups.com.
To unsubscribe from this group, send email to openxdata-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openxdata-dev?hl=en.

Reply all
Reply to author
Forward
0 new messages