Log4j.properties with OAF R12

I am writing OAF R12 components that integrate/extend existing R12 pages.
I need to deploy a log4j.properties file for logging. I have a dependent jar file that uses log4j. This file is usually placed on the classpath in WEB-INF/classes for a servlet application.
Where should I place this log4j.properties file so that the OAF R12 container (oc4j) reads this file when processing. I tried to add it to the CLASSPATH. I edited orion_application_xml_1013.tmp and placed the log4j.properties in $JAVA_TOP and added lines for the <library path> as
<library path="$JAVA_TOP/log4j.properties" /> or
<library path="%s_javatop%/log4j.properties" />
and restarted the server.
However, the log file defined in log4j.properties is not created when running the OAF framework and exercising the integrated code that includes log4j logging.
What is the best way to integrate this properties file?
Thanks,
Ken

gday Ken --
If you are OAF R12 wouldn't there be an Oracle standard for logging you should be using? I'd be asking the OAF team for more details.
Then I'd ask whether using log4j is worth the extra effort over using the Java standard logging API -- the container itself is using Java standard logging API, for which we have the ability to dynamically adjust log levels, view the logs, etc.
Here are some links to some notes I wrote up recently on using log4j with OC4J (and also using Java standard logging API) :
http://buttso.blogspot.com/2007/09/directing-log-messages-into-oc4j.html
http://buttso.blogspot.com/2007/09/directing-log4j-logs-into-oc4j-logging.html
http://buttso.blogspot.com/2007/09/using-shared-libraries-to-configure.html
-steve-

