簡體   English   中英

Eclipse Glassfish 4.0無法按時啟動服務器

[英]Eclipse Glassfish 4.0 Unable to start server on time

我在2天的日食上與glassfish戰斗,我仍然無法運行我的服務器。 當我嘗試啟動我的服務器時,(加載)進度條掛起69%並獲得如下消息:
無法按時啟動服務器
java.util.concurrent.timeoutexception

服務器執行類似的操作:
1. [啟動,同步] (順便說一句,在網絡瀏覽器服務器上工作只有幾秒鍾,但仍然看不到index.html。它顯示GlassFish服務器的默認頁面,顯示消息你的服務器正在運行 ,然后localhost不想要再回應)
2. [已停止]

我無法實現服務器狀態: [啟動,同步]
順便說一句。 我正在使用Tomcat服務器而且沒有問題可以啟動它。

我有:
Windows 7 x64
Eclipse Kepler
JDK 1.8
JRE 1.8
GlassFish 4.0 - 我使用Eclipse下載的

這是來自控制台的日志:

 Running GlassFish Version: GlassFish Server Open Source Edition 4.0 (build 89) Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. SEC1115: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. SEC1115: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. Grizzly Framework 2.3.1 started in: 60ms - bound to [/0.0.0.0:8 080] Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:8 181] Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:4 848] Authorization Service has successfully initialized. Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:3 700] Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry GlassFish Server Open Source Edition 4.0 (89) startup time : Felix (1 824ms), startup services(940ms), total(2 764ms) HV000001: Hibernate Validator 5.0.0.Final Initiating Jersey application, version Jersey: 2.0 2013-05-03 14:50:15... Grizzly Framework 2.3.1 started in: 0ms - bound to [/0.0.0.0:7 676] Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@13dbed9e as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@41da3aee. JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://Risen-Komputer:8686/jndi/rmi://Risen-Komputer:8686/jmxrmi 

在Eclipse Kepler IDE上,我可以做些什么來保持我的GlassFish?

這是用於Eclipse的GlassFish工具的已知錯誤。

Payara的GitHub存儲庫(源自GlassFish)存在一個未解決的問題,適用於Mac OS X和Windows: https//github.com/payara/Payara/issues/370

目前唯一的解決方法是:

一切手動(從命令行啟動/停止/部署GF),然后通過遠程調試器連接Eclipse

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM