Loadjava... xmlparserv2.jar (ver.2.1)
When i try to load javaclass into oracle ie.
loadjava -user system/manager -r -v xmlparserv2.jar
i get massages like:
Errors in oracle/xml/parser/v2/XMLCDATA: ORA-29534: referenced object SYSTEM.oracle/xml/parser/v2/XMLNode could not be resolved ORA-29545: badly formed class: java.lang.NullPointerException
I have Ora 8.1.6 Stnd.Ed. installed on RH 6.2.
Any ideas?
Kail
Got the problem sorted out. Apparently it was because I had Oracle 8.1.5 which used Java 1.1.7, whereas the version of xmlparserv2.jar I had was compiled using a more recent version of Java.
Migrated to Oracle 8.1.7, and that solved the problem.
Similar Messages
-
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.
-
Encount Ora-29534 when loadjava xmlparserv2.jar
I encounted ora-29534 error message when I tried to load xml pl/sql parser using the following command:
% loadjava -user scott/tiger -r -v xmlparserv2.jar
Environment: Oracle8.1.5
windows nt sp4
jdk1.1.8
What causes this problem and how to resolve it?
Thanks!
AllenGot the problem sorted out. Apparently it was because I had Oracle 8.1.5 which used Java 1.1.7, whereas the version of xmlparserv2.jar I had was compiled using a more recent version of Java.
Migrated to Oracle 8.1.7, and that solved the problem. -
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. -
ORA-29534 in loadjava xsu111.jar
Help!
While trying to install the server side of the XSU ver 111 I get an 'ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could not be resolved' message. I've looked through the bulletin board messages and noted that most people have resolved this issue with a correct CLASSPATH. I've reviewed that and all my env vars and see no problems: I do note that all the failures stem from oracle/xml/sql/dml/OracleXMLSave wic in turn got the message
'ORA-29521: referenced name oracle/jdbc2/Clob could not be found' I found this in classes111.zip and have made sure it is in CLASSPATH and CLASSPATHJ. but to no avail
Whaqt else can i try? loadjava results below
Oracle V 8.1.6
Windows NT 4.0 SP5
JDK 1.1.8
jdbc 111
Thanks,
David Summers
--> load parser - succeeded-
D:\Downloads\OracleXSU111\lib>call loadjava -r -v -u p79890/pswd xmlparserv2.jar
initialization complete
loading : oracle/xml/parser/v2/XSLResultElement
creating : oracle/xml/parser/v2/XSLResultElement
<snip>
org/xml/sax/Locator is already resolved
---> failing loadjava
D:\Downloads\OracleXSU111\lib>call loadjava -r -v -g public -u p79890/pswd xsu111.jar
initialization complete
loading : oracle/xml/sql/query/OracleXMLQuery
creating : oracle/xml/sql/query/OracleXMLQuery
loading : oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
creating : oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
loading : oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc
creating : oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc
loading : oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc
creating : oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc
loading : oracle/xml/sql/core/OracleXMLTimer
creating : oracle/xml/sql/core/OracleXMLTimer
loading : oracle/xml/sql/dml/OracleXMLStaticSave
creating : oracle/xml/sql/dml/OracleXMLStaticSave
loading : oracle/xml/sql/name/OracleColumnName
creating : oracle/xml/sql/name/OracleColumnName
loading : oracle/xml/sql/query/OracleXMLStaticQuery
creating : oracle/xml/sql/query/OracleXMLStaticQuery
loading : oracle/xml/sql/OracleXMLSQLNoRowsException
creating : oracle/xml/sql/OracleXMLSQLNoRowsException
loading : oracle/xml/sql/core/OracleXMLUtil
creating : oracle/xml/sql/core/OracleXMLUtil
loading : oracle/xml/sql/core/OracleXMLConvert
creating : oracle/xml/sql/core/OracleXMLConvert
loading : oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
creating : oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
loading : oracle/xml/sql/core/OracleXMLTime
creating : oracle/xml/sql/core/OracleXMLTime
loading : oracle/xml/sql/name/OracleCollectionName
creating : oracle/xml/sql/name/OracleCollectionName
loading : oracle/xml/sql/XSUMesg
creating : oracle/xml/sql/XSUMesg
loading : oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
creating : oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
loading : oracle/xml/sql/dml/OracleXMLSave
creating : oracle/xml/sql/dml/OracleXMLSave
loading : oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
creating : oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
loading : OracleXML
creating : OracleXML
loading : oracle/xml/sql/docgen/OracleXMLDocGenDOM
creating : oracle/xml/sql/docgen/OracleXMLDocGenDOM
loading : oracle/xml/sql/docgen/OracleXMLDocGenLob
creating : oracle/xml/sql/docgen/OracleXMLDocGenLob
loading : oracle/xml/sql/OracleXMLSQLException
creating : oracle/xml/sql/OracleXMLSQLException
loading : oracle/xml/sql/name/OracleScalarName
creating : oracle/xml/sql/name/OracleScalarName
loading : oracle/xml/sql/docgen/OracleXMLDocGen
creating : oracle/xml/sql/docgen/OracleXMLDocGen
loading : oracle/xml/sql/name/OracleADTName
creating : oracle/xml/sql/name/OracleADTName
loading : oracle/xml/sql/dataset/OracleXMLDataSet
creating : oracle/xml/sql/dataset/OracleXMLDataSet
loading : oracle/xml/sql/name/OracleCursorName
creating : oracle/xml/sql/name/OracleCursorName
loading : oracle/xml/sql/docgen/OracleXMLDocGenString
creating : oracle/xml/sql/docgen/OracleXMLDocGenString
loading : OracleXMLStore
creating : OracleXM LStore
loading : oracle/xml/sql/mesg/XSUMessages.properties
creating : oracle/xml/sql/mesg/XSUMessages.properties
loading : META-INF/MANIFEST.MF
creating : META-INF/MANIFEST.MF
loading : XSU111_VERSION_1_2_1
creating : XSU111_VERSION_1_2_1
loading : XSU111_RDBMS_MAIN_SOLARIS_000620
creating : XSU111_RDBMS_MAIN_SOLARIS_000620
resolver :
resolving: oracle/xml/sql/dml/OracleXMLStaticSave
Errors in oracle/xml/sql/dml/OracleXMLStaticSave:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
resolving: oracle/xml/sql/docgen/OracleXMLDocGenLob
oracle/xml/sql/name/OracleScalarName is already resolved
oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc is already resolved
oracle/xml/sql/name/OracleADTName is already resolved
oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc is already resolved
resolving: OracleXMLStore
Errors in OracleXMLStore:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/core/OracleXMLTimer is already resolved
oracle/xml/sql/docgen/OracleXMLDocGenString is already resolved
oracle/xml/sql/docgen/OracleXMLDocGenDOM is already resolved
resolving: oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx
Errors in oracle/xml/sql/query/OracleXMLStaticQuery$QueryCtx:
ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLQuery coul
d not be resolved
resolving: oracle/xml/sql/query/OracleXMLStaticQuery
Errors in oracle/xml/sql/query/OracleXMLStaticQuery:
ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLQuery coul
d not be resolved
oracle/xml/sql/core/OracleXMLConvert is already resolved
resolving: oracle/xml/sql/query/OracleXMLQuery
Errors in oracle/xml/sql/query/OracleXMLQuery:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/OracleXMLSQLNoRowsException is already resolved
resolving: OracleXML
Errors in OracleXML:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
resolving: oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt
Errors in oracle/xml/sql/dml/OracleXMLStaticSave$MutableInt:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLStaticSave c
ould not be resolved
resolving: oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt
Errors in oracle/xml/sql/query/OracleXMLStaticQuery$MutableInt:
ORA-29534: referenced object P79890.oracle/xml/sql/query/OracleXMLStaticQuer
y could not be resolved
oracle/xml/sql/name/OracleCollectionName is already resolved
resolving: oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx
Errors in oracle/xml/sql/dml/OracleXMLStaticSave$SaveCtx:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/name/OracleCursorName is already resolved
oracle/xml/sql/dataset/OracleXMLDataSet is already resolved
oracle/xml/sql/docgen/OracleXMLDocGen is already resolved
oracle/xml/sql/core/OracleXMLTime is already resolved
resolving: oracle/xml/sql/core/OracleXMLUtil
Errors in oracle/xml/sql/core/OracleXMLUtil:
ORA-29534: referenced object P79890.oracle/xml/sql/dml/OracleXMLSave could n
ot be resolved
oracle/xml/sql/name/OracleColumnName is already resolved
resolving: oracle/xml/sql/dml/OracleXMLSave
Errors in oracle/xml/sql/dml/OracleXMLSave:
ORA-29521: referenced name oracle/jdbc2/Clob could not be found
oracle/xml/sql/XSUMesg is already resolved
oracle/xml/sql/OracleXMLSQLException is already resolved
loadjava: 11 errors
nullAre you able to run Java Stored Procedures succesfully in your system.
Log into SQL*Plus as SYS. Issue the following queries:
SQL> SELECT count(*) FROM obj$ WHERE type#=29 AND owner#=0;
COUNT(*)
8535
It should return >= 8000.
SQL> SELECT count(*) FROM obj$ WHERE type#=29 AND owner#=0 AND status != 1;
COUNT(*)
0
Let me know the results of the above and creating of Java SP's.
null -
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 -
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 -
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... -
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? :(
-
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.
Maybe you are looking for
-
NO WI-FI 3G On my E71 after upgrading firmware to ...
I have upgraded my firware version from RM-346 TO RM-493 and WLAN/3G option is missing in phone, I found in wikipedia that wlan is restricted in china. Is there a way that I can downgrade my firmware to the previous one? MODERATOR'S NOTE: Post edite
-
Why can't I go under artist view in music app, select 1 of multiple albums by a specific artist and play the whole album from beginning to end? Why would you have it automatically shuffle between songs from several albums by the same artist automatic
-
Adobe Flasher Player not loading
I believe i have downloaded and installed the most recent version and yet when I go back to the espn website - it continues to indicate I need to download adobe? I ma not very computer savy - any advice?
-
hey all, been having issues with my iphone - wether it is connected to my imac or my macbook, itunes will spend ages "syncing with iphone" or "verifying". is there any way to stop this from happening? sometimes clearing out the cache will provide a o
-
Eqium M40X-189 powers itself down randomly and won't restart easily
A few days ago my Equim M40X shut itself down while unattended (running from mains power with battery in place). All that was on was the green mains power light. Pressing the start button had no effect. I removed the battery and replaced it - still n