Similar Messages

  • File not found error with log4j.properties

    Hi,
    I'm writing a web service on weblogic 8.1 with weblogic workshop.I have to use log4j-1.2.7 supplied by client with my application.I cannot write ant script manually.Also I cannot change server start script or cannot put any command line argument when the server starts.
    Now I require this logger in my EJB.I have kept log4j.properties in the same path where my EJB's are.But the final ear produced does not contain this log4j.properties and subsequently I get the error "log4j:ERROR Could not read configuration file [log4j.properties]."
    Please help me to resolve this problem so that log4j.properties goes with the final .ear file and the ejb code finds the logger.
    thanks,
    pratim

    Hello,
    I am having a similar problem. Did you find a solution?
    Thank you,
    Melissa
    "arunak" <[email protected]> wrote:
    >
    Hi Pratim,
    I am also facing the same problem. can u please let me know whenever
    u get the
    solution for this.
    Regards,
    Arunak
    Pratim <[email protected]> wrote:
    Hi,
    I'm writing a web service on weblogic 8.1 with weblogic workshop.Ihave
    to use log4j-1.2.7 supplied by client with my application.I cannot write
    ant script manually.Also I cannot change server start script or cannot
    put any command line argument when the server starts.
    Now I require this logger in my EJB.I have kept log4j.properties inthe
    same path where my EJB's are.But the final ear produced does not contain
    this log4j.properties and subsequently I get the error "log4j:ERROR
    Could not read configuration file [log4j.properties]."
    Please help me to resolve this problem so that log4j.properties goes
    with the final .ear file and the ejb code finds the logger.
    thanks,
    pratim

  • Very weird issue with server logging when using log4j.properties file

    I'm using log4j logging. In log4j.properties the root logger is set up to use the ServerLoggingAppender class so that all our application logs go to the main server logfile. In addition, there are several appenders defined for specific components, with output going to specific per-component log files. Everything is going fine until I launch the server console. At this point all of those per-component log files get wiped out (zero length) and some non-ASCII lines are written to at least one of these files, after which the logs appear to be fine. The main server log file does not appear to be affected (because the root logger is set to "warn" level, while component-specific loggers are set to trace, the contents in these files is different; however I tried disabling all the other appenders and turning the root logger up to trace, and that still did not re-create the problem in the main server log file.
    And here's the really weird part -- if I use the same configuration, but in a log4j.xml file, the problem does not happen.

    Figured it out.
    We were passing in the configuration for log4j as -Dlog4j.configuration=file:/<properties file> and this was added to the command line for both the managed and admin servers. Problem is that the console app starts its own instance of log4j, and when it reads the configuration for the appenders it initializes or rolls over the files. At some point we have two JVMs accessing the same files, so some corruption is bound to happen.
    I'm not clear why the .xml file made a difference, but earlier we had been passing the log4j configuration as a jar file placed in the domain/lib folder, so perhaps the designer reverted to that (placed the log4j.xml file in a jar in lib, and not simply changed the -Dlog4j.configuration=file:/ option.

  • Problem with log4j.properties and level DEBUG

    Hi,
    I need some log4j help.
    I create 2 different appenders in the log4j.properties file
    and it works.
    This is my complete log4j.properties:
    log4j.logger.log1=DEBUG, log1
    log4j.logger.log2=DEBUG, log2
    log4j.appender.log1=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.log1.File=${StandardLogPath}
    log4j.appender.log1.DatePattern='.'yyyy-MM-dd
    log4j.appender.log1.Append=true
    #log4j.appender.log1.Threshold=DEBUG
    log4j.appender.log1.layout=org.apache.log4j.PatternLayout
    log4j.appender.log1.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} [%-5p] %-25c{1} %m%n
    log4j.appender.log2=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.log2.File=${StandardLogQueryPath}
    log4j.appender.log2.DatePattern='.'yyyy-MM-dd
    log4j.appender.log2.Append=true
    log4j.appender.log2.layout=org.apache.log4j.PatternLayout
    log4j.appender.log2.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} [%-5p] %-25c{1} %m%nAnd here's my logging code:
    import org.apache.log4j.Logger;
    Logger log = Logger.getLogger("log1");
    Logger logQuery = Logger.getLogger("log2");
    log.debug("loggerDebug");
    logQuery.debug("loggerDebug");
    log.info("loggerInfo");
    logQuery.info("loggerInfo");The problem is that "loggerDebug" is not written to all appenders (only "loggerInfo").
    In fact if I print:
    System.out.println( log.getEffectiveLevel().toString() );result that the level is INFO and I known that if level is INFO then DEBUG is disable.
    But why the level is INFO????
    Someone can suggest me a solution?
    Thank you very much

    You're so over-sensitive you: when an OP doesn't respond anymore
    to your last reply it implies that you've solved the problem and
    (implicitly) that the OP is very grateful to you. Why do you always
    have to be so explicit about matters? ;-)
    Because I'm not one of those Dutch people ;-)Yes, that's us, the Dutch: mysteriously smiling and keeping silent all the
    time. That's why they call us the Asians of Western Europe ;-)
    ps. There are nice exception to the rule sometimes though.
    Yes, and unfortunately they do seem to be the exception rather than
    the rule. It would be nice to catch one a bit more often.True; that's the internet generation: grab all the information that you can
    and don't give a f*ck about the guy who supplied the information. It's sad
    indeed.
    Maybe we should start a support group where we could thank each
    other now and then 'on behalf' of those little spoiled brats and complain
    about all those bad manners nowadays ;-)
    kind regards,
    Jos

  • Configuring directory path for fileappender in log4j.properties

    I want to write log data to a file where the directory path of the file should be picked from a unix environmental variable. How can you configure this in log4j.properties?
    log4j.rootLogger=INFO, A
    # A is set to be a FileAppender.
    log4j.appender.A=org.apache.log4j.FileAppender
    # A uses PatternLayout.
    log4j.appender.A.File=$UNIX_ENV_VARIABLE/A.log <= This is what I want. The dir path should be picked from some env path
    log4j.appender.A.layout=org.apache.log4j.PatternLayout
    log4j.appender.A.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c %x - %m%n
    Or if this should be done in code, then please guide me on that.
    Thanks in advance

    Hi,
    i am facing one problem,
    where today's log and yesterday log has log statements for today with same date.. but different data. any one pls help.
    this is the properties i configured
    # Logger for A messages
    log4j.logger.A=debug, A_R1
    log4j.appender.A_R1=org.apache.log4j.DailyRollingFileAppender
    log4j.appender.A_R1.File=/var/opt/wmeaidata/app_data/log4j/logs/eai_a.log
    log4j.appender.A_R1.MaxFileSize = 5MB
    log4j.appender.A_R1.MaxBackupIndex = 3
    log4j.appender.A_R1.layout=org.apache.log4j.PatternLayout
    log4j.appender.A_R1.layout.ConversionPattern=%d{MMM dd, yyyy hh:mm:ss a}|%c-%X{host}|%m%n
    Thanks
    venkat

  • APEX integration with EBS R12.1.1 - no SSO

    I am trying to complete APEX integration with EBS R12.1.1 in simplest way. I have a non authenticated report page that I need to link to through a menu and function on one of the existing forms.
    Rod West document
    http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf
    offers the jsp approach which I like to implement however the jsp will not compile correctly and I am not sure why - I have already fond one error with the code as listed in the document:
    ojspCompile.pl compile -s 'LaunchApex.jsp ' retry ---> will not work
    ojspCompile.pl compile -s 'LaunchApex.jsp' retry --> will work
    compile will fail starting at this point of the code:
    PARALLEL COMPILATION: 1
    [10389] !!COMPILATION ERROR(0) LaunchApex.jsp:
    _LaunchApex.java:70: illegal start of type
    if (ctx==null) {
    ^
    has anyone tried this approach and got the jsp to compile with no errors or can you see what is it?
    thanks in advance.

    Hello Mini:
    thanks for the info and I have followed the steps as listed. I am not sure what line is the bad code you listed is on - here is the copy of the jsp I am working with and maybe you can point to a specfic line(s) that need to be changed from what to what.
    <%@ page contentType="text/html;charset=UTF-8" %><%--
    /* LaunchApex.jsp */
    --%><%@ page
    import="java.io.*"
    import="java.net.*"
    import="java.sql.*"
    import="javax.servlet.http.*"
    import="java.util.Enumeration"
    import="java.util.Properties"
    import="java.lang.Math"
    import="oracle.apps.fnd.common.VersionInfo"
    import="oracle.apps.fnd.functionSecurity.Function"
    import="oracle.apps.fnd.functionSecurity.RunFunction"
    import="oracle.apps.fnd.common.WebAppsContext"
    import="oracle.apps.fnd.common.AppsEnvironmentStore"
    import="oracle.apps.fnd.common.WebRequestUtil"
    import="oracle.apps.fnd.common.ResourceStore"
    import="oracle.apps.fnd.security.CSS"
    import="oracle.apps.fnd.common.Message"
    import="oracle.jdbc.OracleConnection"
    import="oracle.jdbc.OraclePreparedStatement"
    import="oracle.jdbc.OracleResultSet" %><%!
    // Session has to be validated first
    WebAppsContext ctx = WebRequestUtil.validateContext(request, response);
    if (ctx==null) {
    return; }
    String cookieName = ctx.getSessionCookieName();
    boolean validSession = ctx.validateSession(cookieName);
    WebRequestUtil.setClientEncoding(response, ctx);
    %>
    <html>
    <head>
    <title>Launch Apex</title>
    <!-- LaunchApex.jsp -->
    </head>
    <body>
    <%
         String p_application = request.getParameter("application");
         p_application = ( p_application==null ? "NONE" : p_application);
         String p_page = request.getParameter("page");
         p_page = ( p_page==null ? "1" : p_page);
         String p_item_names = request.getParameter("item_names");
         p_item_names = ( p_item_names==null ? "" : p_item_names);
         String p_item_values = request.getParameter("item_values");
         p_item_values = ( p_item_values==null ? "" : p_item_values);
         AppsEnvironmentStore m_env = (AppsEnvironmentStore) ctx.getEnvStore();
         try {
              String l_launcher = ctx.getProfileStore().getProfile("APEX_HTTP_SERVER");
              l_launcher = l_launcher + "/pls/apex/f?p=" + p_application + ":" + p_page;
              l_launcher = l_launcher + "::APPS:::" + p_item_names + ":" + p_item_values;
         if (ctx!=null) ctx.freeWebAppsContext();
         response.sendRedirect(l_launcher);
         } //try
         catch (Exception e) {
         out.println("Exception found : <pre>");
         e.printStackTrace(new PrintWriter(out));
         out.println("</pre>");
         } //catch
    %>
    </body>
    </html>
    *********

  • Log filename in log4j.properties

    Hi,
    I use log4j for logging. It's configured in a log4j.properties file. I want to make a new logfile for each day, with the date appended to the filename. Is it possible to do this just with the log4j.properties configuration or I must configure the log in the program?
    Thanks
    Rui Gon?alves

    There is a DailyRollingFileAppender to use.

  • Log4j.properties ???

    hi,
    I'm currently working with applets and try to call a web service from my applet. I receive this error message :
    log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
    log4j:WARN Please initialize the log4j system properly.
    Does somebody know where I have to declare this log4j.properties file ? Do I have to configure something by the client ?
    Finally does somebody know if it is possible to call web services from an applet (I mean on the same host) without using signed applets ????
    TU
    PA
    http://www.doffoel.com

    I believe that the log4j.properties file has to be in
    your classpath.
    and in an applet, this means placing log4j.properties in the root of your applet's JAR file.
    The problem you are going to run into, though, is what you are going to do with the logging information. Unless you sign the applet, you won't be able to write the log to disk... I suppose there might be an appender that could write back to your server (or you could implement one), but I'm not sure that's going to do what you are trying for...
    - K

  • Log4j.properties in ear

    I would like to use log4j in an ear with log4j.properties in the ear. Is there any way to do this with manifest classpath or otherwise?
    TIA, Tom

    "Mark Griffith" <[email protected]> wrote:
    Tom:
    If you are on 8.1 you can put it in EAR/APP-INF/classes. EAR's have
    no
    manifest CP, so it would have to be in the MF CP of each module. (Which
    is
    why we came up with EAR/APP-INF/classes.
    Cheers
    mbg
    "tom" <[email protected]> wrote in message
    news:3eb2ec89$[email protected]..
    I would like to use log4j in an ear with log4j.properties in the ear.Is
    there any way to do this with manifest classpath or otherwise?
    TIA, Tom
    I have put the log4j.properties in the jar file, and in the manifest file for
    the jar file write the log4j jar file, the log4j jar file is then in the ear file

  • Not able to get the Application ID value in ADF Phase listener for Custom ADF application which integrates with Ebiz R12.2.3

    Hi All ,
    I am working on one custom Order Mangement ADF Application which integrates with EBiz R12.2.3.
    We are trying to get the Ebiz userid ,username,Responsibility ID and Application ID in ADF through below Code
           public HashMap checkEBSSession(HttpServletRequest request,
                                       HttpServletResponse response) {
            System.out.println("In AMImpl.. checkEBSSession1");
            Session session = null;
            HashMap hmap = new HashMap();
            try {
                Connection conn =
                    getDBTransaction().createStatement(1).getConnection();
                System.out.println("In AMImpl.. checkEBSSession2");
                EBiz ebiz =
                    new EBiz(conn, "012E7E82CD8852BBE053860F6E0AD63413191049361744553610276495342217");
                System.out.println("In AMImpl.. checkEBSSession3");
                AppsRequestWrapper wrapper =
                    new AppsRequestWrapper(request, response, conn, ebiz);
                System.out.println("In AMImpl.. checkEBSSession4");
                session = wrapper.getAppsSession(true);
                System.out.println("In AMImpl.. checkEBSSession5");
                Map columns = session.getInfo();
                System.out.println("In AMImpl.. checkEBSSession6");
                String respId = (String)columns.get("RESPONSIBILITY_ID");
                String currentUserId = (String)columns.get("USER_ID");
                String currentApplId = (String)columns.get("APPLICATION_ID");
                String currentOrgId = (String)columns.get("ORG_ID");
                System.out.println("In AMImpl.. checkEBSSession7...respId : "+respId);
                System.out.println("In AMImpl.. checkEBSSession8...UserId : "+currentUserId);
                System.out.println("In AMImpl.. checkEBSSession9...APPL_SERVER_ID : "+currentApplId);
                System.out.println("In AMImpl.. checkEBSSession10..OrgId : "+currentOrgId);
                logger.info("respid:  " + respId);
                //System.out.println("In AMImpl.. checkEBSSession8");
                hmap.put("RESPONSIBILITY_ID",respId);
                //System.out.println("In AMImpl.. checkEBSSession9");
            } catch (Exception e) {
                System.out.println("Error: " + e.getMessage());
            return hmap;
    By using this code I am Getting all the Information Except the Application ID.
    If someone  have any idea how to get the application ID please share it .
    Thanks in Advance !!
    Thanks & Regards
    Apurv Agarwal

    Hi,
    since you implements the backing bean from PagePhaseListener. some where the same view is excuting before getting the selected record. Even if you select the record after excuteQuery() it will set the first record as selected. Please try to check some where query is excuting.
    try give some more details like what are all the methods you are using in PagePhaseListener and where you worte u r coding.
    Reg,
    Brahma

  • 11i to R12 upgrade : Unable to merge patch 9179588:R12.AD.B with 9477107:R12.AD.B and patch 7461070:R12.AD.B.1

    Hello Sir,
    As per readme for Patch 9179588, I am trying to merge patch (9179588:R12.AD.B) with 9477107:R12.AD.B and R12.AD.B.1
    (patch 7461070). When I run admrgpch without -admode option, admrgpch completes successfully.
    However, when I just add -admode option in same command, getting error that "invalid option -s". Please see below details and suggest since there is Note: This merge should be a full merge using -admode.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    drix10:/fmstop/patches/R1211AD/merge>ls -lrt
    total 13992
    -rw-r--r-- 1 appltest dba 7035668 Aug 03 10:59 p7461070_R12_AIX64-5L.zip
    -rw-r--r-- 1 appltest dba 79016 Aug 04 03:48 p9179588_R12.AD.B_R12_GENERIC.zip
    -rw-r--r-- 1 appltest dba 38579 Aug 04 05:22 p9477107_R12.AD.B_R12_GENERIC.zip
    -rw-r--r-- 1 appltest dba 94 Aug 04 13:27 manifest.txt
    drix10:/fmstop/patches/R1211AD/merge>cat manifest.txt
    p7461070_R12_AIX64-5L.zip
    p9179588_R12.AD.B_R12_GENERIC.zip
    p9477107_R12.AD.B_R12_GENERIC.zip
    drix10:/fmstop/patches/R1211AD/merge>
    drix10:/fmstop/patches/R1211AD/merge>admrgpch -admode -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt
    Error: Invalid option: -s
    usage: admrgpch -help
    admrgpch <source_directory> <destination_directory>
    admrgpch -s <source_directory> -d <destination_directory>
    [-verbose <level>] [-merge_name <pattern>]
    [-manifest <filename>] [-logfile <filename>]
    where
    * -help Print help message.
    * -verbose <level> Can be one of: { 0(SILENT),
    1(QUIET), 2(VERBOSE) or 3(LOUD) }
    Default - 1(QUIET).
    * -merge_name <pattern> The name of the merged patch (max 24 characters).
    Default - "merged".
    * -s <source_directory> Path of source directory where all patches to be
    merged have been unzipped.
    * -d <destination_directory> Path of destination directory where the merged
    patch will be created.
    * -manifest <filename> Full pathname of a file containing the list of
    patch zip files to be merged.
    * -logfile <filename> Admrgpch log file name.
    Default:"<CWD>/admrgpch.log".
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Without option -admode :
    drix10:/fmstop/patches/R1211AD/merge>admrgpch -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt
    unzipping p7461070_R12_AIX64-5L.zip..
    unzipping p9179588_R12.AD.B_R12_GENERIC.zip..
    unzipping p9477107_R12.AD.B_R12_GENERIC.zip..
    Executing the merge of the patch drivers
    -- Processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Done processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Processing patch: /fmstop/patches/R1211AD/merge/9477107
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9477107
    Copying files...
    5% complete. Copied 44 files of 876...
    10% complete. Copied 88 files of 876...
    15% complete. Copied 132 files of 876...
    20% complete. Copied 176 files of 876...
    25% complete. Copied 219 files of 876...
    30% complete. Copied 263 files of 876...
    35% complete. Copied 307 files of 876...
    40% complete. Copied 351 files of 876...
    45% complete. Copied 395 files of 876...
    50% complete. Copied 438 files of 876...
    55% complete. Copied 482 files of 876...
    60% complete. Copied 526 files of 876...
    65% complete. Copied 570 files of 876...
    70% complete. Copied 614 files of 876...
    75% complete. Copied 657 files of 876...
    80% complete. Copied 701 files of 876...
    85% complete. Copied 745 files of 876...
    90% complete. Copied 789 files of 876...
    95% complete. Copied 833 files of 876...
    100% complete. Copied 876 files of 876...
    Character-set converting files...
    3 unified drivers merged.
    Patch merge completed successfully
    Please check the log file at ./admrgpch.log.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    I am executing admrgpch after sourcing 11i environment and version for admrgpch is :
    drix10:/fmstop/fmstest/fmstestappl/ad/11.5.0/bin>adident Header admerge.pl
    admerge.pl:
    $Header admerge.pl 115.22 2008/09/18 12:12:08 nissubra noship $

    Hi Srini,
    Thanks a lot !
    Actually, I tried that one as well by running admrgpch from newly installed R12 code tree and I got below error.
    drix10:/fmstop/r12apps/apps/apps_st/appl/ad/12.0.0/bin>ls -rlt admrgpch
    -rwxr-xr-x    1 appltest dba        14293576 Mar 30 2009  admrgpch
    drix10:/fmstop/r12apps/apps/apps_st/appl/ad/12.0.0/bin>admrgpch -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt -admode
    exec(): 0509-036 Cannot load program ./admrgpch because of the following errors:
            0509-150   Dependent module libnnz10.so could not be loaded.
            0509-022 Cannot load module libnnz10.so.
            0509-026 System error: A file or directory in the path name does not exist.
    Then I sourced R12 environment file and ran same command. Its completed successfully.
    drix10:/fmstop/patches/R1211AD/merge>admrgpch -s /fmstop/patches/R1211AD/merge -d /fmstop/patches/R1211AD/merge -merge_name merged_R12AD11 -manifest manifest.txt -admode
    unzipping p7461070_R12_AIX64-5L.zip..
    unzipping p9179588_R12.AD.B_R12_GENERIC.zip..
    unzipping p9477107_R12.AD.B_R12_GENERIC.zip..
    Executing the merge of the patch drivers
    -- Processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Processing file: /fmstop/patches/R1211AD/merge/7461070/u7461070.drv
    -- Done processing file: /fmstop/patches/R1211AD/merge/7461070/u7461070.drv
    -- Done processing patch: /fmstop/patches/R1211AD/merge/7461070
    -- Processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Processing file: /fmstop/patches/R1211AD/merge/9179588/u9179588.drv
    -- Done processing file: /fmstop/patches/R1211AD/merge/9179588/u9179588.drv
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9179588
    -- Processing patch: /fmstop/patches/R1211AD/merge/9477107
    -- Processing file: /fmstop/patches/R1211AD/merge/9477107/u9477107.drv
    -- Done processing file: /fmstop/patches/R1211AD/merge/9477107/u9477107.drv
    -- Done processing patch: /fmstop/patches/R1211AD/merge/9477107
    Copying files...
    5% complete. Copied 45 files of 883...
    10% complete. Copied 89 files of 883...
    15% complete. Copied 133 files of 883...
    20% complete. Copied 177 files of 883...
    25% complete. Copied 221 files of 883...
    30% complete. Copied 265 files of 883...
    35% complete. Copied 310 files of 883...
    40% complete. Copied 354 files of 883...
    45% complete. Copied 398 files of 883...
    50% complete. Copied 442 files of 883...
    55% complete. Copied 486 files of 883...
    60% complete. Copied 530 files of 883...
    65% complete. Copied 574 files of 883...
    70% complete. Copied 619 files of 883...
    75% complete. Copied 663 files of 883...
    80% complete. Copied 707 files of 883...
    85% complete. Copied 751 files of 883...
    90% complete. Copied 795 files of 883...
    95% complete. Copied 839 files of 883...
    100% complete. Copied 883 files of 883...
    Character-set converting files...
      3 unified drivers merged.
    Patch merge completed successfully
    Please check the log file at ./admrgpch.log.

  • The document could not be saved. The server said: "The operation failed because an unexpected error occurred. (Result code 0×80020005)" Please ensure you have completed all required properties with the correct information and try again.

    I am having problems  saving documents back to SharePoint when any of the document properties (metadata columns) are set to be "managed metadata". The check-in/save fails with error:
    The document could not be saved. The server said:
    “The operation failed because an unexpected error occurred. (Result code 0×80020005)”
    Please ensure you have completed all required properties with the correct information and try again.
    I have seen similar threads that suggest this is a known issue with this version of Acrobat but I would like conformation from Adobe that this is a known issue and whether it is fixed in a newer version?
    Adobe Acrobat version 10.1.13
    SharePoint 2010

    Hi quodd,,
    We are sorry for the issue being faced by you. I need some information from you so that I take further steps:
    1. Which Adobe product are you using Acrobat or Adobe reader- what is the complete version?
    2. How are you opening and saving the PDF, the exact workflow?
         Are you doing it from within Adobe Reader/Acrobat application or opening it from browser, doing changes and saving it using browser itself.
    3. Can you try to save a PDF to library with Custom template and managed metadata columns using browser directly.
    4. Please verify that columns name do not contain spaces or some other special characters.
       Can you try to save PDF to library with Custom template and just a single managed metadata column  with a simple name
    Thanks,
    Nikhil Gupta

  • Cost involved in changing the code using log4j.properties to log4j.xml

    i have finished my application, and it was done in such a way that logging is done using log4j but it was using log4j.properties file.
    now i need to change it to log4j.xml. i need to do this at the earliest. so i need to know the cost involved in it?. do i need to change a lot on my app to read the log4j.xml?. In my app there is a function named getProperties, which actually reads the log4j.properties file.
    this is the code of that function
    public static Properties getProperties(String filename,String path) throws myException
    //InputStream is = null;
    FileInputStream is=null;
            Properties props = new Properties();       
            //ClassLoader classLoader = ResourceUtil.class.getClassLoader();
            //is = classLoader.getResourceAsStream(filename);
            File catalinaHome = new  File(System.getProperty("catalina.home"));     
            try {       
    is=new
    FileInputStream(catalinaHome.getCanonicalFile()+path + filename);
    } catch (IOException e) {
            if(is == null)
                String message = "Cannot locate property file " + filename + " in the classpath";
                log.error(message);
            throw new myException(message);
            try
                props.load(is);
            catch (IOException e)
                String message = "Error reading property file " + filename;
                log.error(message);
            throw new myException(message, e);
            finally
                try
                    is.close();
                catch(Throwable t)
                    t.printStackTrace();
            if(props.isEmpty())
                String message = "No properties are defined in " + filename;
                log.error(message);
            throw new myException(message);
            return props;       
    }and my initialize function is
    public static void initialize()
    Properties properties=null;
    try {
    String path="/properties/";
    properties=ResourceUtil.getProperties("log4j.properties",path);
    } catch (myException e2) {
    e2.printStackTrace();
    PropertyConfigurator.configure(properties);
    }Message was edited by:
    xema
    Message was edited by:
    xema
    Message was edited by:
    xema

    >
    1. Restructure log4j.properties into log4j.xml.
    thats done
    2. Move log4j.xml into a directory that's in the
    classpath.
    actually i donot understand what does it mean to move in a directory thats in classpath means. i have to use logging in my webapplication running in tomcat. and my log4j.xml has to reside in catalina.home/properties/. My log4j.properties have been residing here and it had worked well woth the previous function. Now what i did is placed the log4j.xml under properties folder. Now tell me what modifications should i make in the above code.
    3. Remove any code that explicitly configures log4j
    (i.e. the initialize() method) because log4j will
    configure itself from any properties file it finds in
    the classpath, automatically, the first time it is
    called.I prefer not remvoing this function as this function is being called in many of my classes... and we don't have time to edit all...
    please help... and excuse me if i asked some blunders.!!!

  • Scan listenser with EBS R12.1.2

    Hi All
    I am planning to upgrade my DB to 11R2 with EBS R12.1.2 with RAC on linux platform .
    I have doubt can i use Scan listener with R12.1.2 EBS.
    I am referring doc Using Oracle 11g Release 2 Real Application Clusters with Oracle E-Business Suite Release 12 [ID 823587.1]
    Kindly advice me, if i can not use then is there any other method.
    Thanks
    Krishna

    Thanks for reply. The doc which i have mention in last post says that EBS R12.1.3 is supporting scan listener. but doc does not say about R12.1.2. do you have any idea that can i use this with EBS R12.1.2It is supported with 12.1.2 if you have the patches under "For Oracle E-Business Suite Release 12.1" section applied.
    Thanks,
    Hussein

  • Integration of Oracle Apex with EBS R12.1.1

    Dear All,
    We are in process of integrating Oracle Apex 4.0.2 with EBS R12.1.1 with the help of http://www.oracle.com/technetwork/developer-tools/apex/apex-ebs-wp-cabot-consulting-169064.pdf.
    After doing all the steps, the moment when we navigate from EBS application to Apex application by clicking on the EBS menu link it ends up with below error
    "404 Not Found
    Resource /OA_HTML/null/pls/apex/f not found on this server"
    After some analysis i found the below code in "LaunchApex.jsp" for getting the profile value (supposed to be 'http://myserver:port') from custom system profile "APEX_HTTP_SERVER" and prefixing to "/apex/f?p=applicationid:page::APPS:::" is not happening properly
    String l_launcher = ctx.getProfileStore().getProfile("APEX_HTTP_SERVER");
    l_launcher = l_launcher + "/apex/f?p=" + p_application + ":" + p_page;
    l_launcher = l_launcher + "::APPS:::" + p_item_names + ":" + p_item_values;
    as we found that the custom system profile "APEX_HTTP_SERVER" not exist in EBS system. But it works without any page error if we hard code the entire apex application URL in l_launcher variable, but this takes us to EBS login page instead of Apex application page.
    So i feel we can't bypass using profile value from "APEX_HTTP_SERVER" as it has some relation with EBS application session.
    So could anyone please help me how we could create custom system profile "APEX_HTTP_SERVER" or any other options to make the seamless integration of Oracle apex with EBS works without any second login page
    Thanks in advance
    Edited by: 805196 on Aug 25, 2011 12:23 AM

    Hi,
    Create a profile under Application Developer Responsibility as follow:
    Name OAE_LAUNCHER
    Application <whatever>
    User Profile Name Oracle Application Express Launcher
    Description Oracle Application Express Launcher
    2. Set above profile value under System Administrator Responsibility -> Profile -> System, and search for the ‘OAE_LAUNCHER’.
    Set the value at Site Level as:
    http://<hostname>:<Apex port>/pls/apex
    Then instead of hardcoding the URL in the jsp, just give the profile name OAE_LAUNCHER that you have just created in the jsp.
    Hope this helps you
    Brgds,
    Mini
    If this is helpful or correct, assign points promptly.

Maybe you are looking for

  • Using rman to backup a remote database

    I am after a good guide or advice on how (what) to install and (how to) run Oracle RMAN to backup a remote Oracle database. RMAN must be installed and run on a Solaris (SunOS 5.8) box remote from the Solaris box (also SunOS 5.8) running the Oracle da

  • IPod Classic not syncing // iTunes crashing (iTunes 10.7)

    A couple of days ago I restored my iPod as there were tracks that weren't playing. After restoring i'm unable to sync my iPod again...i've never had this problem before. I'm getting various error messages, some examples are :: 'The iPod cannot be syn

  • Photo Albums on iP4 iOS4

    Well now I have my albums listed on the photos folders on the phone. About time!!! Question is: Is there a way to take a photo from the camera roll and place it in a album on the phone itself without syncing back to a computer? I take alot of picture

  • Vers 12.0.1.26 Cannot create playlists

    My existing playlists  gone. I cannot figure out how create new playlists. Does Apple think we do not need them? Also, at one point I took the lots of time to uncheck songs I don't want to listing to anymore, or at least for a while. It is gone and a

  • Viper remote start on 2014 Jeep JK

    Will any of these two viper remote starts work with a 2014 automatic Jeep wrangler unlimited with manual doors and no alarm?Will I be able to install a viper invisibeam after the remote start is installed?    1. Viper 4115V1D Remote Start System with