You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mohan T <Mo...@ramco.com.INVALID> on 2021/06/30 14:28:15 UTC

Issue while launching the applicaion

Dear All,

I am getting this error while launching the application.

We are using tomcat 8.5.35 on linux .



30-Jun-2021 18:37:16.194 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
30-Jun-2021 18:37:16.207 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 17283 ms
Unexpected token END OF FILE at position 0.
        at org.json.simple.parser.JSONParser.parse(Unknown Source)
        at org.json.simple.parser.JSONParser.parse(Unknown Source)
        at org.json.simple.parser.JSONParser.parse(Unknown Source)
        at com.ramco.security.servlet.LoadCSS.service(Unknown Source)
        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.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:493)
        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:800)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
        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)
Unexpected token END OF FILE at position 0.
        at org.json.simple.parser.JSONParser.parse(Unknown Source)
DISCLAIMER: This communication contains information which is confidential and the copyright of Ramco Systems Ltd, its subsidiaries or a third party ("Ramco"). This email may also contain legally privileged information. Confidentiality and legal privilege attached to this communication are not waived or lost by reason of mistaken delivery to you.This email is intended to be read or used by the addressee only. If you are not the intended recipient, any use, distribution, disclosure or copying of this email is strictly prohibited without the express written approval of Ramco. Please delete and destroy all copies and email Ramco at Legal@ramco.com immediately. Any views expressed in this communication are those of the individual sender, except where the sender specifically states them to be the views of Ramco. Except as required by law, Ramco does not represent, warrant and/or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors, virus, interception or interference. If you do not wish to receive such communications, please forward this communication to marketing@ramco.com and express your wish not to receive such communications henceforth.

Re: Issue while launching the applicaion

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Mohan,

On 6/30/21 10:28, Mohan T wrote:
> Dear All,
> 
> I am getting this error while launching the application.
> 
> We are using tomcat 8.5.35 on linux .
> 
> 
> 
> 30-Jun-2021 18:37:16.194 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
> 30-Jun-2021 18:37:16.207 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 17283 ms
> Unexpected token END OF FILE at position 0.
>          at org.json.simple.parser.JSONParser.parse(Unknown Source)
>          at org.json.simple.parser.JSONParser.parse(Unknown Source)
>          at org.json.simple.parser.JSONParser.parse(Unknown Source)
>          at com.ramco.security.servlet.LoadCSS.service(Unknown Source)

It looks like the LoadCSS servlet is encountering an end-of-file while 
reading a JSON file during request-processing.

You may want to look at that servlet, or the file it's trying to load.

This is not a Tomcat-related issue.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org