~~~~访问 http://localhost:8080/mondrian/testpage.jsp?query=xmla 异常问题的解决!!~~~~~~~~~
------错误1
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:
Unable to create envelope from given source:
org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is
made to create or change an object in a way which is
incorrect with regard to namespaces.
http://forums.pentaho.com/showthread.php?67104-Problem-running-foodmart-pivot-table-with-XMLA
首先根据提示,降JDK版本为1.5,出现如下错误:
----错误2
javax.xml.soap.SOAPException:
java.security.PrivilegedActionException:
javax.xml.soap.SOAPException: Unable to internalize
message
??? at com.tonbeller.jpivot.xmla.XMLA_SOAP.discover
(XMLA_SOAP.java:1453)
参考:http://www.coderanch.com/t/220897/Web-Services/java/unable-internalize-message
根据提示加saaj-impl.jar,后发现现有saaj-ri.jar有相同的package,试了下不加,仍是出这个错了。因此必须要加,版本是1.3的。
但还没有完全解决问题:
---错误3
javax.xml.soap.MessageFactory.newInstance
(Ljava/lang/String;)Ljavax/xml/soap/MessageFactory;
saaj-api.jar用1.3版代替当前1.1,下载地址:http://download.oracle.com/otndocs/jcp/jaxm-1.3-mrel-spec-oth-JSpec/,同时将saaj-impl替换saaj-ri.jar
---错误!!!还是回到错误1了!
下载新版的xalan-2.7.0.jar:http://mirrors.ibiblio.org/pub/mirrors/maven/xalan/jars/ 解决问题。
---结论:
(1)用新版的xalan-2.7.0
(2)用新版的sun saaj
(3)与jdk版本1.5 or 1.6无关
详细解决方案
mondrian web app的 xmla 方式的有关问题 Unable to create envelope from given source
热度:885 发布时间:2012-09-05 15:19:34.0
相关解决方案
- org.apache.jasper.JasperException: Unable to compile class for JSP:该怎么解决
- org.apache.jasper.JasperException: Unable to compile class for JSP:解决思路
- !使用JDNI时,报 Cannot create JDBC driver of class '' for connect URL 'null'
- Unable to load class for JSP,该如何处理
- struts2.3.4.1启动抛错误 Unable to load configuration
- cas客户端有关问题(unable to find valid certification path to requested target)
- :Unable to intantiate Action
- Unable to compile class for JSP找不出异常
- 关于异常:attempt to create delete event with null entity
- MyEclipse在jsp文件设置了断点,F6单步调试,总出现_jspService页面,提示:Source not found for XXXX.jsp解决办法
- Cannot create a session after the response has been committed,该怎么解决
- java.lang.OutOfMemoryError: unable to create new native thread内存泄漏分析-备忘解决办法
- Cannot create a session after the response has been committed解决办法
- 求教高手:Unable to load configuration.该如何处理
- 为什么虚拟串口安装了不能用 显示“Unable loading system driver ,the application will be eixt.”解决办法
- 调用WS接口,客户端抛出错误$Proxy37.create(Unknown Source)
- ORACLE中调用JAVA SOURCE,无法读取中文路径,该怎么解决
- ~关于java.util.Calendar.setTime(Unknown Source)的有关问题 !
- Cannot create PoolableConnectionFactory (尝试连线已失败。)解决思路
- System.InvalidCastException:Unable to cast COM object of type 'System.
- WebRequest.Create()的参数有关问题
- Unable to connect to any of the specified MySQL hosts为什么连不上mysql?该如何解决
- .net Unable to load DLL 'libmySQL.dll': 拒绝访问。该怎么处理
- unable to find a version of the runtime to run this application解决办法
- Web小程序运行后提示:unable to start debugging on the web server.
- (急)在数据库 'master' 中回绝了 CREATE DATABASE 权限。~~~~~~~~~~
- System.Net.WebRequest.Create(Url);防火墙要开设哪些端口?解决思路
- 成功配置过Visual Source Safe 2005的朋友请帮帮忙。解决方案
- Debug时报错,Unable to start debugging on the web server,大哥们帮帮忙啊解决办法
- 发送email的异常 550 5.7.1 Unable to relay for