Oracle.classloader.util.AnnotatedNoClassDefFoundError: Missing Class

I have j2ee web service consumer, when I run it in embeded oc4j env, I get -
oracle.classloader.util.AnnotatedNoClassDefFoundError:
     Missing class: com.krisco.webservice.node.SimpleUINode
     Dependent class: java.lang.reflect.Array
     Loader: jre.bootstrap
     Code-Source: unknown
     Configuration: jre bootstrap
     at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [C:/java/jdev10g_j2ee/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12]     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665) [C:/java/jdev10g_j2ee/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12]
This only happens when the called method returns an array of complex type.
Amazingly, it works fine with a j2se consumer with the same service (in the same jdev project!)
I don't understand, what I am missing here. Any help is appreciated.
Thanks in advance.

Eric,
I have already tried what you are suggesting, to the extent that I seperate the Proxy and j2eeConsumer into separate projects and made sure that WEB-INF/lib contains the Proxy.jar.
It fails only when the operation (method) returns an array of complex-type. It works fine with operations returning complex-types. The problem seems to be with de-serialization.
I think it is a bug in the IDE generated code. The entire J2EE consumer worked earlier, I think that after installing a few IDE-patches the trouble started.
Thanks,
Kris.

Similar Messages

  • Error oracle.classloader.util.AnnotatedNoClassDefFoundError when using fop?

    Hallo,
    i want to use fop in my project.
    Doing this i've got:
    XML-25017 ...
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: org.apache.fop.apps.Driver
    Dependent class: oracle.xml.xsql.serializerse.XSQLFOPSerializer
    Loader: adf.oracle.domain:10.1.3.1
    Code-Source: /opt/jdev101310/lib/xsqlserializers.jar
    Configuration: /home/asmus/jdevhome101310/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/server.xml
    The missing class is available from the following locations:
    /opt/jdev101310/fop-0.20.5/fop.jar
    I don't know to which place i must put the fop.jar that the system is finding it. I test some things but nothing works.
    Any help is appreciated.

    Hi Reiasmus,
    Have you added the fop.jar as a library to your project (JPR) - double-click the jpr, choose libraries....
    I've forgotten to to this in the past myself...
    John

  • Oracle.classloader.util.AnnotatedNoClassDefFoundError Web Service Proxy

    I have seen this issue being posted a couple of times, but I have not seen any solution yet...
    I created a dynamic web service proxy using JDeveloper's dynamic proxy generation feature. I got it to work in both j2se and j2ee. However, when I tried to migrate the code to jdev on a different machine, I got this error:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: com.raytheon.winsight.proxy.StructureListType
    Dependent class: java.lang.reflect.Array
    Loader: jre.bootstrap
    Code-Source: unknown
    Configuration: jre bootstrap
    And the weird thing is that it works when I run it as a j2se executable, but does not work when I try to run it in a servlet. Does anyone have any idea? Thanks!

    I believe so. I am running it in my jdev environment with its own jdk/jre.
    Another thing I have noticed is that in the jdev environment that is not working for me, every time I attempt to launch the ws proxy, I get the following error:
    "2007-05-31 09:43:01.406 WARNING Warning: cannot load wsm config file: com/raytheon/winsight/proxy/runtime/WSEnumSvcSoap_Stub.xml
    2007-05-31 09:43:02.516 WARNING Warning: cannot load wsm config file: com/raytheon/winsight/proxy/runtime/WSDataSvcSoap_Stub.xml"
    I looked into my original jdev project that is working in the j2ee environment, and could not locate those two xml files...

  • Oracle.classloader.util.AnnotatedNoClassDefFoundError issue

    I am trying to run iexpense homepage through my pc. For that I have moved the entiire AP folder from JAVA_TOP to myclasses and MDS folder from APPL_TOP/Ap
    to myprojects folder. After running through different problems which I have fixed I am stuck now. Getting following message. I just dont know what is wrong as everything seems correct to me. Any help will be greatly appreciated.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg=
         Missing class: oracle.apps.fun.comcomp.contactUs.webui.ContactUsUtility
         Dependent class: oracle.apps.ap.oie.framework.webui.OIEPageCO
         Loader: current-workspace-app.web.APPS_HTML:0.0.0
         Code-Source: /C:/OAF/jdevhome/jdev/myclasses/
         Configuration: <classpath> in C:\OAF\jdevhome\jdev\myhtml\OA_HTML
    The missing class is not available from any code-source or loader in the system.
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at OAErrorPage.jspService(_OAErrorPage.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)
         at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)
         at OA.jspService(_OA.java:115)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.apps.fun.comcomp.contactUs.webui.ContactUsUtility
         Dependent class: oracle.apps.ap.oie.framework.webui.OIEPageCO
         Loader: current-workspace-app.web.APPS_HTML:0.0.0
         Code-Source: /C:/OAF/jdevhome/jdev/myclasses/
         Configuration: <classpath> in C:\OAF\jdevhome\jdev\myhtml\OA_HTML
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [C:/OAF/jdevbin/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [C:/OAF/jdevbin/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@14916158]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [C:/OAF/jdevbin/j2ee/home/lib/pcl.jar (from system property                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    please check that the class file is there in myClasses folder in client
    oracle.apps.fun.comcomp.contactUs.webui.ContactUsUtility.
    Between, why do you want to run the files from client.. why can't you test it from the application only.
    Thanks,
    Gaurav

  • Oracle.classloader.util.AnnotatedNoClassDefFoundError

    I am trying to access my webservice from my application module and when i run it standalone it is running fine, but when i create data control out of it and use it from my jsp page it is throwing me this error.
    Any suggestion how to get rid of this.
    JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg= Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap

    I solved the problem by deleting the soft link myglobalclasses in the Workspace directory to myclasses directory .
    However not sure why this problem occurred

  • OracleAS 10.1.3 missing class error

    Hi
    When I deploy my ear file on a newly installed OracleAS 10.1.3 I get the following error. I used to deploy the same ear file on previous version of OracleAS 10.1.2 and it worked fine. Please let me know how to fix this problem.
    Thanks in advance.
    "oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: org.apache.log4j.Logger
         Dependent class: gov.faa.fast.UI.Controller
         Loader: CRUX.root:0.0.2
    Code-Source: /C:/Ora10GAS/j2ee/home/applications/CRUX/CRUX-ejb.jar
         Configuration: <ejb> in C:\Ora10GAS\j2ee\home\applications\CRUX
    The missing class is not available from any code-source or loader in the system.     at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [C:/Ora10GAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at oracle.classloader.PolicyClassLoader.internalLoadClass "

    Mustafa,
    This is just a suggestion. In OC4J stand-alone 10.1.3.0.0, you can still use the "applib" subdirectory. In other words, try removing the shared library you created, as well as any references to it in any of your deployment descriptors or OC4J configuration files and simply place all the required JARs in the "applib" subdirectory. Then undeploy your application completely -- in other words, delete all related files and directories and remove all references to it in the OC4J configuration files -- and deploy it again.
    Good Luck,
    Avi.

  • @Entity annotation bring oracle.classloader.util.AnnotatedNoClassDefFoundEr

    Hi,
    I try to deploy an app with spring3+JPA2(hibernate3.5) on a 10.1.3.3 OC4J server.
    As soon as i ass a class with @javax.persistence.Entity annotation deployment fail with:
    oracle.classloader.util.AnnotatedNoClassDefFoundError : missing class WEB-INF.classes.my.package.MyClass (wrong name my.package.MyClass)
    where my.package.MyClass is the class with @Entity.
    How can i deploy such an application?
    Is there a way to shutdown oracle annotation parsing on OC4J?
    Thanks

    I have a same trouble.
    How do you solved this problem...
    please help me..
    Message was edited by:
    kim57uak

  • Oracle.classloader.util.AnnotatedClassNotFoundException

    I have an application built that runs great with the embedded OC4J in JDeveloper but when I deploy it to a stand alone OC4J the server startup cannot see any of my EJBs. I get the following error for every EJB class:
    2007-06-22 10:12:05.144 WARNING oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.emulex.interop.ejb.InteropSessionFacadeLocal
    Dependent class: oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor
    Loader: oracle.persistence:1.0
    Code-Source: /C:/OracleAS/toplink/jlib/toplink-essentials.jar
    Configuration: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
    This load was initiated at InteropApplication.root:0.0.1 using the loadClass() method.
    I have researched this error, found several references to this exception, but I still cannot find a real solution to my issue. What puzzles me is that it works fine embedded in JDeveloper, but not in stand alone server deployed from JDeveloper. The versions I am using for both are 10.1.3.2.
    Thanks for your help,
    Mike

    Hi Steve,
    I have emailed my ear file to you. Just for information for this posting, here are my persistence.xml and application.xml entries:
    <b>persistence.xml</b>
    <?xml version="1.0" encoding="windows-1252" ?>
    <persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
        <persistence-unit name="Model"/>
    </persistence>
    <b>application.xml</b>
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
        <display-name>InteropApplication</display-name>
            <module>
                <web>
                    <web-uri>ViewArchive.war</web-uri>
                    <context-root>Interop</context-root>
                </web>
            </module>
    </application>

  • Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:

    Hi - I get following error while Invoking EJB; could someone please guide here?
    I'm running OAS 10.1.3
    oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.profitlogic.businessrulemgr.facade.BusinessRuleMgrFacadeHome
         Dependent class: oracle.oc4j.rmi.ServerRmiMethodCache
         Loader: oc4j:10.1.3
         Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar
    This load was initiated at c4p.root:0.0.0 using the Class.forName() method.
    The missing class is available from the following locations:
         1. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         2. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar (from <ejb> in C:\product\10.1.3\OracleAS_1\j2ee\home\applications\BusinessRuleMgr)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         3. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/lib/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/p4pgui/)
         This code-source is available in loader price.web.p4pgui:0.0.0.
    ; nested exception is:
         oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: com.profitlogic.businessrulemgr.facade.BusinessRuleMgrFacadeHome
         Dependent class: oracle.oc4j.rmi.ServerRmiMethodCache
         Loader: oc4j:10.1.3
         Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar
    This load was initiated at c4p.root:0.0.0 using the Class.forName() method.
    The missing class is available from the following locations:
         1. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         2. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/BusinessRuleMgr/businessrulemgr.jar (from <ejb> in C:\product\10.1.3\OracleAS_1\j2ee\home\applications\BusinessRuleMgr)
         This code-source is available in loader BusinessRuleMgr.root:0.0.0.
         3. Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/lib/businessrulemgr_intf.jar (from manifest of /C:/product/10.1.3/OracleAS_1/j2ee/home/applications/price/p4pgui/)
         This code-source is available in loader price.web.p4pgui:0.0.0.

    The JDeveloper 11 preview does not currently support deployment to OAS 10.1.3.
    Regards,
    Ric

  • Oracle.classloader.util.AnnotatedLinkageError Exception

    I am having the following error when we deployed the application on Oracle Application Server 10.1.3 on AIX.
    It works Ok on my local OC4J and I can run off my JDeveloper also. Please help me. I am in big trouble. Thanks a lot.
    Exception:
    oracle.classloader.util.AnnotatedLinkageError: (_usermangement/_SecUserProfile_jspx) jsr inlining encountered too many jsrs in method 1 (_jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) at pc=65535
    Invalid class: usermangement.SecUserProfile_jspx
    Loader: MYAPP.web.MYAPPVIEW.jsp1866886982:0.0.0
    Code-Source: /asw/oracle/OracleAS_1/j2ee/emarsdev/application-deployments/MYAPP/MYAPPVIEW/persistence/_pages/
    Configuration: *.jsp in /asw/oracle/OracleAS_1/j2ee/emarsdev/application-deployments/MYAPP/MYAPPVIEW/persistence/_pages
    Dependent class: oracle.jsp.runtimev2.JspPageInfo
    Loader: oc4j:10.1.3
    Code-Source: /asw/oracle/OracleAS_1/j2ee/home/lib/ojsp.jar
    Configuration: <code-source> in META-INF/boot.xml in /asw/oracle/OracleAS_1/j2ee/home/oc4j.jar

    Can you try out creating a client for your EJB by right clicking the EJB in the application navigator and choosing the option to create a sample client.
    Then see if running that client works better and compare the code that was generated to yours.

  • Error Missing class: oracle.xdb.XMLType with xdb.jar in JDeveloper 10.1.3

    I am using JDeveloper 10.1.3 and get the following error when executing the web service proxy with my call to the web service( this web service is using class OracleXMLSave with method insertXML):
    I have included the xdb.jar in my project properties libraries of the web service project and added a file group with xdb.jar to the properties of the webservices.deploy. What else needs to be done? This worked in JDeveloper 10.1.2.
    THE ERROR after running proxy in log window:
    java.rmi.ServerException:
    start fault message:
    caught exception while handling request: caught exception while handling request: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.xdb.XMLType
         Dependent class: dbdata2package.DBDataOperations
         Loader: DBData2WSApp-DBData2Operations-WS.web.WebServices:0.0.0
         Code-Source: /D:/h/cots/Oracle/JDeveloper10g10.1.3/j2ee/home/applications/DBData2WSApp-DBData2Operations-WS/WebServices/WEB-INF/classes/
         Configuration: WEB-INF/classes/ in D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBData2WSApp-DBData2Operations-WS\WebServices\WEB-INF\classes
    The missing class is available from the following locations:
         1. Code-Source: /D:/h/cots/Oracle/JDeveloper10g10.1.3/j2ee/home/applications/DBDataWSApp-webservice-WS/WebServices/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBDataWSApp-webservice-WS\WebServices\WEB-INF\lib)
         This code-source is available in loader DBDataWSApp-webservice-WS.web.WebServices:0.0.0.
         2. Code-Source: /D:/h/cots/Oracle/JDeveloper10g10.1.3/j2ee/home/applications/DBDataWSApp-DBDataOperations-WS/WebServices/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in D:\h\cots\Oracle\JDeveloper10g10.1.3\j2ee\home\applications\DBDataWSApp-DBDataOperations-WS\WebServices\WEB-INF\lib)
         This code-source is available in loader DBDataWSApp-DBDataOperations-WS.web.WebServices:0.0.0.
    :end fault message
         at oracle.j2ee.ws.client.StreamingSender._raiseFault(StreamingSender.java:545)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:390)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
         at dbdata2packageproxy.runtime.DBData2WSSoapHttp_Stub.insertData(DBData2WSSoapHttp_Stub.java:80)
         at dbdata2package.DBData2WSSoapHttpPortClient.insertData(DBData2WSSoapHttpPortClient.java:54)
         at dbdata2package.DBData2WSSoapHttpPortClient.main(DBData2WSSoapHttpPortClient.java:34)
    Process exited with exit code 0.

    Hi,
    actually you increment the index
    pstmt.setString(++idx,inrecord.getCommentID());
    which means you never have an index of 0 but always start with 1
    Frank

  • XSQL Error. Missing class: oracle.xdb.XMLType XML

    I am using OC4J and XSQL to publish information and most of the normal stuff runs fine. When I try to run the following query, I get errors. I copied the following example from XML developer's kit manual and work fine in SQL*Plus.
    =============================
    <?xml version="1.0"?>
    <xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql">
    select XmlElement("DepartmentList",
    XmlAgg(
    XmlElement("Department",
    XmlAttributes(deptno as "Id"),
    XmlForest(dname as "Name"),
    (select XmlElement("Employees",
    XmlAgg(
    XmlElement("Employee",
    XmlAttributes(empno as "Id"),
    XmlForest(ename as "Name",
    sal as "Salary",
    job as "Job")
    from emp e
    where e.deptno = d.deptno
    ) as result
    from dept d
    order by dname
    </xsql:query>
    ====================
    Following is the header portion of the errors shown.
    XML-25017: Unexpected Error Occurred
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.xdb.XMLType
    Dependent class: oracle.xml.sql.core.OracleXMLConvert
    Loader: oracle.xml:10.1.0_2
    Code-Source: /C:/oracle/oc4j_1013/lib/xsu12.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oracle\oc4j_1013\j2ee\home\oc4j.jar
    The missing class is available from the following locations:
    1. Code-Source: /C:/oracle/oc4j_1013/j2ee/home/applications/xsql/xsql/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in C:\oracle\oc4j_1013\j2ee\home\applications\xsql\xsql\WEB-INF\lib)
    This code-source is available in loader xsql.web.xsql:0.0.0.
    I tried to search several forums but was unable to find any solution to resolve this issue. Any help is appreciated.
    Thanks,

    I am using OC4J and XSQL to publish information and most of the normal stuff runs fine. When I try to run the following query, I get errors. I copied the following example from XML developer's kit manual and work fine in SQL*Plus.
    =============================
    <?xml version="1.0"?>
    <xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql">
    select XmlElement("DepartmentList",
    XmlAgg(
    XmlElement("Department",
    XmlAttributes(deptno as "Id"),
    XmlForest(dname as "Name"),
    (select XmlElement("Employees",
    XmlAgg(
    XmlElement("Employee",
    XmlAttributes(empno as "Id"),
    XmlForest(ename as "Name",
    sal as "Salary",
    job as "Job")
    from emp e
    where e.deptno = d.deptno
    ) as result
    from dept d
    order by dname
    </xsql:query>
    ====================
    Following is the header portion of the errors shown.
    XML-25017: Unexpected Error Occurred
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.xdb.XMLType
    Dependent class: oracle.xml.sql.core.OracleXMLConvert
    Loader: oracle.xml:10.1.0_2
    Code-Source: /C:/oracle/oc4j_1013/lib/xsu12.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oracle\oc4j_1013\j2ee\home\oc4j.jar
    The missing class is available from the following locations:
    1. Code-Source: /C:/oracle/oc4j_1013/j2ee/home/applications/xsql/xsql/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in C:\oracle\oc4j_1013\j2ee\home\applications\xsql\xsql\WEB-INF\lib)
    This code-source is available in loader xsql.web.xsql:0.0.0.
    I tried to search several forums but was unable to find any solution to resolve this issue. Any help is appreciated.
    Thanks,

  • Missing class: oracle.adf.view.faces.webapp.AdfFacesFilterHelper

    I downloaded Steve's sample application "14. Dynamic JDBC Credentials for Model 1 and Model 2 [10.1.3.2] 2006, Upd: 30-MAR-2007 "
    I tried to run it, but got an error as like below.
    I'm using Jdeveloper 10.1.3.1.
    Can anybody help me?
    ------------------< my error >-----------------------------------------------------------------------------
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.adf.view.faces.webapp.AdfFacesFilterHelper
    Dependent class: oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl
    Loader: current-workspace-app.web.DynamicCredentialsJSF:0.0.0
    Do I need somthing for this application?
    Please help again.
    Message was edited by:
    sdcsdc

    I have the same problem when trying to run a project created in 10.1.3.2 with 10.1.3.1
    I guess it's not downward compatible. It might seem silly trying to do this, but after testing I found that I can work around a bug in 10.1.3.1, something that doesn't work (anymore) in 10.1.3.2....
    I don't know yet how to fix it....
    [Update:] I created a new Application in 10.1.3.1 (BC and JSF in my case) en copied the jar files I got in the WEB-INF/lib into the app I made in 10.1.3.2. and voila, problem solved.
    Message was edited by:
    Wendy Tromp

  • Deployment error - Missing class: javax.servlet.jsp.jstl.core.Config

    Hi,
    We are using JDeveloper 10.1.3.0.4(SU5) on windows for development of ADF application. We need to deploy the developed application onto Oracle Application Server 10g (10.1.3) which is running on Solaris. We are using BC4J, WAR and EAR deployment profiles in jdeveloper to create the .war and .ear files.
    If I deploy the generated ear on a standalone OC4J server install on my windows PC, it works fine.
    Now when I deploy the generated .ear file onto the Oracle Application Server 10.1.3 through Application Server Control interface and then try to access the jspx pages under our application we are getting following error:
    oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: javax.servlet.jsp.jstl.core.Config     Dependent class: com.sun.faces.application.ViewHandlerImpl     Loader: accaweb.web.accaweb:0.0.0     Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/jsf-impl.jar     Configuration: WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/libThe missing class is available from the following locations:     1. Code-Source: /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar (from WEB-INF/lib/ directory in /oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib)      This code-source is available in loader default.web.defaultWebApp:0.0.0.      at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [oracle/app/oracle/product/10gas3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
    I have confirmed that the .war file inside the .ear file does contain the jstl.jar file under WEB-INF/lib folder. And the jar file does contain the class 'javax.servlet.jsp.jstl.core.Config'
    As a workaround, I found that if I copy the jstl.jar file from default-web-app to my application web-inf/lib folder, things start to work fine. ie copy from: '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar'
    to: '/oracle/app/oracle/product/10gas3/j2ee/home/applications/accaweb/accaweb/WEB-INF/lib/'
    – or –
    Another workaround is to add the '/oracle/app/oracle/product/10gas3/j2ee/home/default-web-app/WEB-INF/lib/jstl.jar' file in the classpath for my web application through Application Server Control setting page.
    Now both of these workaround needs us to perform additional post deployment steps which should really not be required since the jar files is included in the project.
    Has anyone faced this issue? Any pointers in this respect will be a great help.
    regards - rutwik

    Surprise Surprise !
    I just tried deploying the file via uploading it from the Application Server Control UI and it worked fine.
    Till now, I was ftp'ing the ear file from my PC to the server on which Oracle AS is running and was telling Application Server Control to pick form that uploaded location.
    I am still not clear on why it works with HTTP upload and not via the FTP upload?
    cheers - rutwik

  • Oracle AppsAdaptor causing Missing class error

    Hi
    Can any one help with the error we are encountering below. We have a production process that uses an Oracle Apps adaptor to call one of the supplied Oracle API's to insert data into the fnd_flex_values table from a BPEL process. Originally the adaptor was working but recently it stopped working when inserting records causing the errors below.
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>file:/nas/orasoft/delta/product/10.1.3/soaas/bpel/domains/default/tmp/.bpel_InsertProjectCodesOracle_1.4_6f5863e8891810138c841b2d8fbe166b.tmp/InsertFlexValues.wsdl [ InsertFlexValues_ptt::InsertFlexValues(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'InsertFlexValues' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec due to:
    Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
    Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
    Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
    This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.; nested exception is:
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
    Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
    Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
    This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.; nested exception is:
    org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec due to:
    Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
    Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
    Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
    This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.; nested exception is:
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
    Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
    Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
    This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.</summary>
    </part><part name="detail"><detail>org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec due to:
    Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
    Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
    Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
    This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.; nested exception is:
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: oracle.tip.adapter.soa_erp.AppsStoredProcedureInteractionSpec
    Dependent class: oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA
    Loader: oracle.bpel.common:10.1.3
    Code-Source: /nas/orasoft/delta/product/10.1.3/soaas/bpel/lib/orabpel.jar
    Configuration: <code-source> in /nas/orasoft/delta/product/10.1.3/soaas/j2ee/oc4j_soa/config/server.xml
    This load was initiated at orabpel.root:0.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.</detail>
    </part></bindingFault>

    Hi,
    This issue occurs if any tag is missing in one of the following files
    oc4-ra.xml
    application.xml
    server.xml
    check manually in oc4j-ra.xml and server.xml if any tags are missing particularly <connector-factory> tag
    %ORACLE_HOME%\j2ee\oc4j_soa\application-deployments\default\ AppsAdapter\oc4j-ra.xml if any tag is missing.
    once modified restart oc4j server and test
    Regards,
    Deepa

Maybe you are looking for

  • Media Smart touch (tx1005au) function not working after upgrading to windows 7

    I have successfully upgarded my tx1005au vista OS to Windows 7. It seems others things are allright but when i tried to use Media Smart fingure touch to rotate pictures it didnt work however my fingure touch was fine for opeing and closing functions.

  • How do you paste frames that were created in a symbol into the main animation's timeline??

    Hi I've accidently created an entire short flash animation inside a symbol! I've selected all the frames inside this symbol and copied them into a new animation. When I paste these frames, Flash pastes the animation OUTSIDE the boundaries of the stag

  • F-55 Statistical posting

    hello gurus,                 can anyone suggest me what is the useul of t.code f-55 statistical posting . regards santhoshkalva

  • IAS 10.1.2.0.2 on WIN2000 SP4

    In installing ias 10.1.2.0.2 infrastr. : Single sign-on Configuration Assistant failed . Where to look for errors ?

  • Very, very slow performance

    Lightroom's performance on my computer has become, at times, intolerably slow.  After rebooting my iMac and not opening any other programs or browsers, it just took about eight minutes to import 23 files, and a few more minutes to build 1:1 previews.