Skip to Content.
Sympa Menu

ndt-dev - Re: [ndt-dev] NDT java applet broken?

Subject: NDT-DEV email list created

List archive

Re: [ndt-dev] NDT java applet broken?


Chronological Thread 
  • From: Will Hawkins <>
  • To:
  • Subject: Re: [ndt-dev] NDT java applet broken?
  • Date: Mon, 23 Jun 2014 15:10:30 -0400

Thanks Aaron!

Will

On 06/23/2014 03:06 PM, Aaron Brown wrote:
> Hey Will,
>
> I swapped out the json-smart library for the json-simple one, and it’s no
> longer throwing security exceptions, and seems to work. I just committed
> that change.
>
> Cheers,
> Aaron
>
> On Jun 23, 2014, at 12:52 PM, Will Hawkins
> <>
> wrote:
>
>> Thanks! I am looking at it now :-)
>>
>> On 06/23/2014 12:41 PM, Aaron Brown wrote:
>>> Hey Will,
>>>
>>> I modified the tcpbw100.html page applet code to be:
>>> ARCHIVE="Tcpbw100.jar,lib/json-smart-1.1.1.jar”
>>>
>>> I then had Apache deliever up that directory since fakewww doesn’t know
>>> about json-smart-1.1.1.jar
>>>
>>> Cheers,
>>> Aaron
>>>
>>> On Jun 23, 2014, at 12:37 PM, Will Hawkins
>>> <>
>>> wrote:
>>>
>>>> Hey Aaron!
>>>>
>>>> I am investigating now. Can you describe how you're actually running the
>>>> applet?
>>>>
>>>> On 06/23/2014 12:12 PM, Aaron Brown wrote:
>>>>> If it’s something local, then we’re probably out-of-luck on OS X
>>>>> because I’m running stock OS 10.9 with java on the “least secure”
>>>>> setting. I can run the old applet just fine. Given that the error seems
>>>>> to be related to smart-json, is there any way to use a library that
>>>>> does work with in applet form? Either that, or completely rip out the
>>>>> JSON support?
>>>>>
>>>>> Cheers,
>>>>> Aaron
>>>>>
>>>>> On Jun 23, 2014, at 11:59 AM, Will Hawkins
>>>>> <>
>>>>> wrote:
>>>>>
>>>>>> Sadly, I am imagining that is a local problem. I can't say for sure,
>>>>>> but
>>>>>> I know that we (MLab) see lots of support requests about permissions
>>>>>> w.r.t. Java.
>>>>>>
>>>>>> I can try to recreate here, but I've not been involved with the Java
>>>>>> applet so I can't guarantee that I'll be much help :-)
>>>>>>
>>>>>> Will
>>>>>>
>>>>>> On 06/23/2014 11:55 AM, Aaron Brown wrote:
>>>>>>> Hey Folks,
>>>>>>>
>>>>>>> After some finagling with classpaths, the NDT java applet loads
>>>>>>> (though not via fakewww). However, I’m seeing this error whenever I
>>>>>>> try to run it:
>>>>>>>
>>>>>>>> Caused by: java.security.AccessControlException: access denied
>>>>>>>> ("java.util.PropertyPermission" "JSON_SMART_SIMPLE" "read”)
>>>>>>>
>>>>>>>
>>>>>>> Was the Applet tested as an applet after JSON support was added, or
>>>>>>> is this something specific to my machine?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Aaron
>>>>>>>
>>>>>
>>>
>



Archive powered by MHonArc 2.6.16.

Top of Page