2012-01-14 3 views
0

私はすべてのものをアプレットで行っています。アプレットをサーバーに公開しました。すべてのマシンでIEから正常に動作しています。しかし、それはFirefox上で実行されていません。以下は同じもののスタックトレースです。同じことをアドバイスしてください。アプレットのJavaアプレットを読み込んでいます...ネットワーク:キャッシュエントリが見つかりません

コード:

public void init() 
    { 
showInst(); 
} 
public void showInst() 
    { 

     Inst inst = new ANTInst(); 
    JFrame app = new JFrame("Test App"); 
     app.getContentPane().add(instruction, "Center"); 
     app.setResizable(false); 
     instruction.setFrameHandler(app); 
     app.show(); 

    } 
basic: Loading Java Applet ... 
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/, version: null] 
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/ANT.class, version: null] 


<applet code=ANT.class width=300 height=300> 
</applet> 

私はJavaが更新されたバージョン と一緒にインストールされて確認している

security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio. 
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws 
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws 
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy 
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy 
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp 
security: property package.definition value null 
security: property package.definition new value com.sun.javaws 
security: property package.definition value com.sun.javaws 
security: property package.definition new value com.sun.javaws,com.sun.deploy 
security: property package.definition value com.sun.javaws,com.sun.deploy 
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp 
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp 
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss 
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp 
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss 
basic: Added progress listener: [email protected] 
basic: Loading Java Applet ... 
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/, version: null] 
network: Cache entry not found [url: http://www.attentiontranslator.com/ant_test/ANT.class, version: null] 

enter image description here

enter image description here

+0

'java.securityこの行を追加します。 .AccessControlException:アクセスが拒否されました( java.lang.RuntimePermission exitVM.0) 'アプレットが' System.exit(n) 'を呼び出すのはなぜですか? (そして先日あなたに尋ねなかったのですか?) –

+0

'init()'と 'start()'メソッドのコードは何ですか? –

+0

Init()関数のコードが元の質問 – Maneesh

答えて

1

下記よりログはあなたを持って探してください。 checkedJava pluginがFirefoxで動作していますか?

編集: 明らかに、FF requires Java 6 Update 10(または上記)が動作します。

+0

私のマシン上のfirefox上で動作しているアプレットは、 java upadateとpluginの両方が更新されていて、まだ問題があります。私はスクリーンショットのJavaをインストールして私の元の質問にプラグインを追加しています – Maneesh

+0

問題は解決しました。しかし、私はまだいくつかの時間のFirefoxがアプレットのリモートローディングで応答しなくなる(何度かクラッシュした)ことをなぜ調べているのですか?アプレットの問題かJVMの不具合ですか? – Maneesh

0

私はこれらの変更を加えた後、多くを検索した後、私にとってうまくいきました。実行時パラメータの

  • コントロールパネル
  • Javaコントロールパネル
  • Javaのタブ表示に

    ゴー

  • -Djava.net.preferIPv4Stack=true 
    
関連する問題