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

Similar Messages

  • 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

    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

  • 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.

  • 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.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

  • @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>

  • 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.

  • Weblogic.utils.NestedRuntimeException when using javax.servlet.Filter

    IDE: JDev 10gR3.4 & JDev 11gR2.3
    ViewController technology: JSF/ADF Faces
    Example code flow:
    Run page2.jsf
    MyFilter intercepts request, checks for parameter on session.
    If parameter not null, goto page2.jsf
    Else redirect to page1.jsf
    page1.jsf has a button that sets the value on the session scope after clicking.
    In jdev 11gR2.3, I get an weblogic.utils.NestedRuntimeException after clicking the button on page1.jsf. This error does not occur in jdev 10gR3.5. Although the application continues to execute and proper info is displayed, I’m wondering why this occurs and also if I should be concerned. Has anyone experienced a similar issue when using javax.servlet.Filter in 11g?
    MyFilter code snipet:
        public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) {
            try {
                HttpServletRequest httpRequest = (HttpServletRequest)servletRequest;
                HttpServletResponse httpResponse = (HttpServletResponse)servletResponse;
                String redirect = httpRequest.getContextPath() + "/faces/page1.jsf"; //only difference here is 11g uses jsf, 10g uses jsp.
                String uri = httpRequest.getRequestURI().toString();
                Boolean mySessionAttribute = (Boolean)httpRequest.getSession().getAttribute("MYSESSIONATTRIBUTE");
                if (uri.endsWith(redirect) || mySessionAttribute != null) {
                    filterChain.doFilter(servletRequest, servletResponse);
                } else {
                    httpResponse.sendRedirect(redirect);
                    return;
            } catch (IOException e) {
                e.printStackTrace();
            } catch (ServletException e) {
                e.printStackTrace();
    page1.jsf/jsp
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html">
        <h:form id="f1">
            <h:commandButton value="Submit" id="cb1" action="#{Page1Bean.clicked}" type="submit"/>
        </h:form>
    </f:view>page2.jsf/jsp
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="main.jsf" id="d1">
            <af:form id="f1">
                <af:outputText value="This is the main content" id="ot1"/>
            </af:form>
        </af:document>
    </f:view>Page1Bean.java
    public class Page1Bean {
        public void clicked() {       
            FacesContext context = FacesContext.getCurrentInstance();
            ExternalContext externalContext = context.getExternalContext();
            externalContext.getSessionMap().put("MYSESSIONATTRIBUTE", Boolean.TRUE);
            try {
                externalContext.redirect("/11gFilterExample-ViewController-context-root/faces/page2.jsf");
            } catch (IOException e) {
                    e.printStackTrace();
    }Full exception
    weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/11gFilterExample-ViewController-context-root/faces/page1.jsf'
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2144)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2024)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1918)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getParameter(ServletRequestImpl.java:1995)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access$800(ServletRequestImpl.java:1817)
         at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:804)
         at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
         at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:43)
         at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:31)
         at org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAttributeMap.java:73)
         at oracle.adfinternal.controller.state.ControllerState.getRootViewPortFromRequest(ControllerState.java:788)
         at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:185)
         at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79)
         at oracle.adfinternal.controller.application.AdfcConfigurator.beginRequest(AdfcConfigurator.java:53)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)
         at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(SocketInputStream.java:168)
         at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:177)
         at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:228)
         at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2118)
         ... 39 more
    <UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled

    I dont believe that solution pertains to my case. clicked() is invoked from standard jsf page and the adf controller is not acquired yet. i put a couple of print statements in the filter and it seems that the doFilter is called twice! This is not the case when running in 10g.
                if (uri.endsWith(redirect) || mySessionAttribute != null) {
                    System.out.println("URI dofilter: "+uri);
                    filterChain.doFilter(servletRequest, servletResponse);
                } else {
                    System.out.println("URI sendRedirect: "+uri);
                    httpResponse.sendRedirect(redirect);              
                }11g weblogic console log:
    URI sendRedirect: /11gFilterExample-ViewController-context-root/faces/page2
    URI dofilter: /11gFilterExample-ViewController-context-root/faces/page1.jsf
    URI dofilter: /11gFilterExample-ViewController-context-root/faces/page1.jsf
    10g oc4j console log:
    13/01/07 15:48:13 URI sendRedirect: /10gFilterExample-ViewController-context-root/faces/page2.jsp
    13/01/07 15:48:13 URI dofilter: /10gFilterExample-ViewController-context-root/faces/page1.jsp
    I believe whatever thats causing this occur could be why the exception is thrown...

  • Error in begining a session when using UTF16 mode in OCIEnvNlsCtreate

    I wrote this code :
    OCIEnv* envhp;
    OCIError* errhp;
    OCIServer* srvhp;
    OCISvcCtx* svchp;
    OCISession* usrhp;
    envhp = (OCIEnv *) 0;
    errhp = (OCIError *) 0;
    srvhp = (OCIServer *) 0;
    svchp = (OCISvcCtx *) 0;
    usrhp = (OCISession *) 0;
    int mode = OCI_DEFAULT;
    char* dblink=/* DBLINK */;
         sword status;
    OCIEnvNlsCreate ( &envhp, (ub4) mode, (dvoid *)0,(dvoid*(*)(dvoid ctxp, size_t size))0,(dvoid(*)(dvoid ctxp, dvoid memptr, size_t newsize))0,(dvoid (*)(dvoid ctxp, dvoid memptr))0,(size_t)0, (void **)0, (ub2)OCI_UTF16ID, (ub2)OCI_UTF16ID);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&errhp, (ub4)OCI_HTYPE_ERROR,(size_t)0, (dvoid**)0);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&srvhp, (ub4)OCI_HTYPE_SERVER,(size_t)0, (dvoid**)0);
    status = OCIServerAttach(srvhp, errhp, (text*)dblink,(sb4)strlen(dblink), (ub4)OCI_DEFAULT);
    if (status != OCI_SUCCESS)
    return 0;
    char username = /username*/;
    char password = /password*/;
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&svchp, (ub4)OCI_HTYPE_SVCCTX,(size_t)0, (dvoid**)0);
    OCIAttrSet((dvoid*)svchp, (ub4)OCI_HTYPE_SVCCTX, (dvoid*)srvhp, (ub4)0,(ub4)OCI_ATTR_SERVER, errhp);
    OCIHandleAlloc((dvoid*)envhp, (dvoid**)&usrhp, (ub4)OCI_HTYPE_SESSION,(size_t)0, (dvoid**)0);
    OCIAttrSet((dvoid*)usrhp, (ub4)OCI_HTYPE_SESSION, (dvoid*)username,(ub4)strlen(username), (ub4)OCI_ATTR_USERNAME, errhp);
    OCIAttrSet((dvoid*)usrhp, (ub4)OCI_HTYPE_SESSION, (dvoid*)password,(ub4)strlen(password), (ub4)OCI_ATTR_PASSWORD, errhp);
    status = OCISessionBegin(svchp, errhp, usrhp, OCI_CRED_RDBMS, (ub4)OCI_DEFAULT);
    When I use OCI_UTF16ID in OCIEnvNlsCreate it gives me an error in OCISessionBegin. But when I use 871(utf8) instead it works properly. Why does this happen? How can I work whit OCI_UTF16ID?

    Re: OCIObjectSetAttr() and UTF16 environnement might be of interest, even though it's a little different. Still relates to UTF16 though. --DD                                                                                                                                                                                                                                                                                                                                           

  • Error in Acrobat 9.0 when using png prediction for flatedecode filter

    Hi,
    I am creating a PDF using png prdiction and Acrobat 9.0 shows the following error: "insufficient data for an image". The same PDF doesn't show error when using Acrobat 7.0 or any other application to view it. A typical code is as following:
    "10 0 obj <</Length 7100038/Filter FlateDecode/DecodeParms<</BitsPerComponenet 8/Colors 4/columns 1103/Rows 1000/Predictor 15>>....etc."
    Does anyone have idea what can be the problem & how can I solve it???
    Thanks
    Ilana Keydar

    Attached is another PDF which I have added png prediction to the flatedecode
    filter of the images in order to get better compression. This file can't be
    open at all using Acrobat 9.0, but can be viewed using other PDF tools.
    I have also uploaded another PDF to the forum.
    I hope you can help me
    Ilana

  • QueryError "It is error for context item undefined when using[err:XPDY0002]

    Hi,
    I a beginner for DB XML with python, below is my script and i have error
    "def next(*args): return _dbxml.XmlResults_next(*args)
    RuntimeError: Error: It is an error for the context item to be undefined when using it [err:XPDY0002], <query>:1:12" when i executed my scripts. Pls advice. Thank you.
    import sys
    from dbxml import *
    from bsddb3.db import *
    class DbXml:
    def createEnvironment(self, home):
    """ Create DBEnv and initialize XmlManager"""
    try:
    environment = DBEnv()
    environment.open(home, DB_RECOVER|DB_CREATE|DB_INIT_LOCK|
    DB_INIT_LOG|DB_INIT_MPOOL|DB_INIT_TXN, 0)
    except DBError, exc:
    print exc
    sys.exit()
    try:
    mgr = XmlManager(environment, 0)
    except XmlException, se:
    print se
    sys.exit()
    return mgr
    def closeEnvironment(self):
    """ Close DBEnv environment"""
    environment = DBEnv()
    environment.close()
    def createContainer(self, mgr, containerName):
    """ Create/open a node container"""
    if mgr.existsContainer(containerName) != 0:
    mgr.removeContainer(containerName)
    try:
    return mgr.createContainer(containerName,
    DBXML_TRANSACTIONAL|DBXML_ALLOW_VALIDATION,
    XmlContainer.NodeContainer)
    except XmlException, ex:
    print ex
    sys.exit()
    def putDocument(self, mgr, cont, file, DocName):
    """ put xml document in database"""
    self.docName = DocName
    f = open(file)
    q = f.read()
    f.close()
    try:
    # all Container modification operations need XmlUpdateContext
    uc = mgr.createUpdateContext()
    txn = mgr.createTransaction()
    try:
    docName = cont.putDocument(txn, self.docName,
    q, uc) #, DBXML_GEN_NAME)
    txn.commit()
    except XmlException, ex:
    print ex
    txn.abort()
    txn = mgr.createTransaction()
    doc = cont.getDocument(txn, self.docName)
    name = doc.getName()
    docContent = doc.getContentAsString()
    txn.commit()
    print "Document name: ",name,"\nContent: ",docContent
    except XmlException, inst:
    print inst
    if txn:
    txn.abort()
    def query(self, mgr, cont, queries):
    """ Query"""
    myQuery = r"collection(" + cont + ")" + "/" + queries
    myContainer = mgr.openContainer(cont)
    qContext = mgr.createQueryContext()
    qContext.setEvaluationType(XmlQueryContext.Lazy)
    results = mgr.query(myQuery, qContext)
    for value in results:
    document = value.asDocument()
    name = document.getName()
    content = value.asString()
    print name, ":", content
    if __name__ == "__main__":
    dbxml = DbXml()
    mgr = dbxml.createEnvironment(".")
    cont = dbxml.createContainer(mgr, "test.dbxml")
    dbxml.putDocument(mgr, cont, "C:\Documents and Settings\uidc0998\Desktop\\books.xml", "books.xml")
    dbxml.query(mgr, "test.dbxml", "bookstore/book/title")
    dbxml.closeEnvironment()
    Edited by: user10951778 on Mar 31, 2009 5:47 PM

    Hi rucong.zhao,
    Below is my xml, may i know what type of namespace or what i should put for namespace? Thank you.
    <bookstore>
    <book category="COOKING">
    <title lang="en">Everyday Italian</title>
    <author>Giada De Laurentiis</author>
    <year>2005</year>
    <price>30.00</price>
    </book>
    <book category="CHILDREN">
    <title lang="en">Harry Potter</title>
    <author>J K. Rowling</author>
    <year>2005</year>
    <price>29.99</price>
    </book>
    <book category="WEB">
    <title lang="en">XQuery Kick Start</title>
    <author>James McGovern</author>
    <author>Per Bothner</author>
    <author>Kurt Cagle</author>
    <author>James Linn</author>
    <author>Vaidyanathan Nagarajan</author>
    <year>2003</year>
    <price>49.99</price>
    </book>
    <book category="WEB">
    <title lang="en">Learning XML</title>
    <author>Erik T. Ray</author>
    <year>2003</year>
    <price>39.95</price>
    </book>
    </bookstore>

  • "Server Busy" error in Crystal Reports XI when using date picker

    Hi,
    I have come across an issue whereby I get a error pop up when using the date picker to select a date parameter as I run a report from within Crystal Report XI on a particular PC. While I am able to type in the date using the yyyy-mm-dd format, selecting the date picker displays an error message titled "Server Error" stating that the program is not responding and giving options "Switch To" and "Retry". Selecting either button displays the same error message and need to kill the application from the Task Manager to restart.
    I have run the same report from other PCs (including using the date picker to pick a date parameter) without the error popping up. All of the PCs have the same version of the application.
    Has anyone come across this and how were you able to resolve it?

    yes test is a formula that i used to calculate a difference
    that should work, but i would put () around the
    (if(remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)>0 and
    remainder(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}),1)<1) then
    truncate(({ztrptActVol.CPT}*{tlkpBblMileage.CPT}))+1
    else ({ztrptActVol.CPT}*{tlkpBblMileage.CPT})
    rounding in crystal is a pain in the &&

  • Oracle.xml.sql.OracleXMLSQLException when using OracleXMLQuery getXMLDOM()

    Hi!
    I am trying to reuse a code in JDeveloper to get XML from a query. I have copied the code from a method and created a new method with the copied code and changed it. The problem is that when I run the old code I now get following error:
    Ett oförväntat fel har inträffat: Application: FND, Message Name: FND_GENERIC_MESSAGE.
    Tokens: MESSAGE = oracle.xml.sql.OracleXMLSQLException: Det här objektet har stängts.
    Vill du inte att objektet ska stängas automatiskt mellan anropen kan du granska metoden 'keepObjectOpen()'.;
    This means in english something like:
    An unexpected error accoured: Application: FND, Message Name: FND_GENERIC_MESSAGE = oracle.xml.sql.OracleXMLSQLException: This object is closed. If you don't want the object to close automatically between calls you can check method 'keepObjectOpen()';
    the code I'm running is:
    public String punchoutSomething()
    throws Exception
    StringBuffer sqlForXml =new StringBuffer("select pv.*"
    +", cursor(select * from XXPOS_PUNCHOUT_TABLE2 c where c.vendor_id=pv.vendor_id) as contacts"
    +" from XXPOS_PUNCHOUT_TABLE1 pv where vendor_id in (");
    // add all ids
    SuppSummVOImpl vendorView = getSuppSummVO();
    Row row;
    int punchoutCnt=0;
    // vendorView.reset();
    Row[] selectedRows = vendorView.getFilteredRows("SelectStatus","Y");
    for(int i=0;i<selectedRows.length;i++)
    if(punchoutCnt>0)
    sqlForXml.append(",");
    sqlForXml.append(((Number)selectedRows.getAttribute("VendorId")).toString());
    punchoutCnt++;
    if(punchoutCnt==0)
    sqlForXml.append("-1"); // make sql valid, will not return rows
    sqlForXml.append(")");
    // System.out.println(sqlForXml); // DEBUG
    OADBTransaction tx = (OADBTransaction)getOADBTransaction();
    OracleXMLQuery xq = new OracleXMLQuery( tx.getJdbcConnection()
    , sqlForXml.toString()
    xq.setRaiseException(true); // in case of error raise an exception (default
    // is to generate an error document
    xq.setEncoding("UTF-8"); // not necessary?
    xq.useLowerCaseTagNames();
    xq.setRowsetTag("vendors");
    xq.setRowTag("vendors_row");
    //System.out.println(xq.getXMLString()); // DEBUG
    XMLDocument suppl = (XMLDocument)xq.getXMLDOM();
    XSLProcessor xslt = new XSLProcessor();
    InputStream sheetStream = this.getClass().getResourceAsStream("mystylesheet.xsl");
    if(sheetStream==null)
    throw new Exception("Could not load stylesheet");
    XSLStylesheet sheet = xslt.newXSLStylesheet(
    sheetStream
    StringWriter serialize = new StringWriter();
    xslt.processXSL(sheet,suppl,new PrintWriter(serialize));
    String returnXML = serialize.getBuffer().toString();
    // System.out.println("X:"+returnXML); // DEBUG
    sheetStream.close();
    return returnXML;
    ===================
    i've copied the same code into another method and only changed the sql-statment to be used and the stylesheet to use to transform the xml. Is something wrong with that?
    Another question: if the xsl refers to a xsd but wihtout any path where should it be?
    Thanks for the help,
    Patricia

    Actually, having looked at Metalink, seems that although this message may be accurate and correct,
    it has been 'introduced' as part of the 9i JDBC driver.
    So, I used the 8i JDBC driver I happened to have instead and that worked fine.

Maybe you are looking for