我更新到 Eclipse Juno,从那时起,我似乎无法启动或调试 Glassfish,而我之前可以完美地做到这一点。启动服务器时,我得到这个控制台输出......
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]
我无法在 Eclipse 上进行部署,但是当我将项目导出到 WAR 文件并将其放在 glassfish 服务器的 autodeploy 文件夹中,并在命令提示符下启动它时,它启动得非常好。
我在 Windows 7 x64 上,使用 Glassfish OpenSource 3.1.2.2 和 Eclipse Juno