Newbie user first Installation Issues -- CentOS 7

Any issue about installation and configuration of the Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
amaroon
Posts: 1
Joined: Tue Apr 24, 2018 3:39 pm

Newbie user first Installation Issues -- CentOS 7

Post by amaroon » Wed Apr 25, 2018 3:30 pm

greetings

Could someone read through my summary and logs at the end and let me know why the application can't start?
Perhaps someone is using CentOS 7 like me and faced a similar issue and how they solved it.
catalina.out shows error in initialization of spring framework (core? Java threads..)


1
CentOS 7 Server.
3 pre-requisite packages: Java > 8, Postgres >9.6 and Apache Tomcat >8.

2
All three packages latest version confirming to above are installed, then application was installed.

3
Tomcat startup page was verfied: Tomcat Host Manager/ App Manager / sample applications provided running without errors. The cyclos application shows in the list of installed applications in the Tomact / App manager page. But when attempting to start I get the "Application failed to start" message.

4
In the tomcat\logs directory, I backed up catalina.out for this application. It appears the application is using Spring framework and is erroring in the Spring framework core lib?



Log:
====
1309 20-Apr-2018 14:40:39.211 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/aceadmin0/apache-tomcat-9 .0.7/Trade/cyclos.gwt]
1310 20-Apr-2018 14:40:39.252 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/aceadmin0/apache-tomc at-9.0.7/Trade/cyclos.gwt] has finished in [41] ms
1311 20-Apr-2018 14:40:39.252 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/aceadmin0/apache-tomcat-9 .0.7/Trade/pay]
1312 20-Apr-2018 14:40:39.271 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/aceadmin0/apache-tomc at-9.0.7/Trade/pay] has finished in [18] ms
1313 20-Apr-2018 14:40:39.271 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/aceadmin0/apache-tomcat-9 .0.7/Trade/js]
1314 20-Apr-2018 14:40:39.284 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/aceadmin0/apache-tomc at-9.0.7/Trade/js] has finished in [13] ms
1315 20-Apr-2018 14:40:39.284 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/aceadmin0/apache-tomcat-9 .0.7/Trade/fonts]
1316 20-Apr-2018 14:40:39.300 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/aceadmin0/apache-tomc at-9.0.7/Trade/fonts] has finished in [16] ms
1317 20-Apr-2018 14:40:39.303 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-7070"]
1318 20-Apr-2018 14:40:39.313 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-7072"]
1319 20-Apr-2018 14:40:39.317 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 942 ms
1320 20-Apr-2018 14:42:50.414 INFO [http-nio-8080-exec-2] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
1321 Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
1322 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
1323 at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:410)
1324 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:291)
1325 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
1326 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
1327 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)
1328 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
1329 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
1330 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
1331 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
1332 at java.lang.Thread.run(Thread.java:748)
1333
1334 20-Apr-2018 14:42:50.419 INFO [http-nio-8080-exec-1] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
1335 Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
1336 java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens
1337 at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:410)
1338 at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:291)
1339 at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
1340 at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)
1341 at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)
1342 at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
1343 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
1344 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
1345 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
1346 at java.lang.Thread.run(Thread.java:748)
1347

Post Reply