此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【jacky555】截止到2008-06-26 16:32:40的历史汇总数据(不包括此帖):
发帖数:39                 发帖分:680                
结贴数:28                 结贴分:500                
未结数:11                 未结分:180                
结贴率:71.79 %            结分率:73.53 %            
楼主加油

解决方案 »

  1.   

    由于不让一次发不完,继续
    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
    信息: 服务器关闭完成。
      

  2.   

    我 也 一样,控制台能运行 ,但在myeclipse下就启动不了,我估计是用户名 和 密码的问题。
    因为我在用netbeans的时候,启动glassfish v2就是需要设置帐号和密码,但myeclipse里面就没有这个设置
      

  3.   

    好像没有吧,我在netbeans中启动它的时候也出现这个问题,不知道是怎么回事?错误好像8686端口出现了问题。不知道这个端口是干什么用的?
      

  4.   

    这个问题应该是一个配置文件出的问题,在/etc/hosts文件中有一个格式是: IP 机器名, 可以试试把IP改为127.0.0.1试试,我在linux下改过了,好使。
      

  5.   

    安装glassfish,myeclipse和jdk都在同一个磁盘下才行
      

  6.   

    我也碰到类似的问题啊!!我用的是myeclipse