Я разработал веб-приложение на основе REST в Netbeans-8.2 , используя Glassfish-4.1.1 .
Теперь разработка закончена, и я хочу развернуть ее на сервере для тестирования. Я использую Tomcat-8.5.33 для развертывания с использованием файла WAR .
После перемещения файла WAR в папку webapps , когда я пытаюсь получить доступ к приложению, все работает нормально, за исключением веб-служб, предоставляющих данные приложению. JSP отображается отлично, проблема в ресурсах, которые предоставляют данные. Когда я пытаюсь получить доступ к веб-сервису, он показывает ошибку.
Ошибка при попытке доступа к службе REST.
https://stackoverflow.com/questions/48609468/issues-deploying-a-java-application-to-tomcat.
Ответ на этот вопрос говорит о том, что TomEE требуется, а не Tomcat, но если моя память работает правильно Netbeans имеют оба Tomcat и TomEE в одной пачке. Не так ли?
Я не знаю, какую конфигурацию нужно было изменить при переносе приложения с Glassfish-4.1.1 на Tomcat-8.5.33 . Все отлично работает при работе на Glassfish, но на Tomcat не повезло.
Мне нужно подробное объяснение этой проблемы и способы ее решения.
Трассировка стека Tomcat:
28-Aug-2018 12:53:47.274 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=LocationFacadeREST, ejb-name=LocationFacadeREST, container=Default Stateless Container)
at org.apache.naming.NamingContext.lookup(NamingContext.java:816)
at org.apache.naming.NamingContext.lookup(NamingContext.java:173)
at org.apache.tomee.catalina.TomcatJndiBuilder.mergeJava(TomcatJndiBuilder.java:262)
at org.apache.tomee.catalina.TomcatJavaJndiBinder.lifecycleEvent(TomcatJavaJndiBinder.java:31)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:501)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1650)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
28-Aug-2018 12:53:47.274 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MFcltydeptFacadeREST, ejb-name=MFcltydeptFacadeREST, container=Default Stateless Container)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
28-Aug-2018 12:53:47.275 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=AuthoritytagFacadeREST, ejb-name=AuthoritytagFacadeREST, container=Default Stateless Container)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1525)
at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:946)
at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
28-Aug-2018 12:53:47.276 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MTypeFacadeREST, ejb-name=MTypeFacadeREST, container=Default Stateless Container)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
28-Aug-2018 12:53:47.277 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TMemfineFacadeREST, ejb-name=TMemfineFacadeREST, container=Default Stateless Container)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1471)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
28-Aug-2018 12:53:47.277 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TOtherissueFacadeREST, ejb-name=TOtherissueFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.278 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TDamageFacadeREST, ejb-name=TDamageFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.279 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=UserdetailFacadeREST, ejb-name=UserdetailFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.280 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TMemdueFacadeREST, ejb-name=TMemdueFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.281 INFO [http-nio-8082-exec-36] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MBkstatusFacadeREST, ejb-name=MBkstatusFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.282 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SBindingSetFacadeREST, ejb-name=SBindingSetFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.283 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SSubdetailFacadeREST, ejb-name=SSubdetailFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.284 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MMemberFacadeREST, ejb-name=MMemberFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.284 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=ReporttemplatemainFacadeREST, ejb-name=ReporttemplatemainFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.285 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=BiblifilesFacadeREST, ejb-name=BiblifilesFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.286 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=LanguagemasterFacadeREST, ejb-name=LanguagemasterFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.287 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SLooseissuemappingFacadeREST, ejb-name=SLooseissuemappingFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.288 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=IllExtissueBiblocationFacadeREST, ejb-name=IllExtissueBiblocationFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.289 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=IllLibrestrictFacadeREST, ejb-name=IllLibrestrictFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.290 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=ABudgetTransactionFacadeREST, ejb-name=ABudgetTransactionFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.291 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MemcardtemplatemainFacadeREST, ejb-name=MemcardtemplatemainFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.292 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=AAmtReceiveFacadeREST, ejb-name=AAmtReceiveFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.293 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=BiblidetailsLocationFacadeREST, ejb-name=BiblidetailsLocationFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.294 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MemcardtemplatesubFacadeREST, ejb-name=MemcardtemplatesubFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.295 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=IllReqprocdmpFacadeREST, ejb-name=IllReqprocdmpFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.296 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=Tplfxfld008FacadeREST, ejb-name=Tplfxfld008FacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.296 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TGroupIssueFacadeREST, ejb-name=TGroupIssueFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.297 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TBookbankissuereturnFacadeREST, ejb-name=TBookbankissuereturnFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.298 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=BiblocationIssueReserveFacadeREST, ejb-name=BiblocationIssueReserveFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.299 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=BiblidetailsFacadeREST, ejb-name=BiblidetailsFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.299 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TLostFacadeREST, ejb-name=TLostFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.300 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TBInvoiceFacadeREST, ejb-name=TBInvoiceFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.301 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SSupplierDetailFacadeREST, ejb-name=SSupplierDetailFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.302 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MCtgryColllectionFacadeREST, ejb-name=MCtgryColllectionFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.302 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SParallelFacadeREST, ejb-name=SParallelFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MWeekoffdayFacadeREST, ejb-name=MWeekoffdayFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TReplaceFacadeREST, ejb-name=TReplaceFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SSupplierFacadeREST, ejb-name=SSupplierFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=ReserveBiblocationFacadeREST, ejb-name=ReserveBiblocationFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=MBranchmasterFacadeREST, ejb-name=MBranchmasterFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=BookTransferBiblocationFacadeREST, ejb-name=BookTransferBiblocationFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=TBindingFacadeREST, ejb-name=TBindingFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=AInvoiceFacadeREST, ejb-name=AInvoiceFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=IssuedInformationFacadeREST, ejb-name=IssuedInformationFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SSubInvdetailFacadeREST, ejb-name=SSubInvdetailFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=BiblitemplatemainFacadeREST, ejb-name=BiblitemplatemainFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=BHeadsFacadeREST, ejb-name=BHeadsFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=CtgryMediaIssueReserveFacadeREST, ejb-name=CtgryMediaIssueReserveFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.openejb.assembler.classic.Assembler.startEjbs Started Ejb(deployment-id=SEditionFacadeREST, ejb-name=SEditionFacadeREST, container=Default Stateless Container)
28-Aug-2018 12:53:47.303 INFO [272] org.apache.tomee.catalina.TomcatWebAppBuilder.deployWebApps using context file F:\SRA29012018\SoulRestApp\build\web\META-INF\context.xml
28-Aug-2018 12:53:47.318 INFO [272] org.apache.openejb.assembler.classic.Assembler.createApplication Deployed Application(path=F:\SRA29012018\SoulRestApp\build\web)
28-Aug-2018 12:53:47.318 SEVERE [272] org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal Error merging Java EE JNDI entries in to war /SoulRestApp: Exception: null
java.lang.NullPointerException
at org.apache.catalina.core.NamingContextListener.createSubcontexts(NamingContextListener.java:1253)
at org.apache.catalina.core.NamingContextListener.addEnvironment(NamingContextListener.java:785)
at org.apache.catalina.core.NamingContextListener.processGlobalResourcesChange(NamingContextListener.java:432)
at org.apache.catalina.core.NamingContextListener.propertyChange(NamingContextListener.java:382)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at org.apache.catalina.deploy.NamingResourcesImpl.addEnvironment(NamingResourcesImpl.java:302)
at org.apache.tomee.catalina.OpenEJBNamingResource.addEnvironment(OpenEJBNamingResource.java:78)
at org.apache.tomee.catalina.TomcatJndiBuilder.mergeRef(TomcatJndiBuilder.java:403)
at org.apache.tomee.catalina.TomcatJndiBuilder.mergeJndi(TomcatJndiBuilder.java:125)
at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1389)
at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1125)
at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:629)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:501)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1650)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1525)
at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:946)
at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:44)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.valves.RequestFilterValve.process(RequestFilterValve.java:348)
at org.apache.catalina.valves.RemoteAddrValve.invoke(RemoteAddrValve.java:52)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.tomee.catalina.OpenEJBSecurityListener$RequestCapturer.invoke(OpenEJBSecurityListener.java:97)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:800)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1471)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
28-Aug-2018 12:53:47.848 INFO [272] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
28-Aug-2018 12:53:47.864 INFO [272] sun.reflect.DelegatingMethodAccessorImpl.invoke Deployment of configuration descriptor [C:\Program Files\Apache Software Foundation\TomEE\conf\Catalina\localhost\SoulRestApp.xml] has finished in [8,656] ms
28-Aug-2018 12:53:47.864 INFO [http-nio-8082-exec-35] sun.reflect.DelegatingMethodAccessorImpl.invoke The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SoulRestApp]] after start() had already been called. The second call will be ignored.
Я изменил сервер с Tomcat-8.5.33 на TomEE-plus-7.0.5.
Проект работает отлично, но не может получить доступ к сервисам.