Pro2 Web Interface Users - Forum - OpenEdge Pro2 - Progress Community

Pro2 Web Interface Users

 Forum

Pro2 Web Interface Users

This question is answered

Hi,

I'm trying to use Pro2 Web Interface. I created a new instance of "PASOE" and deploy Pro2 services on it.

Which default user and password should I use on the login page?

Verified Answer
  • Pro2_Web_Dev_Installation.pdf
    I have the attached the developer document which has more details to setup Pro2 web. Currently, we are working on simplification of this deployment process as it is little complex in 5.0.4 release.
     
    Please let us know, if you need more information.
     
    Thanks,
    Satya
     
All Replies
  • Hi Valeriy,

    You can check the same in your <Openedge WORKDIR>/<PAS Instance Name>/conf/tomcat-users.xml. Generally it should be admin/admin whatever set in the below statement.

    <user password="admin" roles="tomcat,manager-gui,manager-script,manager-jmx,ROLE_PSCAdmin,ROLE_PSCOper,ROLE_PSCUser" username="admin"/>

    Regards,

    Kunal

  • Hi Kunal,

    Thank you for replay!

    In my file describes these users:

    <!-- start_dev_accounts -->

    <user username="tomcat" password="tomcat" roles="ROLE_PSCAdmin,ROLE_PSCOper,ROLE_PSCUser" />

    <user username="tcuser1" password="tcuser" roles="ROLE_PSCUser" />

    <user username="tcuser2" password="tcuser" roles="ROLE_PSCNone" />

    <!-- end_dev_accounts -->

    I tried to use them, but failed :(

  • Hi Valeriy,

    Did you created the user in replcontrol table with the GroupID = "LOGINCONTROL", CodeID = "UserID" , Codeval1 = "Password" ?

    If not, could you please create replcontrol record for the mentioned groupID and check?

    create ReplControl.

    Assign ReplControl.GroupID = "LOGINCONTROL"

               ReplControl.CodeID = "admin"

               ReplControl.CodeVal1 = "admin".

    Regards,

    Kunal

  • About this nothing is said in the documentation.

    I created this recod now, but nothing has changed.

    But in a web browser, I see this error:

    GET 172.16.95.154:8810/.../360.css net::ERR_ABORTED

    From localhost_access_log.2018-04-18.txt:

    127.0.0.1 - - [18/Apr/2018:12:33:53 +0300] "GET /oemanager/ HTTP/1.1" 401 84 61
    127.0.0.1 - - [18/Apr/2018:12:33:53 +0300] "GET /oemanager/ HTTP/1.1" 401 84 9
    172.16.95.1 - - [18/Apr/2018:12:34:50 +0300] "GET /Pro2/static/auth/Logon.jsp HTTP/1.1" 200 1038 67
    172.16.95.1 - - [18/Apr/2018:12:34:50 +0300] "GET /Pro2/static/Support/360.css HTTP/1.1" 404 44 4
    172.16.95.154 - - [18/Apr/2018:12:35:10 +0300] "GET /Login/rest/Login/LGN?UID=admin&PW=admin HTTP/1.1" 403 2123 36
    172.16.95.1 - - [18/Apr/2018:12:35:10 +0300] "POST /Pro2/static/auth/gateway.jsp HTTP/1.1" 302 - 58
    172.16.95.1 - - [18/Apr/2018:12:35:10 +0300] "GET /Pro2/static/auth/Logon.jsp HTTP/1.1" 200 1080 4
    172.16.95.1 - - [18/Apr/2018:12:35:10 +0300] "GET /Pro2/static/Support/360.css HTTP/1.1" 404 44 3
    172.16.95.1 - - [18/Apr/2018:12:35:47 +0300] "GET /Pro2/static/Support/360.css HTTP/1.1" 404 44 2
    172.16.95.154 - - [18/Apr/2018:12:36:17 +0300] "GET /Login/rest/Login/LGN?UID=admin&PW=admin HTTP/1.1" 403 2123 5
    172.16.95.1 - - [18/Apr/2018:12:36:17 +0300] "POST /Pro2/static/auth/gateway.jsp HTTP/1.1" 302 - 11
    172.16.95.1 - - [18/Apr/2018:12:36:17 +0300] "GET /Pro2/static/auth/Logon.jsp HTTP/1.1" 200 1080 2
    172.16.95.1 - - [18/Apr/2018:12:36:17 +0300] "GET /Pro2/static/Support/360.css HTTP/1.1" 404 44 2

    This CSS really does not exist in the Support directory on the server.

    Maybe this is the problem?

  • Here's what I found. By this URL I receive such an answer

    {"AppServerStatus":{"PingStatus":"false","Error":{"_errorMsg":"Connect Failure: Application Service restbroker1 Unknown at NameServer at Host localhost Port 5162. (8234)"}},"RESTServices":[{"http:\/\/172.16.95.154:8810\/Pro2\/rest\/Pro2":{"_DPR":{"DataProcReq..callForData":{"Method":" GET","Resource-Path":"\/DPR","Http-Request-Type":"application\/json","Http-Response-Type":"application\/json","ABL-Resource-Name":"DataProcReq.p","ABL-Resource-path":"WRKDIR\\","Procedure-Type":"Internal Procedure","Input":[{"HTTP-Source":"http.query[dMode]","ABL-Target":"dMode","ABL-Type":"CHARACTER"},{"HTTP-Source":"http.query[pVars]","ABL-Target":"pVars","ABL-Type":"CHARACTER"}],"Output":[{"HTTP-Target":"http.body","ABL-Source":"jsonText","ABL-Type":"LONGCHAR"}]}}}},{"http:\/\/172.16.95.154:8810\/Pro2\/rest\/Login":{"_LGN":{"login..CheckLogin":{"Method":" GET","Resource-Path":"\/LGN","Http-Request-Type":"application\/json","Http-Response-Type":"application\/json","ABL-Resource-Name":"login.p","ABL-Resource-path":"WRKDIR\\","Procedure-Type":"Internal Procedure","Input":[{"HTTP-Source":"http.query[UID]","ABL-Target":"UID","ABL-Type":"CHARACTER"},{"HTTP-Source":"http.query[PW]","ABL-Target":"PW","ABL-Type":"CHARACTER"}],"Output":[{"HTTP-Target":"http.body","ABL-Source":"jsonText","ABL-Type":"LONGCHAR"}]}},"_CHK":{"login..ChallengeLogin":{"Method":" GET","Resource-Path":"\/CHK","Http-Request-Type":"application\/json","Http-Response-Type":"application\/json","ABL-Resource-Name":"login.p","ABL-Resource-path":"WRKDIR\\","Procedure-Type":"Internal Procedure","Input":[{"HTTP-Source":"http.query[sKey]","ABL-Target":"sKey","ABL-Type":"CHARACTER"}],"Output":[{"HTTP-Target":"http.body","ABL-Source":"jsonText","ABL-Type":"LONGCHAR"}]}}}}]}

    But I do not use restbroker1.

    It seems that I'm doing something wrong.

  • Here's the URL http: // 172.16.95.154:8810 / Pro2 / rest/

  • Maybe there is a more detailed instruction for deploying the Pro2 Web Interface on PASOE than there is in the documentation?

  • Any ideas?

  • Pro2_Web_Dev_Installation.pdf
    I have the attached the developer document which has more details to setup Pro2 web. Currently, we are working on simplification of this deployment process as it is little complex in 5.0.4 release.
     
    Please let us know, if you need more information.
     
    Thanks,
    Satya
     
  • Hi Satya,

    Many thanks for this instruction. Now I understand how this works. Indeed, this need to be simplified )))

    But now I have another problem. After logging in on the Pro2 Web page, the data does not load.

    In the server log of  restbroker1 I see

    Procedure: 'callForData DataProcReq.p' Line:66) DataProcReq called for Dashboard/tableBehavior with the parameters [ 4/10/2018 4:07 PM|4/20/2018 4:07 PM|5 ]

    (Procedure: 'callForData DataProcReq.p' Line:66) DataProcReq called for Monitor/qQryWeb with the parameters [ ? ]

    (Procedure: 'jReq/Dashboard/threadLoad.p' Line:29) ** The month of a date must be from 1 to 12. (80)

    (Procedure: 'callForData DataProcReq.p' Line:66) DataProcReq called for LogViewer/getLFNames with the parameters [ REPL_LOG ]

    (Procedure: 'jReq/Dashboard/tableBehavior.p' Line:31) ** The month of a date must be from 1 to 12. (80)

    In my $ DLC / startup.pf, use "-d dmy" parameter. But in the procedure a date is passed as a parameter, which does not correspond to this format.

    It is possible to somehow fix it?