I have been told that setting up WebApollo is worth it for the conveniences it brings to annotation curation.
However the amount of debugging needed to get it up and running is astounding...
The error I have been trying to solve lately is the following: (output of catalina.out
log from tomcat7)
ERROR loading seq data:
org.json.JSONException: JSONObject["length"] not found.
at org.json.JSONObject.get(JSONObject.java:405)
at org.json.JSONObject.getInt(JSONObject.java:465)
at org.bbop.apollo.web.config.ServerConfiguration.parseRefSeqs(ServerConfiguration.java:494)
at org.bbop.apollo.web.config.ServerConfiguration.init(ServerConfiguration.java:316)
at org.bbop.apollo.web.config.ServerConfiguration.<init>(ServerConfiguration.java:67)
at org.bbop.apollo.web.Login.init(Login.java:46)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:864)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:134)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Has anybody encountered this before and if so what did you do to resolve it?
Hi cmdcolin,
I did manage to solve the problem a few days after I posted that. It was about file and directory permissions more or less.
After I did
sudo apt-get install tomcat7*
and created$WEB_APOLLO_DATA_DIR
andtmp
folders myself, with thetomcat7:tomcat7
permissions, it all suddenly started working.Good to know that there is an improved installation procedure for the next time I'm going to install WebApollo on a system. Thanks for the info!
Thanks for the info, we will try to take this into consideration in our documentation!