realwangpu
2021-05-31 10:52
采纳率: 96.7%
浏览 116

TongWeb部署应用报空指针

java.lang.NullPointerException
    at com.tongweb.tongejb.config.WsDeployer.readWsdl(WsDeployer.java:439)
    at com.tongweb.tongejb.config.WsDeployer.getWsdl(WsDeployer.java:415)
    at com.tongweb.tongejb.config.WsDeployer.processPorts(WsDeployer.java:198)
    at com.tongweb.tongejb.config.WsDeployer.deploy(WsDeployer.java:60)
    at com.tongweb.tongejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:358)
    at com.tongweb.tongejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:975)
    at com.tongweb.tw.thanos.ThanosWebtierWebAppBuilder.startInternal(ThanosWebtierWebAppBuilder.java:1082)
    at com.tongweb.tomee.catalina.WebtierWebAppBuilder.configureStart(WebtierWebAppBuilder.java:1058)
    at com.tongweb.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)
    at com.tongweb.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
    at com.tongweb.catalina.core.StandardContext.startInternal(StandardContext.java:5168)
    at com.tongweb.catalina.core.ThanosStandardContext.startInternal(ThanosStandardContext.java:157)
    at com.tongweb.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at com.tongweb.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:734)
    at com.tongweb.catalina.core.ContainerBase.addChild(ContainerBase.java:710)
    at com.tongweb.catalina.core.StandardHost.addChild(StandardHost.java:721)
    at com.tongweb.catalina.core.ThanosStandardHost.addChild(ThanosStandardHost.java:630)
    at com.tongweb.web.thanos.startup.ThanosHostConfig.deployWar(ThanosHostConfig.java:230)
    at com.tongweb.tw.thanos.ThanosWebtierWebAppBuilder.fireTomcatProcess(ThanosWebtierWebAppBuilder.java:434)
    at com.tongweb.tw.thanos.ThanosWebtierWebAppBuilder.deployApplication(ThanosWebtierWebAppBuilder.java:381)
    at com.tongweb.deploy.TongWebDeployer.deploy0(TongWebDeployer.java:323)
    at com.tongweb.deploy.TongWebDeployer.deploy(TongWebDeployer.java:283)
    at com.tongweb.tw.thanos.TongwebLoader.deployOneThread(TongwebLoader.java:507)
    at com.tongweb.tw.thanos.TongwebLoader.initDeploy(TongwebLoader.java:456)
    at com.tongweb.tw.thanos.TongwebLoader.event(TongwebLoader.java:207)
    at com.tongweb.catalina.startup.ThanosCatalina.start(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:607)
    at com.tongweb.catalina.startup.Bootstrap.start(Bootstrap.java:378)
    at com.tongweb.catalina.startup.Bootstrap.main(Bootstrap.java:530)

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • realwangpu 2021-05-31 10:56
    已采纳

    TongWeb  自带webservice扫描应用,而实际应用往往不需要使用TongWeb的webservice。在TongWeb启动脚本中增加参数-Dopenejb.webservices.enabled=false  可以过滤webservice 扫描。

    打赏 评论

相关推荐 更多相似问题