Skip to main content

dvb.persistent.root access problem (tmt only)

6 replies [Last post]
veritastr
Offline
Joined: 2008-11-24

i'm having difficulty accessing dvb.persistent.root on totalmedia theatre. my program works fine on windvd, sony ps3 and sony bd350.

i get those errors on tmt:

[14:58:03.593] [debug] try readBm
[14:58:03.609] [debug] appID's AID::16386
[14:58:03.609] [debug] appID's OID::-8191
[14:58:03.609] [debug] owner object is null!
[14:58:03.609] [debug] action::write
[14:58:03.609] [error] setFileAttributesInADA IOException:java.io.FileNotFoundException: C:\dvb_persistent_root\46a8933238449a9a2788adba132ba8ee08f86d54\********\4002\ARCFILE.perm (The handle is invalid.
)
[14:58:03.609] [debug] file:C:\dvb_persistent_root\46a8933238449a9a2788adba132ba8ee08f86d54\********\4002\mrandmrssmithbm2.txt set fileaccesspermission=org.dvb.io.persistent.FileAccessPermissions@d6901b80
[14:58:03.609] [debug] IOException

on this line:
appID's OID::-8191
the orgid that tmt logs is wrong. probably that's the problem. but i don't know where tmt gets that.

xlet is signed. bdjo and permissions file are both set to the orgid used in xlet signing.
my permissions file is as follows.

<?xml version="1.0" encoding="UTF-8"?>

thanks for any help.
cagdas.

note: i changed orgid's with ******** on purpose. dunno if it's a security risk to publish it.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joe Rice

Does the orgID in id.bdmv match those in the PRF and BDJO?

Cheers,
Joe

On Jul 16, 2009, at 6:26 AM, bd-j-dev@mobileandembedded.org wrote:

> i'm having difficulty accessing dvb.persistent.root on totalmedia
> theatre. my program works fine on windvd, sony ps3 and sony bd350.
>
> i get those errors on tmt:
>
> [14:58:03.593] [debug]

try readBm
> [14:58:03.609] [debug] appID's AID::16386
> [14:58:03.609] [debug] appID's OID::-8191
> [14:58:03.609] [debug] owner object is null!
> [14:58:03.609] [debug] action::write
> [14:58:03.609] [error] setFileAttributesInADA
> IOException:java.io.FileNotFoundException: C:\dvb_persistent_root
> \46a8933238449a9a2788adba132ba8ee08f86d54\********\4002\ARCFILE.perm
> (The handle is invalid.
> )
> [14:58:03.609] [debug] file:C:
> \dvb_persistent_root
> \46a8933238449a9a2788adba132ba8ee08f86d54\********
> \4002\mrandmrssmithbm2.txt set
> fileaccesspermission
> =org.dvb.io.persistent.FileAccessPermissions@d6901b80
> [14:58:03.609] [debug]
IOException
>
> on this line:
> appID's OID::-8191
> the orgid that tmt logs is wrong. probably that's the problem. but i
> don't know where tmt gets that.
>
> xlet is signed. bdjo and permissions file are both set to the orgid
> used in xlet signing.
> my permissions file is as follows.
>
>
> > orgid="0x********" appid="0x4002">
>
>
>
>
>
>
>

>
> thanks for any help.
> cagdas.
>
> note: i changed orgid's with ******** on purpose. dunno if it's a
> security risk to publish it.
> [Message sent by forum member 'veritastr' (veritastr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=355981
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

veritastr
Offline
Joined: 2008-11-24

Joe: orgID is set correct in the project settings of the authoring environment. so i guess it should match.

chihiro: yes. orgID starts with F. but it's automatically generated by sonic's command line tools. i don't understand how they could implement such a mistake. i will try to get a new orgID and try again. maybe i should use safeguard but it's not working atm somehow (errors).

thanks to you both. i'll post again after trying.

veritastr
Offline
Joined: 2008-11-24

after some more tries, i see that sonic's command line tools always generate orgID's starting with 0xFFFF

i'll wait for sonic support to respond about the error safeguard gives. and try with safeguard this time.

veritastr
Offline
Joined: 2008-11-24

using safeguard i generated new orgID and certificates. updated all the project with this new orgID in the range.

not much of a change in the error message, negative orgID is corrected now, but the errors remain.

[15:56:48.609] [debug] appID's AID::16386
[15:56:48.609] [debug] appID's OID::21474******
[15:56:48.609] [debug] owner object is null!
[15:56:48.609] [debug] action::write
[15:56:48.609] [error] setFileAttributesInADA IOException:java.io.FileNotFoundException: C:\dvb_persistent_root\eee49525cc86fac7f6783b6b581537b1fd646337\7fff****\4002\ARCFILE.perm (The handle is invalid.
)
[15:56:48.609] [debug] file:C:\dvb_persistent_root\eee49525cc86fac7f6783b6b581537b1fd646337\7fff****\4002\mrandmrssmithbm2.txt set fileaccesspermission=org.dvb.io.persistent.FileAccessPermissions@e9720dbf

the code portion that generates the error message is as follows:

String name = root + File.separator + orgID + File.separator + appID + File.separator + "mrandmrssmithbm2.txt";
File bmfile = new File(name);
bmfile.createNewFile();

veritastr
Offline
Joined: 2008-11-24

problem solved after changing " -DNativePlugIOImpl.enableAdaEncrypt=YES" to " -DNativePlugIOImpl.enableAdaEncrypt=NO" which is in jvmoption_CVM.cfg file (e.g. C:\Program Files\ArcSoft\TotalMedia Theatre 3\BDJ).

thanks for your help.
cagdas...

chihiro_saito
Offline
Joined: 2006-11-08

This is just a guess, but could you be having an orgID that is starting with a value F?

BD-ROM's application guideline says to use an orgID in the range of 0x7FFF0000 to 0x7FFFFFFFF.