Localhost shows page not found

I have a fresh minimal install of Centos7 and following the installation instructions here:

https://docs.axelor.com/abs/5.0/install/source/linux.html

I believe I followed them to a “T”. However, when I point my browser to http://localhost I can see the standard apache page. However, http://localhost:8080 is a “page not found”.

It feels like Axelor isn’t “started”. I’d really love to get this going and this is my 4th attempt at installing. Any idea what I might have done wrong?

Hello,

Have you read this ?

Good Luck, I don’t know more.

Thanks. I’ve read a lot! LOL. Maybe Centos7 isn’t a good distro. Perhaps, I would have better luck it Ubuntu? Shouldn’t matter which distro but I’ll give it a try because I definitely am following the instructions correctly.

it is java based application so OS matter the least, but you might be seeing the page as there can be numerous reasons, can you share the logs

The only error in the tomcat log is below:

22-Jul-2020 15:32:03.872 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive
[/opt/tomcat/webapps/ROOT.war]

22-Jul-2020 15:32:06.432 WARNING [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion
Unknown version string [4.0]. Default version will be used.

Also catalina.out shows:

22-Jul-2020 16:59:32.013 INFO [http-nio-8080-exec-5] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name
[0x160x030x010x020x000x010x000x010xfc0x030x030x98To`\0x9c0x100xdd0xf60xd6#0x180xf8Qy40x890xe00x91M0xcb.]0xd20x84#0x83~0xa70xa9oq]. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:432)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:502)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)
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)

Interestingly, after going to bed last night and trying to get it working this morning…suddenly…and for no reason…everything is working! Maybe my browser was caching things? In any event…we are good.

Hi @santonivich
I think it was an issue with your Tomcat. Sometimes it happens to me.
So I do these steps:

  • stop tomcat
  • delete tomcat ROOT folder and war
  • copy war again and restart tomcat