简体   繁体   English

无法在Eclipse Juno上启动Glassfish 3.1.2.2

[英]Can't start Glassfish 3.1.2.2 on Eclipse Juno

I updated to Eclipse Juno, and since then, it seems that I can't start or debug Glassfish when I could do it perfectly before. 我更新到Eclipse Juno,从那时起,似乎我无法完美完成以前的工作,因此无法启动或调试Glassfish。 When starting the server I get this console output... 启动服务器时,我得到此控制台输出...

INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2.2 (build 5)
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
INFO: Grizzly Framework 1.9.50 started in: 1978ms - bound to [0.0.0.0:7676]
INFO: Grizzly Framework 1.9.50 started in: 2031ms - bound to [0.0.0.0:3700]
INFO: Grizzly Framework 1.9.50 started in: 2165ms - bound to [0.0.0.0:8080]
INFO: Grizzly Framework 1.9.50 started in: 2071ms - bound to [0.0.0.0:4848]
INFO: Grizzly Framework 1.9.50 started in: 2077ms - bound to [0.0.0.0:8181]
INFO: SEC1002: Security Manager is OFF.
SEVERE: Exception while deploying the app [LuxorAutorizacionesBackEnd]

I can't deploy on eclipse, but when I export the project to a WAR file and put it on the autodeploy folder of the glassfish server, and start it on command prompt it starts perfectly fine. 我无法在eclipse上进行部署,但是当我将项目导出到WAR文件并将其放在glassfish服务器的autodeploy文件夹中,并在命令提示符下启动它时,它就可以很好地启动。

I'm on Windows 7 x64, using Glassfish OpenSource 3.1.2.2 with Eclipse Juno 我在Windows 7 x64上,将Glassfish OpenSource 3.1.2.2与Eclipse Juno结合使用

You have to change jreX.X to appropriate jdkX.X(where is XX some number of version jre or jdk). 您必须将jreX.X更改为适当的jdkX.X(其中XX是jre或jdk版本的数字)。 I find on the web that glassfish now need jdk like default environment. 我在网上发现glassfish现在需要像默认环境一样的jdk。

You have to go in eclipse to the widow>Installed JREs and click on add button to setup jdk instead jre. 您必须先进入寡妇>已安装的JRE,然后单击添加按钮以设置jdk而不是jre。 And after this you have to go in properties of project and click on java build path end mark glassfish system libraries. 然后,您必须进入项目的属性,然后单击java build path end mark glassfish系统库。 It is news of the glassFish in new version. 是新版本中的glassFish的新闻。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM