Glassfish

新安裝 Glassfish 時出現 404

  • July 14, 2010

我對 Glassfish 是全新的,所以我想我會安裝一個副本並四處尋找(我實際上正在尋找一些 Java 伺服器以供個人教育)。因此,我在 Ubuntu 10 和 java-6-openjdk 上安裝了 Glassfish 3 的基本副本。

第一次執行時,我嘗試使用 sudo ./glassfish-3.0.1-unix.sh。不幸的是,當我呼叫 ./asadmin start-domain 然後導航到管理面板(在預設位置)時,我發現只有這個(頁面上有更多 HTML,但這是唯一的文本。我可以提供整個如果需要,HTML 文件。):

<div id="copyright" style="width: 720px; margin-left: auto; margin-right: auto; padding: 5px;"> 
       <span>Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.  U.S. Government Rights - Commercial software. Government users are subject to the Oracle standard license agreement and applicable provisions of the FAR and its supplements. Use is subject to license terms. This distribution may include materials developed by third parties. Portions may be derived from Berkeley BSD systems, licensed from U. of CA. Oracle, Java and GlassFish are registered trademarks of Oracle and/or its affiliates.</span> 
   </div> 

此外,HTML 中明顯缺少 ID 為“loginButton”的表單。

所以,我解除安裝了那個版本的 Glassfish 並使用 sudo ./glassfish-3.0.1-web-unix.sh 安裝。這有同樣的錯誤。最後,我嘗試在不使用 sudo 的情況下安裝它,但遇到了同樣的錯誤。

如何讓愚蠢的管理頁面正常工作?

你試過用真實版本的java而不是openjdk嗎?

引用自:https://serverfault.com/questions/160167