Glassfish V3无法启动


2

我安装了NetBeans 6.8并尝试运行GlasshFish V3服务器。我在Windows Vista 32位下工作。首先,它不会运行。然后我修改了

c:\Windows\System32\drivers\etc\hosts

文件并将以下行放入其中:

127.0.0.1       localhost

当我运行GlasshFish V3服务器时,没有显示错误,但只显示“INFO”:

    3 avr. 2010 19:23:19 com.sun.enterprise.glassfish.bootstrap.ASMain main
INFO: Launching GlassFish on Felix platform
Welcome to Felix
================
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: Starting Grizzly Framework 1.9.18-k - Sat Apr 03 19:23:24 CEST 2010
INFO: Starting Grizzly Framework 1.9.18-k - Sat Apr 03 19:23:25 CEST 2010
INFO: Grizzly Framework 1.9.18-k started in: 423ms listening on port 35127
INFO: GlassFish v3 (74.2) startup time : Felix(4456ms) startup services(1709ms) total(6165ms)
INFO: Grizzly Framework 1.9.18-k started in: 459ms listening on port 35116
INFO: Grizzly Framework 1.9.18-k started in: 428ms listening on port 35155
INFO: Grizzly Framework 1.9.18-k started in: 470ms listening on port 35160
INFO: Grizzly Framework 1.9.18-k started in: 513ms listening on port 35159
INFO: javassist.util.proxy.ProxyFactory.classLoaderProvider = org.glassfish.weld.WeldActivator$GlassFishClassLoaderProvider@5be8f4
INFO: Hibernate Validator bean-validator-3.0-JBoss-4.0.2
INFO: Binding RMI port to *:35165
INFO: Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
INFO: JMXStartupService: Started JMXConnector, JMXService URL = service:jmx:rmi://PC-de-Charlotte:35165/jndi/rmi://PC-de-Charlotte:35165/jmxrmi
INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
INFO: Grizzly Framework 1.9.18-k started in: 150ms listening on port 35159
INFO: Perform lazy SSL initialization for the listener 'http-listener-2'
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Program Files\sges-v3\glassfish\modules\autostart, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\CHARLO~1\AppData\Local\Temp\fileinstall-330907148519261411, felix.fileinstall.filter = null}
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\Charlotte\.netbeans\6.8\GlassFish_v3\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\CHARLO~1\AppData\Local\Temp\fileinstall-2938963288421854459, felix.fileinstall.filter = null}
INFO: Grizzly Framework 1.9.18-k started in: 95ms listening on port 35160
INFO: Updating configuration from org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: Installed C:\Program Files\sges-v3\glassfish\modules\autostart\org.apache.felix.fileinstall-autodeploy-bundles.cfg
INFO: {felix.fileinstall.poll (ms) = 5000, felix.fileinstall.dir = C:\Users\Charlotte\.netbeans\6.8\GlassFish_v3\autodeploy\bundles, felix.fileinstall.debug = 1, felix.fileinstall.bundles.new.start = true, felix.fileinstall.tmpdir = C:\Users\CHARLO~1\AppData\Local\Temp\fileinstall-6474085409014899009, felix.fileinstall.filter = null}

并且没有诸如“Glassfish开始”的消息!所以,当我尝试访问管理员Web界面时:

localhost:4848 or localhost:8080 or localhost:8181

,它不起作用。

我该怎么办?

非常感谢,问候。

Answers:


1

在Netbeans中,右键单击出现问题的Glassfish服务器,然后选择

View Domain Server log

打开命令行窗口并导航到Glassfish安装的“bin”目录,其中“asadmin”可执行文件位于该目录中。在命令窗口中键入

asadmin start-domain --verbose

等待服务器启动,服务器启动时查看Glassfish IDE窗口中的“输出”窗格。一切都开始后,尝试从Netbeans IDE重新启动。查看命令行窗口,它应该有一个说明DAS已经停止的消息

关闭命令行窗口。如果重新启动失败,请尝试在从Netbeans重新启动之前取消部署所有应用程序。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.