feristhia / xmla4js

Automatically exported from code.google.com/p/xmla4js
0 stars 0 forks source link

R130:Samples [Pivot & Chart] do not discover datasources #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Installed Pentaho on Windows 7 64 bit
2. Unzipped R130 into Pentaho-Solutions/System
3. Restarted Pentaho
4. XML4js appeared under Tools menu
5. Clicked on XML4js Home
6. Went to Samples
7. Tried all links

All worked except Pivot and Chart;
Clicking Discover does not show any results, however firebug shows that the 
request went out and the response came back properly.

These two samples are those that I need..

Original issue reported on code.google.com by shridhar...@gmail.com on 20 Feb 2012 at 7:32

GoogleCodeExporter commented 9 years ago
Here lines that repeat in the Pentaho log;
2012-02-20 12:45:42,095 ERROR 
[org.pentaho.platform.engine.core.system.SystemSettings] ::: 
SYSTEMSETTINGS.ERROR_0002 - File D:\Program 
Files\pentaho\server\biserver-ee\pentaho-solutions\system\xmla4js-r130\settings.
xml does not exist
2012-02-20 12:45:42,095 ERROR [org.pentaho.platform.web.servlet.GenericServlet] 
GenericServlet.ERROR_0004 - Resource /xmla4js/css/xmla4js_logo80x58.png not 
found in plugin xmla4js - XML/A for javascript, OLAP for client-side web 
applications
2012-02-20 12:45:44,376 WARN  [org.pentaho.platform.util.logging.Logger] 
misc-org.pentaho.platform.engine.core.system.PentahoSystem: 
PentahoSystem.WARN_OBJECT_NOT_CONFIGURED - Object with name 
"Mondrian-UserRoleMapper" has not been configured in the Pentaho object factory.
2012-02-20 12:45:44,923 WARN  [org.pentaho.platform.util.logging.Logger] 
misc-org.pentaho.platform.engine.core.system.PentahoSystem: 
PentahoSystem.WARN_OBJECT_NOT_CONFIGURED - Object with name 
"Mondrian-UserRoleMapper" has not been configured in the Pentaho object factory.

Original comment by shridhar...@gmail.com on 20 Feb 2012 at 5:19

GoogleCodeExporter commented 9 years ago
@shridharesq, thanks for filing the original issue. 

Both examples should just work, but I'll test it myself before I get back to 
you. In the mean while, could you please look for javascript execution errors?

THe comment to your original issue shows 2 ERRORs associated with the xmla4js 
plugin. I will remove the settings.xml from the plugin.xml and figure out 
what's up with the missing logo. 

However, these issues have nothing todo with the samples not working. It may be 
a little bit disturbing to see them pop up as ERROR in the pentaho log but 
really, it's not as bad as it looks.

Original comment by roland.bouman on 20 Feb 2012 at 5:25

GoogleCodeExporter commented 9 years ago
This error comes but does not seem to be XML4JS
------------------------------------------------------
Error: uncaught exception: [Exception... "Component returned failure code: 
0x80070057 (NS_ERROR_ILLEGAL_VALUE) 
[nsIDOMHTMLDivElement.compareDocumentPosition]"  nsresult: "0x80070057 
(NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: 
http://localhost:8080/pentaho/mantle/0B7FFA3770D2B1093D855416BE4F2D03.cache.html
 :: fH :: line 5554"  data: no]

Original comment by shridhar...@gmail.com on 20 Feb 2012 at 5:33

GoogleCodeExporter commented 9 years ago
Looks like firefox? can you try another browser and see if you get the same 
error there? Also, what version of firefox are you using?

Original comment by roland.bouman on 20 Feb 2012 at 6:48

GoogleCodeExporter commented 9 years ago
I have already tried it in IE 8 with exactly same results.
However there were no errors in the error console in IE..
Pentaho 4.1.0 GA.
Is there anything else I can track and send you ?

Original comment by shridhar...@gmail.com on 21 Feb 2012 at 4:59

GoogleCodeExporter commented 9 years ago
Hi Dhridaresq, this issue should be solved in 
http://code.google.com/p/xmla4js/source/detail?r=134. The problem was that the 
listeners weren't properly registered, so after the initial request, nothing 
would happen at all.

Please checkout the project from svn (or svn update if you checked out already) 
and try again. If the samples are working for you now, please edit this issue 
to let me know. 

Original comment by roland.bouman on 28 Feb 2012 at 8:19

GoogleCodeExporter commented 9 years ago
roland,
thanks, will check and let you know
shridhar

Original comment by shridhar...@gmail.com on 1 Mar 2012 at 5:00