OracleSiebel / ConfiguringSiebel

Siebel Code Examples and Bookshelf Content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The server encountered an unexpected condition that prevented it from fulfilling the request

osnsergey opened this issue · comments

While running bash configure ent1.sh got errors:

Thu Jun 20 10:27:34 PDT 2019
Configuring Single Enterprise

  • bash /storage1/manage/scripts/automate-architecture/smc/setGateway -u sadmin -p sadmin -g cgw-ENT1 -h 4430 -a localhost -b 443
    sadmin
    sadmin
    cgw-ENT1
    4430
    localhost
    443

{"CGHostURI":"cgw-ENT1:4430"}

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...
  • Connected to localhost (::1) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • skipping SSL peer certificate verification
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  • subject: CN=*.company.com
  • start date: Mar 28 14:00:17 2019 GMT
  • expire date: Jun 26 14:00:17 2019 GMT
  • common name: *.company.com
  • issuer: CN=*.company.com

POST /siebel/v1.0/cginfo HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 29
Authorization: Basic c2FkbWluOnNhZG1pbg==
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 29 out of 29 bytes
    < HTTP/1.1 500
    < Access-Control-Allow-Origin: *
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1081
    < Date: Thu, 20 Jun 2019 17:27:34 GMT
    < Connection: close
    <
    { [data not shown]

100 1110 100 1081 100 29 5854 157 --:--:-- --:--:-- --:--:-- 5875

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message Internal Server Error

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + sleep 3
  • bash /storage1/manage/scripts/automate-architecture/smc/setGatewaySecProfile -u sadmin -p sadmin -d siebeldb -e 1521 -f ORCLCDB -t SIEBEL -v SADMIN -w SADMIN1 -a localhost -b 443

{"Profile":{"ProfileName":"secprof"}, "SecurityConfigParams": {"DataSources": [ {"Name":"secprof", "Type":"DB", "Host":"siebeldb", "Port":"1521", "SqlStyle":"Oracle", "Endpoint":"ORCLCDB", "TableOwner":"SIEBEL", "CRC":"", "HashUserPwd":"false"} ], "SecAdptMode":"DB", "SecAdptName":"DBSecAdpt", "DBSecurityAdapterDataSource":"secprof", "DBSecurityAdapterPropagateChange":"false", "NSAdminRole":["Siebel Administrator"], "TestUserName":"SADMIN", "TestUserPwd":"SADMIN1" }}

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...
  • Connected to localhost (::1) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • skipping SSL peer certificate verification
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  • subject: CN=*.company.com
  • start date: Mar 28 14:00:17 2019 GMT
  • expire date: Jun 26 14:00:17 2019 GMT
  • common name: *.company.com
  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/GatewaySecurityProfile HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 471
Authorization: Basic c2FkbWluOnNhZG1pbg==
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 471 out of 471 bytes
    < HTTP/1.1 500
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1096
    < Date: Thu, 20 Jun 2019 17:27:37 GMT
    < Connection: close
    <
    { [data not shown]

100 1567 100 1096 100 471 7269 3123 --:--:-- --:--:-- --:--:-- 7306

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /GatewaySecurityProfile

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + sleep 3
  • bash /storage1/manage/scripts/automate-architecture/smc/bootstrapGateway -u SADMIN -p SADMIN1 -g SADMIN -h SADMIN1 -a localhost -b 443

{ "registryPort":"2320", "registryUserName":"SADMIN", "registryPassword":"SADMIN1", "PrimaryLanguage":"enu" }

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...
  • Connected to localhost (::1) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • skipping SSL peer certificate verification
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  • subject: CN=*.company.com
  • start date: Mar 28 14:00:17 2019 GMT
  • expire date: Jun 26 14:00:17 2019 GMT
  • common name: *.company.com
  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/bootstrapCG HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 109
Authorization: Basic U0FETUlOOlNBRE1JTjE=
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 109 out of 109 bytes
    < HTTP/1.1 500
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1085
    < Date: Thu, 20 Jun 2019 17:27:41 GMT
    < Connection: close
    <
    { [data not shown]

100 1194 100 1085 100 109 7292 732 --:--:-- --:--:-- --:--:-- 7331

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /bootstrapCG

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + sleep 3
  • bash /storage1/manage/scripts/automate-architecture/smc/createEnterpriseProfile -u SADMIN -p SADMIN1 -n ENT -t SIEBEL -c ORCLPDB1 -a localhost -b 443

{"EnterpriseConfigParams": {"ServerFileSystem":"/sfs", "UserName":"SADMIN","Password":"SADMIN1", "DatabasePlatform":"Oracle","DBConnectString":"ORCLPDB1", "DBUsername":"SADMIN","DBUserPasswd":"SADMIN1", "TableOwner":"SIEBEL","SecAdptProfileName":"Gateway", "PrimaryLanguage":"enu","Encrypt":"SISNAPI"}, "Profile":{"ProfileName":"ENT"} }

  • echo '{"EnterpriseConfigParams":' '{"ServerFileSystem":"/sfs",' '"UserName":"SADMIN","Password":"SADMIN1",' '"DatabasePlatform":"Oracle","DBConnectString":"ORCLPDB1",' '"DBUsername":"SADMIN","DBUserPasswd":"SADMIN1",' '"TableOwner":"SIEBEL","SecAdptProfileName":"Gateway",' '"PrimaryLanguage":"enu","Encrypt":"SISNAPI"},' '"Profile":{"ProfileName":"ENT"}' '}'

  • curl -v -k -H 'Content-Length: 336' -H 'Authorization: Basic U0FETUlOOlNBRE1JTjEK' -H 'Content-Type: application/json' -X POST https://localhost:443/siebel/v1.0/cloudgateway/profiles/enterprises -d @-
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...
  • Connected to localhost (::1) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • skipping SSL peer certificate verification
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  • subject: CN=*.company.com
  • start date: Mar 28 14:00:17 2019 GMT
  • expire date: Jun 26 14:00:17 2019 GMT
  • common name: *.company.com
  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/profiles/enterprises HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 336
Authorization: Basic U0FETUlOOlNBRE1JTjEK
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 336 out of 336 bytes
    < HTTP/1.1 500
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1094
    < Date: Thu, 20 Jun 2019 17:27:44 GMT
    < Connection: close
    <
    { [data not shown]

100 1430 100 1094 100 336 6302 1935 --:--:-- --:--:-- --:--:-- 6323

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /profiles/enterprises

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + sleep 3
  • bash /storage1/manage/scripts/automate-architecture/smc/deployEnterprise -u SADMIN -p SADMIN1 -d ENT -e ENT1 -f Enterprise -a localhost -b 443

{ "DeploymentInfo": { "ProfileName":"ENT", "Action":"Deploy" }, "EnterpriseDeployParams": { "SiebelEnterprise":"ENT1", "EnterpriseDesc":"Enterprise" } }

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...

  • Connected to localhost (::1) port 443 (#0)

  • Initializing NSS with certpath: sql:/etc/pki/nssdb

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* skipping SSL peer certificate verification

  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

  • Server certificate:

  • subject: CN=*.company.com

  • start date: Mar 28 14:00:17 2019 GMT

  • expire date: Jun 26 14:00:17 2019 GMT

  • common name: *.company.com

  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/deployments/enterprises/ HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 152
Authorization: Basic U0FETUlOOlNBRE1JTjEK
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 152 out of 152 bytes
    < HTTP/1.1 500
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1098
    < Date: Thu, 20 Jun 2019 17:27:47 GMT
    < Connection: close
    <
    { [data not shown]

100 1250 100 1098 100 152 7141 988 --:--:-- --:--:-- --:--:-- 7129

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /deployments/enterprises/

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + set +x
    Traceback (most recent call last):
    File "", line 1, in
    File "/usr/lib64/python2.7/json/init.py", line 290, in load
    **kw)
    File "/usr/lib64/python2.7/json/init.py", line 338, in loads
    return _default_decoder.decode(s)
    File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded
    configure: line 8: [: !=: unary operator expected

Enterprise Deployed

  • bash /storage1/manage/scripts/automate-architecture/smc/createServerProfile -u SADMIN -p SADMIN1 -a localhost -b 443 -n CC_WebTools_EAI -c callcenter,siebelwebtools,eai -l GUESTCST -m GUESTCST1

{ "ServerConfigParams": { "Username":"SADMIN", "Password":"SADMIN1", "AnonLoginUserName":"GUESTCST", "AnonLoginPassword":"GUESTCST1", "EnableCompGroupsSIA":"callcenter,siebelwebtools,eai", "SCBPort":"2321", "LocalSynchMgrPort":"40400", "ModifyServerEncrypt":"false", "ModifyServerAuth":"false", "ClusteringEnvironmentSetup":"NotClustered", "UseOracleConnector":"true" }, "Profile": { "ProfileName":"CC_WebTools_EAI" } }

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...
  • Connected to localhost (::1) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • skipping SSL peer certificate verification
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  • subject: CN=*.company.com
  • start date: Mar 28 14:00:17 2019 GMT
  • expire date: Jun 26 14:00:17 2019 GMT
  • common name: *.company.com
  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/profiles/servers HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 419
Authorization: Basic U0FETUlOOlNBRE1JTjEK
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 419 out of 419 bytes
    < HTTP/1.1 500
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1090
    < Date: Thu, 20 Jun 2019 17:27:50 GMT
    < Connection: close
    <
    { [data not shown]

100 1509 100 1090 100 419 7778 2990 --:--:-- --:--:-- --:--:-- 7841

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /profiles/servers

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + sleep 3
  • docker exec ses-ENT1 bash -c 'cp /siebel/ses/siebsrvr/admin/common.scm /siebel/ses/siebsrvr/admin/common.bck'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp BusIntBatchMgr'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp CustomAppObjMgr_enu'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp SServiceObjMgr_enu'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp eServiceObjMgr_enu'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp JMSReceiver'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp InfraEAIOutbound'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp SMQReceiver'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp MSMQRcvr'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp MqSeriesSrvRcvr'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp MqSeriesAMIRcvr'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp JMSReceiver'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp EIM'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp CustomAppObjMgr_enu'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp BusIntMgr'
  • for comp in '${compsToManual[@]}'
  • docker exec ses-ENT1 bash -c 'bash /config/injectManualComp BusIntBatchMgr'
  • bash /storage1/manage/scripts/automate-architecture/smc/deployServer -u SADMIN -p SADMIN1 -a localhost -b 443 -e SES -f SiebelServer -d CC_WebTools_EAI -h ses-ENT1 -i 4430 -l enu

{ "DeploymentInfo": { "PhysicalHostIP":"ses-ENT1:4430", "ProfileName":"CC_WebTools_EAI", "Action":"Deploy" }, "ServerDeployParams": { "SiebelServer":"SES", "SiebelServerDesc":"SiebelServer", "DeployedLanguage":"enu" } }

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...

  • Connected to localhost (::1) port 443 (#0)

  • Initializing NSS with certpath: sql:/etc/pki/nssdb

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* skipping SSL peer certificate verification

  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

  • Server certificate:

  • subject: CN=*.company.com

  • start date: Mar 28 14:00:17 2019 GMT

  • expire date: Jun 26 14:00:17 2019 GMT

  • common name: *.company.com

  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/deployments/servers/ HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 219
Authorization: Basic U0FETUlOOlNBRE1JTjEK
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 219 out of 219 bytes
    < HTTP/1.1 500
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1094
    < Date: Thu, 20 Jun 2019 17:27:58 GMT
    < Connection: close
    <
    { [data not shown]

100 1313 100 1094 100 219 6644 1330 --:--:-- --:--:-- --:--:-- 6630

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /deployments/servers/

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + set +x
    Traceback (most recent call last):
    File "", line 1, in
    File "/usr/lib64/python2.7/json/init.py", line 290, in load
    **kw)
    File "/usr/lib64/python2.7/json/init.py", line 338, in loads
    return _default_decoder.decode(s)
    File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
    File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded
    configure: line 25: [: !=: unary operator expected
  • echo 'Server Deployed'
    Server Deployed
  • docker exec ses-ENT1 bash -c 'cp /siebel/ses/siebsrvr/admin/common.bck /siebel/ses/siebsrvr/admin/common.scm'
  • bash /storage1/manage/scripts/automate-architecture/smc/createSAIProfile -u SADMIN -p SADMIN1 -a localhost -b 443 -n CCWebTools -l GUESTCST -m GUESTCST1 -s sai-ENT1 -t 443

{ "ConfigParam": { "defaults": { "DoCompression":false, "EnableFQDN":false, "AuthenticationProperties": { "SessionTimeout":9000, "GuestSessionTimeout":300, "SessionTimeoutWLMethod":"HeartBeat", "SessionTimeoutWLCommand":"UpdatePrefMsg", "SessionTokenMaxAge":2880, "SessionTokenTimeout":9000, "SingleSignOn":false, "AnonUserName":"GUESTCST", "AnonPassword":"GUESTCST1" } }, "RESTInBound": { "RESTAuthenticationProperties": { "AnonUserName":"GUESTCST", "AnonPassword":"GUESTCST1", "AuthenticationType":"Basic", "SessKeepAlive":900, "ValidateCertificate":true }, "LogProperties":{"LogLevel":"ERROR"}, "ObjectManager":"eaiobjmgr_enu", "Baseuri":"https://sai-ENT1:443/siebel/v1.0/", "MaxConnections":20, "MinConnections":"5 ", "RESTResourceParamList":[] }, "UI": {"LogProperties":{"LogLevel":"ERROR"}}, "EAI": {"LogProperties":{"LogLevel":"ERROR"}}, "DAV": {"LogProperties":{"LogLevel":"ERROR"}}, "RESTOutBound": {"LogProperties":{"LogLevel":"ERROR"}}, "SOAPOutBound": {"LogProperties":{"LogLevel":"ERROR"}}, "Applications": [ { "Name":"callcenter", "ObjectManager":"sccobjmgr_enu", "Language":"enu", "StartCommand":"", "EnableExtServiceOnly":false, "AvailableInSiebelMobile":false, "AuthenticationProperties": { "SessionTimeout":9000, "GuestSessionTimeout":300, "SessionTimeoutWLMethod":"HeartBeat", "SessionTimeoutWLCommand":"UpdatePrefMsg", "SessionTokenMaxAge":2880, "SessionTokenTimeout":9000, "SingleSignOn":false, "AnonUserName":"GUESTCST", "AnonPassword":"GUESTCST1" } }, { "Name":"webtools", "ObjectManager":"swtoolsobjmgr_enu", "Language":"enu", "StartCommand":"", "EnableExtServiceOnly":false, "AvailableInSiebelMobile":false, "AuthenticationProperties": { "SessionTimeout":9000, "GuestSessionTimeout":300, "SessionTimeoutWLMethod":"HeartBeat", "SessionTimeoutWLCommand":"UpdatePrefMsg", "SessionTokenMaxAge":2880, "SessionTokenTimeout":9000, "SingleSignOn":false, "AnonUserName":"GUESTCST", "AnonPassword":"GUESTCST1" } } ], "RESTInBoundResource":[], "swe":{ "Language":"ENU", "MaxQueryStringLength":-1, "SeedFile":"", "SessionMonitor":false, "AllowStats":true } }, "Profile": {"ProfileName":"CCWebTools"} }

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...
  • Connected to localhost (::1) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • skipping SSL peer certificate verification
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  • subject: CN=*.company.com
  • start date: Mar 28 14:00:17 2019 GMT
  • expire date: Jun 26 14:00:17 2019 GMT
  • common name: *.company.com
  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/profiles/swsm/ HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 2114
Authorization: Basic U0FETUlOOlNBRE1JTjEK
Content-Type: application/json
Expect: 100-continue

< HTTP/1.1 100
} [data not shown]
< HTTP/1.1 500
< Content-Type: text/html;charset=utf-8
< Content-Language: en
< Content-Length: 1088
< Date: Thu, 20 Jun 2019 17:28:01 GMT
< Connection: close
<
{ [data not shown]

100 3202 100 1088 100 2114 7604 14776 --:--:-- --:--:-- --:--:-- 14887

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /profiles/swsm/

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + sleep 3
  • bash /storage1/manage/scripts/automate-architecture/smc/deploySAI -u SADMIN -p SADMIN1 -a localhost -b 443 -e AI_One -f AI_One -d CCWebTools -h sai-ENT1 -i 4430

{ "DeploymentInfo": { "PhysicalHostIP":"sai-ENT1:4430", "ProfileName":"CCWebTools", "Action":"Deploy" }, "DeploymentParam": { "Node":"AI_One", "NodeDesc":"AI_One" } }

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...
  • Connected to localhost (::1) port 443 (#0)
  • Initializing NSS with certpath: sql:/etc/pki/nssdb
  • skipping SSL peer certificate verification
  • SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
  • Server certificate:
  • subject: CN=*.company.com
  • start date: Mar 28 14:00:17 2019 GMT
  • expire date: Jun 26 14:00:17 2019 GMT
  • common name: *.company.com
  • issuer: CN=*.company.com

DELETE /siebel/v1.0/cloudgateway/deployments/swsm/ HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Authorization: Basic U0FETUlOOlNBRE1JTjEK
Content-Type: application/json

< HTTP/1.1 500
< Content-Type: text/html;charset=utf-8
< Content-Language: en
< Content-Length: 1091
< Date: Thu, 20 Jun 2019 17:28:04 GMT
< Connection: close
<
{ [data not shown]

100 1091 100 1091 0 0 7308 0 --:--:-- --:--:-- --:--:-- 7322

  • Closing connection 0
    HTTP/1.1 500
    Content-Type: text/html;charset=utf-8
    Content-Language: en
    Content-Length: 1091
    Date: Thu, 20 Jun 2019 17:28:04 GMT
    Connection: close

<!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

HTTP Status 500 – Internal Server Error


Type Status Report

Message no protocol: /deployments/swsm/

Description The server encountered an unexpected condition that prevented it from fulfilling the request.


Apache Tomcat/8.5.23

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to localhost port 443 (#0)

  • Trying ::1...

  • Connected to localhost (::1) port 443 (#0)

  • Initializing NSS with certpath: sql:/etc/pki/nssdb

  • skipping SSL peer certificate verification

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

  • Server certificate:

  • subject: CN=*.company.com

  • start date: Mar 28 14:00:17 2019 GMT

  • expire date: Jun 26 14:00:17 2019 GMT

  • common name: *.company.com

  • issuer: CN=*.company.com

POST /siebel/v1.0/cloudgateway/deployments/swsm/ HTTP/1.1
User-Agent: curl/7.29.0
Host: localhost
Accept: /
Content-Length: 166
Authorization: Basic U0FETUlOOlNBRE1JTjEK
Content-Type: application/json

} [data not shown]

  • upload completely sent off: 166 out of 166 bytes
    < HTTP/1.1 500
    < Content-Type: text/html;charset=utf-8
    < Content-Language: en
    < Content-Length: 1091
    < Date: Thu, 20 Jun 2019 17:28:04 GMT
    < Connection: close
    <
    { [data not shown]

100 1257 100 1091 100 166 7283 1108 --:--:-- --:--:-- --:--:-- 7273

  • Closing connection 0
    <!doctype html><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">h1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} h2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} h3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} body {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} b {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} p {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;} a {color:black;} a.name {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style>

    HTTP Status 500 – Internal Server Error


    Type Status Report

    Message no protocol: /deployments/swsm/

    Description The server encountered an unexpected condition that prevented it from fulfilling the request.


    Apache Tomcat/8.5.23

    + echo
  • echo 'Configuration Complete'
    Configuration Complete
  • date
    Thu Jun 20 10:28:05 PDT 2019

The first error is the only important one. Once this fails, all subsequent calls will also fail. The most likely issue is that SAI cannot communicate with CGW using the configured SSL cert. You have a few options.

  1. You can rebuild the containers with a new certificate, being sure of the domain you've set for the certificate (e.g. *.company.com), and ensuring the same domain is referenced in ent1.sh.
  2. You can regenerate the certificate alone and replace this in the persistent storage valumes for each container
  3. You can troubleshoot your Tomcat instances to generate a more detailed log file of the interaction between SAI tomcat and CGW Tomcat. (https://support.oracle.com/knowledge/Siebel/2371192_1.html)
  4. Do it manually first instead of via the automated config. Log into SMC, and try to configure the first step (i.e. manually perform the first step of the automated config which is failing). https://docs.oracle.com/cd/E88140_01/books/SiebInstWIN/SiebInstCOM_ConfigSES9.html#wp5009997

Looking again at the log, I see this:

bash /storage1/manage/scripts/automate-architecture/smc/setGateway -u sadmin -p sadmin -g cgw-ENT1 -h 4430 -a localhost -b 443
sadmin
sadmin
cgw-ENT1
4430
localhost
443

{"CGHostURI":"cgw-ENT1:4430"}

This will not work because, as previously mentioned, the SSL cert cannot be used. I'm not sure why your scripts are doing this, but the correct content to send will be:

{"CGHostURI":"cgw-ENT1.company.com:4430"}

This also you can try manually from SMC step 1.

Thank you, but what if my machine is not in domain, I need to use only short name - cgw-ENT1
And why the certificate works when I access the SMC in browser?

This is not about connectivity. It's not about whether you can ping the address. It's about whether the SAI can find a certificate to use to encode the content being sent to the CGW, which then needs to find a certificate to decode.

Actually I tried full name {"CGHostURI":"cgw-ENT1.company.com:4430"} and got the same error...

Thanks for the update. I suggest either moving to trouble shooting your tomcat connection using the link I gave to support web, or re-watching the video where I demonstrate the deployment and trying to determine how your process differed from mine.

Thanks. It seems I have to re-deploy it again )

If you have to redeploy, you may need to clean your persistent folders in order to remove anything already set in there.

Got it, thanks.

Please clarify also is Oracle Enterprise Lixux 7 required or I can install on CentOs 7?

I have not tried this on other versions of Linux, so can't comment, and certainly can't help support issues that may arise from other versions. I have heard anecdotal stories that installs have worked under Ubuntu and CentOS.

Ok :), is Oracle Enterprise Linux free?

I think Google will help you more than I can on this question.

https://www.google.com/search?client=firefox-b-d&q=is+oracle+enterprise+linux+free

This link from the list seems to make the stance clear:

https://linux.oracle.com/switch/centos/

Great, thank you!

You're welcome!