SSP installation issue.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SSP installation issue.

sudhir
I have setup SSP using master branch and SSP-Platform using uPortal code tree: cbda654337 (uPortal-cbda654337d2021f5a82d1ea68ececb98e68ee9b.zip) code.
I have also setup SSP Demo Data Installation.
Then I go to SSP platform url and login as admin. Click on SSP tab but it show nothing.
Then I check using inspect element and I found following javascript error in it.

Uncaught ReferenceError: sspInDevelopMode is not defined
app-all.js:19876Ext.define.assignEvent app-all.js:19876Ext.define.init
app-all.js:20239Ext.define.onViewInitialize deft-0.6.8pre.js:21(anonymous function)
ext-all.js:21Ext.util.Event.Ext.extend.fire ext-all.js:21Ext.define.continueFireEvent
ext-all.js:21Ext.define.fireEvent ext-all.js:21Ext.override.fireEvent
ext-all.js:21Ext.define.finishRender ext-all.js:21Ext.define.finishRenderItems
ext-all.js:21Ext.define.finishRender ext-all.js:21Ext.define.finishRenderChildren
ext-all.js:21Ext.define.afterRender ext-all.js:21b.implement.callParent
ext-all.js:21Ext.define.afterRender ext-all.js:21Ext.define.finishRender
ext-all.js:21Ext.define.render ext-all.js:21Ext.define.constructor
ext-all.js:21b.implement.callParent ext-all.js:21Ext.define.constructor
ext-all.js:21b.implement.callParent ext-all.js:21c.hasOwnProperty.c.constructor
deft-0.6.8pre.js:28c.constructor deft-0.6.8pre.js:29(anonymous function) ext-all.js:21h
ext-all.js:21(anonymous function) VM903:3Ext.ClassManager.instantiate
ext-all.js:21(anonymous function) ext-all.js:21Ext.application.launch
app-all.js:62727Ext.define.onBeforeLaunch ext-all.js:21(anonymous function)
ext-all.js:21(anonymous function) ext-all.js:21Ext.util.Event.Ext.extend.fire
ext-all.js:21Ext.apply.readyEvent.e.fire ext-all.js:21Ext.apply.fireReadyEvent
ext-all.js:21Ext.apply.onDocumentReady ext-all.js:21z ext-all.js:21Ext.apply.onReady
ext-all.js:21Ext.onReady ext-all.js:21Ext.application ext-all.js:21Ext.Ajax.request.success
app-all.js:62516Ext.apply.callback ext-all.js:21Ext.define.onComplete
ext-all.js:21Ext.define.onStateChange ext-all.js:21(anonymous function)  
---
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev
Reply | Threaded
Open this post in threaded view
|

Re: SSP installation issue.

dmccallum
Administrator
Any errors in <tomcat>/logs/ssp.log, <tomcat>/logs/catalina.out, or <tomcat>/logs/portal/portal.log?

- Dan

On Sep 29, 2014, at 12:39 AM, sudhir <[hidden email]> wrote:

> I have setup SSP using master branch and SSP-Platform using uPortal code tree: cbda654337 (uPortal-cbda654337d2021f5a82d1ea68ececb98e68ee9b.zip) code.
> I have also setup SSP Demo Data Installation.
> Then I go to SSP platform url and login as admin. Click on SSP tab but it show nothing.
> Then I check using inspect element and I found following javascript error in it.
>
> Uncaught ReferenceError: sspInDevelopMode is not defined
> app-all.js:19876Ext.define.assignEvent app-all.js:19876Ext.define.init
> app-all.js:20239Ext.define.onViewInitialize deft-0.6.8pre.js:21(anonymous function)
> ext-all.js:21Ext.util.Event.Ext.extend.fire ext-all.js:21Ext.define.continueFireEvent
> ext-all.js:21Ext.define.fireEvent ext-all.js:21Ext.override.fireEvent
> ext-all.js:21Ext.define.finishRender ext-all.js:21Ext.define.finishRenderItems
> ext-all.js:21Ext.define.finishRender ext-all.js:21Ext.define.finishRenderChildren
> ext-all.js:21Ext.define.afterRender ext-all.js:21b.implement.callParent
> ext-all.js:21Ext.define.afterRender ext-all.js:21Ext.define.finishRender
> ext-all.js:21Ext.define.render ext-all.js:21Ext.define.constructor
> ext-all.js:21b.implement.callParent ext-all.js:21Ext.define.constructor
> ext-all.js:21b.implement.callParent ext-all.js:21c.hasOwnProperty.c.constructor
> deft-0.6.8pre.js:28c.constructor deft-0.6.8pre.js:29(anonymous function) ext-all.js:21h
> ext-all.js:21(anonymous function) VM903:3Ext.ClassManager.instantiate
> ext-all.js:21(anonymous function) ext-all.js:21Ext.application.launch
> app-all.js:62727Ext.define.onBeforeLaunch ext-all.js:21(anonymous function)
> ext-all.js:21(anonymous function) ext-all.js:21Ext.util.Event.Ext.extend.fire
> ext-all.js:21Ext.apply.readyEvent.e.fire ext-all.js:21Ext.apply.fireReadyEvent
> ext-all.js:21Ext.apply.onDocumentReady ext-all.js:21z ext-all.js:21Ext.apply.onReady
> ext-all.js:21Ext.onReady ext-all.js:21Ext.application ext-all.js:21Ext.Ajax.request.success
> app-all.js:62516Ext.apply.callback ext-all.js:21Ext.define.onComplete
> ext-all.js:21Ext.define.onStateChange ext-all.js:21(anonymous function)  
> ---
> You are currently subscribed to [hidden email] as: [hidden email]
> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev


---
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev

