Servlet [action] is currently unavailable and HTTP ERROR 503

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Servlet [action] is currently unavailable and HTTP ERROR 503

Pengcheng Yang
Hi InterMiners,

This problem is strange. I have subsampled the data to create a TestMine
(code deposited at: https://github.com/pengchy/testmine) use the a small
part of the data from FAWMine
(http://insectmine.org:8080/fawmine/begin.do). But after successfully
loading and deploying the application, the
http://insectmine.org:8080/testmine/begin.do returned "HTTP ERROR 503"
and the tomcate message localhost.2020-02-24.log file said as below. I
have reloaded the data for several times, but the error remain. Could
anyone help me out?

==================== localhost.2020-02-24.log ===========================

24-Feb-2020 18:02:27.723 INFO [http-nio-10.4.0.17-8080-exec-62]
org.apache.catalina.core.ApplicationContext.log Marking servlet [action]
as unavailable
24-Feb-2020 18:02:27.724 SEVERE [http-nio-10.4.0.17-8080-exec-62]
org.apache.catalina.core.StandardContext.loadOnStartup Servlet [action]
in web application [/testmine] threw load() exception
  javax.servlet.UnavailableException: userprofileOSW is null
         at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
         at javax.servlet.GenericServlet.init(GenericServlet.java:158)
         at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)
         at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
         at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)
         at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4962)
         at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)
         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.deployWAR(HostConfig.java:985)
         at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
         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:773)
         at
org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:443)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:664)
         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:108)
         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.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:613)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
         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:803)
         at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
         at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
         at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
         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)

24-Feb-2020 18:02:50.598 SEVERE [http-nio-10.4.0.17-8080-exec-63]
org.apache.catalina.session.StandardSession.tellNew Session event
listener threw exception
  java.lang.NullPointerException
         at
org.intermine.web.logic.session.SessionMethods.initSession(SessionMethods.java:459)
         at
org.intermine.web.logic.session.SessionListener.sessionCreated(SessionListener.java:31)
         at
org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:396)
         at
org.apache.catalina.session.StandardSession.setId(StandardSession.java:368)
         at
org.apache.catalina.session.StandardSession.setId(StandardSession.java:349)
         at
org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:663)
         at
org.apache.catalina.connector.Request.doGetSession(Request.java:3044)
         at
org.apache.catalina.connector.Request.getSession(Request.java:2434)
         at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:896)
         at
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:908)
         at
org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:137)
         at
org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:109)
         at
org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:60)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:100)
         at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
         at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
         at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
         at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
         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.intermine.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:139)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
         at
org.intermine.web.filters.PermanentURLFilter.doFilter(PermanentURLFilter.java:60)
         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.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
         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:803)
         at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
         at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
         at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
         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)

24-Feb-2020 18:02:50.617 WARNING [http-nio-10.4.0.17-8080-exec-61]
org.apache.catalina.core.ApplicationDispatcher.invoke Servlet [action]
is currently unavailable
24-Feb-2020 18:02:52.108 WARNING [http-nio-10.4.0.17-8080-exec-56]
org.apache.catalina.core.ApplicationDispatcher.invoke Servlet [action]
is currently unavailable
24-Feb-2020 18:02:53.737 WARNING [http-nio-10.4.0.17-8080-exec-60]
org.apache.catalina.core.ApplicationDispatcher.invoke Servlet [action]
is currently unavailable

Thank you!

Best,

Pengcheng




_______________________________________________
dev mailing list
[hidden email]
https://lists.intermine.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Servlet [action] is currently unavailable and HTTP ERROR 503

Daniela Butano-2
Dear Pengcheng,

please check in the testmine.properties the configuration related to the
userprofile database.

db.userprofile-production.datasource.serverName=
db.userprofile-production.datasource.databaseName=

Daniela

On 24/02/2020 10:26, Pengcheng Yang wrote:

