Position seems broken in xmlparserv2.jar
Hi, my application is using xmlparserv2.jar to generate an rtf document from an xml document and an xsl file. However the functions position() and last() return the wrong values (typically always 1, sometimes 2) - I have put some trace into the xsl file to display their values. If instead I parse the identical xml document and identical xsl file using saxon they work fine, producing the correct values and thus the expected output.
My production system is using xmlparserv2 version 9.2.0.2.0, but I get the same problem with 9.2.0.6.0 which is the latest version as far as I know.
My xml file is xml version 1.0.
Saxon is version 8.8N
Has anybody else had this problem or have any suggestions as to what might cause it?
On further testing, the problem seems to be document-specific. It has happened to me more than once, and happened persistently in the case that occasioned starting this thread. However, when I created a new, simple document just now, and tested it in InDesign CS4 and CS5 on the Mac, the results were the same whether I did copy and paste into, or cut and paste into. The object remained in the same relative position on the page spread, which is what I wanted.
Something seems to be causing an issue in the particular document I am working on.
I have not tried trashing the prefs yet, because it is a big pain to recreate them. And now that it seems to be a document-specific problem (bug?), I am not sure that trashing the prefs would help.
Similar Messages
-
I am trying to upgrade from OC4J 10.1.2 to Weblogic 11g (10.3.5).
I used the smartupgrade tool and it has highlighted some required modifications before upgrading.
For example:
<snip>
Rule: Oracle Private Dependencies
Category: api
Priority: required
Complexity: high
Reason: xxx.admin.ejb.AdminCtrl.jar contains the following unsupported Oracle dependencies:
AdminCtrlBean.class on [oracle.xml.parser.v2.DOMParser (orasaaj.jar), oracle.xml.parser.v2.XMLParseException (orasaaj.jar), oracle.xml.parser.v2.XMLDocument (orasaaj.jar)]
Advice: To ensure the proper functioning of deployed applications, features that depend upon the identified API need to discontinue using the identified unpublished Oracle API.
Implication: Features associated with the identified API may be broken, or the application itself may not function properly if at all because they depend upon unpublished Oracle dependencies.
</snip>
I want to follow the 'Advice', but I'm not sure what the best method is for correcting this issue.
Should I move away from the xmlparserv2.jar for xml processing?
If yes, what is the recommended replacement for xmlparserv2.jar in Weblogic 11g?
Any help, guidance or pointers are greatly appreciated.
Thank you.
Edited by: loopy1 on May 29, 2012 11:42 AMWhen migrating to weblogic from oc4j, you should discontinue use of the Oracle xml parser. Use the standard java sdk parser.
This code snip:
StringReader sr = new StringReader(xmlString.toString());
DOMParser parser = new DOMParser();
parser.parse(sr);
Document doc = parser.getDocument();
Is converted to this code snip:
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
StringReader sr = new StringReader(Sparameters);
InputSource is = new InputSource(sr);
Document doc = db.parse(is);
I found this information in this documentation:
http://docs.oracle.com/cd/E13222_01/wls/docs103/xml/programming.html#wp1069856
I hope this is helpful to someone.
S -
How to determine the version of xmlparserv2.jar?
Hi,
Is there any way I can determine the version of an
xmlparserv2.jar file?
I am using XML Parser V2 (xmlparserv2.jar) with the following
file size: 1,086,234 bytes.
This was supplied with JDeveloper 3.1 but I have no idea what
version is it? Any help on this will be appreciated.
TIA,
-Piyushthe class oraxml does not exist in this version of the jar!
however i do see an entry like: xmlparser_2.0.2.6_production
when i open the jar file in winzip!
i have cross verfied with other xmlparserv2 files (diff file
sizes) and this seems to be it.
thanks for the suggestion.
regards,
-Piyush -
Xmlparserv2.jar with xerces and xalan
Hello,
I have a Spring/Spring Web Flow application. I also have a separate web application that's using the XML Publisher API to generate reports from RTF files. I am now in the process of merging these two into one application.
The Spring app requires the xerces.jar and xalan.jar JARs in order to parse the various XML files required to configure Spring. The XML Publisher app requires the xmlparserv2.jar JAR in order to parse the XML required for generating reports.
When I have all of these JARs in my one web application, I receive an error when I call the FOProcessor.generate() method. Here it is:
oracle.xml.parser.v2.XMLParseException: Bad character (1).
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:324)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:292)
at oracle.xml.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:590)
at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:260)
at oracle.apps.xdo.common.xml.XSLTClassic.transform(XSLTClassic.java:200)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:174)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1022)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
I was thinking this was because there was a conflict between xalan, xerces and xmlparserv2, so I removed the xalan and xerces JARs from the classpath. Now I get the following whenever I try to hit one of my spring MVC actions:
DEBUG org.springframework.beans.factory.xml.DelegatingEntityResolver(99) - Attempting to resolve XML Schema [http://www.springframework.org/schema/beans/spring-beans-2.0.xsd] using [org.springframework.beans.factory.xml.PluggableSchemaResolver]
<Line 43, Column 57>: XML-24509: (Error) Duplicated definition for: 'identifiedType'
<Line 60, Column 28>: XML-24509: (Error) Duplicated definition for: 'beans'
<Line 145, Column 34>: XML-24509: (Error) Duplicated definition for: 'description'
<Line 158, Column 29>: XML-24509: (Error) Duplicated definition for: 'import'
<Line 180, Column 28>: XML-24509: (Error) Duplicated definition for: 'alias'
<Line 209, Column 33>: XML-24509: (Error) Duplicated definition for: 'beanElements'
<Line 223, Column 44>: XML-24509: (Error) Duplicated definition for: 'beanAttributes'
<Line 486, Column 43>: XML-24509: (Error) Duplicated definition for: 'meta'
<Line 494, Column 35>: XML-24509: (Error) Duplicated definition for: 'metaType'
<Line 511, Column 27>: XML-24509: (Error) Duplicated definition for: 'bean'
<Line 531, Column 38>: XML-24509: (Error) Duplicated definition for: 'constructor-arg'
<Line 600, Column 51>: XML-24509: (Error) Duplicated definition for: 'property'
<Line 611, Column 36>: XML-24509: (Error) Duplicated definition for: 'lookup-method'
<Line 647, Column 38>: XML-24509: (Error) Duplicated definition for: 'replaced-method'
<Line 684, Column 31>: XML-24509: (Error) Duplicated definition for: 'arg-type'
<Line 711, Column 26>: XML-24509: (Error) Duplicated definition for: 'ref'
<Line 749, Column 28>: XML-24509: (Error) Duplicated definition for: 'idref'
<Line 783, Column 28>: XML-24509: (Error) Duplicated definition for: 'value'
<Line 811, Column 27>: XML-24509: (Error) Duplicated definition for: 'null'
<Line 825, Column 39>: XML-24509: (Error) Duplicated definition for: 'collectionElements'
<Line 842, Column 48>: XML-24509: (Error) Duplicated definition for: 'list'
<Line 853, Column 47>: XML-24509: (Error) Duplicated definition for: 'set'
<Line 862, Column 41>: XML-24509: (Error) Duplicated definition for: 'map'
<Line 869, Column 45>: XML-24509: (Error) Duplicated definition for: 'entry'
<Line 877, Column 45>: XML-24509: (Error) Duplicated definition for: 'props'
<Line 886, Column 26>: XML-24509: (Error) Duplicated definition for: 'key'
<Line 897, Column 27>: XML-24509: (Error) Duplicated definition for: 'prop'
<Line 916, Column 39>: XML-24509: (Error) Duplicated definition for: 'propertyType'
<Line 960, Column 45>: XML-24509: (Error) Duplicated definition for: 'baseCollectionType'
<Line 971, Column 46>: XML-24509: (Error) Duplicated definition for: 'typedCollectionType'
<Line 987, Column 34>: XML-24509: (Error) Duplicated definition for: 'mapType'
<Line 1008, Column 36>: XML-24509: (Error) Duplicated definition for: 'entryType'
<Line 1047, Column 40>: XML-24509: (Error) Duplicated definition for: 'listOrSetType'
<Line 1056, Column 36>: XML-24509: (Error) Duplicated definition for: 'propsType'
<Line 1069, Column 45>: XML-24509: (Error) Duplicated definition for: 'defaultable-boolean'
ERROR org.springframework.web.servlet.FrameworkServlet(229) - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Line 10 in XML document from class path resource [spring/servlet/sellitem-webflow-config.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
Caused by:
oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:431)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:287)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:181)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)
at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:308)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:252)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:221)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:115)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
So it seems like these JARs are incompatible with each other. Is there any way I can use the Oracle DocumentBuilder for my XML Publisher classes and the xerces for the rest of the app?
Thanks,
Leo HartNow one has any advice? :(
-
Loadjava error resolving xmlparserv2.jar
I was having problems loading the JVM on our 8.1.6 database, so I upgraded to 8.1.7 then migrated the database across. The JVM loads fine on this database. However, when I try and load the xmlparserv2.jar file using loadjava -v -r -u <uname>/<passwd> xmlparserv2.jar, I get ORA-04043 errors when it starts resolving. It seems to happen for every class. I've checked metalink for hits and checked the JVM installation according to Note:102717.1 and all seems fine. Any ideas?
check the javavm read me file or the java developer's guide sections dealing with memory usage.
"ava Memory Usage" is documented at :
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a83728/perf2.htm#1005628
You're probably running into a "too small" shared_pool, java_pool or large_pool.
They're defined in the init.ora file. -
Being absolutely frustrated with the generic FOTY 001 fault for any mapping failure I tried looking for different solution in web.I did actually find out some interesting soutions which is to use XSLProcessor class $ORACLE_HOME/lib/xmlparserv2.jar for parsing XML to a partcular XSLT file.It is giving me the actual error with the proper line number for simple XSLT files.But when I try to use one of the PIP transformations it is still throwing errors for aia and xpath functions.For aia:getServiceProperty it can find out the proper attribute from AIAConfigurationProperties.xml and for xref:lookupXREF it is giving class initializer error.I have added both the jar aia.jar and bpm-services.jar to do that.I have also tried to use oraxsl command line utility which comes with oracle xdk but no luck there also.
In case anyone have been able to use them succesfully please help me out.
Thanks
Animesh Roy
[email protected]you have to do the migration one time. Better now than in the future. One day a forms patch will say: Graphics is now obsolete, please migrate.
To run a 6i graphics service on a 10g platform is (please believe me) the badest way to run your old graphics in the new world.
its like toothache. you can eliminate them through eating 10 aspirins each day. But you know, that you have to go one day to the dentist... -
Diff between oracle's org.w3c.dom in xmlParserV2.jar and JREs impl?
New to Java/oracle enviornment.
I have an class that retrieves clobs from 10g. I need to include oracles xmlParserV2.jar in the classpath for XMLType support.
I then added this class to my app.
When I do this, areas in my app that previously used the JRE org.w3c.dom bombs with the exception: AbstractMethodError: getTextContent()....
I am assuming that when I set xmlParserv2.jar in my class path, that my app is now using oracle's implementation of the org.w3c.dom....
I say this because I see the org.w3c.dom.. in the xmlParserv2jar. Is my app running into some incompatibility with the way oracle has implemented the org.w3c.dom.
Is there a xmlParserv2.jar without the org.w3c stuff?
I need the XMLType support from xmlParserv2.jar. Is the XMLType support dependent on oracles implementation of the org.w3c.dom....?
Thanks everyone;
Any help appreciated.I dont find the j2ee_1.3.01.jar file in a simple oc4j installation. Its present in the bpel/lib directory if you install the full soa suite.
I removed the oc4jclient.jar, and I see the same behavior as mentioned above. If I just have two jar files - orabpel.jar and orabpel-common.jar, my application does not start up (no logs are created). When I add the j2ee_1.3.01.jar, then the logs are created but I see the LinkageError in the opmn logs.
Thx,
Prabhat -
Xmlparserv2.jar conflicts with xmlparserv2-904.jar
Hi everyone,
I'm trying to use the BI Publisher APIs within a Java Embedding activity. These APIs uses the xmlparserv2-904.jar version of the library. But the oracle.xml shared library that the OC4J instance contains, uses the xmlparserv2.jar which is not compatible with the BI Publisher APIs. Is there a way i can tell a BPEL process to use the version of the library that I deploy with my projet instead of using those from the OC4J instance shared libraries??
Any help is welcome!!
P.S: See post:
XML publisher with jdeveloper
Message was edited by:
GMBNow one has any advice? :(
-
Xmlparserv2.jar cause IBM WebSphere v5.1 down.
Anyone knows:
I have a j2ee project based on IBM WebSphere v5.1 + Oracle DB 10g(XMLDB included).There's a big trouble bother me.
My project used Oracle xml implemention,such as DOM parser included in xmlparserv2.jar.and when i deploy my project to WAS(WebSphere Application Server),it throws errors and can not startup normally.it's sounds that WAS cann't determine which xml implemention it should choose:
Error message below:
==============================================
*** å¯å¨æå¡å¨ ***
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O java.net.MalformedURLException: unknown protocol: f
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at java.net.URL.<init>(URL.java(Compiled Code))
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at java.net.URL.<init>(URL.java(Compiled Code))
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at java.net.URL.<init>(URL.java:450)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:214)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:177)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.xml.BaseFactory.load(BaseFactory.java:191)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.xml.BaseFactory.load(BaseFactory.java:173)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.WASProduct.loadVersionInfo(WASProduct.java:1876)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.WASProduct.getVersionInfo(WASProduct.java:1829)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.websphere.product.WASProduct.getPlatform(WASProduct.java:845)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.TraceImpl.initialize(TraceImpl.java:59)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
[05-5-2 12:06:49:906 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at java.lang.reflect.Method.invoke(Method.java:386)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
[05-5-2 12:06:49:922 CST] 3d455614 SystemOut O at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
************ Start Display Current Environment ************
Host Operating System is Windows XP, version 5.1
Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51
user.install.root = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51
Java Home = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\jre
ws.ext.dirs = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/java/lib;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/classes;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/classes;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/ext;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/web/help;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;F:\document\musicool\CVS\libs\xsdbeans.jar;F:/Program_Files/IBM/SQLLIB/java/db2java.zip;f:/Program_Files/IBM/WebSphere_Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.1/runtime/worf.jar
Classpath = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/properties;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/properties;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/bootstrap.jar;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/j2ee.jar;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/lmproxy.jar;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/lib/urlprotocols.jar;F:\document\musicool\CVS\libs\workflow.jar;F:\document\musicool\CVS\libs\DBClient.jar;F:\document\musicool\CVS\libs\log4j-1.2.8.jar;F:\document\musicool\CVS\libs\log.jar;F:\document\musicool\CVS\libs\utility.jar;F:\document\musicool\CVS\libs\webwork.jar;F:\document\musicool\CVS\libs\xdb.jar;F:\Oracle\product\10.1.0\Client_1\lib\xsu12.jar;f:/Program_Files/IBM/WebSphere_Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wteServers.jar;f:/Program_Files/IBM/WebSphere_Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1/runtime/wasToolsCommon.jar
Java Library path = f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/java/bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51/java/jre/bin;F:\Program_Files\IBM\WebSphere_Studio\eclipse\jre\bin;.;F:\Program_Files\IBM\WebSphere_Studio\eclipse\jre\bin;F:\eclipse\301\bpelz_install\bin;f:\Oracle\product\10.1.0\Client_1\bin;f:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;f:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;f:\Program_Files\IBM\WebSphere_Studio\extras\bin;f:\Program_Files\IBM\WebSphere_Studio\bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\jre\bin;f:\Program_Files\IBM\WebSphere_Studio\runtimes\base_v51\java\jre\bin\classic;f:\Program_Files\UltraEdit;f:\Program_Files\SecureCRT;F:\PROGRA~1\IBM\SQLLIB\BIN;F:\PROGRA~1\IBM\SQLLIB\FUNCTION;F:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Common Files\Ulead Systems\MPEG;;;;;f:\Program_Files\Real\Helix_Producer_Plus;F:\Program_Files\Rational\common;F:\eclipse\301\bpelz_install\bin;f:\Program_Files\UltraEdit
************* End Display Current Environment *************
[05-5-2 12:06:49:938 CST] 3d455614 ManagerAdmin I TRAS0017I: å¯å¨è·è¸ªç¶ææ¯ *=all=disabledã
[05-5-2 12:06:50:609 CST] 3d455614 AdminInitiali A ADMN0015I: AdminService åå§å
[05-5-2 12:06:50:656 CST] 3d455614 MBeanDescript W ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
ã
[05-5-2 12:06:50:688 CST] 3d455614 WsServer E WSVR0003E: æå¡å¨ server1 æ æ³å¯å¨
com.ibm.ws.exception.ConfigurationError: Problem initializing AdminImpl:
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:413)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.ws.exception.ConfigurationWarning: Problem registering JVM MBean.
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:283)
... 11 more
Caused by: com.ibm.websphere.management.exception.AdminException: ADMN0005E: æ æ³æ¿æ´» MBeanï¼ç±»å JVMãåä½è [email protected]c1619ãé ç½®æ è¯ JVM åæ述符 nullã
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:289)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
... 11 more
Caused by: com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
... 13 more
---- Begin backtrace for nested exception
com.ibm.ws.exception.ConfigurationWarning: Problem registering JVM MBean.
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:283)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.websphere.management.exception.AdminException: ADMN0005E: æ æ³æ¿æ´» MBeanï¼ç±»å JVMãåä½è [email protected]c1619ãé ç½®æ è¯ JVM åæ述符 nullã
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:289)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
... 11 more
Caused by: com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
... 13 more
---- Begin backtrace for nested exception
com.ibm.websphere.management.exception.AdminException: ADMN0005E: æ æ³æ¿æ´» MBeanï¼ç±»å JVMãåä½è [email protected]c1619ãé ç½®æ è¯ JVM åæ述符 nullã
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:289)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
Caused by: com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
... 13 more
---- Begin backtrace for nested exception
com.ibm.websphere.management.exception.DescriptorParseException: ADMN0001W: æ æ³è¯æ³åæ MBean æ述符æ件 com/ibm/ws/management/descriptor/xml/JVM.xmlã
at com.ibm.ws.management.descriptor.MBeanDescriptorLoader.loadDescriptor(MBeanDescriptorLoader.java:106)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.loadDescriptorFile(MBeanDescriptorManager.java:260)
at com.ibm.ws.management.descriptor.MBeanDescriptorManager.getDescriptor(MBeanDescriptorManager.java:118)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:250)
at com.ibm.ws.management.MBeanFactoryImpl.activateMBean(MBeanFactoryImpl.java:217)
at com.ibm.ws.management.component.AdminImpl.initialize(AdminImpl.java:277)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponent(ContainerImpl.java:713)
at com.ibm.ws.runtime.component.ContainerImpl.initializeComponents(ContainerImpl.java:659)
at com.ibm.ws.runtime.component.ServerImpl.initialize(ServerImpl.java:96)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:119)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
[05-5-2 12:06:50:703 CST] 3d455614 WsServer E WSVR0009E: å¯å¨æé´åçé误
=================================
Best Regard.
MusicoolI had this issue too. I removed all non-Oracle classes (javax, org.w3c) from the jar file and things then worked as expected. Basically, these javax and w3c files were duplicating versions already existing in the WPS classpath (I presume) and were causing the failure.
Hope this helps.
-Tim -
Hi
in the new jdev 11g r1 I get this exception
java.io.FileNotFoundException: \ade\aime_xdk_407339\oracle\xdk\lib\xmlparserv2.jar
in debugging a ws proxy client . when I run it normally it works perfectly .
the old 11g jdev does it also fine
thanks EdwinHi,
I have the exact same problem!!!
Kind regards
Tage -
Parsing problems under xmlparserv2.jar
I cannot parse a XML file with the Oracle XML Parser xmlparserv2.jar.
I have also tried to attached a XML Schema to the file and the same error occurred. Trying another parser (
crimson.jar) the file was parsed successfully. So I think I am missing something.
This is the error:
oracle.xml.parser.v2.XMLParseException: Element 'constantes' used but not declared.
at oracle.xml.parser.v2.XMLError.flushErrors(XMLError.java:145)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:263)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:141)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:379)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:191)
at com.wiser.xtags.XMLParser.parse(XMLParser.java:83)
at com.wiser.xtags.XMLParser.main(XMLParser.java:29)
This is the xml:
<constantes>
<constante nome="CAMINHO_BASE" valor="BLA"/>
<constante nome="REPOSITORIO_CONTAS" valor="BLABLA"/>
<constante nome="REPOSITORIO_ARQUIVOSPDF" valor="BLABLABLA"/>
</constantes>
marcelo.Java code should run in all JVMs. But if you did something Windows-specific (such as looking for a file named C:/something/or/other) in your code then you can't expect it to run in other environments.
-
YouTube HTML5 WebM playback seems broken in Firefox 4 Beta 7 and the current Firefox 4 nightlies
WebM playback on YouTube via the HTML5 player seems broken at present in Firefox 4 Beta 7 and the current Firefox 4 nightlies. I have beta 7 install on Win32 and Minefield on Linux x86-64, both without Flash installed and both have joined the HTML5 trial. When attempting to watch a video you currently just get the HTML5 player chrome with no WebM badge and just a black, videoless content pane where the video should be.
Opera 10.63, in contrast, still works fine. So it feels like YouTube is incorrectly detecting the user agent when Firefox 4 is used and as a consequence mistakenly deciding that it shouldn't serve WebM video in that instance. I've not yet tried setting Firefox 4's user agent string to, say, Opera 10.63. I'll try that next.
Can anyone confirm that they're seeing the same problem and is there any other workaround beyond changing the user agent string (presuming that works)?I just noticed that Firefox is playing some of my videos from youtube in WEBM format; That creates a huge problem for me because of distortion/Lag on ALL Webm videos with intense fast action scenes;I guess my onboard video card can not handle the demand of WEBM.
My computer is not too old or new either so I really am concern for the foreseeable future,Millions of people from around the world that can not afford new computers will be affected by this new tech.
This ruins everything for me because Firefox is my favorite browser I am forced to switch to Internet Explorer to watch sports videos in H264/Flash - I dont have a problem viewing videos with Flash or H264. -
In Oracle8i.15, I tried to install xmlparserv2.jar after I downloaded xdk_plsql_9_2_0_2_0.zip and upzip to local machine.
However, when I issued the follwoing command:
loadjava -v -r -user SYSTEM/manager -force xmlparserv2.jar
For each class, it has the following error message:
resolving: oracle/xml/async/DOMBuilderErrorListener
Error while resolving class oracle/xml/async/DOMBuilderErrorListener
ORA-04043: object oracle/xml/async/DOMBuilderErrorListener does not exist
resolving: oracle/xml/comp/CXMLParser
Error while resolving class oracle/xml/comp/CXMLParser
ORA-04043: object oracle/xml/comp/CXMLParser does not exist
How can I solve this problem?
Thanks in advance.Do you mean you use 8.1.5? You can't directly load the xmlparserv2.jar to it.
-
Error Loading xmlparserv2.jar
Platform: NT4 SP5
Database: 8.1.6
When loading xmlparserv2.jar via loadjava, I'm getting an ORA-01401: inserted value too large for column.
Command:
loadjava -user eclipse/eclipse@bugs -r -v xmlparserv2.jar
Errors:
loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.properties
creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.properties
Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_zh_CN.prope
rties
ORA-00604: error occurred at recursive SQL level 1
ORA-01401: inserted value too large for column
ORA-06512: at line 2
loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.properties
creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.properties
Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_cs_CZ.prope
rties
ORA-00604: error occurred at recursive SQL level 1
ORA-01401: inserted value too large for column
ORA-06512: at line 2
I just manually upgraded to 8.1.6 from an 8.1.5 database. I also ran jvmu815.sql to upgrade the JVM.
I noticed that there is a patch out for 8.1.6, would this be helpful to install?
Thanks.
nullChristine,
I apologize for the delay.
I verified that the system is OK so I believe that the solution is a good work around.
1.) Export the schema that you want to utilize the XML Parser and all the schema constraints, procedures, etc.
2.) Drop the user/schema and cascade all of the user's objects.
3.) Recreate the user with the same priveledges and with the same default and temp storage locations.
4.) Load the xmlparserv2.jar and the xmlplsql.jar files with loadjava as the user you just recreated.
5.) Run the sql script to create the java packages as the same user.
6.) Now, import the schema that you exported in step 1.
7.) After the import, I had to recompile three xml package bodies. They were: XMLDOM, XMLPARSER and XMLPROCESSOR. Check them to see if they are invalid in your user's shema.
Good luck,
Eric -
Can't get matching xdb6.jar, xmlparserv2.jar and ojdbc6.jar
No matter what I try, they are always somewhat different and I'm getting exceptions with JDBC on either setSQLXML or on .getString() once I retrieved the SQLXML object and want to get the content back or I'm downright getting "oracle.xdb.XMLType cannot be cast to java.sql.SQLXML"
How is it possible that Oracle who owns Java and OracleDB can't make a working Java driver? I just want to be able to work with XML, I didn't know this was asking much. I have OracleXE installed.Welcome to the forum!
Whenever you post you need to provide ALL of the product and version information applicable to the question or issue you are asking about
>
No matter what I try, they are always somewhat different and I'm getting exceptions with JDBC on either setSQLXML or on .getString() once I retrieved the SQLXML object and want to get the content back or I'm downright getting "oracle.xdb.XMLType cannot be cast to java.sql.SQLXML"
>
Before you submit a question or issue use the 'Preview' tab so you can see it as it will display. Then read your entire submission and ask yourself:
>
Could I answer a question like that based ONLY on the information that was provided?
>
For this thread the answer would be NO!
All you have done is complain. That is basically the equivalent of a five year old saying 'Mommy, my tummy hurts'.
>
No matter what I try
>
What did you try? You haven't posted ANY information about what you are even doing, what jars, tools or code you are doing it with or HOW you are doing it.
>
I'm getting exceptions with JDBC on either setSQLXML or on .getString() once I retrieved the SQLXML object
>
What exceptions? You haven't posted ANY exceptions or any of the code that caused those exceptions.
Retrieved WHAT SQLXML object? Retrieved from where? What is the full name and version of the database you are using? For Oracle that would be the 4 digit version as returned by 'SELECT * FROM V$VERSION'. Oracle DB doesn't have any SQLXML objects; it has XMLTYPE columns. Is that what you are trying to access?
>
Can't get matching xdb6.jar, xmlparserv2.jar and ojdbc6.jar
>
Where did you get them from? How did you get them? How do you know that they don't match? What is the full name and version of the jars that you are using?
Have you used this functionality before? Do you know how to use it? If you have never used it and have no expertise with it we need to know that so we can tell you how to get up to speed so you can use it successfully.
Since you haven't provided ANY of the information needed to provide any specific suggestions all we can do is assume that you are using the last, current version of Java and all jars files and have never used the functionality. In that case you need to start at the beginning.
Review the relevant sections of the JDBC Developer's Guide
http://docs.oracle.com/cd/E18283_01/java.112/e16548/jdbcvers.htm#BABGHBCC
>
SQLXML Type
One of the most important updates in JDBC 4.0 standard is the support for the XML data type, defined by the SQL 2003 standard. Now JDBC offers a mapping interface to support the SQL/XML database data type, that is, java.sql.SQLXML. This new JDBC interface defines Java native bindings for XML, thus making handling of any database XML data easier and more efficient.
The oracle.jdbc.getObjectReturnsXMLType Property
In Oracle Database 10g and earlier versions of Oracle Database 11g, Oracle JDBC drivers supported the Oracle SQL XML type (XMLType) through an Oracle proprietary extension. XML values were represented by instances of the oracle.xdb.XMLType class and the SQL XMLType values were read and set through the JDBC standard getObject, setObject, and updateObject methods.
The JDBC standard requires the getObject method to return an instance of java.sql.SQLXML type when called on a SQL XML type column. But, the earlier versions of Oracle JDBC drivers return an instance of oracle.xdb.XMLType. This does not conform to the JDBC standard.
The current release of Oracle JDBC drivers conform to the JDBC standard with the introduction of a new connection property, oracle.jdbc.getObjectReturnsXMLType. If you set this property to false, then the getObject method returns an instance of java.sql.SQLXML type. You can achieve this by using the following command line option while compiling your program with javac:
-Doracle.jdbc.getObjectReturnsXMLType="false"
If you depend on the existing Oracle proprietary support for SQL XMLType using oracle.xdb.XMLType, then you can change the value of this property back to true by using the following command line option:
-Doracle.jdbc.getObjectReturnsXMLType="true"
The value of the oracle.jdbc.getObjectReturnsXMLType property is a String representing a boolean value of either true or false. If the value of this property is true, then the getObject method returns oracle.xdb.XMLType instances, when called for a SQL XMLType column. This is the deafault value of the oracle.jdbc.getObjectReturnsXMLType property. If the value of this property is false, then the getObject method returns java.sql.SQLXML instances. This is the standard JDBC-compliant mode.
Note:
The oracle.jdbc.getObjectReturnsXMLType property affects only the result of the getObject method. All other methods conform to the JDBC 4.0 standard regardless of the value of the property.
>
The exception that you are getting
>
oracle.xdb.XMLType cannot be cast to java.sql.SQLXML
>
is telling that the XMLType is NOT an SQLXML type so you can't use it as one. That doc section above should tell explain that those are two DIFFERENT types. You use one or the other depending on which version of the functionality you want to use. You can use the older 'non-JDBC' standard or the new 'JDBC' standard. But you can't mix the two.
Review that entire chapter of the doc and see if that helps.
If not then you need to provide ALL relevant information if you need more help:
1. Java version
2. DB name and version
3. JAR file names and versions
4. Java code that demonstrates the problem
5. EXACT copies of any and all exceptions and errors that occur
6. A description, in English, of what you are trying to do and how you are trying to do it.
When you post use \ on the line before and on the line after any code to preserve formattting. See the FAQ for other formatting guidelines. Use the 'Preview' tab to see what your post will look like before you submit it.
Maybe you are looking for
-
[JS CS3] How to reach a item in a collection of pageitems whom label is the same ?
Hi, I had a look through the forum and I didn't find any topic on it. I have several pageitems whom label is the same : "LogoBox" I can have interesting info such as b app.activeDocument.pageItems.count("LogoBox") So I can know how many iterations I
-
I have one bookmark folder in my toolbar that has incorrect bookmarks I cannot delete them or edit them. In 'organising bookmarks' I have edited them and they are correct. but even if i delete or correct them in organising bookmarks in the toolbar th
-
To lock textBox in particular page
i have text box in First three pages but i want to lock the third page textFrame How to do . could anyone tell me.
-
Sold to party non editable in return case
HI ..All, I have a scenario after return of sales process ,business wants the same material to be delivered to the customer in normal sales process again.In that case while creating a new sales orde for that it will take the reference of original sa
-
How do I change a bad location in the new photos app for Mac?
I am not sure why but hundreds of my photos have the wrong location stored for them. Is there any easy way to change them in the new Photos app for mac? Thanks