Custom XSQL Serializers Error

Hi,
I have wrote the following custom XSQL Serializer to render the PDF.
import org.w3c.dom.Document;
import org.apache.log.Hierarchy;
import org.apache.fop.messaging.MessageHandler;
import oracle.xml.xsql.XSQLPageRequest;
import oracle.xml.xsql.XSQLDocumentSerializer;
import org.apache.fop.apps.Driver;
import org.apache.log.output.NullOutputLogTarget;
//Avalon
import org.apache.avalon.framework.ExceptionUtil;
import org.apache.avalon.framework.logger.ConsoleLogger;
import org.apache.avalon.framework.logger.Logger;
/**Customized serialize for FOP
* Tested with the FOP 0.20.3RC release from 19-Jan-2002
public class renderPDF implements XSQLDocumentSerializer {
private static final String PDFMIME = "application/pdf";
public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
try {
// First make sure we can load the driver
Driver FOPDriver = new Driver();
// Tell FOP not to spit out any messages by default.
// You can modify this code to create your own FOP Serializer
// that logs the output to one of many different logger targets
// using the Apache LogKit API
//Setup logger
Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DISABLED);
FOPDriver.setLogger(logger);
// Some of FOP's messages appear to still use MessageHandler.
MessageHandler.setOutputMethod(MessageHandler.NONE);
// Then set the content type before getting the reader/
env.setContentType(PDFMIME);
FOPDriver.setOutputStream(env.getOutputStream());
FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
FOPDriver.render(doc);
catch (Exception e) {
// Cannot write PDF output for the error anyway.
// So maybe this stack trace will be useful info
e.printStackTrace(System.err);
When I run this code from the Jdeveloper using the embeded server, everything works fine, but when I deploy the code to Tomcat I am getting the following error I am using the FOP 20_03 Jar files and Jdeveloper 9.03
Oracle XDK Java 9.0.3.0.0 ProductionXSQL-023: Class servlet.renderPDF is not an XSQL Serializer
I have the following statement in XSQL page to call the custom XSQL serializer
<?xml-stylesheet type="text/xsl" href="xsl/invoice_pdf.xsl" serializer="java:servlet.renderPDF" ?>
Any comments or solution will be really appericated:
Thanks in advance:
Mohammad

I'm trying to write a servlet in jDeveloper to take the XML document produced by XSQLRequest and an XSL (FO) file and produce a PDF response. So far I am unable to get jDeveloper to be able to find the Apache FOP jar files.
How did you get jDeveloper to be able to find the Apache FOP jar files?
Thanks in advance,
Tom.

Similar Messages

  • XSQL-022 error on using FOP - serializer class not found; urgent!

    Hi all,
    currently using XDK 9.2.0.1.0. On trying to invoke Apache FOP serializer I just get the following error message:
    XSQL-022: Cannot load serializer class oracle.xml.xsql.serializers.fopserializer
    and I really don't know why....
    Running XSQL Servlet within Tomcat 4 Engine, but error pops up using both, Tomcat way and/or just the commandline invoker xsql.bat.
    Generally XSQL Servlet is working correctly.
    My classpath setting contains:
    xmlparserv2.jar; batik.jar; classes12.jar; fop.jar; fopserializer.jar; oraclexsql.jar; sax2.jar; xalan-2.0.0.jar; xalanj1compat.jar; xerces-1.2.3.jar; xschema.jar; XSQLConfig.jar; xsu12.jar
    The serializer being redefined in XSQLConfig is just:
    <serializer>
    <name>FOP203</name>
    <class>oracle.xml.xsql.serializers.fopserializer</class>
    </serializer>
    This is because of using FOP 0.20.3, so having my own serializer class due to API change in FOP 0.20.x; my fopserializer is looking like that:
    package oracle.xml.xsql.serializers;
    import org.w3c.dom.Document;
    import java.io.PrintWriter;
    import oracle.xml.xsql.*;
    import org.apache.fop.messaging.MessageHandler;
    import org.apache.fop.apps.*;
    import java.io.*;
    // FOP 0.20.3 Serializer implementation for XSQL
    public class fopserializer implements XSQLDocumentSerializer
    private static final String PDFMIME="application/pdf";
    public void serialize(Document doc, XSQLPageRequest req) throws Throwable
    try
    Driver FOPDriver = new Driver();
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    MessageHandler.setOutputMethod(MessageHandler.NONE);
    FOPDriver.setupDefaultMappings();
    req.setContentType(PDFMIME);
    FOPDriver.setOutputStream(req.getOutputStream());
    FOPDriver.render(doc);
    catch (Exception e)
    e.printStackTrace(System.err);
    In my XSQL file I'm using the following PI:
    <?xml-stylesheet type="text/xsl" href="listemps.fo" serializer="FOP203"?>
    Any suggestions what is wrong in here ?
    Can't use the original xsqlserializer.jar either - same error.
    Thanks in advance
    Jochen

    Hi Jochen,
    I'm working with Tomcat 4.0.3, FOP 20.0.3 and XDK 9.2.0.1.0, too.
    I've copied all the jar-files into tomcat/common/lib. I think that you can't use the MessageHandler in fop20.0.3. I'm using the following serializer:
    package diva.xml.xsql.serializers;
    import org.w3c.dom.Document;
    import java.io.PrintWriter;
    import oracle.xml.xsql.*;
    import org.apache.fop.apps.*;
    import org.apache.log.*;
    import org.apache.log.format.*;
    import org.apache.log.output.io.*;
    import org.apache.avalon.*;
    import java.io.*;
    public class XSQLFOP203Serializer implements XSQLDocumentSerializer {
    private static final String PDFMIME = "application/pdf";
    private static final String CONFPATH = "/usr/local/fop/conf/userconfig.xml";
    public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
    try {
    // Open user config file
    File userConfigFile = new File(CONFPATH);
    Options options = new Options(userConfigFile);
    // First make sure we can load the driver
    Driver FOPDriver = new Driver();
    // Setup logging
    Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
    PatternFormatter formatter = new PatternFormatter("[%{priority}]: %{message}\n%{throwable}" );
    LogTarget target = null;
    target = new StreamTarget(System.out, formatter);
    hierarchy.setDefaultLogTarget(target);
    Logger log = hierarchy.getLoggerFor("fop");
    log.setPriority(Priority.INFO);
    FOPDriver.setLogger(log);
    // Then set the content type before getting the reader/
    env.setContentType(PDFMIME);
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    FOPDriver.setOutputStream(env.getOutputStream());
    FOPDriver.render(doc);
    catch (Exception e) {
    // Cannot write PDF output for the error anyway.
    // So maybe this stack trace will be useful info
    e.printStackTrace(System.err);
    Hope this helps
    Uwe

  • XSQL-022 error

    Hi,
    I try to create a pdf with the xsql -servlet (v1.0.4) and FOP 0.14.
    When I don't use the serializer="FOP" in my <?xml-stylesheet?> processing instruction, I get an XML-file with <fo-root> as the root-element. Looks fine.
    When I include the serializer="FOP" in my <?xml-stylesheet?> processing instruction i get the following error:
    "XSQL-022: cannot load serializer class oracle.xml.xsql.serializers.XSQLFOPSerializer"
    I have used a default installation of the xsql-servlet in c:\xsql, Java in c:\jdk1.3, Apaches FOP in c:\xml\fop. The file xsql-wtg.bat is changed to this configuration.
    Everything else is working fine, so what is wrong with the set-up.
    Steve,
    if you read this I also have a request: could you publish all xsql-error messages on OTN? Your book only lists xsql-errors up to XSQL-017, the xsql-servlet documentation doesn't describe the errors at all.
    Thanks to all,
    Bart

    Did you uncomment the line in the xsql-wtg.bat that includes the:
    .\xsql\lib\xsqlserializers.jar
    FOP_HOME\fopXXX.jar
    FOP_HOME\lib\w3c.jar
    in your classpath?
    I'll post the error messages.

  • Xsql-011  error   FOP

    hello,
    i run my app in jdeveloper 902 using a xsql-file and xsl-file .
    i get the message above.
    who can help me ? thx
    Oracle XDK Java 9.2.0.4.0 Production
    XSQL-011: Error processing XSLT stylesheet: createFOP.xsl
    file:/C:/oracle/ora902/jdev/jdev/mywork/Workspace6/xml_html/public_html/createFOP.xsl: XSL-1016: (Error) Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.

    Hi Jochen,
    I'm working with Tomcat 4.0.3, FOP 20.0.3 and XDK 9.2.0.1.0, too.
    I've copied all the jar-files into tomcat/common/lib. I think that you can't use the MessageHandler in fop20.0.3. I'm using the following serializer:
    package diva.xml.xsql.serializers;
    import org.w3c.dom.Document;
    import java.io.PrintWriter;
    import oracle.xml.xsql.*;
    import org.apache.fop.apps.*;
    import org.apache.log.*;
    import org.apache.log.format.*;
    import org.apache.log.output.io.*;
    import org.apache.avalon.*;
    import java.io.*;
    public class XSQLFOP203Serializer implements XSQLDocumentSerializer {
    private static final String PDFMIME = "application/pdf";
    private static final String CONFPATH = "/usr/local/fop/conf/userconfig.xml";
    public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
    try {
    // Open user config file
    File userConfigFile = new File(CONFPATH);
    Options options = new Options(userConfigFile);
    // First make sure we can load the driver
    Driver FOPDriver = new Driver();
    // Setup logging
    Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
    PatternFormatter formatter = new PatternFormatter("[%{priority}]: %{message}\n%{throwable}" );
    LogTarget target = null;
    target = new StreamTarget(System.out, formatter);
    hierarchy.setDefaultLogTarget(target);
    Logger log = hierarchy.getLoggerFor("fop");
    log.setPriority(Priority.INFO);
    FOPDriver.setLogger(log);
    // Then set the content type before getting the reader/
    env.setContentType(PDFMIME);
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    FOPDriver.setOutputStream(env.getOutputStream());
    FOPDriver.render(doc);
    catch (Exception e) {
    // Cannot write PDF output for the error anyway.
    // So maybe this stack trace will be useful info
    e.printStackTrace(System.err);
    Hope this helps
    Uwe

  • XSQL-022: Cannot load serializer class oracle.xml.xsql.serializers.fop203

    Hi,
    I' have used Tomcat 4.0.3 with XSQL Servlet 9.2 for about a half year. All is working fine. When I now change to 4.1.18 the most things are also working fine. The are to problems:
    1. I have to save the XSQLConfig.xml in a jar file.
    2. My fop serializer doesn't work any longer. I'm getting all the time the following error: XSQL-022: Cannot load serializer class oracle.xml.xsql.serializers.fop203.
    I'm using the XDK 9.2.0.4 with jsdk 1.4.1 and tomcat 4.1.18 on Redhat Linux.
    Has anyone had have the same problem? Has anyone a solution for this problem?
    Regards
    Uwe

    Does the XSQLSampleSerializer exhibit the same problem?
    That is, can we rule out the fact that it's related at all to FOP?
    If you browse the following page, does it work?
    <?xml version="1.0"?>
    <?xml-stylesheet serializer="java:oracle.xml.xsql.serializers.XSQLSampleSerializer"?>
    <foo-with-java/>This sample serializer should be in your xsqlserializers.jar file.

  • Recieveing "OnUCAppointmentGetVisible" error in Outlook 2013 (64 bit) - "Custom UI Runtime Error in Lync Meeting Add-in for Microsoft Office 2013"

    Hi All,
    I originally posted this in the MS Support forums (http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/recieveing-onucappointmentgetvisible-error-in/1a40eca2-8cd1-40f1-a92f-cb08f0af6b72), but was directed over here.
    I have recently upgraded an installation of Office 2010 to 2013 (both 64 bit) but am now receiving an error which says:
    Window Title - "Custom UI Runtime Error in Lync Meeting Add-in for Microsoft Office 2013"
    An error occured while calling the callback: "OnUCAppointmentGetVisible"
    This seem to happen when I initially open a calender entry, and when I close the entry (most only the first time I close the entry).
    I did have some developer tools installed for Office 2010 and VS 2010 which played around with Excel,2013 but I have now uninstalled these.
    In addition, BCM 2010 was installed (but for the time being has been uninstalled), but I don't think that is the culprit.
    The issue is being caused be an Outlook add-in. I have three COM add-in enabled, but the one causing the issue in the "Lync Meeting Add-in for Microsoft Office 2013".
    We are currently trialling Lync in a demo installation which is in a different domain to any of the Exchange accounts, but should this cause a problem? For the time being I have disable this add-in.
    Regards,
    Chris
    Chris

    Hi,
    Sorry for my misunderstanding. If the issue is determined to be caused by Lync Meeting Add-in, please remove this add-in from Outlook, then go to Control Panel to repair Office 2013 program. After repairing,
     this add-in would be automatically reinstalled. Please check whether the issue persists. About how to repair Office programs, please refer to:
    http://office.microsoft.com/en-us/outlook-help/repair-office-programs-HA010357402.aspx
    If the Lync Meeting Add-in is not automatically reinstalled, please try to manually add this add-in by the following steps:
    1. Starting Outlook 2013 as an Administrator (right click, run as Admin).
    2. Click File > Options > Add-ins, Manage Com Add-Ins Go... > Add..., C:\Program Files (x86)\Microsoft Office\Office15\UCAddin.dll, OK.
    3. Close Outlook and start it as a normal user.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Customer Master replication error from R/3 to CRM

    Experts,
    I am trying to replicate Customer Master from R/3 to CRM.
    All the settings have been done. Nothing shows up in Queues. However, Bdoc hangs in "Received" state.
    When I try to reprocess the Bdoc, I get a prog dump of type DBIF_RSQL_INTERNAL_ERROR in below function module: CRM_BUPA_FRG0020_SAVE_TABS
    at INSERT crmm_but_set0020 FROM TABLE it_set0020_insert[]
    This data corresponds to Shipping data in Customer Master.
    Can you please help? I saw a similar thread in the forum where there was a suggestion about R/3 plug in update. How can I do that?
    Thanks in advance,
    JD

    Pls see Customer Master replication error
    Closed.

  • Item category determination customizing not maintained error in CRM_IC

    Hello Solution Manager Gurus
          I have configured IC Web Client.. But in service ticket tab i am getting Item category  customizing not maintained error. Similarly i dont know where to create SLA information for service ticket in solman system.
    Please help me
    regards
    Naveen

    Sure Naveen
    I think you have my email id with you
    And for the customization guide of Webclient, it is available on http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/html/BBlibrary.htm
    C78: CRM Interaction Center (WebClient)
    Hope this will help
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>

  • Consistently getting an error in custom reports "an error occurred" is the only msg displayed...my c

    Consistently getting an error in custom reports "an error occurred" is the only msg displayed...my clients are screaming...what is the problem?

    Hi,
    Please log a ticket with BC support for this issue. Please provide the exact steps, preferably a video. You can log the ticket from your admin panel > help & support.
    Kind Regards,
    Aish

  • I can not do the update , what should I do to fix this error ? "There was a problem with downloading the file . For tips on troubleshooting , please go to Customer Support . ( Error code : 204 ) ." thanks

    I can not do the update , what should I do to fix this error ?
    "There was a problem with downloading the file . For tips on troubleshooting , please go to Customer Support . ( Error code : 204 ) ." thanks

    Hi,
    Please refer to the help document below:
    Error downloading, installing, or updating Creative Cloud applications
    Regards,
    Sheena

  • Custom code throws error with email subscription. Otherwise, the report works fine.

    I have a SSRS report that parses RTF to TXT and displays it in a report.  The report works fine and everything displays correctly.  The subscription email, however, contains a report with errors: Request for the permission of type
    'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    The report contains embedded code as well as references to System.Security and System.Windows.Forms.  I've updated .....\Reporting Services\ReportServer\rssrvpolicy.config and ....\Reporting Services\ReportManager\rsmgrpolicy.config to change permissions
    to FullTrust.  Not sure what else I need to do.  Please help.

    Hi Chimuelo,
    According to your description, if the report contains custom code and assemblies, the subscription email contains an error “Request for the permission of type 'System.Security.Permissions.UIPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    failed”.
    In your scenario, the issue could cause by that the report can’t access those assemblies. Please modify the policy configuration files to grant additional permissions for those assemblies. For more information, please refer to this article:
    How to grant permissions to a custom assembly that is referenced in a report in Reporting Services.
    Similar thread for your reference:
    Custom assembly throwing #error in reports with subscriptions
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • XSQL-003 Error with jakarta-tomcat-4.0.3

    I am trying to set up the XSQLServlet on JBuilder7 using jakarta-tomcat-4.0.3 as the development server.
    I downloaded and carefully follwed the installation instructions for Tomcat 3.1 and 3.2 although the bat files have changed considerably. Set classpath in setclasses.bat and prescribed in instructions. Setup a context in server.xml for /xsql and setup a web.xml file to map oracle-xsql-servlet to *.xsql. Also tried mapping to *.xsql in web.xml for my application, but I continue to get the XSQL-003 error; "failed to find XSQLConfig.xml in the server classpath". I checked the discussion forums and tried jarring the XSQLConfig.xml file and set that in the server CLASSPATH. Still no luck.
    My question: Are there any installation instructions for installing the XSQLServlet on Jakarta Tomcat 4.0.3?
    Tomcat can't find the XSQLConfig.xml file or there is some other problem that is throwing this exception.

    Hey man, i have the same problem, what should I do?
    I can`t define the classpath when I run the server as service, but it works when i run manually starup.bat, because there i have defined the classpath.
    Please, give me an advice
    Thanks...

  • Jdev11g;Customizing Business Components Error Messages

    Hi All,
    Using Jdeveloper 11.1.1.2. I have customized the BC error message using message bundle. My message bundle class is
    public class MessageBundle1 extends ListResourceBundle {
    private static final Object[][] sMessageStrings =
    new String[][] {
    { "JBO-26048","Child records exist against selected record " },
    { "EMP_JOB_FK","Child records exist against selected record "},
    { "JBO-25013","Record already exist"},
    { "JOB_ID_PK","Job ID already exsist"}
    /**Return String Identifiers and corresponding Messages in a two-dimensional array.
    protected Object[][] getContents() {
    return sMessageStrings;
    Need help on couple of questions/issues I am facing on this:-
    1) Though I have given the error message for JBO-25013 and JOB_ID_PK, still I am getting following error message on UI , when saving the new record
    "Too many objects match the primary key oracle.jbo.Key[AD_PRES ]."?
    2) Why I am getting "Attribute JobId in HrModule.JobsView1 is required." along with above error message in the error popup window?
    3) When deleting the record, though I am getiing desired error message on UI "oracle.jbo.DMLConstraintException: Child records exist against selected record ", why error message is prefixed with "oracle.jbo.DMLConstraintException".?
    4) How I can localize the error messages to another language?
    Thanks
    Vikram
    Edited by: Vikram K on Mar 22, 2010 3:23 PM

    There is surely a section in the Fusion Developer's Guide on custom error/exception handling. Have you found it? Perhaps you have since you are considering overriding view/model framework objects.
    In JDev 10g there was very good documentation for how to do this in the ADF Developer's Guide. As far as I could tell, the equivalent manuals are the Fusion Developer Guides for ADF 11g. I think you will have a lot of luck getting what you want if you research this a bit more.
    In ADF 10g, what you are alluding to certainly was the solution to what you wanted. I do not know a whole lot about version 11g, but I suspect it is similar in this regard.
    in 10g this process started with overriding the ADF life-cycle.
    Once you get this working I also found some on-line commentary/articles from Avrom Roy-Federman on how to additionally extend error handling.
    All this said, you also seem to be asking some other questions (jobid and such), the solutions of which would require us to have more information about your application, I think.
    Maybe you can take one question at a time? Or start multiple threads?

  • Customizing Business Components Error Messages sample

    hi i have been following this sample and this: http://jobinesh.blogspot.de/2011/03/customizing-business-components-error.html,i have follow the instruction but its not working win my application i re-create the problem,i have check with the working sample i have done everything i can see be done in the working sample but mine still not work can somebody check what am i missing i have upload in this hostfile i used hr schema http://www.datafilehost.com/download-9d37bd8a.html. am using jdeveloper 11.1.1.6.0
    i have created the two class and one of them
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
                 Package="view" ClientType="Generic"
                 ErrorHandlerClass="view.CustomErrorHandler"
    what else am i missing what have i not done,i know am mssing something but don't know what,the sample does not show step by step implementation,it just have a working solution,if somebody know step by step  implementation can you pls explain to meEdited by: adf009 on 2013/03/12 12:09 PM
    Edited by: adf009 on 2013/03/20 2:44 PM

    is not working in my application,in my application am checking primary key constraint not unique constrains like in sample is there a diffirent
    this is my class,i have re-create the problem http://www.datafilehost.com/download-9c3e5f17.html
    import java.util.ListResourceBundle;
    public class CustomMessageBundle extends ListResourceBundle {
        private static final Object[][] sMessageStrings =
            new String[][] { { "UAM_ORGUSERSLINK_PK",
                               "Hello, The user Already Belong to this organisation" }, };
        /**Return String Identifiers and corresponding Messages in a two-dimensional array.
        protected Object[][] getContents() {
            return sMessageStrings;
    i have follow steps in the sample
    am geting this log error,instead of geting my error message
    <XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
    javax.servlet.ServletException: JBO-25013: Too many objects match the primary key oracle.jbo.Key[assist03 3099 ].
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
         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: oracle.jbo.TooManyObjectsException: JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-25013. Error message parameters are {0=oracle.jbo.Key[assist03 3099 ]}
         at oracle.jbo.server.EntityCache.throwTooManyObjectsException(EntityCache.java:604)
         at oracle.jbo.server.EntityCache.handleDuplicateKey(EntityCache.java:613)
         at oracle.jbo.server.EntityCache.addForAltKey(EntityCache.java:1020)
         at oracle.jbo.server.EntityCache.replaceForAltKey(EntityCache.java:1820)
         at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:4094)
         at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3676)
         at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:3301)
         at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:2012)
         at ecadastre.gov.za.uam.model.entities.UamOrganisationUserImpl.setUsername(UamOrganisationUserImpl.java:137)
         at OrgDetails.onRowCreate(OrgDetails.java:2057)
         at OrgDetails.addMember(OrgDetails.java:1978)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:402)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 38 morehi can anybody help me please
    Edited by: adf009 on 2013/03/26 4:59 PM

  • CUSTOM VIP CREATION ERROR

    Hi all, i have tried to define a new VIP on my ORACLE 11gR2 RAC cluster, in order to manage third-party component by using ORACLE Clusterware.
    I have used the info written on the ORACLE manual "Oracle Clusterware Administration and Deployment Guide E10717-04" at page 5-15.
    I have executed the command "/u01/app/grid/bin/appvipcfg create -network=1 -ip=xx.xxx.xxx.140 -vipname=appsVIP -user=root", as the manual says, from root user.
    My environment is AIX 6.1.
    Unfortunately, i get an error (reported following) but i am not able to solve it.
    Please, may you help me?
    Thanks
    Marco
    CUSTOM VIP CREATION ERROR
    [nodo01][]>/u01/app/grid/bin/appvipcfg create -network=1 -ip=xx.xxx.xxx.140 -vipname=appsVIP -user=root
    Production Copyright 2007, 2008, Oracle.All rights reserved
    2010-05-31 18:39:54: Creating Resource Type
    2010-05-31 18:39:54: Executing cmd: /u01/app/grid/bin/crsctl add type app.appvip.type -basetype cluster_resource -file
    /u01/app/grid/crs/template/appvip.type
    2010-05-31 18:39:55: Create the Resource
    2010-05-31 18:39:55: Executing cmd: /u01/app/grid/bin/crsctl add resource appsVIP -type app.appvip.type -attr
    USR_ORA_VIP=xx.xxx.xxx.,START_DEPENDENCIES=hard(ora.net1.network)
    pullup(ora.net1.network),STOP_DEPENDENCIES=hard(ora.net1.network),ACL='owner:root:rwx,pgrp:root:r-x,other::r--,user:root:r-x'
    CRS-0247: User name or group name is invalid
    CRS-4000: Command Add failed, or completed with errors.
    Command return code of 1 (256) from command: /u01/app/grid/bin/crsctl add resource appsVIP -type app.appvip.type -attr
    USR_ORA_VIP=xx.xxx.xxx.,START_DEPENDENCIES=hard(ora.net1.network)
    pullup(ora.net1.network),STOP_DEPENDENCIES=hard(ora.net1.network),ACL='owner:root:rwx,pgrp:root:r-x,other::r--,user:root:r-x'
    2010-05-31 18:39:56: ###### Begin Error Stack Trace ######
    2010-05-31 18:39:56: Package File Line Calling
    2010-05-31 18:39:56: --------------- -------------------- ---- ----------
    2010-05-31 18:39:56: 1: crsconfig_lib crsconfig_lib.pm 7474 crsconfig_lib::error
    2010-05-31 18:39:56: 2: main appvipcfg.pl 241 crsconfig_lib::system_cmd
    2010-05-31 18:39:56: 3: main appvipcfg.pl 93 main::config
    2010-05-31 18:39:56: 4: main appvipcfg.pl 74 main::process_arguments
    2010-05-31 18:39:56: ####### End Error Stack Trace #####
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Hi,
    On Solaris 10 and Oracle Grid Infrastructure 11.2.0.2 did the following. Posting this as it might be useful to someone else. Installed Grid Infrastructure as oracle.
    As root:
    # ${GRID_HOME}/bin/appvipcfg create -network=1 -ip=<vip_address> -vipname=<vip_name> -user=root
    In the above command, if you are wondering what -network=1 is, got useful info from "Oracle GoldenGate high availability using Oracle Clusterware" white paper at http://www.oracle.com/technetwork/middleware/goldengate/overview/ha-goldengate-whitepaper-128197.pdf
    As per the white paper, if you do
    crsctl status resource -p | egrep -i 'network|subnet' | egrep -i 'name|subnet'
    output will look something like this:
    NAME=ora.net1.network
    USR_ORA_SUBNET=10.2.0.0
    net1 in NAME indicates this is network 1, and second line indicates the subnet on which the vip will be created.
    # ${GRID_HOME}/bin/crsctl setperm resource <vip_name> -u user:oracle:r-x
    I did the following as oracle:
    Oracle_Prompt> ${GRID_HOME}/bin/crsctl start resource <vip_name>
    If you want to relocate this vip to other node in the cluster:
    Oracle_Prompt> ${GRID_HOME}/bin/crsctl relocate resource <vip_name> -s <source_node> -n <target_node>
    Hope this helps.
    Thanks,
    Moorthy.
    帖子经 Moorthy Rekapalli编辑过

Maybe you are looking for

  • How do i delete a word document using shortcut?

    I have just bought a MacBook air & have installed Word etc onto the machine. I cant find how to delete documents in Word, it used to be easy!

  • How do I get albums to display as list view?

    For the last several "Upgrades" I cannot get iTunes to display my albums in a "list View" only as pictures of the cover art.  I have gone into "Edit>Preferences>General" and checked "Show list views all media" with no result.  It seems they left me i

  • Send Email in Sharepoint 2013

    I created a website in HTML and PHP. The PHP part is used only to send Email. But I have to host this website in office 365 Sharepoint 2013 and PHP is not allowed in it. Is it possible to add email functionality to my existing HTML site in sharepoint

  • Inplace upgrade SCCM 2012 R2 server OS from 2008 R2 to 2012R2 and SQL 2008R2 to 2012

    Hi Is it possible to do inplace upgrade? I have Windows Server 2008 R2, SCCM 2012 R2 CU1, SQL 2008 R2, WSUS and MDT 2013. Can I upgrade to Windows server 2012 R2 and SQL server 2012? Are there any catches which I must know before upgrade? Do I start

  • DB Link query

    Hi, I have few question about database link. 1. If there are two databases A and B , A database updates few tables in B database and B database updates few tables in A database. For this type of structure do we need database link on each side ? 2. Be