我正在使用 ubuntu 12.4 并按照本教程安装 glassfish3:http: //www.marlonj.com/blog/2012/05/instalando-glassfish-3-1-2-en-ubuntu-server-12-04/
一切都很好..但是当我尝试启动域时:sudo -u glassfish bin/asadmin start-domain domain1
显示此错误:
世界语 a que se inicie domain1 .......... 错误的初始域 domain1。El servidor ha finalizado de forma prematura con el código de salida 0. Antes de terminar, ha Generado la siguiente salida:
在 Felix 平台上启动 GlassFish [#|2013-09-24T13:31:50.742-0300|INFO|glassfish3.1.2|com.sun.enterprise.server.logging.GFFileHandler|_ThreadID=1;_ThreadName=main;|运行 GlassFish 版本: GlassFish Server 开源版 3.1.2 (build 23)|#]
[#|2013-09-24T13:31:51.819-0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=28;_ThreadName=Grizzly-kernel -thread(1);|Grizzly Framework 1.9.46 开始于:308ms - 绑定到 [0.0.0.0:3700]|#]
[#|2013-09-24T13:31:51.819-0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=Grizzly-kernel -thread(1);|Grizzly Framework 1.9.46 开始于:294ms - 绑定到 [0.0.0.0:7676]|#]
[#|2013-09-24T13:31:51.819-0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=21;_ThreadName=Grizzly-kernel -thread(1);|Grizzly Framework 1.9.46 开始于:411ms - 绑定到 [0.0.0.0:8181]|#]
[#|2013-09-24T13:31:51.819-0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|_ThreadID=25;_ThreadName=Grizzly-kernel -thread(1);|Grizzly Framework 1.9.46 开始于:402ms - 绑定到 [0.0.0.0:4848]|#]
[#|2013-09-24T13:31:52.439-0300|INFO|glassfish3.1.2|org.glassfish.ha.store.spi.BackingStoreFactoryRegistry|_ThreadID=1;_ThreadName=main;|注册的 org.glassfish.ha.store .adapter.cache.ShoalBackingStoreProxy for persistence-type = 复制到 BackingStoreFactoryRegistry|#]
[#|2013-09-24T13:31:52.659-0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|GlassFish 服务器Open Source Edition 3.1.2 (23) 时间:Felix (8.339ms), servicios de inicio(2.907ms), total(11.246ms)|#]
[#|2013-09-24T13:31:52.660-0300|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=1;_ThreadName=main;|Cerrando v3 debido a una excepción de inicio:范围内没有可用端口:8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@6365c8|#]
[#|2013-09-24T13:31:52.721-0300|INFO|glassfish3.1.2|javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|_ThreadID=37;_ThreadName=Thread-21 ;|Servidor inactivo iniciado|#]
[#|2013-09-24T13:31:52.723-0300|INFO|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=37;_ThreadName=Thread-21;|已经停止,所以只是返回|#]
异常:从线程“FelixStartLevel”中的 UncaughtExceptionHandler 抛出 java.lang.NullPointerException
Fallo del comando 起始域。
任何想法
谢谢和对不起我的英语