This page last changed on Jan 28, 2014 by gianluca.

Hi, i'd like to edit this post and close the topic as i found out where was the problem.
It was a misconfiguration of IP route table.
I just added
ifconfig lo0 127.0.0.1
route add -net 127.0.0.0 127.0.0.1 255.0.0.0
and tomcat started without problems.
Now i can begin to play..i think i'll be back soon for questions.

ORIGINAL POST:

Hi everyone,
first of all, sorry for my English..
I'm new to OR and i've some troubles in starting it.
i always get this error (below the stack):SEVERE: StandardServer.await: create8805:
java.net.BindException: Cannot assign requested address

The Pi is configured with a fresh install of the last debian (2014-01-07-wheezy-raspbian.zip) and icedtea-6-jre-cacao.
I googled around e and tried to change Catalina's port..http to 9090 and showdown port to 8805 (as u can see from the log)
I also verified there's no other process using the ports..
I really don't know what's going on.. can someone help me?

Tanks for help.

Here's the stack:
pi@raspberrypi ~/openremote/bin $ sudo ./openremote.sh run
Using CATALINA_BASE: /home/pi/openremote
Using CATALINA_HOME: /home/pi/openremote
Using CATALINA_TMPDIR: /home/pi/openremote/temp
Using JRE_HOME: /usr

---- Logging ----------------------------------------------------------

Console (stdout) threshold CONTROLLER\_CONSOLE\_THRESHOLD: INFO

System logs:

  • Controller startup log CONTROLLER\_STARTUP\_LOG\_LEVEL: DEBUG

-----------------------------------------------------------------------
25-Jan-2014 15:35:06 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/pi/openremote/webapps/controller/WEB-INF/lib/native
25-Jan-2014 15:37:15 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9090
25-Jan-2014 15:37:15 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 136127 ms
25-Jan-2014 15:37:15 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25-Jan-2014 15:37:15 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
25-Jan-2014 15:37:15 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webconsole.war
25-Jan-2014 15:37:35 org.openremote.controller.bootstrap.Startup redirectJULtoLog4j
INFO: Initialized JUL to LOG4J Redirector.
INFO 2014-01-25 15:37:54,718 :

********************************************************************************

Controller definition was not found in this OpenRemote Controller instance.

If you are starting the controller for the first time, please use your web
browser to connect to the controller home page and synchronize it with your
online account.

********************************************************************************

Could not find a controller definition to load at path '../webapps/controller/controller.xml' (for version 2.0)
INFO 2014-01-25 15:37:54,732 : Controller Definition File Watcher for Default Deployer started.
25-Jan-2014 15:38:00 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-9090
25-Jan-2014 15:38:01 org.apache.catalina.startup.Catalina start
INFO: Server startup in 45938 ms
25-Jan-2014 15:38:01 org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create8805:
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:353)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
25-Jan-2014 15:40:08 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-9090
25-Jan-2014 15:40:09 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER OpenRemote.Controller.startup.deployer: Converted controller definition file location from URI '../webapps/controller.xml'
Unhandled Log Messages (may occur due to undefined or incorrect shutdown order):
--------------------------------------------------------------------------------
FINER .....

Document generated by Confluence on Jun 05, 2016 09:37