> Hi InterMiners,
>
> This problem is strange. I have subsampled the data to create a
> TestMine (code deposited at: https://github.com/pengchy/testmine) use
> the a small part of the data from FAWMine
> (http://insectmine.org:8080/fawmine/begin.do). But after successfully
> loading and deploying the application, the
> http://insectmine.org:8080/testmine/begin.do returned "HTTP ERROR 503"
> and the tomcate message localhost.2020-02-24.log file said as below. I
> have reloaded the data for several times, but the error remain. Could
> anyone help me out?
>
> ==================== localhost.2020-02-24.log ===========================
>
> 24-Feb-2020 18:02:27.723 INFO [http-nio-10.4.0.17-8080-exec-62]
> org.apache.catalina.core.ApplicationContext.log Marking servlet
> [action] as unavailable
> 24-Feb-2020 18:02:27.724 SEVERE [http-nio-10.4.0.17-8080-exec-62]
> org.apache.catalina.core.StandardContext.loadOnStartup Servlet
> [action] in web application [/testmine] threw load() exception
>  javax.servlet.UnavailableException: userprofileOSW is null
>         at
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:158)
>         at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)
>         at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)
>         at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4962)
>         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)
>         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.deployWAR(HostConfig.java:985)
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
>         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:773)
>         at
> org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:443)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:664)
>         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:108)
>         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.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:613)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>         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:803)
>         at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>         at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
>         at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
>         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)
>
> 24-Feb-2020 18:02:50.598 SEVERE [http-nio-10.4.0.17-8080-exec-63]
> org.apache.catalina.session.StandardSession.tellNew Session event
> listener threw exception
>  java.lang.NullPointerException
>         at
> org.intermine.web.logic.session.SessionMethods.initSession(SessionMethods.java:459)
>         at
> org.intermine.web.logic.session.SessionListener.sessionCreated(SessionListener.java:31)
>         at
> org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:396)
>         at
> org.apache.catalina.session.StandardSession.setId(StandardSession.java:368)
>         at
> org.apache.catalina.session.StandardSession.setId(StandardSession.java:349)
>         at
> org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:663)
>         at
> org.apache.catalina.connector.Request.doGetSession(Request.java:3044)
>         at
> org.apache.catalina.connector.Request.getSession(Request.java:2434)
>         at
> org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:896)
>         at
> org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:908)
>         at
> org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:137)
>         at
> org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:109)
>         at
> org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:60)
>         at org.apache.jsp.index_jsp._jspService(index_jsp.java:100)
>         at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>         at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
>         at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
>         at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
>         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.intermine.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:139)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>         at
> org.intermine.web.filters.PermanentURLFilter.doFilter(PermanentURLFilter.java:60)
>         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.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>         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:803)
>         at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>         at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
>         at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
>         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)
>
> 24-Feb-2020 18:02:50.617 WARNING [http-nio-10.4.0.17-8080-exec-61]
> org.apache.catalina.core.ApplicationDispatcher.invoke Servlet [action]
> is currently unavailable
> 24-Feb-2020 18:02:52.108 WARNING [http-nio-10.4.0.17-8080-exec-56]
> org.apache.catalina.core.ApplicationDispatcher.invoke Servlet [action]
> is currently unavailable
> 24-Feb-2020 18:02:53.737 WARNING [http-nio-10.4.0.17-8080-exec-60]
> org.apache.catalina.core.ApplicationDispatcher.invoke Servlet [action]
> is currently unavailable
>
> Thank you!
>
> Best,
>
> Pengcheng
>
>
>
>
> _______________________________________________
> dev mailing list
> [hidden email]
> https://lists.intermine.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
[hidden email]
https://lists.intermine.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Servlet [action] is currently unavailable and HTTP ERROR 503

Pengcheng Yang
Dear Daniela,

Thank you for your reply. I have forgot to build the userprofile
database before deploying. It works now.

Best,

Pengcheng


On 2020-2-24 18:56, Daniela Butano wrote:

> Dear Pengcheng,
>
> please check in the testmine.properties the configuration related to
> the userprofile database.
>
> db.userprofile-production.datasource.serverName=
> db.userprofile-production.datasource.databaseName=
>
> Daniela
>
> On 24/02/2020 10:26, Pengcheng Yang wrote:
>> Hi InterMiners,
>>
>> This problem is strange. I have subsampled the data to create a
>> TestMine (code deposited at: https://github.com/pengchy/testmine) use
>> the a small part of the data from FAWMine
>> (http://insectmine.org:8080/fawmine/begin.do). But after successfully
>> loading and deploying the application, the
>> http://insectmine.org:8080/testmine/begin.do returned "HTTP ERROR
>> 503" and the tomcate message localhost.2020-02-24.log file said as
>> below. I have reloaded the data for several times, but the error
>> remain. Could anyone help me out?
>>
>> ==================== localhost.2020-02-24.log
>> ===========================
>>
>> 24-Feb-2020 18:02:27.723 INFO [http-nio-10.4.0.17-8080-exec-62]
>> org.apache.catalina.core.ApplicationContext.log Marking servlet
>> [action] as unavailable
>> 24-Feb-2020 18:02:27.724 SEVERE [http-nio-10.4.0.17-8080-exec-62]
>> org.apache.catalina.core.StandardContext.loadOnStartup Servlet
>> [action] in web application [/testmine] threw load() exception
>>  javax.servlet.UnavailableException: userprofileOSW is null
>>         at
>> org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
>>         at javax.servlet.GenericServlet.init(GenericServlet.java:158)
>>         at
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)
>>         at
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
>>         at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)
>>         at
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4962)
>>         at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)
>>         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.deployWAR(HostConfig.java:985)
>>         at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:507)
>>         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:773)
>>         at
>> org.apache.catalina.manager.ManagerServlet.doPut(ManagerServlet.java:443)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:664)
>>         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:108)
>>         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.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:613)
>>         at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
>>         at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>>         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:803)
>>         at
>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>>         at
>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
>>         at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
>>         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)
>>
>> 24-Feb-2020 18:02:50.598 SEVERE [http-nio-10.4.0.17-8080-exec-63]
>> org.apache.catalina.session.StandardSession.tellNew Session event
>> listener threw exception
>>  java.lang.NullPointerException
>>         at
>> org.intermine.web.logic.session.SessionMethods.initSession(SessionMethods.java:459)
>>         at
>> org.intermine.web.logic.session.SessionListener.sessionCreated(SessionListener.java:31)
>>         at
>> org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:396)
>>         at
>> org.apache.catalina.session.StandardSession.setId(StandardSession.java:368)
>>         at
>> org.apache.catalina.session.StandardSession.setId(StandardSession.java:349)
>>         at
>> org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:663)
>>         at
>> org.apache.catalina.connector.Request.doGetSession(Request.java:3044)
>>         at
>> org.apache.catalina.connector.Request.getSession(Request.java:2434)
>>         at
>> org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:896)
>>         at
>> org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:908)
>>         at
>> org.apache.jasper.runtime.PageContextImpl.initialize(PageContextImpl.java:137)
>>         at
>> org.apache.jasper.runtime.JspFactoryImpl.internalGetPageContext(JspFactoryImpl.java:109)
>>         at
>> org.apache.jasper.runtime.JspFactoryImpl.getPageContext(JspFactoryImpl.java:60)
>>         at org.apache.jsp.index_jsp._jspService(index_jsp.java:100)
>>         at
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
>>         at
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
>>         at
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
>>         at
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
>>         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.intermine.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:139)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>         at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>         at
>> org.intermine.web.filters.PermanentURLFilter.doFilter(PermanentURLFilter.java:60)
>>         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.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
>>         at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
>>         at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
>>         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:803)
>>         at
>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>>         at
>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
>>         at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
>>         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)
>>
>> 24-Feb-2020 18:02:50.617 WARNING [http-nio-10.4.0.17-8080-exec-61]
>> org.apache.catalina.core.ApplicationDispatcher.invoke Servlet
>> [action] is currently unavailable
>> 24-Feb-2020 18:02:52.108 WARNING [http-nio-10.4.0.17-8080-exec-56]
>> org.apache.catalina.core.ApplicationDispatcher.invoke Servlet
>> [action] is currently unavailable
>> 24-Feb-2020 18:02:53.737 WARNING [http-nio-10.4.0.17-8080-exec-60]
>> org.apache.catalina.core.ApplicationDispatcher.invoke Servlet
>> [action] is currently unavailable
>>
>> Thank you!
>>
>> Best,
>>
>> Pengcheng
>>
>>
>>
>>
>> _______________________________________________
>> dev mailing list
>> [hidden email]
>> https://lists.intermine.org/mailman/listinfo/dev
> _______________________________________________
> dev mailing list
> [hidden email]
> https://lists.intermine.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[hidden email]
https://lists.intermine.org/mailman/listinfo/dev