Cannot print with sun jvm
Hi all.
I am having trouble with printing.
Printer icon in browser is red crossed, saying: can't print (no browser privileges)
This is happening with sun java virtual machine, in both iexplorer and mozilla.
(all three of them latest version). Disabling sun jvm and using ie with native
ms jvm works fine.
I'm using Win XP Sp2, firewall enabled, everithing up-to-date.
Sun Java console says:
Secure Global Desktop 4.00.903: Can't print Can't Print (No browser privileges):java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute).
Printing not possible. Please inform an Administrator.
This is happening after upgrading from 3.30.929 -> 3.42.947 -> 4.00.903.
In case it matters, server is RH 9.
Any tip would be appreciated.
TIA
Alan.
[901 byte] By [
AlanWeber] at [2007-11-25 20:49:47]

# 1
Alan Weber wrote:
> Hi all.
> I am having trouble with printing.
> Printer icon in browser is red crossed, saying: can't print (no browser
> privileges)
> This is happening with sun java virtual machine, in both iexplorer and
> mozilla.
> (all three of them latest version). Disabling sun jvm and using ie with
> native
> ms jvm works fine.
> I'm using Win XP Sp2, firewall enabled, everithing up-to-date.
>
> Sun Java console says:
> Secure Global Desktop 4.00.903: Can't print Can't Print (No browser
> privileges):java.security.AccessControlException: access denied
> (java.io.FilePermission <<ALL FILES>> execute).
> Printing not possible. Please inform an Administrator.
>
> This is happening after upgrading from 3.30.929 -> 3.42.947 -> 4.00.903.
> In case it matters, server is RH 9.
> Any tip would be appreciated.
> TIA
> Alan.
I am using my own web server, RH's default apache, and installed tta's
webserver on port 81.
When tested against tta's webserver this problem does not occur.
Anything to update in my own apache config? Everything was working fine
in tta 3.30.
Alan.
# 2
Solved.
Some of the files at /opt/tarantella/var/docroot/java
were not publicly readable.
A permissions denied error was appearing in apache's error log.
Changing files from 0640 to 0644 solved the problem.
Another solution could have been adding the group ttaserv to
my apache user, to allow my apache to access all tta webserver
related files. But I won't do it by now unless other problems
arrise.
Hope this could help someone else.
Alan.
Alan Weber wrote:
> Alan Weber wrote:
>
>> Hi all.
>> I am having trouble with printing.
>> Printer icon in browser is red crossed, saying: can't print (no
>> browser privileges)
>> This is happening with sun java virtual machine, in both iexplorer and
>> mozilla.
>> (all three of them latest version). Disabling sun jvm and using ie
>> with native
>> ms jvm works fine.
>> I'm using Win XP Sp2, firewall enabled, everithing up-to-date.
>>
>> Sun Java console says:
>> Secure Global Desktop 4.00.903: Can't print Can't Print (No browser
>> privileges):java.security.AccessControlException: access denied
>> (java.io.FilePermission <<ALL FILES>> execute).
>> Printing not possible. Please inform an Administrator.
>>
>> This is happening after upgrading from 3.30.929 -> 3.42.947 -> 4.00.903.
>> In case it matters, server is RH 9.
>> Any tip would be appreciated.
>> TIA
>> Alan.
>
>
> I am using my own web server, RH's default apache, and installed tta's
> webserver on port 81.
> When tested against tta's webserver this problem does not occur.
> Anything to update in my own apache config? Everything was working fine
> in tta 3.30.
> Alan.
# 3
Hi Alan,
Alan Weber wrote:
> Solved.
> Some of the files at /opt/tarantella/var/docroot/java
> were not publicly readable.
Are you sure this was really the issue? If that problem was on the server
side, how should the applet on the client be affected by that. Does the MS
VM have any means to circumvent access restrictions on the server? I don't
think so.
In fact, I do have the exact same problem that you describe ...
Regards,
Torsten