CA Service Management

  • 1.  Unable to login to Mobiledemo through browser?

    Posted Dec 03, 2018 06:22 AM

    Hello
    Please help me out. I'm stuck while login to mobile webview. once the user enter credentials and login. the blank popup msg appear and im not not able to login.

     

    please advise

     

    Thanks,

    Muhtashim

     



  • 2.  Re: Unable to login to Mobiledemo through browser?

    Broadcom Employee
    Posted Dec 03, 2018 10:17 AM

    Muhtashim,

     

    Maybe some SDM REST options were not configured properly.  

     

    Browser console (f12), NX_ROOT/log/jrest.log   and stdlog.x    around the time when this was reproduced might give some clues. 

     

    _R



  • 3.  Re: Unable to login to Mobiledemo through browser?

    Posted Dec 04, 2018 02:00 AM

    Raghu.Rudraraju 

     

    Please look at my stdlog.x file and jrest.log

     

    stdlog.x

    09/11 17:37:24.79 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 9658 Imap Mail:Authentication failed using (Clear): Invalid login or password
    09/11 17:37:24.79 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 5044 Mailbox 100 (servicedesk@mail.exclusivehosting.net/Inbox) produced error during Mail Poll.
    09/11 17:37:55.57 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 8565 Authentication failed using (Clear) for IMAP Server [mail.exclusivehosting.net] on Port 143
    09/11 17:37:55.57 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 9658 Imap Mail:Authentication failed using (Clear): Invalid login or password
    09/11 17:37:55.57 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 5044 Mailbox 100 (servicedesk@mail.exclusivehosting.net/Inbox) produced error during Mail Poll.
    09/11 17:38:26.38 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 8565 Authentication failed using (Clear) for IMAP Server [mail.exclusivehosting.net] on Port 143
    09/11 17:38:26.38 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 9658 Imap Mail:Authentication failed using (Clear): Invalid login or password
    09/11 17:38:26.38 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 5044 Mailbox 100 (servicedesk@mail.exclusivehosting.net/Inbox) produced error during Mail Poll.
    09/11 17:38:57.21 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 8565 Authentication failed using (Clear) for IMAP Server [mail.exclusivehosting.net] on Port 143
    09/11 17:38:57.21 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 9658 Imap Mail:Authentication failed using (Clear): Invalid login or password
    09/11 17:38:57.21 SDM_test pdm_maileater_nxd 4588 ERROR pdm_maileater_nxd.c 5044 Mailbox 100 (servicedesk@mail.exclusivehosting.net/Inbox) produced error during Mail Poll.



    jrest.log

    09/11 17:34:54.447 [localhost-startStop-1] INFO SecurityInInterceptor 144 REST Framework set to use domsrvr 'domsrvr'
    09/11 17:34:54.462 [localhost-startStop-1] INFO SecurityInInterceptor 154 REST Framework successfully connected to SLUMP as 'rest-core-SDM_test'
    09/11 17:35:01.540 [localhost-startStop-1] INFO ContextLoader 221 Root WebApplicationContext: initialization completed in 8187 ms
    09/11 17:59:25.479 [http-nio-8050-exec-2] INFO DAL_JDBC 132 Statement.executeUpdate (313ms): INSERT INTO rest_access (access_key,contact) VALUES (1382260608,'14DA6D0E47FE564E86BACE3CA58A0003')




    thanks.



  • 4.  Re: Unable to login to Mobiledemo through browser?

    Broadcom Employee
    Posted Dec 04, 2018 09:26 AM

    Thank you.

     

    I'm suspecting we are getting a denial because of CORS or something similar

     

    Do you see any errors in your browser console when you perform this (F12 key on your keyboard starts the console).  refresh your page and try to login again with the console open

     

    _R



  • 5.  Re: Unable to login to Mobiledemo through browser?

    Posted Dec 05, 2018 03:53 AM

    My console is showing following errors. Please check the screenshot below.

     



  • 6.  Re: Unable to login to Mobiledemo through browser?

    Broadcom Employee
    Posted Dec 04, 2018 02:31 AM

    Modibledemo was created to show how SDM RESTful webservices are working and show a simple use case.

    In the mean time you can use the out of the box CA Service Management application to see a real RESTful application with SDM.

    The mobiledemo not supported and my understanding is: It's a leftover from the early release 12.n.

    The libs included/referenced in the code a obsolete.

     

    Ferdinand



  • 7.  Re: Unable to login to Mobiledemo through browser?

    Broadcom Employee
    Posted Dec 05, 2018 10:54 AM

    Thank you, this helps.

     

    As you can see, its trying to reach a URL   (you can find out what it is by clicking on the  section in the right pane which says  net::ERR_NAME_NOT_RESOLVED )   to see what URL its trying and if its the same EXACT  thing as http://sdm_test:8050  or not.

     

    If it is, then  its not able to find:    http://sdm_test:8050/caisd-rest/acctyp     

     

    Mostly some component of REST did not get deployed properly.  You could raise a support case for this and have one of us look at this via  a remote session maybe?

     

    _R



  • 8.  Re: Unable to login to Mobiledemo through browser?

    Posted Dec 06, 2018 02:12 AM

    OK thanks Bro.