Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8392

JSP code doesn't load the embedded dashboard

$
0
0

Hi all,

I've embedded the OpenDocument URL of a dashboard in my JSP code and since I've created a logon token, I expect that the BI launchpad logon screen be bypassed. But the dashboard cannot be even loaded.

Here is the code

Code:

 


IEnterpriseSession enterpriseSession=null;

 

ISessionMgr enterpriseSessionMgr = CrystalEnterprise.getSessionMgr();

 

enterpriseSession = enterpriseSessionMgr.logon(userName, password, systemName, authType);

 

ILogonTokenMgr logonTokenMgr = enterpriseSession.getLogonTokenMgr();

 


defaultToken = logonTokenMgr.getDefaultToken();

 


Response.sendRedirect("http://BOServer:8080/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AUZC.3sK_mtCuO1vcU0muDE&token="+defaultToken );



If the &Token=defaultToken is removed, at least the dashboard should be loaded but it doesn't;no error messages are shown and the page keeps waiting.

The dashboard loads properly if I copy the whole URL including the generated token from the source of the page to a new tab in the browser.


And if I place the SWF file beside the JSP, the dashboard loads and the logon screen is bypassed successfully but I do not want to copy the SWF on the web server.

Any ideas?

I'm using BO 4.1 SP4

Thanks


Viewing all articles
Browse latest Browse all 8392

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>