q: app startup issue (?)

View: New views
1 Messages — Rating Filter:   Alert me  

q: app startup issue (?)

by tommaso159 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,


moved my app to a machine behind a router/firewall (not that i think it has anything to do with the issue):
following my appStart()

//////////////////////////////////////////////////////////////////////////////////////////////
    @Override
    public boolean appStart(IScope scope)
    {
        log.info( "**********************************************************************************" );
        log.info( "Application  -  appStart" );
        log.info( "**********************************************************************************" );

             this.m_the_db = new Database(m_server, m_serverport, m_database, m_userNameDB, m_password);
             if(this.m_the_db==null){
                 log.info( "NO DB-Connection" );
                 return false;    
             }  
             
             this.m_clientManger = new ClientManager("so_User", false);
            
            m_appScope = scope;
            //getContextPath() should give the urls. like:
            //    firstapp/2345 OR oflademo/22Arb/est/...
            log.info( "getContextPath in appStart: " +  m_appScope.getContextPath()  );
            
            this.m_userlist = new Hashtable<String, String>();

            //start timer, cheking user presence every second
            addScheduledJob( 1000 , this );

            return true;
    }
//////////////////////////////////////////////////////////////////////////////////////////////
this is my log:
2009-07-09 10:17:21,716 [Launcher:/firstapp] INFO  vs.Application - **********************************************************************************
2009-07-09 10:17:21,717 [Launcher:/firstapp] INFO  vs.Application - Application  -  appStart
2009-07-09 10:17:21,717 [Launcher:/firstapp] INFO  vs.Application - **********************************************************************************
2009-07-09 10:17:22,662 [Launcher:/firstapp] INFO  vs.Application - getContextPath in appStart:

//////////////////////////////////////////////////////////////////////////////////////////////
the next call would be appConnect()
    @Override
    public boolean appConnect( IConnection conn ,  Object[] params )
    {   
           log.info( "**********************************************************************************" );
        log.info( "Application  -  appConnect");
        log.info( "**********************************************************************************" );
        log.info( "CLientID: " + conn.getClient().getId());
        log.info( "Path: " + conn.getPath());
        log.info( "Host: " + conn.getHost());
//////////////////////////////////////////////////////////////////////////////////////////////

>>> THIS DOES NOT show up in the logs (appConnect(..))....
everything was in working order when i run it locally...

any hints?

thx






_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org