Current-Users archive

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

Re: Java status NetBSD



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
> 


openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 1.7.0-internal-pkgsrc_2009_12_11_01_08-b00)
OpenJDK Server VM (build 17.0-b04, mixed mode)
java.lang.NullPointerException
        at 
net.sourceforge.jnlp.NetxPanel.getAppletClassLoader(NetxPanel.java:140)
        at sun.applet.PluginAppletViewer.<init>(PluginAppletViewer.java:367)
        at 
sun.applet.PluginAppletViewerFactory.createAppletViewer(PluginAppletViewer.java:122)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1764)
        at sun.applet.PluginAppletViewer$7.run(PluginAppletViewer.java:1688)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1697)
        at 
sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:481)
        at 
sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:295)
        at 
sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:72)
java.lang.RuntimeException: Failed to handle message: handle 35661601 for 
instance 1
        at 
sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:544)
        at 
sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:295)
        at 
sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:72)
Caused by: java.lang.NullPointerException
        at 
net.sourceforge.jnlp.NetxPanel.getAppletClassLoader(NetxPanel.java:140)
        at sun.applet.PluginAppletViewer.<init>(PluginAppletViewer.java:367)
        at 
sun.applet.PluginAppletViewerFactory.createAppletViewer(PluginAppletViewer.java:122)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1764)
        at sun.applet.PluginAppletViewer$7.run(PluginAppletViewer.java:1688)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:1697)
        at 
sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:481)
        ... 2 more
INF: 2009-12-11 15:53:05 oanda.init: 6326112 null
INF: 2009-12-11 15:53:05 Parameters - invalid platform timeout : null
is: sun.net.www.protocol.jar.JarURLConnection$JarURLInputStream@c00025
INF: 2009-12-11 15:53:06 oanda.start
INF: 2009-12-11 15:53:06 oanda.run
INF: 2009-12-11 15:53:06 Debug Log: 1260543186
INF: 2009-12-11 15:53:06 OANDA FXTrade 1.10.8-02779 (2009-11-25)
***: 2009-12-11 15:53:06 GetProperties(): Couldn't load: browser
***: 2009-12-11 15:53:06 GetProperties(): Couldn't load: http.agent
INF: 2009-12-11 15:53:06 GetProperties(): java.version: 1.7.0-internal
INF: 2009-12-11 15:53:06 GetProperties(): java.vendor: Sun Microsystems Inc.
INF: 2009-12-11 15:53:06 GetProperties(): os.name: NetBSD
INF: 2009-12-11 15:53:06 GetProperties(): os.arch: i386
INF: 2009-12-11 15:53:06 GetProperties(): os.version: 5.99.22
INF: 2009-12-11 15:53:06 GetProperties(): browser
INF: 2009-12-11 15:53:06 GetProperties(): http.agent
INF: 2009-12-11 15:53:06 Fri Dec 11 15:53:06 CET 2009
INF: 2009-12-11 15:53:07 -----------------> 3.0
INF: 2009-12-11 15:53:07 -----------------> 6.0
NET: 2009-12-11 15:53:07 Transaction.<init>: creating new secure connection...
NET: 2009-12-11 15:53:07 Transaction.<init>: creating new secure 
connection...Done!
INF: 2009-12-11 15:53:08 -----------------> 9.0
INF: 2009-12-11 15:53:08 -----------------> 12.0
INF: 2009-12-11 15:53:08 -----------------> 15.0
INF: 2009-12-11 15:53:08 -----------------> 18.0
INF: 2009-12-11 15:53:08 -----------------> 21.0
INF: 2009-12-11 15:53:09 -----------------> 24.0
INF: 2009-12-11 15:53:09 -----------------> 27.0
INF: 2009-12-11 15:53:09 -----------------> 30.0
INF: 2009-12-11 15:53:09 -----------------> 33.0
NET: 2009-12-11 15:53:09 ContentControl.connect(): attempting to connect...
NET: 2009-12-11 15:53:09 ContentControl.connect1(): Connection Attempt: 1
INF: 2009-12-11 15:53:09 ContentControl.connect1(): username == javaanse
NET: 2009-12-11 15:53:09 ContentControl.connect1(): Attempting direct connection
NET: 2009-12-11 15:53:09 Transaction.doLogin(): closing connection
NET: 2009-12-11 15:53:09 Transaction.doLogin(): set proxy false
NET: 2009-12-11 15:53:09 Transaction.doLogin(): opening connection
NET: 2009-12-11 15:53:09 Transaction.<init>: fxserver01.oanda.com
NET: 2009-12-11 15:53:09 Transaction.<init>: 216.12.138.212
NET: 2009-12-11 15:53:09 Transaction.<init>: creating new Socket Connection...
NET: 2009-12-11 15:53:09 Transaction.<init>: port: 9700
NET: 2009-12-11 15:53:09 Transaction.<init>: creating new Socket Connection... 
Done!
NET: 2009-12-11 15:53:10 Transaction.doLogin(): making login request...
NET: 2009-12-11 15:53:10 SecureConnection.write(): New session, begin key 
negotiations...
INF: 2009-12-11 15:53:10 -----------------> 38.0
INF: 2009-12-11 15:53:10 -----------------> 43.0
INF: 2009-12-11 15:53:10 -----------------> 48.0
INF: 2009-12-11 15:53:10 -----------------> 53.0
INF: 2009-12-11 15:53:10 -----------------> 68.0
INF: 2009-12-11 15:53:10 -----------------> 73.0
NET: 2009-12-11 15:53:13 SecureConnection.write(): New session, key negotiation 
complete!
NET: 2009-12-11 15:53:19 Transaction.doLogin(): response == 200 --> Response ok
INF: 2009-12-11 15:53:19 Transaction.doLogin(): This user has 1 account(s)
INF: 2009-12-11 15:53:19 User.setCurrentAccount(): Switching to null account
INF: 2009-12-11 15:53:19 User.setCurrentAccount(s): account not found: null
NET: 2009-12-11 15:53:19 Transaction.getDefaultProfile(): requesting default 
profile
NET: 2009-12-11 15:53:21 Transaction.getDefaultProfile(): response == 200 --> 
Response ok
INF: 2009-12-11 15:53:21 User.setProfile(): 
profile=1259673781|version=1.1|layout=1259673781|guix=1276|guiy=0|guiw=1688|guih=1053|relativex=-4|relativey=0|tableh=52|quotew=262|isMaximized=true|graphhline=true|graphvline=true|graphinfobox=false|graphstartpair=EUR/USD|graphstartinterval=3
 
