Java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build
The following code works fine with JDeveloper 10.1.2 with the xmlparserv2.jar file provided with JDeveloper.
=====
XSDBuilder schemaBuilder = new XSDBuilder();
URL xsdURL = new URL(schemaUrl);
XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
========
However when I try to put this in Oracle Application Server 10.1.2.0.2, I get the following error:
====
java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build
====
It seems like the oracle version is different in app server 10.1.2.0.2 that that of JDeveloper 10.1.2.
When we rename the parser, the application works BUT the Oracle Enterprise Manager does not work properly as it depends on the latest version of the parser.
Please help.
Thanks,
Madhav
I am able to reproduce this problem. I have a jar file MyLib.jar which contains a class MyXmlUtils with a method called validate. This JAR file was created in JDeveloper 9.0.5.2.
Now I create a Test class in JDeveloper 10.1.2 and use the method in the JAR file and it crashes in build method. The error says "NoSuchMethod".
However if I import MyXmlUtils class in to the Test project, everything works fine.
What is going on here?
// MyLib.jar (Created in JDeveloper 9.0.5.2)
public class MyXmlUtils
public static void validate(String xml, String schemaUrl) throws Exception
XSDBuilder schemaBuilder = new XSDBuilder();
URL xsdURL = new URL(schemaUrl);
XMLSchema xmlschema = (XMLSchema) schemaBuilder.build(xsdURL);
dp.setValidationMode(XMLParser.SCHEMA_VALIDATION);
dp.setXMLSchema(xmlschema);
====
// Test project created in JDeveloper 10.1.2
import MyXmlUtils;
public class Test
public static void main(String[] args)
Test t = new Test();
try
String xml = "<Person><Name>John</Name></Person>";
String xsd = "file:\\c:\\Person.xsd";
MyXmlUtils.validate(xml, xsd);
catch (Exception e)
System.out.println(e.getMessage());
System.exit(1);
Thanks,
Madhav
Similar Messages
-
Hello,
We have installed successfully XSQLServlet engine and configured Apache server as per release document.
When we tried to run xsql/demo/helloworld.xsql we are getting following error.
Am I missing any classpath in jserv.properties? Any pointers to resolve this issue will be appreciated.
Thanks,
Shree
Actual Error
[18/02/2000 16:20:00:156 PST] java.lang.NoSuchMethodError: oracle.xml.parser.v2.
XMLNode: method selectNodes(Ljava/lang/String;)Lorg/w3c/dom/NodeList; not found
at oracle.xml.xsql.XSQLDocHandler.getDocument(Compiled Code)
at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)Steve,
Thanks for the response. Now we are getting different error. In one of the questions earlier posted, someone (I think Jon) noted that following error (the one we are getting) can be resolved by using JDK 1.1.8, is there any specific JDK pre-req for XML Parser 0.9.8.6?
Is it possible, to enhance release notes for 0.9.8.6 to include
a) Tips mentioned in your mail (i.e. putting oracle xml parser 2.0.x before Apache/OJSP xmlparserv2.jar
b) Dependencies on specific version of JDK
Once again thanks for the responding to the mail and will appreciate a help to resolve this current error.
Thanks,
Shree
Actual error :
java.lang.IllegalArgumentException: sun.io.CharToB
yteUTF-8
at sun.io.CharToByteConverter.getConverterClass(Compiled Code)
at sun.io.CharToByteConverter.getConverter(Compiled Code)
at java.io.OutputStreamWriter.<init>(Compiled Code)
at org.apache.jserv.JServConnection.getWriter(Compiled Code)
at oracle.xml.xsql.XSQLServletPageRequest.setupWriter(Compiled Code)
at oracle.xml.xsql.XSQLServletPageRequest.setContentType(Compiled Code)
at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
null -
Hi there Masters
I am new in Java and I would need your help please..
I am calling a function in Java passing 1 parameter and returning an XML back but at the point of execution I get an error below... At the end I have attached my java code...PLEASE HELP
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/XMLParseException
at oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:78)
at oracle.sql.OPAQUE.toClass(OPAQUE.java:328)
at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:278)
at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:259)
at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:190)
at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:117)
at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1578)
at oracle.jdbc.driver.OracleCallableStatementWrapper.getObject(OracleCallableStatementWrapper.java:815)
at hospitaltool.RunAsnIn.runAsnIn(RunAsnIn.java:41)
at hospitaltool.HospitalTool.main(HospitalTool.java:38)
Caused by: java.lang.ClassNotFoundException: oracle.xml.parser.v2.XMLParseException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 10 more
=====================JAVA CODE====================================
package hospitaltool;
import java.sql.*;
import oracle.jdbc.*;
import oracle.xdb.XMLType;
public class RunAsnIn {
public void runAsnIn(Connection con, Boolean fam) throws SQLException {
System.out.println("RunASNIn Section");
String messStatus;
int numRecs = 0; //to hold the number of Records processed
int totRecs = 0; //to hold the number of total records processed
ResultSet rs = null;
Statement stmt = null;
stmt = con.createStatement();
//Delete all already caused messages
try {
rs = stmt.executeQuery("DELETE FROM asnin WHERE message_num IN(SELECT message_num FROM asnin MINUS SELECT message_num FROM hospital WHERE family = 'ASNIn')");
//Select all the uncaused messages
rs = stmt.executeQuery("SELECT message_num FROM hospital WHERE family = 'ASNIn' and rownum <= 1 MINUS SELECT message_num FROM asnin");
//Go thru the uncaused messages
} catch (Exception e) {
while (rs.next()) {
String messageNum = rs.getString(1);
// System.out.println("tableName=" + messageNum);
System.out.println(messageNum);
//Get the XMLDoc
XMLType xml = null;
//Get the XML Doc
CallableStatement cs1 = null;
//CallableStatement proc = con.prepareCall("? {call rmsauto.hospitaltool.getmessagedoc(?)}");
try {
cs1 = con.prepareCall("{? = call rmsauto.hospitaltool.getmessagedoc(?)}");
cs1.registerOutParameter(1, OracleTypes.OPAQUE, "SYS.XMLTYPE");
cs1.setString(2, messageNum);
cs1.execute();
} catch (Exception e) {
xml = (XMLType) cs1.getObject(1);
System.out.println(xml.getStringVal());
}I did google this and found that I needed a specific jar file called xmlparserv2.jar and I did download it and loaded it on as part of my Libraries the I got a new error... I am using NetBeans
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/binxml/BinXMLMetadataProvider
at oracle.xdb.XMLTypeFactory.create(XMLTypeFactory.java:78)
at oracle.sql.OPAQUE.toClass(OPAQUE.java:328)
at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:278)
at oracle.sql.OPAQUE.toJdbc(OPAQUE.java:259)
at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:190)
at oracle.jdbc.driver.NamedTypeAccessor.getObject(NamedTypeAccessor.java:117)
at oracle.jdbc.driver.OracleCallableStatement.getObject(OracleCallableStatement.java:1578)
at oracle.jdbc.driver.OracleCallableStatementWrapper.getObject(OracleCallableStatementWrapper.java:815)
at hospitaltool.RunAsnIn.runAsnIn(RunAsnIn.java:41)
at hospitaltool.HospitalTool.main(HospitalTool.java:38)
Caused by: java.lang.ClassNotFoundException: oracle.xml.binxml.BinXMLMetadataProvider
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 10 more
Java Result: 1 -
Hi!
Kindly assist on the following error.
I'm doing the sample acmevideo on Cashier Application deploying as a Java Application from JDeveloper3.0 and Oracle8i 8.1.5. And I had this error after executing the following command;
Path=e:\javaWebServer2.0\jre\bin;%Path%
jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierApp
ERROR MESSAGE ARE FOLLOWS:
E:\cashier>jre -cp "e:\cashier\acme.jar" acmevideo.swing.CashierAppException in thread "main" java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/DOMParser
at
at oracle.jbo.server.SessionImpl.init(SessionImpl.java:82)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:81)
at oracle.dacf.dataset.SessionInfo._createAppModule(SessionInfo.java:1776)
at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1370)
at oracle.dacf.dataset.SessionInfo.open(Compiled Code)
at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:952)
at oracle.dacf.dataset.SessionInfo.publishSession(SessionInfo.java:934)
at acmevideo.infoswing.ViewRentalsForm.<init>(ViewRentalsForm.java:189)
at acmevideo.swing.CashierApp.<init>(CashierApp.java:45)
at acmevideo.swing.CashierApp.main(CashierApp.java:141)Make sure the classpath for the application includes all necessary dependency archives.
The error in question is referring to the XMLParverv2.jar. This needs to be in the application's classpath when you launch it.
The jar is available from JDEV_HOME\lib.
Laura -
Hello
I am getting java.lang.ClassCastException: oracle.xml.parser.v2.XMLText cannot be cast to org.w3c.dom.Element error. This code is in java which is present in java embedding.
The SOA is parsing the xml in java code using oracle.xml.parser.v2 . This wont be a problem if the SOA uses default w3c DOM parser. How do i force SOA to use w3c DOM parser.
Is there any thing i can do with class loading?
Kindly help.
Regards
SharatCan you paste your java code here ? I assume, you must have tried type-casting.
-
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
XSLException
Hi
I have downloaded XDK and was trying to use the XSU feature..
I unzipped the XDK file, I ran the following query on SQL plus
select * from emp. It displayed the full table.
Then i set the class path for XDK,XMLparserv2,oracle JDBC driver and then ran the same query on dos prompt(that is front end command line for java in my case).
The following is the line i tried to execute on the command prompt
java OracleXML getXML -user "scott/tiger" -conn "jdbc:oracle:thin:@localhost
:1521:PomonaT" "select * from emp"
PomonaT is the db name(Host string i use to enter SQL+)
I get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/
XSLException
at OracleXML.To_XML(OracleXML.java:1038)
at OracleXML.ExecuteGetXML(OracleXML.java:917)
at OracleXML.main(OracleXML.java:184)
IS SOMETHING MISSING IN MY CLASSPATH??
IF YES? Could anyone tell what??
KunalAdd xmlparserv2.jar to Classpath & reboot.
-
Hi Gurus,
Trying to pass an OAG XML 9.0 payload to a remote trading Partner, over an AS2 channel -- message is both Signed and Encrypted, Cert has been imported.
I get the B2B-50014: General Error.
B2B is able to identify the Agreement correctly.
LOGS:
[2011-05-12T12:27:03.292+00:00] [soa_ms_1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@243d15ed] [userId: <anonymous>] [ecid: bb3e7e8ee8316823:74cad781:12fc9c42815:-7ff5-0000000000172f4e,0] [APP: soa-infra] Error -: B2B-50014: General Error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException[[
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
... 8 more
java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Error -: B2B-50014: General Error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
... 8 more
Kindly advise.
Regards,
Sambhav.Hi Anuj,
Thanks, i disabled the agreement validation, ran the file through. It worked.
Also, tried to validate the XML instance with the XSD, and it threw no errors, so the payload conforms to the XSD, but will validate.
Other thing being, this is an OAG-XML PO, so had the XSD, not the Guideline file.
Regards,
Sambhav. -
Hi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
MudithaHi All,
Need expertise help to resolve the issue I am getting with Oracle Report builder.
I have installed and configured Oracle Forms and Reports Builder 11g on my Windows 7 & 64 bit machine.
Oracle Forms are working fine and I am getting an error while I am launching the Oracle Report Builder.
It says
The error is;
java.lang.NoClassDefFoundError:
oracle/xml/parser/v2/XMLParserException
once I close th eabove error window, then it says java.lang.NullPOinterException.
I have done all modifications to Middleware\as_1\bin rwbuilder.bat file as below
@echo off
@echo INFO: The Reports Builder is only supported on the Linux x86 and Windows x86 operating systems, for further information, please refer to the Release Notes ...
@echo Starting Reports 11g Builder...
setlocal
call C:\Oracle\Middleware\asinst_1\config\reports\bin\reports.bat
@echo on
start C:\Oracle\Middleware\as_1\bin\rwbuilder.exe %*
@echo off
endlocal
:end
@echo on
But report builder is not working. (Error comes when launching the Report Builder ).
Quick support is highly appreciated.
Thanks
Muditha -
Hello to all
I hope it is right forum for my question
I have found for error I get in Directprint this following:
When you migrate to the latest Forms version (10.1.2.3 or 11) and try using a JavaBean created with an older Forms version, you can get the following error, at runtime, in the Java Console:
Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet
The reason is you try to use a Java Bean compiled with an older Forms JAR file, like f90all.jar.
So, to correct the issue, you have to change the Java code then re-create the JAR file:
private Main formsMain = null;
Replace:
formsMain = (Main) handler.getApplet();
by:
// getting the Forms Main class
try{
Method method = handler.getClass()
.getMethod("getApplet", new Class[0]);
Object applet = method.invoke(handler, new Object[0]);
if (applet instanceof Main) {
formsMain = (Main)applet;
}catch(Exception ex) {;}
Then create and deploy the new JAR file to your /forms/Java folder.
My problem is
But I am very poor in java code, could you guide me to do what that article said, or pointing me where find instruction how do this following
So, to correct the issue, you have to change the Java code then re-create the JAR file:Can I create Jar Directprint.jar, with command
jar cf jar-file input-file(s)
C:\DevSuiteHome_1\jdk\bin\jar cvf DirectPrint.jar DirectPrint.java
Because when I open jdeveloper to associate (Creating JAR deployments using JDeveloper ) it got error (jdeveloper with debug
Thanks for any helpI hope it is right forum for my questionIt's not {noformat}:){noformat}
Try {forum:id=82}
Best,
john -
Hello, all.
I get this error message:
java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery
at oracle.xml.xsql.actions.XSQLQueryHandler.handleAction(Compiled Code) ...
when trying to view an xsql page with the jswdk 1.0.1 web server. (I have no problems when using Web-to-go)
Classpath includes:
C:\jdk1.1.8\lib\classes.zip;
C:\xsql\lib\oraclexsql.jar;
C:\xsql\lib\xmlparserv2.jar;
C:\xsql\lib\xsu111.jar;
C:\xsql\lib\classes111.zip;
C:\xsql\lib;
What could be the problem?
Mateja
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
Only thing I can think of is that maybe your server classpath is getting too long. I recall one of the Java Web Server releases having a classpath length limit that caused strange errors like this because that .jar files you thought were on your classpath were getting their path names truncated so the Java VM cannot find the JAR's.
Try putting xsu111.jar earlier in the list of JAR's and/or try shortening the classpath (perhaps by using SUBST'd drive letters or softlinks on Unix to shorten the path names).<HR></BLOCKQUOTE>
Putting the xsu11.jar file towards the start of the path did not help.
I have rewriten the entire bat file that creates the CLASSPATH and starts the server and things now seem to work. There must have been some error in the original bat file, that I just couldn't see.
Anyway - I thank you for your help.
null -
Hi,
Am trying to invoke BPEL1 from BPEL2 which are lying in different projects in the same application. When I try to invoke the webservice on the partnerlink side am getting the following error:
<messages>
<input>
<Invoke1_process_InputVariable>
<part name="payload">
<EmployeeData>
<Employee>
<EmployeeName>santosh</EmployeeName>
<EmployeeDept>12345</EmployeeDept>
</Employee>
</EmployeeData>
</part>
</Invoke1_process_InputVariable>
</input>
<fault>
<bpelFault>
<faultType>0</faultType>
<remoteFault>
<part name="summary">
<summary>java.lang.NoSuchMethodError: oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;</summary>
</part>
<part name="detail">
<detail>oracle.wsm.policy.model.IPolicySet.getStatus()Loracle/wsm/policy/model/IPolicySet$POLICYSET_STATUS;</detail>
</part>
</remoteFault>
</bpelFault>
</fault>
<faultType>
<message>0</message>
</faultType>
Can anyone please suggest a solution for this problem?Not an answer to your question but sharing your pain, I'm having a similar problem and getting the same error. I'm using soa suite 11.1.1.5 and one answer I've found was to upgrade to 11.1.1.6 which I can no longer find a download for.
-
I have recently upgraded from 10.1.3.1 to 10.1.3.3. The application uses form based authentication. The login worked fine in 10.1.3.1 but in the new version I get the following error when submitting the login details:
500 Internal Server Error
java.lang.NoSuchMethodError: oracle.adf.share.perf.StateTracker.isActive()Z
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:94)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
I have read various threads with similar errors which suggested copying new versions of adf-faces-impl.jar, jsf-impl.jar and adfshare.jar into the project lib directory. However, I have tried this after JDeveloper started and the project was upgraded and I still get the error. Do I need to make any project or file changes in addition to copying the new libraries ?
Thanks for any help
TrevorHi Trevor,
weird - there is another thread related to this issue:
Re: BUG 5930745
Did you use the JDeveloper 10.1.3.1 Production or Preview version (see http://blogs.oracle.com/Didier/2006/10/22#a114)
Regards,
Didier. -
Hi
thank you for erading my post
i have a jvaee application and i do not know why i am getting this error
can some one give me some lights ?
thanks
java.lang.NoSuchMethodError: oracle.adf.share.ADFContext.hasMDSSession()Z
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.metadataCommit(PageLifecycleImpl.java:473)
at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:286)
at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:33)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$2.after(ADFPhaseListener.java:378)
at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:94)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:211)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:231)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:200)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:170)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:106)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:619)Hi,
did you upgrade recently from JDeveloper 10.1.3.0 or 10.1.3.1 preview to 10.1.3.1 production? If yes, copy adf-faces-impl.jar from the JDeveloper_Home\jlib directory of JDeveloper 10.1.3.1 to the \public_html\WEB-INF\lib directory of teh view project. After this the problem should be solved
Frank -
Hi All,
I will integrate OIM 9.1.0.1 and ORM 10.1.4.1 and i have a porblem with the Recon Tasks of OIM. If I start the RoleManagerUserReconciliation_Full i get following error:
2009-01-26 17:28:38,187 ERROR [STDERR] java.lang.NoSuchMethodError: oracle.iam.rm.server_api.Server.search(Loracle/iam/rm/server_api/IdentityToken;Ljava/lang/String;Ljava/lang/String;Loracle/iam/rm/server_api/CriterionSet;Loracle/iam/rm/server_api/ColumnSet;J)Loracle/iam/rm/server_api/ServerPaginatedResultSet
The Server.class is located in the server_api_14.jar
Can sombody help me to solve this problem.
Thanks
ThomasHi Trevor,
weird - there is another thread related to this issue:
Re: BUG 5930745
Did you use the JDeveloper 10.1.3.1 Production or Preview version (see http://blogs.oracle.com/Didier/2006/10/22#a114)
Regards,
Didier. -
AMA Dialog throws Exception : java.lang.NoSuchMethodError
Hi,
I am trying to create my own Search Rules for the Application Migration Assistant v1.0, I am following the online tutorial. I am using JDev 10.1.2.0.0 ( Build 1811 ).
If I try to specify the New Search Rules File, the dialog throws this error :-
Exception occurred during event dispatching:
java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build(Ljava/io/
InputStream;Ljava/net/URL;)Ljava/lang/Object;
at oracle.mtg.sqllocator.addin.analyzer.RulesValidator._buildXMLSchema(U
nknown Source)
at oracle.mtg.sqllocator.addin.analyzer.RulesValidator.validateXML(Unkno
wn Source)
at oracle.mtg.sqllocator.addin.project.ui.EditSearchRulesFilePanel._comm
it(Unknown Source)
at oracle.mtg.sqllocator.addin.project.ui.EditSearchRulesFilePanel.acces
s$000(Unknown Source)
at oracle.mtg.sqllocator.addin.project.ui.EditSearchRulesFilePanel$1.vet
oableChange(Unknown Source)
at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSup
port.java:300)
at java.beans.VetoableChangeSupport.fireVetoableChange(VetoableChangeSup
port.java:217)
at oracle.bali.ewt.dialog.JEWTDialog.fireVetoableChange(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.dismissDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog$UIListener.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.mtg.sqllocator.addin.project.ui.EditSearchRulesFilePanel._modi
fySearchRulesFile(Unknown Source)
at oracle.mtg.sqllocator.addin.project.ui.EditSearchRulesFilePanel.creat
eCOMBean(Unknown Source)
at oracle.mtg.sqllocator.addin.project.ui.SearchRulesListPanel._newCOMBe
an(Unknown Source)
at oracle.mtg.sqllocator.addin.project.ui.SearchRulesListPanel$UIObserve
r.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
31)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:141)
at java.awt.Dialog$1.run(Dialog.java:540)
at java.awt.Dialog.show(Dialog.java:561)
at java.awt.Component.show(Component.java:1133)
at java.awt.Component.setVisible(Component.java:1088)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:276
at oracle.jdeveloper.model.JProjectSettingsPanel.showDialog(JProjectSett
ingsPanel.java:185)
at oracle.jdeveloper.model.JProjectSettingsPanel.showDialog(JProjectSett
ingsPanel.java:110)
at oracle.jdeveloper.model.JProjectSettingsPanel.showDialog(JProjectSett
ingsPanel.java:101)
at oracle.jdeveloper.model.JProjectStructureController.handleEvent(JProj
ectStructureController.java:342)
at oracle.ide.IdeAction.performAction(IdeAction.java:649)
at oracle.ide.IdeAction$1.run(IdeAction.java:857)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)I am not sure what other relevant information is necessary to debug this. I found the procedure really straightforward, but it's just this naggin error which is stopping me from completing my work.
Can you please help me with this ?
Regards,
SandeepHi Donal,
Thanks for your response. I found an archived version of JDeveloper v 9.0.4.1.1 ( Build 1436 ). However, AMA refuses to show up in this versiontoo.
I even tried to add AMA as an "External Tool" , by trying to invoke the class oracle.mtg.sqllocator.addin.SQLLocatorExtension that is listed in jdev-ext.xml. I even tried with oracle.mtg.sqllocator.addin.sqlnav.SqlNavigatorAddin, but it still doesn't work.
If I try to call one of the two classes directly, I get this error :-
java.io.IOException: CreateProcess: D:\JDev9.0.4\jdev\lib\ext\ama.jar!\oracle\mtg\sqllocator\addin\SQLLocatorExtension.class error=3
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Win32Process.java:66)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at oracle.ide.runner.Starter.start(Starter.java:195)
at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:524)
at oracle.ide.runner.RunProcess.start(RunProcess.java:477)
at oracle.ide.runner.SimpleProcess.exec(SimpleProcess.java:203)
at oracle.jdevimpl.toolmanager.Tool.invoke(Tool.java:355)
at oracle.jdevimpl.toolmanager.ToolManager.handleEvent(ToolManager.java:581)
at oracle.ide.IdeAction$1.run(IdeAction.java:634)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)We'll be soon engaged in a major effort to revamp a big Java Application & AMA will be of big help to us.
Regards,
Sandeep
Maybe you are looking for
-
Started a Itunes software update this morning which didn't work. Now Itunes will not open at all. I get the following message."The program can't state becasue MSVCR80.dll is missing from your computer."
-
Making a game with 3 layers of tiles; help
Hi guys, I am busy making a game which will have 3 layers of tiles. Firstly, the terrain, then the buildings and finally the player (sprite). I was thinking of using JLayeredPane to achieve this. But, I was also thinking of just drawing all the layer
-
Can't copy text from eBook on Adobe Digital Editions
I was able to copy and paste the text from my eBook, but now it's not working. Any suggestions?
-
For years I have been using CS3 on my 64 bit Windows 7 Service Pack 1 computer. I can no longer create PDFs and any thumbnailes I have only show up as the Adobe symbol on my desktop. I says "windows cannot print due to a problem with the current pr
-
Error in test server connection
when i do test to server connection i get all ok but i get fialed in timeten oracle. why?