Reply | Threaded
Open this post in threaded view
|

Re: SSP installation issue.

Jim Stanley
Check your ssp-config.properties
 file and set the following value.

# When set to true, ssp-main.jsp set developModeOn to true and client will turn on internal auditing functionality
# When set to false, ssp-main.jsp set developModeOn to false and client will turn off internal auditing functionality
ssp_set_develop_mode_on=false

Jim Stanley

----- Original Message -----
From: "Daniel McCallum" <[hidden email]>
To: [hidden email]
Sent: Monday, September 29, 2014 7:18:25 AM
Subject: Re: [ssp-dev] SSP installation issue.

Any errors in <tomcat>/logs/ssp.log, <tomcat>/logs/catalina.out, or <tomcat>/logs/portal/portal.log?

- Dan

On Sep 29, 2014, at 12:39 AM, sudhir <[hidden email]> wrote:

> I have setup SSP using master branch and SSP-Platform using uPortal code tree: cbda654337 (uPortal-cbda654337d2021f5a82d1ea68ececb98e68ee9b.zip) code.
> I have also setup SSP Demo Data Installation.
> Then I go to SSP platform url and login as admin. Click on SSP tab but it show nothing.
> Then I check using inspect element and I found following javascript error in it.
>
> Uncaught ReferenceError: sspInDevelopMode is not defined
> app-all.js:19876Ext.define.assignEvent app-all.js:19876Ext.define.init
> app-all.js:20239Ext.define.onViewInitialize deft-0.6.8pre.js:21(anonymous function)
> ext-all.js:21Ext.util.Event.Ext.extend.fire ext-all.js:21Ext.define.continueFireEvent
> ext-all.js:21Ext.define.fireEvent ext-all.js:21Ext.override.fireEvent
> ext-all.js:21Ext.define.finishRender ext-all.js:21Ext.define.finishRenderItems
> ext-all.js:21Ext.define.finishRender ext-all.js:21Ext.define.finishRenderChildren
> ext-all.js:21Ext.define.afterRender ext-all.js:21b.implement.callParent
> ext-all.js:21Ext.define.afterRender ext-all.js:21Ext.define.finishRender
> ext-all.js:21Ext.define.render ext-all.js:21Ext.define.constructor
> ext-all.js:21b.implement.callParent ext-all.js:21Ext.define.constructor
> ext-all.js:21b.implement.callParent ext-all.js:21c.hasOwnProperty.c.constructor
> deft-0.6.8pre.js:28c.constructor deft-0.6.8pre.js:29(anonymous function) ext-all.js:21h
> ext-all.js:21(anonymous function) VM903:3Ext.ClassManager.instantiate
> ext-all.js:21(anonymous function) ext-all.js:21Ext.application.launch
> app-all.js:62727Ext.define.onBeforeLaunch ext-all.js:21(anonymous function)
> ext-all.js:21(anonymous function) ext-all.js:21Ext.util.Event.Ext.extend.fire
> ext-all.js:21Ext.apply.readyEvent.e.fire ext-all.js:21Ext.apply.fireReadyEvent
> ext-all.js:21Ext.apply.onDocumentReady ext-all.js:21z ext-all.js:21Ext.apply.onReady
> ext-all.js:21Ext.onReady ext-all.js:21Ext.application ext-all.js:21Ext.Ajax.request.success
> app-all.js:62516Ext.apply.callback ext-all.js:21Ext.define.onComplete
> ext-all.js:21Ext.define.onStateChange ext-all.js:21(anonymous function)  
> ---
> You are currently subscribed to [hidden email] as: [hidden email]
> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev


---
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev

---
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev
Reply | Threaded
Open this post in threaded view
|

Re: SSP installation issue.

dmccallum
Administrator
In reply to this post by sudhir
sspInDevelopMode is set in <tomcat>/webapps/ssp/WEB-INF/jsp/ssp-main.jsp. In the latest master code, it's on line 80:

  var sspInDevelopMode = ${model.developModeOn};

If that var is not being set then I'm guessing you're not actually hitting ssp-main.jsp because if ${model.developModeOn} weren't available to that file you'd get a different error.

I'd suggest starting by adding some junk markup or a dummy import or whatever you'd like to the deployed copy of ssp-main.jsp to determine whether you are or aren't hitting that file when the SSP portlet tries to render. If the error is such that it's hard to detect whether or not your changes are being picked up, inspect the page markup using Chrome Dev Tools or similar.

All that said, I'm not sure what you'd be hitting if you're not hitting ssp-main.jsp, since I'm not finding other app-all.js imports but app-all.js is present in the JS stack trace you sent earlier. I suspect there's some sort of problem with the way in which the ssp webapp was deployed. Did you perhaps try to copy the webapp binary directly into Tomcat rather than letting uPortal/SSP-Platform deploy it?

- Dan

On Sep 30, 2014, at 12:23 AM, sudhir <[hidden email]> wrote:

> I have set the following value in ssp-config.properties file.
>
> # When set to true, ssp-main.jsp set developModeOn to true and client will turn on internal auditing functionality
> # When set to false, ssp-main.jsp set developModeOn to false and client will turn off internal auditing functionality
> ssp_set_develop_mode_on=false
>
> Then configure and deploy SSP , SSP-Platform.
>
> But it shows same error in javascript:
> Uncaught ReferenceError: sspInDevelopMode is not defined
>
> Then I check <tomcat>/logs/ssp.log, <tomcat>/logs/catalina.out files which contain following error:
> Please find the attached for error details.
>
>
>
> ---
> You are currently subscribed to [hidden email] as: [hidden email]
> To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev
---
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/ssp-dev


catalina.2014-09-30.log (22K) Download Attachment
ssp.log (21K) Download Attachment