I need help setting up my Tomcat server on my Rasp. The majo problem is, i can run Tomcat from its directory with startup.sh. It than says that tomcat is running ... what a lie. If i test it with configtest.sh i get a few exceptions thrown at me.
further when i look @ catalina.out i get somthing like this:
23-Nov-2015 17:11:52.997 INFO [localhost-startStop-1] org.apache.catalina.start$
23-Nov-2015 17:11:52.999 INFO [localhost-startStop-1] org.apache.catalina.start$
23-Nov-2015 17:11:53.201 INFO [localhost-startStop-1] org.apache.catalina.start$
23-Nov-2015 17:11:53.204 INFO [localhost-startStop-1] org.apache.catalina.start$
23-Nov-2015 17:11:55.521 INFO [localhost-startStop-1] org.apache.catalina.start$
23-Nov-2015 17:11:55.523 INFO [localhost-startStop-1] org.apache.catalina.start$
23-Nov-2015 17:11:55.642 INFO [localhost-startStop-1] org.apache.catalina.start$
23-Nov-2015 17:11:55.680 INFO [main] org.apache.coyote.AbstractProtocol.start S$
23-Nov-2015 17:11:55.735 INFO [main] org.apache.coyote.AbstractProtocol.start S$
23-Nov-2015 17:11:55.740 INFO [main] org.apache.catalina.startup.Catalina.start$
23-Nov-2015 17:11:55.751 SEVERE [main] org.apache.catalina.core.StandardServer.$
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:3$
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:42$
at org.apache.catalina.startup.Catalina.await(Catalina.java:713)
at org.apache.catalina.startup.Catalina.start(Catalina.java:659)
I'm not able to understand the error... There is nothing else running, i rebootet several times, checkt the processes, checked the ports but nothing is in use as far as i can see it.
I tried tomcat per apt-get as a service and as a simple package from tomcats website. Both without any sucess.
I than deletet all and installed apache just for testeng. Apache runs without any errors and is accesable via the browser after installation.
I got two questions. 1: What is the problem with tomcat? Any suggestions why tomcat may not be able to get a adress.
2: The main reson i want tomcat is to run a RESTFUL webaplication on the Rasp.Is there maby a other Webserver that can hold on to Java servlets or war files?
Setup: Raspberry PI2 Java 1.8 Tomcat 7 or 8 tried them both.
thanks in advance and a nice Monday too you