vbence Posted March 2, 2015 Share Posted March 2, 2015 <!-- Provide URL to Visualize.js --><script type="text/javascript" src="https://serverAddress/jasperserver-pro/client/visualize.js"></script><!-- Provide container to render your visualization --><div id="container"></div>[/code]and this is the js:visualize({ server: "https://serverAddress/", auth: { name : "jasperadmin", password: "mypassword", organization:"organization_1" }}).done(function(v){ var report = v.report({ resource: "/KSZF/NYITOTT_KOTESALLOMANY/NyitottKotesallomany", (I watched this for web ui report mouse right click properties, so the kszf is in the root (http://snag.gy/BHQG1.jpg)) container: "#container" });}).fail(function(err){ alert(err.message); });[/code]My report run well in web ui, and i see visualize.js get request worked in the browser(chrome), but I have different errors:Uncaught TypeError: Cannot read property 'done' of undefined fiddle.jshell.net/:29Failed to load resource: the server responded with a status of 500 (Internal Server Error)https://serverAddress/xdm.html?logEnabled=true&logLevel=error&xdm_e=http...[/code]I try many things, different settings, but cant work.any idea?thanks Link to comment Share on other sites More sharing options...
vbence Posted March 2, 2015 Author Share Posted March 2, 2015 The server log doesnt contain these errors, and I use https.This is the response page for the given error in the network area error (i showed above):http://snag.gy/A9Ea0.jpgMaaybe it's a network issue?How can i enable the connected logging? Link to comment Share on other sites More sharing options...
marianol Posted March 3, 2015 Share Posted March 3, 2015 Looks like a network issue.. You can try it locally.Anyway you can put visualize.js in debug mode by adding "&logLevel=debug" at the end of the script call like:<script src="http://bi.example.com:8080/jasperserver-pro/client/visualize.js?logLevel=debug"></script> For more info on startup parameters check: http://community.jaspersoft.com/documentation/tibco-jasperreports-server-visualizejs-guide/v60/api-reference-visualizejs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now