`
jianson_wu
  • 浏览: 65934 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

myeclipse8.0+glassfish2

阅读更多
我刚刚装好Glassfish
在控制台中是可以正常启动的
但是我将myeclipse中的glassfish服务器与它相关联,在myeclipse中启动glassfish的时候,却报错。这是怎么回事呢?我的是我刚刚装好Glassfish
在控制台中是可以正常启动的
但是我将myeclipse中的glassfish服务器与它相关联,在myeclipse中启动glassfish的时候,却报错。这是怎么回事呢?我的是myeclipse8.0+glassfish2
错误如下:
2008-6-26 16:21:55 com.sun.enterprise.security.SecurityLifecycle <init>
信息: SEC1002:安全管理器处于关闭状态。
2008-6-26 16:21:57 com.sun.enterprise.server.logging.SystemOutandErrHandler$LoggingByteArrayOutputStream flush
信息: D:\glassfish\domains\domain1/config/.__com_sun_appserv_pid
2008-6-26 16:21:59 com.sun.enterprise.admin.server.core.AdminService init
信息: ADM0001:现在已启用 SunoneInterceptor
2008-6-26 16:21:59 com.sun.enterprise.security.PolicyLoader loadPolicy
信息: SEC1143: 正在装入策略提供程序 com.sun.enterprise.security.provider.PolicyWrapper。
2008-6-26 16:22:01 com.sun.enterprise.web.VirtualServer configureSSOValve
信息: WEB0114:在虚拟服务器 [server] 中禁用 SSO
2008-6-26 16:22:01 com.sun.enterprise.web.VirtualServer configureSSOValve
信息: WEB0114:在虚拟服务器 [__asadmin] 中禁用 SSO
2008-6-26 16:22:02 com.sun.enterprise.admin.server.core.AdminService initializeAMXMBeans
信息: ADM1079:AMX MBean 初始化已启动
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationServer onStartup
严重: 无法启动服务 com.sun.enterprise.admin.server.core.JmxConnectorLifecycle@159f3f0! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://jacky-13467781a:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    java.net.SocketTimeoutException: Read timed out]
2008-6-26 16:23:04 com.sun.enterprise.server.PEMain run
严重: CORE5071:初始化时发生错误
com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://jacky-13467781a:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    java.net.SocketTimeoutException: Read timed out]
    at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:153)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: java.io.IOException: Cannot bind to URL [rmi://jacky-13467781a:8686/management/rmi-jmx-connector]: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    java.net.SocketTimeoutException: Read timed out]
    at javax.management.remote.rmi.RMIConnectorServer.newIOException(Unknown Source)
    at javax.management.remote.rmi.RMIConnectorServer.start(Unknown Source)
    at com.sun.enterprise.admin.jmx.remote.server.rmi.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:218)
    at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:134)
    ... 9 more
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    java.net.SocketTimeoutException: Read timed out]
    at com.sun.jndi.rmi.registry.RegistryContext.bind(Unknown Source)
    at com.sun.jndi.toolkit.url.GenericURLContext.bind(Unknown Source)
    at javax.naming.InitialContext.bind(Unknown Source)
    at javax.management.remote.rmi.RMIConnectorServer.bind(Unknown Source)
    ... 12 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    java.net.SocketTimeoutException: Read timed out
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.newCall(Unknown Source)
    at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
    ... 16 more
Caused by: java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at java.io.DataInputStream.readByte(Unknown Source)
    ... 20 more

2008-6-26 16:23:04 com.sun.enterprise.server.PEMain run
严重: 服务器启动失败。正在退出...
2008-6-26 16:23:04 com.sun.enterprise.server.PEMain run
信息: 正在关闭服务器...
2008-6-26 16:23:04 com.sun.enterprise.web.PEWebContainer stopInstance
信息: WEB0303: 正在停止 Sun-Java-System/Application-Server。
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationServer onShutdown
警告: CORE5061:异常:
com.sun.appserv.server.ServerLifecycleException: WEB0106: 停止 Web 容器时发生错误
    at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:822)
    at com.sun.enterprise.web.PEWebContainerLifecycle.onShutdown(PEWebContainerLifecycle.java:95)
    at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: LifecycleException:  WEB0103:此 Web 容器尚未启动
    at com.sun.enterprise.web.WebContainer.stop(WebContainer.java:913)
    at com.sun.enterprise.web.PEWebContainer.stopInstance(PEWebContainer.java:814)
    ... 10 more
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationLifecycle onShutdown
信息: CORE5051:正在关闭所有 J2EE 应用程序...
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationLifecycle onShutdown
信息: CORE 5060: 正在停止所有符合 J2EE 1.5 连接器规范的资源适配器...
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationLifecycle onShutdown
信息: CORE 5061: 已完成资源适配器 Stop()
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationLifecycle onShutdown
信息: CORE5052:应用程序关闭完成。
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationServer onShutdown
警告: CORE5061:异常:
java.lang.NullPointerException
    at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
    at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
    at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
    at com.sun.appserv.server.ServerLifecycleModule.onShutdown(ServerLifecycleModule.java:273)
    at com.sun.appserv.server.LifecycleModuleService.onShutdown(LifecycleModuleService.java:487)
    at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationServer onShutdown
警告: CORE5061:异常:
com.sun.appserv.server.ServerLifecycleException
    at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onShutdown(JmxConnectorLifecycle.java:171)
    at com.sun.enterprise.server.ApplicationServer.onShutdown(ApplicationServer.java:549)
    at com.sun.enterprise.server.ondemand.OnDemandServer.onShutdown(OnDemandServer.java:131)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:429)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
2008-6-26 16:23:04 com.sun.enterprise.server.ApplicationServer onTermination
警告: CORE5061:异常:
java.lang.NullPointerException
    at com.sun.enterprise.util.InvocationManagerImpl.preInvoke(InvocationManagerImpl.java:136)
    at com.sun.appserv.server.ServerLifecycleModule.preInvoke(ServerLifecycleModule.java:178)
    at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:219)
    at com.sun.appserv.server.ServerLifecycleModule.onTermination(ServerLifecycleModule.java:277)
    at com.sun.appserv.server.LifecycleModuleService.onTermination(LifecycleModuleService.java:496)
    at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:587)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:434)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
2008-6-26 16:23:04 com.sun.enterprise.server.PEMain run
严重: 服务器由于启动失败而停止。
2008-6-26 16:23:04 com.sun.enterprise.server.PEMain shutdown
信息: sending notification to server...server
2008-6-26 16:23:04 com.sun.enterprise.server.PEMain shutdown
信息: 服务器关闭完成。
分享到:
评论

相关推荐

    MyEclipse8.0+FlexBuilder4+Blazeds配置

    ### MyEclipse 8.0 + FlexBuilder 4 + BlazeDS 配置详解 #### 一、概述 本文档详细介绍了如何配置 MyEclipse 8.0、FlexBuilder 4 和 BlazeDS,以便在一个集成环境中开发基于 Flex 和 Java 的富互联网应用。此配置...

    MyEclipse+8.0+注册码

    MyEclipse 8.0作为该系列的一个重要版本,在继承了先前版本优点的基础上,进一步优化了性能和用户体验,并引入了一些新的特性: 1. **增强的Web开发工具**:MyEclipse 8.0增强了对HTML5、CSS3和JavaScript的支持,...

    myeclipse8.0下载地址

    MyEclipse 8.0是历史悠久的一款集成开发环境(IDE),专为Java EE开发者设计,同时也支持Java、Web和数据库开发。它基于Eclipse平台,提供了丰富的功能,包括代码编辑、调试、部署以及项目管理等,是当时非常流行的...

    MyEclipse8.0M1官方下载地址

    1. **Struts 2 集成**:MyEclipse 8.0M1 内置了对 Struts 2 框架的支持,这使得开发者能够更加方便地进行 MVC 架构下的 Web 应用程序开发。 2. **性能优化**:此版本在性能方面进行了显著的提升,特别是在启动速度和...

    MyEclipse8.0汉化包

    MyEclipse8.0 GA汉化包。汉化方法:将language文件夹拷到MyEclipse8.0安装文件夹下的\MyEclipse 8.x Latest\dropins下面,然后重启MyEclipse8.0即可,简单方便。

    MyEclipse_8.0+flex_4_plugin+Blazeds配置

    2. 集成Flex SDK:在MyEclipse的"Window" -&gt; "Preferences" -&gt; "MyEclipse" -&gt; "Flex"中,添加Flex SDK的路径,确保插件能够识别并使用Flex 4 SDK。 3. 配置BlazeDS:首先,下载BlazeDS服务器端库,并将其添加到...

    myeclipse8.0 汉化包

    2. **备份原有配置**:在进行汉化之前,建议备份MyEclipse 8.0的原有配置,以防汉化过程中出现问题,可以快速恢复到原状。备份主要涉及工作空间(workspace)下的.metadata目录和MyEclipse的安装目录。 3. **汉化...

    MyEclipse8.0GA注册码源文件

    MyEclipse8.0GA注册码源文件MyEclipse8.0GA注册码源文件MyEclipse8.0GA注册码源文件MyEclipse8.0GA注册码源文件vvv

    MyEclipse8.0GA What’s New

    MyEclipse 8.0 GA 是一款强大的Java集成开发环境,专为开发企业级应用程序而设计。这个版本的"新特性"(What’s New)主要集中在提升开发效率、增强功能和优化用户体验上。以下是对MyEclipse 8.0 GA 新特性的详细...

    flex4整合MyEclipse8.0教程

    MyEclipse 8.0 是一个集成开发环境(IDE),专为Java EE、Spring、Hibernate等技术提供支持,同时也能够用于Flex项目的开发。本教程将介绍如何将Flex4与MyEclipse 8.0进行整合,以便在一个统一的环境中进行Flex开发...

    MyEclipse 8.0GA绿色版使用手册

    2. **MyEclipse 8.0GA的安装与配置** - **解压与启动**:下载MyEclipse 8.0GA绿色版压缩包,解压到任意位置,运行启动脚本或可执行文件。 - **环境配置**:需要确保系统已经安装了JDK,并且在环境变量中配置了JAVA...

    MyEclipse_8.0+flex_4_plugin+Blazeds配置.doc

    文档描述的是一个关于在Windows环境下配置MyEclipse 8.0集成开发环境,结合Flex 4插件和Blazeds的详细步骤。以下是对每个环节的详细解释: 1. **安装JDK**: - JDK (Java Development Kit) 是开发Java应用程序的...

    myeclipse8.0激活码

    根据提供的信息,我们可以了解到这段代码是用来生成MyEclipse 8.0激活码的程序。下面将详细介绍该程序的实现逻辑、重要概念以及涉及到的关键技术点。 ### 一、程序概述 该程序的主要功能是根据用户输入的信息...

    myeclipse8.0注册码

    1. **启动MyEclipse**:首先打开计算机上的MyEclipse 8.0。 2. **进入注册界面**:选择菜单栏中的“Help”-&gt; “License MyEclipse”选项。 3. **输入注册信息**:在弹出的窗口中,输入订阅者的名称和相应的注册码。 ...

    myeclipse 8.0 注册文件.txt

    #### 一、MyEclipse 8.0 简介 MyEclipse 是一款基于 Eclipse 的 Java 集成开发环境(IDE),它提供了丰富的功能来支持 Java 开发者进行高效编程。MyEclipse 8.0 作为其一个版本,在原有基础上增加了更多实用工具和...

Global site tag (gtag.js) - Google Analytics