Hello,

I did a fresh installation of the usergrid stack and usergrid:
- Ubuntu 14.04.4-server x64
- Oracle Java 1.8
- Cassandra 2.1
- elasticsearch 1.4.4
- Tomcat 7
- deployed ROOT.war and portal to tomcat webapps

I used the Example Usergrid Stack Properties File from
https://usergrid.apache.org/docs/installation/deployment-guide.html and
initialized the usergrid database (using the 3 http requests). I also
configured Usergrid.overrideUrl in portal/config.js.

When I navigate to the portal and try to login with superuser and test, the
login button caption changes to "Loading..." and nothing else happens.
Looking at the browsers JavaScript console I see:

"calling: POST http://192.168.1.8:8080/management/token";
usergrid-libs.min.js:29:1067
"curl -X POST http://192.168.1.8:8080/management/token -d
'{"username":"superuser","password":"test","grant_type":"password"}'"
usergrid-libs.min.js:29:12393
"success (time: 0.67): POST http://192.168.1.8:8080/management/token";
usergrid-libs.min.js:29:46
error selecting org usergrid-libs.min.js:29:8252
TypeError: org is undefined
Usergrid.Client.prototype.parseApplicationsArray()
 usergrid-libs.min.js:29
Usergrid.Client.prototype.orgLogin/<()
 usergrid-libs.min.js:29
Usergrid.Client.prototype.request/xhr.onload()
 usergrid-libs.min.js:29
 usergrid-libs.min.js:29:8631

I don't know what could be wrong - what should I check? Thank you!
Stefan


/status output:

{
  "timestamp" : 1458061765614,
  "duration" : 12,
  "status" : {
    "started" : 1458059034891,
    "uptime" : 2730723,
    "version" : "2.1.0",
    "cassandraAvailable" : true,
    "cassandraStatus" : "GREEN",
    "managementAppIndexStatus" : "YELLOW",
    "queueDepth" : 0,
    "org.apache.usergrid.count.AbstractBatcher" : {
      "add_invocation" : {
        "type" : "timer",
        "unit" : "microseconds",
        "duration" : {
          "min" : 2.022,
          "max" : 32440.979,
          "mean" : 115.04364942528736,
          "std_dev" : 1757.6133632947297,
          "median" : 2.5745,
          "p75" : 2.95225,
          "p95" : 10.506650000000004,
          "p98" : 30.34381999999998,
          "p99" : 902.2850899999848,
          "p999" : 32440.979
        },
        "rate" : {
          "unit" : "seconds",
          "count" : 348,
          "mean" : 0.12736142107248197,
          "m1" : 9.269412452391846E-15,
          "m5" : 5.126986278142087E-4,
          "m15" : 0.026237930398259893
        }
      },
      "batch_add_invocations" : {
        "type" : "counter",
        "count" : 348
      }
    },
    "org.apache.usergrid.count.CassandraSubmitter" : {
      "submit_invocation" : {
        "type" : "timer",
        "unit" : "microseconds",
        "duration" : {
          "min" : 50.602,
          "max" : 131162.351,
          "mean" : 3095.7013563218393,
          "std_dev" : 15919.949921107334,
          "median" : 124.295,
          "p75" : 179.856,
          "p95" : 20486.532199999812,
          "p98" : 69580.06323999958,
          "p99" : 131162.351,
          "p999" : 131162.351
        },
        "rate" : {
          "unit" : "seconds",
          "count" : 87,
          "mean" : 0.031840675425252915,
          "m1" : 0.026792415617091846,
          "m5" : 0.03195414958987104,
          "m15" : 0.031002055611353895
        }
      }
    },
    "org.apache.usergrid.rest.filters.MeteringFilter" : {
      "activeRequests" : {
        "type" : "counter",
        "count" : 1
      },
      "requests" : {
        "type" : "timer",
        "unit" : "milliseconds",
        "duration" : {
          "min" : 1.649005,
          "max" : 11439.517513,
          "mean" : 1464.7383055384614,
          "std_dev" : 3181.820577068684,
          "median" : 162.6484,
          "p75" : 1577.8334985,
          "p95" : 11439.517513,
          "p98" : 11439.517513,
          "p99" : 11439.517513,
          "p999" : 11439.517513
        },
        "rate" : {
          "unit" : "seconds",
          "count" : 13,
          "mean" : 0.004760561962762948,
          "m1" : 1.0565160122809732E-13,
          "m5" : 4.974022286098866E-5,
          "m15" : 0.00129481793015449
        }
      }
    }
  }
}

Reply via email to