hour|newsticker=false|table=1:trades[sort=1,true][showCol=0,1,2,3,4,5,6,7,8,11][hideRow=]:orders[sort=0,false][showCol=0,1,2,3,4,5,6,7,8,9,10][hideRow=]:boxes[sort=0,false][showCol=0,1,2,3,4,5,6,7,8,9][hideRow=]:positions[sort=0,false][showCol=0,1,2,3,4,5,8][hideRow=]:exposure[sort=0,false][showCol=0,1,2,3][hideRow=]:activity[sort=0,false][showCol=0,1,2,3,4,5,6][hideRow=]|hide=NONE|show=EUR/CAD,EUR/GBP,EUR/JPY,EUR/USD,USD/CAD,NZD/USD,EUR/CHF,USD/PLN,CAD/JPY,AUD/CAD,AUD/JPY,AUD/NZD,AUD/USD,CHF/JPY,EUR/AUD,EUR/CZK,EUR/DKK,EUR/HUF,EUR/NOK,EUR/NZD,EUR/PLN,EUR/SEK,EUR/TRY,GBP/CAD,GBP/CHF,GBP/JPY,GBP/USD,NZD/CAD,NZD/JPY,USD/CHF,USD/CNY,USD/CZK,USD/DKK,USD/HKD,USD/HUF,USD/INR,USD/JPY,USD/MXN,USD/NOK,USD/SAR,USD/SEK,USD/SGD,USD/THB,USD/TRY,USD/TWD,USD/ZAR,|ignoreweekend=false|hideweekend=false|startweekend=24|endweekend=0|timezone=000|summarydetail=false|summaryvisible=true|extendleft=true|extendright=true|magnetictrendlines=false|trendlinestyle=0|tablecolour=true|theme=102|trendlinecolour=8|spreadcolumn=false|quotelist=true|dualbidask=false|hidepipettes=false|fontsize=11|showbuttons=true|showsummary=true|tearoffsummary=false|summaryx=0|summaryy=0|summaryw=630|summaryh=470|summaryIsMaximized=false|showrates=true|tearoffrates=false|ratex=0|ratey=0|ratew=430|rateh=340|rateIsMaximized=false|tearoffgraph=false|tearofftables=false|graph=MAIN:52:EUR/USD:3
 
hour:true:16:7.0/1.0/0.5366705471478463:!9999!9999!1!397!Mid=-1,-1,-1,19!Bollinger
 Band=14,2.0,-1,10!Parabolic 
