Menu

problems running version 4.0 - linux

Help
2012-04-08
2012-10-15
  • Lucky Beaver Tooth

    when I run the OPENBEXI_creative.sh script from the command line as root it
    launches Firefox, which comes up with an HTTP Status 500 exception. Command
    line output is pasted below. Looks like a few things are failing to
    initialize. Any ideas?

    OS: Xubuntu 9.10
    Kernel: 2.6.31-23-generic

    jagibbs@LappieSac:~/OpenBEXI4/OPENBEXICreative4.0-linux$ sudo
    ./OPENBEXI_creative.sh
    Starting tomcat 7 ...port:8282 mode:display
    Start tomcat 7 ...
    Apr 07, 2012 9:57:28 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler
    Apr 07, 2012 9:57:28 PM org.apache.coyote.AbstractProtocol init
    SEVERE: Failed to initialize end point associated with ProtocolHandler
    java.net.BindException: Address already in use <null>:8282
    at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:391)
    at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:554)
    at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:409)
    at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11Jsse
    Protocol.java:119)
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.core.StandardService.initInternal(StandardService.java:
    559)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at
    org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    at org.apache.catalina.startup.Tomcat.start(Tomcat.java:335)
    at OPENBEXI_Creative.EmbeddedTomcat.init_tomcat7(EmbeddedTomcat.java:80)
    at OPENBEXI_Creative.EmbeddedTomcat.<init>(EmbeddedTomcat.java:66)
    at OPENBEXI_Creative.EmbeddedTomcat.main(EmbeddedTomcat.java:201)
    Caused by: java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultS
    erverSocketFactory.java:49)
    at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:378)
    ... 14 more

    Apr 07, 2012 9:57:28 PM org.apache.catalina.core.StandardService initInternal
    SEVERE: Failed to initialize connector [Connector]
    org.apache.catalina.LifecycleException: Failed to initialize component
    [Connector]
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
    at org.apache.catalina.core.StandardService.initInternal(StandardService.java:
    559)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at
    org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:781)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
    at org.apache.catalina.startup.Tomcat.start(Tomcat.java:335)
    at OPENBEXI_Creative.EmbeddedTomcat.init_tomcat7(EmbeddedTomcat.java:80)
    at OPENBEXI_Creative.EmbeddedTomcat.<init>(EmbeddedTomcat.java:66)
    at OPENBEXI_Creative.EmbeddedTomcat.main(EmbeddedTomcat.java:201)
    Caused by: org.apache.catalina.LifecycleException: Protocol handler
    initialization failed
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:958)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    ... 9 more
    Caused by: java.net.BindException: Address already in use <null>:8282
    at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:391)
    at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:554)
    at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:409)
    at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11Jsse
    Protocol.java:119)
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:956)
    ... 10 more
    Caused by: java.net.BindException: Address already in use
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultS
    erverSocketFactory.java:49)
    at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:378)
    ... 14 more

    Apr 07, 2012 9:57:28 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Tomcat
    Apr 07, 2012 9:57:28 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.25
    Apr 07, 2012 9:57:28 PM org.apache.catalina.startup.ContextConfig
    getDefaultWebXmlFragment
    INFO: No global web.xml found
    linux detected ...
    OS=linux LAUNCH firefox
    http://localhost:8282/openbexi.do

     
  • Dieter Drewanz

    Dieter Drewanz - 2012-04-29

    Yeah I have similar trouble. I tried some Linux distros and I figured out that
    I have a crossdomain trouble.

    sudo ./OPENBEXI_creative.sh
    [sudo] password for dieterd: 
    Starting tomcat 7 ...port:8282 mode:display
    Start tomcat 7 ...
    Apr 29, 2012 9:08:27 PM org.apache.coyote.AbstractProtocol init
    Information: Initializing ProtocolHandler ["http-bio-8282"]
    Apr 29, 2012 9:08:27 PM org.apache.catalina.core.StandardService startInternal
    Information: Starting service Tomcat
    Apr 29, 2012 9:08:27 PM org.apache.catalina.core.StandardEngine startInternal
    Information: Starting Servlet Engine: Apache Tomcat/7.0.25
    Apr 29, 2012 9:08:27 PM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
    Information: No global web.xml found
    Apr 29, 2012 9:08:27 PM org.apache.coyote.AbstractProtocol start
    Information: Starting ProtocolHandler ["http-bio-8282"]
    linux detected ...
    OS=linux LAUNCH firefox [url]http://localhost:8282/openbexi.do[/url]
    user.dir =/home/dieterd/Dokumente/sw/Web_Pages/OPENBEXICreative4.0-linux
    read /home/dieterd/Dokumente/sw/Web_Pages/OPENBEXICreative4.0-linux/bexicontext.xml
    _bexi_path=./apache-tomcat-embed/webapps/OPENBEXI_Creative
    BEXI_LANGUAGE             =en
    
    ClassPath                 =./apache-tomcat-embed/webapps/OPENBEXI_Creative/classes
    DefaultXMLFilePath        =./apache-tomcat-embed/webapps/OPENBEXI_Creative/data/XML
    HomePath                  =/home/dieterd/Dokumente/sw/Web_Pages/OPENBEXICreative4.0-linux
    DefaultPath               =./apache-tomcat-embed/webapps/OPENBEXI_Creative
    DefaultMetaRulesPath      =./apache-tomcat-embed/webapps/OPENBEXI_Creative/data/metaRules
    DefaultWebPagesPath       =./apache-tomcat-embed/webapps/OPENBEXI_Creative
    DefaultImagesPath         =./apache-tomcat-embed/webapps/OPENBEXI_Creative/gifPlus
    DefaultWebPagesClientPath =./apache-tomcat-embed/webapps/OPENBEXI_Creative
    DefaultImagesClientPath   =./apache-tomcat-embed/webapps/OPENBEXI_Creative/gifPlus
    
    Looking for config file at %JWEBSOCKET_HOME%: apache-tomcat-embed...
    Checking config apache-tomcat-embed/conf/jWebSocket.xml
    2012-04-29 21:08:38,949 INFO  - SystemPlugIn: System plug-in successfully loaded.
    2012-04-29 21:08:38,964 ERROR - FlashBridgePlugIn: FileNotFoundException reading crossdomain.xml: File 'apache-tomcat-embed/conf/FlashPlugIn/crossdomain.xml' does not exist
    2012-04-29 21:08:38,978 INFO  - FlashBridgePlugIn: FlashBridge plug-in successfully loaded.
    2012-04-29 21:08:38,985 INFO  - JWebSocketFactory: 2 plugin(s) initialized for server 'ts0'.
    2012-04-29 21:08:38,985 INFO  - JWebSocketFactory: 0 plugin(s) initialized for server 'cs0'.
    2012-04-29 21:08:38,989 INFO  - JWebSocketFactory: 2 filter(s) initialized for server 'ts0'.
    2012-04-29 21:08:38,990 INFO  - JWebSocketFactory: 0 filter(s) initialized for server 'cs0'.
    2012-04-29 21:08:38,992 INFO  - TCPEngine: TCP engine 'tcp0' started' at port 8787 with default timeout infinite.
    2012-04-29 21:08:39,531 INFO  - TCPEngine: SSL engine 'tcp0' started' at port 9797 with default timeout infinite.
    2012-04-29 21:08:39,532 INFO  - TokenServer: Token server 'ts0' started.
    2012-04-29 21:08:39,533 INFO  - JWebSocketFactory: jWebSocket server startup complete
    LocalAddr :               =0:0:0:0:0:0:0:1
    request.getContextPath    =
    request.getServletPath    =/openbexi.do
    request.getLocalPort      =8282
    session id:               =  number-char-combination
    request.getPathInfo:      =null
    request.getPathTranslated =null
    ServletContextName        =null
    doGet:response=org.apache.catalina.connector.ResponseFacade@58dfa6
    forward default url:/index.jsp
    doGet completed
    doPost started ...
    doPost fieldRequest=openbexi_contextRequest
    doPost completed.
    doPost started ...
    doPost fieldRequest=openbexi_ExplorerRequest
    doPost completed.
    

    So I cannot create a new project and can not open examples. Who knows how to
    solve this?
    Who can write a simple how to?

    http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12541
    /crossdomain-file-loading-restrictions

    http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html

     
  • Arcazj

    Arcazj - 2012-04-30

    It is failing to initialize because the port 8282 is already in use which may
    mean OpenBEXI server is already running on your box. Kill the running version
    and restart OpenBEXI.
    java.net.BindException: Address already in use <null>:8282

    JCA

     
  • Arcazj

    Arcazj - 2012-04-30

    "I have a crossdomain trouble."
    I don't think so.

    The error message "ERROR - FlashBridgePlugIn: FileNotFoundException reading
    crossdomain.xml" comes from the jwebsokets API, and has nothing to do with
    your creation project issue.
    Please note that OpenBEXI 4.1 is coming soon, and do not use anymore the
    jwebsocket because it is using a embedded version of tomcat supporting the
    websockets.

    If you cannot open "examples" or test, it is because you may still use a old
    version of Firefox.
    OpenBEXI requires at least firefox 11 if you want to use all OpenBEXI feature.

    Regards,

    JCA

     
  • Dieter Drewanz

    Dieter Drewanz - 2012-04-30

    "Status 500 exception" from beavertooth I had too. This occurs when I untar
    and unzip packages as root. Deinstall all (delete Folder) and reinstall (untar
    as user) should solve his trouble.

    Still the same:
    2012-04-30 06:36:58,995 ERROR - FlashBridgePlugIn: FileNotFoundException
    reading crossdomain.xml: File 'apache-tomcat-
    embed/conf/FlashPlugIn/crossdomain.xml' does not exist
    2012-04-30 06:36:58,995 ERROR - FlashBridgePlugIn: FlashBridge could not be
    started: Keine Berechtigung = no access rights.

    Of course I restarted my PC and checked if no instance is already running. I
    can not create new projects. The little window on the right side with "CSS
    picker" and "File browser" exists and I can open one of the examples in tests.

    I Updated from Firefox 10 to Firefox 11. Now a window opens when pressing
    "Publish your web page". Import export trouble still keeps. Without first
    importing or opening a already existing html file - most people could hardly
    use it, like me.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.