Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAR tomcat deployment failed to start #168

Closed
enjoywithme opened this issue May 5, 2019 · 1 comment
Closed

WAR tomcat deployment failed to start #168

enjoywithme opened this issue May 5, 2019 · 1 comment
Labels

Comments

@enjoywithme
Copy link

05-May-2019 22:43:45.777 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter requestContextFilter
java.lang.NullPointerException
at com.sismics.util.filter.RequestContextFilter.init(RequestContextFilter.java:54)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4708)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:974)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1850)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

It seems failed to get baseDataDirectory . I created /var/reader manually and changed permission to 777.
I also tried adding lines below to config.properties:
os.name=unix
reader.home=/var/reader
But no success.

@jendib
Copy link
Member

jendib commented May 5, 2019

Maybe it's a systemd issue like sismics/docs#316
See ReadWritePaths here: https://www.freedesktop.org/software/systemd/man/systemd.exec.html

@jendib jendib added the question label May 5, 2019
@jendib jendib closed this as completed Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants