war 包如何部署在 websphere服务器

youyouhi139 2009-04-09 10:16:45
我在eclise中用tomcat打成war包,部署在在tomcat应用服务器中可以正常启动,并正常访问应用程序。
同样的war包deploy到websphere中,The application was successfully deployed.The application was not successfully started,异常信息如下:请问在tomcat下打的war包,需要在websphere应用服务器上做另外的配置吗?

start of default/dms4/1239243033796/war failed
org.apache.geronimo.kernel.config.LifecycleException: start of default/dms4/1239243033796/war failed
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:579)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:543)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)
at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$486a9d76.startConfiguration(<generated>)
at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
at java.lang.Thread.run(Thread.java:810)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception
at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)
... 14 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration default/dms4/1239243033796/war failed to start due to the following reasons:
The service J2EEApplication=null,j2eeType=WebModule,name=default/dms4/1239243033796/war did not start because ContainerBase.addChild: start: LifecycleException: java.io.IOException: Context did not start for an unknown reason

at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
... 16 more

...全文
626 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
liuzhipassman 2009-05-07
  • 打赏
  • 举报
回复
was节点也有可能坏了,请重启一下服务器,或者重新建个节点试试
jkong18 2009-05-04
  • 打赏
  • 举报
回复
" The service J2EEApplication=null,j2eeType=WebModule,name=default/dms4/1239243033796/war did not start because ContainerBase.addChild: start: LifecycleException: java.io.IOException: Context did not start for an unknown reason"
貌似contextRoot缺失。
一般情况下,WAS下的Deploy大多数时候都是EAR,所以一个解决方法,可以是新建一个EAR,然后把这个WAR包括进去。试试看deploy这个EAR。
另外,WASCE没有用过,不过在WAS上面,单独Deploy WAR的时候,需要指定context root,这步你做了吗?
YuLimin 2009-04-11
  • 打赏
  • 举报
回复
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration default/dms4/1239243033796/war failed to start due to the following reasons:
The service J2EEApplication=null,j2eeType=WebModule,name=default/dms4/1239243033796/war did not start because ContainerBase.addChild: start: LifecycleException: java.io.IOException: Context did not start for an unknown reason

at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)
... 16 more

WASCE版本的?
把后台详细的log放上来看看
SystemOut.log与SystemErr.log

2,633

社区成员

发帖
与我相关
我的任务
社区描述
WebSphere 是 IBM 的软件平台。它包含了编写、运行和监视全天候的工业强度的随需应变 Web 应用程序和跨平台、跨产品解决方案所需要的整个中间件基础设施,如服务器、服务和工具。
社区管理员
  • WebSphere社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