SAR=0.02,0.2,-1,10,10,10:!9999!9999!1!139!MACD=12,26,9,9,11,10:!9999!9999!1!139!RSI=7,70,30,9:!9999!9999!1!139!Momentum=7,-1,-1,9|tablewindows=NONE|systemprops=java.version:
 1.6.0_0,java.vendor: Sun Microsystems Inc.,os.name: Linux,os.arch: 
i386,os.version: 2.6.31-ARCH,browser: sun.applet.AppletViewer,http.agent: 
Java(tm) 2 SDK, Standard Edition 
v1.6.0_0|sortSubAccounts=false|showSubAccountSwitcher=false|buysellexpanded=true|buysellasprice=true|guiLock=0|language=en|mainOnTop=false|tableOnTop=false|graphOnTop=false|summaryOnTop=false|quoteOnTop=false|instpref=DEFAULT,false,false,false,true,false,BUY,0.0,Units,0.0,0.03,%
 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
INF: 2009-12-11 15:53:50 onwindowclose: OANDA FXTrade - javaanse - Primary 
(942645)
NET: 2009-12-11 15:53:50 ContentControl.disconnect(): *** User Disconnected: ***
NET: 2009-12-11 15:53:50 ContentControl.onDisconnect(): Calling stop...
***: 2009-12-11 15:53:50 null
NET: 2009-12-11 15:53:50 ContentControl.onDisconnect(): Calling stop... Done!
NET: 2009-12-11 15:53:50 ContentControl.disconnect(): getOnline == true
NET: 2009-12-11 15:53:50 ContentControl.disconnect(): logging out
NET: 2009-12-11 15:53:50 ContentControl.disconnect(): firing disconnect event
INF: 2009-12-11 15:53:50 Platform.logout()
INF: 2009-12-11 15:53:50 oanda.destroy
NET: 2009-12-11 15:53:50 Transaction.<init>: creating new secure connection...
NET: 2009-12-11 15:53:50 Transaction.<init>: creating new secure 
connection...Done!
***: 2009-12-11 15:53:50 GraphControl.getInstrument(): null history model
INF: 2009-12-11 15:53:50 Debug Log: 1260543230
INF: 2009-12-11 15:53:50 OANDA FXTrade 1.10.8-02779 (2009-11-25)
***: 2009-12-11 15:53:50 GetProperties(): Couldn't load: browser
***: 2009-12-11 15:53:50 GetProperties(): Couldn't load: http.agent
INF: 2009-12-11 15:53:50 GetProperties(): java.version: 1.7.0-internal
INF: 2009-12-11 15:53:50 GetProperties(): java.vendor: Sun Microsystems Inc.
INF: 2009-12-11 15:53:50 GetProperties(): os.name: NetBSD
INF: 2009-12-11 15:53:50 GetProperties(): os.arch: i386
INF: 2009-12-11 15:53:50 GetProperties(): os.version: 5.99.22
INF: 2009-12-11 15:53:50 GetProperties(): browser
INF: 2009-12-11 15:53:50 GetProperties(): http.agent
INF: 2009-12-11 15:53:50 ondestroy: OANDA FXTrade
INF: 2009-12-11 15:53:50 onwindowclose: OANDA FXTrade
INF: 2009-12-11 15:53:50 destroy: FrameAdapterImpl
***: 2009-12-11 15:53:50 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.Platform.destroy(Unknown Source)
        at com.oanda.platform.Platform.b(Unknown Source)
        at fp.e(Unknown Source)
        at fp.a(Unknown Source)
        at S.a(Unknown Source)
        at S.a(Unknown Source)
        at dl.a(Unknown Source)
        at fy.a(Unknown Source)
        at bu.windowClosing(Unknown Source)
        at 
java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
        at 
java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
        at java.awt.Window.processWindowEvent(Window.java:1958)
        at javax.swing.JFrame.processWindowEvent(JFrame.java:296)
        at java.awt.Window.processEvent(Window.java:1916)
        at java.awt.Component.dispatchEventImpl(Component.java:4701)
        at java.awt.Container.dispatchEventImpl(Container.java:2180)
        at java.awt.Window.dispatchEventImpl(Window.java:2611)
        at java.awt.Component.dispatchEvent(Component.java:4527)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
        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)

Attachment: signature.asc
Description: To jest =?iso-8859-2?Q?cz=EA=B6=E6?= =?iso-8859-2?Q?_wiadomo=B6ci?= podpisana cyfrowo



Home | Main Index | Thread Index | Old Index