iOS Question Mac Builder Local and Bridge App Build

Discussion in 'iOS Questions' started by Fox, Aug 30, 2015.

  1. Fox

    Fox Active Member Licensed User

    Hey guys a question is that the normal output for the MacServer?

    Creating key for: 10.37.129.2

    2015-08-30 13:49:54.456:INFO:eek:ejs.Server:main: jetty-9.1.z-SNAPSHOT

    2015-08-30 13:49:54.469:WARN:eek:ejh.MimeTypes:main: java.util.MissingResourceException: Can't find bundle for base name org/eclipse/jetty/http/encoding, locale de_DE

    2015-08-30 13:49:54.480:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@2c8d66b2{/,file:/Users/mymac/Downloads/macserver-2/www,AVAILABLE}

    2015-08-30 13:49:54.482:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened /Users/mymac/Downloads/macserver-2/logs/b4j-2015_08_30.request.log

    2015-08-30 13:49:54.491:WARN:eek:ejuc.AbstractLifeCycle:main: FAILED ServerConnector@1134affc{HTTP/1.1}{0.0.0.0:51041}: java.net.BindException: Address already in use

    java.net.BindException: Address already in use

    at sun.nio.ch.Net.bind0(Native Method)

    at sun.nio.ch.Net.bind(Net.java:436)

    at sun.nio.ch.Net.bind(Net.java:428)

    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:279)

    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)

    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:218)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at org.eclipse.jetty.server.Server.doStart(Server.java:337)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:151)

    at b4j.example.main._appstart(main.java:127)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:483)

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)

    at b4j.example.main.main(main.java:29)

    2015-08-30 13:49:54.492:WARN:eek:ejuc.AbstractLifeCycle:main: FAILED ServerConnector@d041cf{SSL-http/1.1}{0.0.0.0:51042}: java.net.BindException: Address already in use

    java.net.BindException: Address already in use

    at sun.nio.ch.Net.bind0(Native Method)

    at sun.nio.ch.Net.bind(Net.java:436)

    at sun.nio.ch.Net.bind(Net.java:428)

    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:279)

    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)

    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:218)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at org.eclipse.jetty.server.Server.doStart(Server.java:337)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:151)

    at b4j.example.main._appstart(main.java:127)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:483)

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)

    at b4j.example.main.main(main.java:29)

    2015-08-30 13:49:54.492:WARN:eek:ejuc.AbstractLifeCycle:main: FAILED org.eclipse.jetty.server.Server@129a8472: MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]

    MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]

    at org.eclipse.jetty.server.Server.doStart(Server.java:303)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:151)

    at b4j.example.main._appstart(main.java:127)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:483)

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)

    at b4j.example.main.main(main.java:29)

    main._appstart (java line: 127)

    MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]

    at org.eclipse.jetty.server.Server.doStart(Server.java:303)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:151)

    at b4j.example.main._appstart(main.java:127)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:483)

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)

    at b4j.example.main.main(main.java:29)

    java.net.BindException: Address already in use

    at sun.nio.ch.Net.bind0(Native Method)

    at sun.nio.ch.Net.bind(Net.java:436)

    at sun.nio.ch.Net.bind(Net.java:428)

    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:279)

    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)

    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:218)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at org.eclipse.jetty.server.Server.doStart(Server.java:337)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:151)

    at b4j.example.main._appstart(main.java:127)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:483)

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)

    at b4j.example.main.main(main.java:29)

    java.net.BindException: Address already in use

    at sun.nio.ch.Net.bind0(Native Method)

    at sun.nio.ch.Net.bind(Net.java:436)

    at sun.nio.ch.Net.bind(Net.java:428)

    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

    at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:279)

    at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)

    at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:218)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at org.eclipse.jetty.server.Server.doStart(Server.java:337)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:151)

    at b4j.example.main._appstart(main.java:127)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:483)

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)

    at b4j.example.main.main(main.java:29)



    main.main (java line: 29)

    java.lang.RuntimeException: MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:114)

    at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)

    at b4j.example.main.main(main.java:29)

    Caused by: MultiException[java.net.BindException: Address already in use, java.net.BindException: Address already in use]

    at org.eclipse.jetty.server.Server.doStart(Server.java:303)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)

    at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:151)

    at b4j.example.main._appstart(main.java:127)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:483)

    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)

    ... 2 more


    If not that can be the reason why i don't can open the url. after build for the bridge app i get this:

    B4i version: 2.00
    Parsing code. (0.00s)
    Compiling code. (0.01s)
    Building designer app. (0.00s)
    Building Xcode project (0.01s)
    Sending data to remote compiler. (7.13s)
    Open mobile Safari and navigate to: 10.37.129.2:51041
    Then click on the Install button.
    Troubleshooting:
    1. Make sure that B4I certificate is installed (www.b4x.com/ca.pem).
    2. Make sure that the provisioning file includes the target device UDID.
    3. Check the link for typos.
    Completed successfully.

    So i enter the 10.37.129.2:51041 in my Browser where i have installed the ca.pem first... but the site can't be open on device...

    Anyone had the same problem or an solution for me?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This error means that you are trying to run two instances of the builder.

    You can kill an existing builder by going to http://<server ip>:51041/kill

    Are you sure that the mac computer and the iOS device are connected to the same local network?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice