Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Java status NetBSD



It looks like the security manager is blocking your access to read the
user.home property.  Try disabling the security manager or modifying
your policy file.

2009/12/11 Piotr Adamus <panpiotradamus%gmail.com@localhost>:
> I checked one more time the output of Linux binary Java (that works,
> slow but works) and the native Openjdk7 Netbsd. Up to this line the
> launching procedure is fine. It start crashing on NetBSD due to (IMHO)
> AWT:
>
> Linux
>
> Price,0.15,% Price,0.15,% Price,168,true,0.15,% Price,false,95.0,|
> locale=en_US|
> NET: 2009-12-11 20:28:33 Transaction.getProfileList(): requesting
> profile list
> NET: 2009-12-11 20:28:33 Transaction.getProfileList(): response == 200
> --> Response ok
> NET: 2009-12-11 20:28:33 ContentControl.connect1(): Setting allow proxy
> to FALSE
> NET: 2009-12-11 20:28:33 ContentControl.connect1(): firing connection
> event
> INF: 2009-12-11 20:28:33 -----------------> 78.0
> INF: 2009-12-11 20:28:33 User.initModels(): ----------> begin
> INF: 2009-12-11 20:28:33 User.initRateModel(): ----------> begin
> INF: 2009-12-11 20:28:33 User.initRateModel(): opening rate stream...
> INF: 2009-12-11 20:28:34 startRateThread(): start
> INF: 2009-12-11 20:28:34 startRateThread(): end
> INF: 2009-12-11 20:28:34 User.initRateModel(): opening rate stream...
> Done!
> INF: 2009-12-11 20:28:34 User.initRateModel(): ----------> end
> INF: 2009-12-11 20:28:34 User.initModels(): ----------> end
>
>
> NetBSD
>
> Price,0.15,% Price,0.15,% Price,168,true,0.15,% Price,false,95.0,|
> locale=en_US|
> ***: 2009-12-11 15:53:21 access denied ("java.util.PropertyPermission"
> "user.home" "read")
> NET: 2009-12-11 15:53:21 Transaction.getProfileList(): requesting
> profile list
> NET: 2009-12-11 15:53:27 Transaction.getProfileList(): response == 200
> --> Response ok
> NET: 2009-12-11 15:53:28 ContentControl.connect1(): Setting allow proxy
> to FALSE
> NET: 2009-12-11 15:53:28 ContentControl.connect1(): firing connection
> event
> INF: 2009-12-11 15:53:28 -----------------> 78.0
> Exception in thread "AWT-EventQueue-1"
> java.security.AccessControlException: access denied
> ("java.awt.AWTPermission" "setWindowAlwaysOnTop")
>        at
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:345)
> INF: 2009-12-11 15:53:28 User.initModels(): ----------> begin   at
> java.security.AccessController.checkPermission(AccessController.java:555)
>
>        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> INF: 2009-12-11 15:53:28 User.initRateModel(): ----------> begin
>        at
> net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:281)
>        at java.awt.Window.setAlwaysOnTop(Window.java:2131)
>        at fJ.a(Unknown Source)
>        at iv.run(Unknown Source)
>        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:235)
>        at java.awt.EventQueue.dispatchEvent(EventQueue.java:616)
>        at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:286)
>        at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
>        at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186)
>        at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
>        at java.awt.EventDispatchThread.run(EventDispatchThread.java:139)
> INF: 2009-12-11 15:53:28 User.initRateModel(): opening rate stream...
> ***: 2009-12-11 15:53:28 OandaSource.fireEvent(): caught:
> java.lang.NullPointerException
> java.lang.NullPointerException
>        at
> net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:298)
>        at java.lang.SecurityManager.checkConnect(SecurityManager.java:1048)
>        at java.net.InetAddress.getAllByName0(InetAddress.java:1191)
>        at java.net.InetAddress.getAllByName0(InetAddress.java:1172)
>        at java.net.InetAddress.getAllByName(InetAddress.java:1119)
>        at com.oanda.platform.s.<init>(Unknown Source)
>        at com.oanda.platform.s.a(Unknown Source)
>        at com.oanda.platform.y.d(Unknown Source)
>        at Y.a(Unknown Source)
>        at S.a(Unknown Source)
>        at S.a(Unknown Source)
>        at Y.a(Unknown Source)
>        at fL.run(Unknown Source)
> INF: 2009-12-11 15:53:28 -----------------> 5.0
> INF: 2009-12-11 15:53:28 -----------------> 10.0
>
>
> Piotr.
>
>
> Dnia 2009-12-11, Fri o godzinie 16:10 +0100, Piotr Adamus pisze:
>> Hi All !
>>
>> I have made a test. The keytool -exportcert returns:
>>
>> 'keytool error: java.lang.Exception: Keystore file exists, but is
>> empty: /home/piotrek/.keystore'
>>
>> I also copied the cacert from sunjdk-15 to
>> the /usr/pkg/java/openjdk7/jre/lib/security but it didn't help anyhow.
>>
>> I also attach the output when running an applet.
>>
>>
>> What am I doing wrong?
>>
>>
>>
>> Dnia 2009-12-09, Wed o godzinie 05:15 +0000, Christos Zoulas pisze:
>> > In article <1259918653.4626.1.camel%localhost.localdomain@localhost>,
>> > Piotr Adamus  <panpiotradamus%gmail.com@localhost> wrote:
>> > >-=-=-=-=-=-
>> > >
>> > >Hello !
>> > >
>> > >I need to have working Java plugin. I use it to run quite demanding
>> > >applet- I attach the screen shot. Unfortunately linux Java cannot
>> > >provide enough performance- I simply cannot use that applet by linux
>> > >Java emulation. I tried also openjdk7- java works but for some reasons,
>> > >applet initializes but it seems there is a problem within certificates.
>> > >When running an applet I should be displayed a dialog window asking if I
>> > >accept the certificate- using openjdk7 I am not given that chance.
>> > >
>> > >Formerly I used also jdk15- that worked great but at this moment I
>> > >cannot compile this version of jdk- it seems that many changes occurred
>> > >in pkgsrc therefore wip/jdk15 is somehow outdated and returns errors
>> > >when compiling.
>> > >
>> > >Do you have any other solutions?
>> >
>> > Somehow the installed certificates file are corrupted. Have you tried
>> > to copy the $JAVA_HOME/jre/lib/security/cacerts file from a working jdk
>> > copy. It should be ~64K long.
>> >
>> > christos
>> >
>>
>>
>
>


Home | Main Index | Thread Index | Old Index