Weblogic9.1 extended custom log field error

Extended Logging Format Fields : x-TrueIP date time cs-method cs-uri sc-status bytes cs(Referer) cs(User-Agent) cs(cookie)
class 如下:
import weblogic.servlet.logging.CustomELFLogger;
import weblogic.servlet.logging.FormatStringBuffer;
import weblogic.servlet.logging.HttpAccountingInfo;
public class TrueIP implements CustomELFLogger
public void logField(HttpAccountingInfo metrics, FormatStringBuffer buff)
String ip = metrics.getHeader("X-Forwarded-For");
if(ip == null || ip.length() == 0) {
ip=metrics.getHeader("WL-Proxy-Client-IP");
if(ip == null || ip.length() == 0) {
ip=metrics.getRemoteAddr();
buff.appendValueOrDash(metrics.getHeader("ip"));
TrueIP.class add to weblogic setDomainEnv.sh
# SET THE CLASSPATH
CLASSPATH="${PRE_CLASSPATH}${CLASSPATHSEP}${WEBLOGIC_CLASSPATH}${CLASSPATHSEP}${POST_CLASSPATH}${CLASSPATHSEP}${WLP_POST_CLASSPATH}${CLASSPATHSEP}${WL_HOME}/integration/lib/util.jar::/home/weblogic/bea/user_projects/domains/base_domain/bin/TrueIP.class"
export CLASSPATH
weblogic nohup ./startWebLogic.sh >log&
error msg ::::
WLS Start Mode=Development
CLASSPATH=:/home/weblogic/bea/patch_weblogic910/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/bea/jdk150_04/lib/tools.jar:/home/weblogic/bea/weblogic91/server/lib/weblogic_sp.jar:/home/weblogic/bea/weblogic91/server/lib/weblogic.jar:/home/weblogic/bea/weblogic91/server/lib/webservices.jar::/home/weblogic/bea/weblogic91/common/eval/pointbase/lib/pbclient51.jar:/home/weblogic/bea/weblogic91/server/lib/xqrl.jar::/home/weblogic/bea/weblogic91/integration/lib/util.jar::/home/weblogic/bea/user_projects/domains/base_domain/bin/TrueIP.class:
PATH=/home/weblogic/bea/weblogic91/server/bin:/home/weblogic/bea/jdk150_04/jre/bin:/home/weblogic/bea/jdk150_04/bin:/usr/java/jdk1.5.0_11/bin:/usr/java/jdk1.5.0_11/bin:/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http://hostname:port/console *
starting weblogic with Java version:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
Starting WLS with line:
/home/weblogic/bea/jdk150_04/bin/java -client -Xms1024m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform.home=/home/weblogic/bea/weblogic91 -Dwls.home=/home/weblogic/bea/weblogic91/server -Dwli.home=/home/weblogic/bea/weblogic91/integration -Dweblogic.management.discover=true -Dweblogic.ProductionModeEnabled= -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/weblogic/bea/patch_weblogic910/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/home/weblogic/bea/weblogic91/server/lib/weblogic.policy weblogic.Server
<2010-6-4 上午11时00分25秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_04-b05 from Sun Microsystems Inc.>
<2010-6-4 上午11时00分26秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.1 Mon Dec 12 19:26:33 EST 2005 689178 >
<2010-6-4 上午11时00分28秒 CST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /home/weblogic/bea/license.bea>
<2010-6-4 上午11时00分28秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2010-6-4 上午11时00分28秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2010-6-4 上午11时00分28秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/bea/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<2010-6-4 上午11时00分28秒 CST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that libmuxer library is in :'/home/weblogic/bea/jdk150_04/jre/lib/i386/client:/home/weblogic/bea/jdk150_04/jre/lib/i386:/home/weblogic/bea/jdk150_04/jre/../lib/i386:/home/weblogic/bea/patch_weblogic910/profiles/default/native:/home/weblogic/bea/weblogic91/server/native/linux/x86_64:/home/weblogic/bea/weblogic91/server/native/linux/x86_64/oci920_8'
>
<2010-6-4 上午11时00分29秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
*<2010-6-4 上午11时00分31秒 CST> <Error> <HTTP> <BEA-101231> <HTTP log file does not use version 1.0 of the Extended Log File format.>*
*<2010-6-4 上午11时00分31秒 CST> <Error> <HTTP> <BEA-101234> <Attempting to initialize ExtendedLogFormat application specific header: x-TrueIP. However, failed due to exception.>*
<2010-6-4 上午11时00分31秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<2010-6-4 上午11时00分31秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
参考文档:http://edocs.weblogicfans.net/wls/docs92/config_wls/web_server.html#wp1059475

set classpath dir
not dir+XXX.class

Similar Messages

  • Custom ELF Displays ' - ' in Extended access log

    I am trying to capture some pretty basic custom fields in the extended access log.
    I have created the appropriate class files and formatted the access.log correctly.
    I know this because when I run Web Logic 6.1 on my windows desktop the Extended
    Access Logs displays the values correctly.
    When I move the JAR file containing the ELF Classes to a SunOS server with Web
    Logic 6.1 the Extended Access Log contains only '-' for the custom fields. I ran
    some JSP files on the sun server to pull the values from the Request to make sure
    they were not null. They display correctly on the JSP so I know the values exsist
    within the request.
    The mystery is why won't they display in the access.log on the sun machine? Has
    anyone else experinced this? Are there any settings I should be checking for on
    the sun servers console?
    Facts:
    * The classes ae correct becuase they display correctly on the windows machine
    * The request on the sun server contains my ELF values becuase I can print them
    on a jsp page
    * The JAR file which contains the ELF classes is sitting outside of the application
    and loads in the classpath successfully.(I know this because I had it wrong and
    couldn't start the server)

    I am trying to capture some pretty basic custom fields in the extended access log.
    I have created the appropriate class files and formatted the access.log correctly.
    I know this because when I run Web Logic 6.1 on my windows desktop the Extended
    Access Logs displays the values correctly.
    When I move the JAR file containing the ELF Classes to a SunOS server with Web
    Logic 6.1 the Extended Access Log contains only '-' for the custom fields. I ran
    some JSP files on the sun server to pull the values from the Request to make sure
    they were not null. They display correctly on the JSP so I know the values exsist
    within the request.
    The mystery is why won't they display in the access.log on the sun machine? Has
    anyone else experinced this? Are there any settings I should be checking for on
    the sun servers console?
    Facts:
    * The classes ae correct becuase they display correctly on the windows machine
    * The request on the sun server contains my ELF values becuase I can print them
    on a jsp page
    * The JAR file which contains the ELF classes is sitting outside of the application
    and loads in the classpath successfully.(I know this because I had it wrong and
    couldn't start the server)

  • System error: Incorrect Customizing for field

    Hello guru's,
    I am using badi (mb_migo_badi) on migo transaction for adding a custom tab.
    In mseg table custom include (CI_COBL) I had added two fields which is zct3no and zct3dt
    when the time of transaction :
    the field which i had taken , migo document is generating properly and the values of customized tab fields inserting in mseg table properly .
    The badi which i had done is working properly for document creation, but at the time of display this document the error is coming :
    system error: incorrect customizing for field : ct3no and ct3dt
    Thanks & regards,
    Sandeep.
    Moderator message : Duplicate post locked.
    Edited by: Vinod Kumar on Oct 23, 2011 1:01 PM

    Hi Sandip,
    I think there is a similar post you posted in the same forum.
    Regards,
    Madhu.

  • High number of "Network error code 0x2746" in extended events log

    In the extended event log of our database server I see 880 consecutive identical errors, all occurring between
    17:00:49 and 17:15:25. The message is:
    Network error code 0x2746 occurred while establishing a connection; the connection has been closed. This may have been caused by client or server login timeout expiration. Time spent during login: total 27 ms, enqueued 0 ms, network writes 0 ms, network
    reads 25 ms, establishing SSL 8 ms, negotiating SSPI 0 ms, validating login 0 ms, including user-defined login processing 0 ms. [CLIENT: 10.127.214.32]
    The timings in each message are a little bit different. It might be interesting to know the averages for these timings, so here is the message again, now with the timings replaced by averages (rounded to 1 digit):
    Network error code 0x2746 occurred while establishing a connection; the connection has been closed. This may have been caused by client or server login timeout expiration. Time spent during login: total 32.5 ms, enqueued 0.5 ms, network writes 0.9 ms,
    network reads 29.4 ms, establishing SSL 8.3 ms, negotiating SSPI 0.0 ms, validating login 0.0 ms, including user-defined login processing 0.0 ms. [CLIENT: 10.127.214.32]
    The client is a Citrix server that runs a COTS program. It serves approx. 20 users.
    What can be the cause of this? Can it only be the program that automatically tries to reconnect?

    Hello,
    Please read about possible causes and resolutions on the following resource:
    http://technet.microsoft.com/en-us/library/ms187005(v=SQL.105).aspx
    Please examine any certificate used for communications. Maybe a certificate has expired.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Extending Standard account Fact Sheet with Custom BO fields

    I have created one custom BO with 2 free text fields. The fields are embedded in the standard account screen in a new tab.
    The custom fields have to be available in the account summary fact sheet as well.
    BO Definition:
    [AlternativeKey] element AccountID: apCommonGDT:BusinessPartnerInternalID;
    node Note1[1,1]
      element ID:ID;
      [DependentObject(TextCollection)] node FIELD1;
    node Note2[1,1]
      element ID:ID;
      [DependentObject(TextCollection)] node FIELD2;
    Is it possible to extend the standard fact sheet with these custom BO fields ?

    Hello Surajit,
    If you need a field to store string of big length, you can use LANGUAGEINDEPENDENT_Text. Have you tried that already? This data type doesn't have any length restriction.
    Thanks & Regards,
    Meghna

  • How to populate custom table field value into standard DFF

    Hi Gurus
    I am newbie to the OAF
    I have a requirement to populate the custom table field value into standard DFF. we enabled the DFF in ReqDistDFFOnAcct(po_req_distributions_all). On the requisition tab as soon as i click on the checkout button, the custom field value has to be shown in the requisition distributions DFF field along with the standard Columns like charge account, percent, qty and when we click on the next button, it has to hit the base table ie., po_req_distributions_all.
    the standard columns data is showing the screen. how to acheive this requirement programatically
    There is a EO for the req distributions table. please help me how to achevie this requirement.
    Any help woud be greatly appreciated.
    Thank You!
    Krishna

    Thanks Aj. Finally i made some progress....but i am getting an error in the inst_top OPMN folder 10/10/08 15:37:14 Error: <connector name="OracleASjms" path="OracleASjms.rar" /> will not be bootstrapped since corresponding module declaration was not found in application.xml. I cleared the cache, bounced the webserver. Could not able to understand what is this error
    Following is the code that i have written. I am not able to find out what is the error. please help me how to fix this error. there is no changes in the page and the value is not auto populating. the page is having the normal behaviour as the standard one.
    Thanks in Advance for your help...
    public class xxCheckoutDistsCO extends CheckoutDistsCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String UnitId="";
    //First get the Application Module
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("PoRequisitionLinesVO");
    String Reqlineid="";
    String Linenum="";
    String DeliverLoc="";
    if(vo.first() !=null)
    Reqlineid= vo.first().getAttribute("RequisitionLineId").toString();
    Linenum = vo.first().getAttribute("LineNum").toString();
    DeliverLoc = vo.first().getAttribute("DeliverToLocationId").toString();
    // if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    // pageContext.writeDiagnostics("TEST >", Reqlineid,1);
    // pageContext.writeDiagnostics("TEST >", Linenum,2);
    // pageContext.writeDiagnostics("TEST >", DeliverLoc,3);
    UnitId=null;
    String Querry="select amli_icx_oaf_utils.get_blding_unit_id (?,?,?) from dual";
    try
    PreparedStatement ps=am.getOADBTransaction().getJdbcConnection().prepareStatement(Querry);
    ps.setInt(1,Integer.parseInt(Reqlineid));
    ps.setInt(2,Integer.parseInt(Linenum));
    ps.setInt(3,Integer.parseInt(DeliverLoc));
    ResultSet rs=ps.executeQuery();
    // ps.execute();
    // am.getOADBTransaction().commit();
    while (rs.next())
    System.out.println(" Query Results ");
    UnitId= rs.getString(1);
    System.out.println(" first > ");
    rs.close();
    ps.close();
    catch(SQLException a)
    System.out.println(" Error "+a);
    System.out.println(" Second > ");
    System.out.println(" Third > "); ----the program is executing upto here...it is not setting the value after this.
    OAViewObject povo = (OAViewObject)am.findViewObject("PoReqDistributionsVO");
    if(povo.getCurrentRow()!=null ) --------If i remove this condition i am getting the nullpointer exception in page.....
    System.out.println(" Fourth > ");
    povo.getCurrentRow().setAttribute("Attribute12",UnitId);
    // if(pageContext.isLoggingEnabled(OAFwkConstants.STATEMENT))
    // pageContext.writeDiagnostics("TEST >", UnitId, 1);
    Thanks
    krishna

  • 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

  • How Do I output Custom CRM Fields?

    There is currently no reference or insertion method to obtain these very easily but it can be done.
    Note: This topic assumes you have already made your custom fields.
    Step 1:
    Create a Test Page or go to a test page you may have.
    Step 2:
    Launch the module manager
    Step 3:
    Select the Securezone options and go to insert an Customer update details form.
    Step 4:
    When you click the link you will see the CRM fields dropdown appear, Choose the custom field set you made.
    Step 5:
    Insert the form into the page.
    Step 6:
    If you Click the HTML view and scroll to where it has inserted the custom CRM fields and look at the source you will see that there is the module tag code you need.
    <tr>
          <td><label for="CAT_Custom_201289_72865">Secondary Support Manager Email</label><br />
          <input type="text" class="cat_textbox" id="CAT_Custom_201289_72865" name="CAT_Custom_201289_72865" maxlength="1024" value="{module_customerfield,72865,201289}" /></td>
    </tr>
    {module_customerfield,72865,201289} is what your after.
    Step 7:
    Copy the module code and use as you need to in your templates. Please note that these will only work when logged in and only for that person who is logged in.
    So, what is this good for?
    You may want to show a company Logo in the template when they have logged in for example. This is perfect for this.

    I'm trying to get this to work to no avail...
    I have ceated an Extended CRM Field that has a series of check boxes. I inserted the "Edit Customer Details" form on a page. In the custome record I just want to display the selection of the field, not the entire list of checkboxes. I also wanted to use tis field (The selected checkbox) in the checkout form. Anyway the code looks like this:
              <tr>
                    <td><label>Premium Seating Boxes</label><br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_0" value="PSB 1 - Regina Pats" />PSB 1 - Regina Pats<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_1" value="PSB 2 - CKCK TV" />PSB 2 - CKCK TV<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_2" value="PSB 3 - Molson Breweries" />PSB 3 - Molson Breweries<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_3" value="PSB 4 - Coca-Cola" />PSB 4 - Coca-Cola<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_4" value="PSB 5 - All-Rite Plumbing" />PSB 5 - All-Rite Plumbing<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_5" value="PSB 6 - Dilawri Group" />PSB 6 - Dilawri Group<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_6" value="PSB 7 - Yara-Sask Ferco" />PSB 7 - Yara-Sask Ferco<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_7" value="PSB 8 - Leipert Financial" />PSB 8 - Leipert Financial<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_8" value="PSB 9 - Evraz" />PSB 9 - Evraz<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_9" value="PSB 10 - SaskTel" />PSB 10 - SaskTel<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_10" value="PSB 11 - Evraz" />PSB 11 - Evraz<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_11" value="PSB 12 - Brandt Tractor LTD." />PSB 12 - Brandt Tractor LTD.<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_12" value="PSB 14 - Viterra" />PSB 14 - Viterra<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_13" value="PSB 15 - Leader Post" />PSB 15 - Leader Post<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_14" value="PSB 16 - The Co-Operators" />PSB 16 - The Co-Operators<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_15" value="PSB 17 - Mosaic" />PSB 17 - Mosaic<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_16" value="PSB 18 - Harvard Western Insurance" />PSB 18 - Harvard Western Insurance<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_17" value="PSB 19 - Regina Pats" />PSB 19 - Regina Pats<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_18" value="PSB 20 - Bayer Corp." />PSB 20 - Bayer Corp.<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_19" value="PSB 21 - Fries Tallman" />PSB 21 - Fries Tallman<br />
                    <input type="checkbox" name="CAT_Custom_434349_142115" id="CAT_Custom_434349_142115_20" value="PSB 22 - Sask Gaming" />PSB 22 - Sask Gaming
                    <script type="text/javascript">function setSelectedCheckbox(radioObj,options) {optionsToSelect = options.split(',');for(var i = 0; i < radioObj.length; i++) {radioObj[i].checked = false;if(optionsToSelect.indexOf( radioObj[i].value) != -1 ) {radioObj[i].checked = true;}}}; setSelectedCheckbox(document.getElementsByName('CAT_Custom_434349_142115'),'{module_custo merfield,142115,434349}');</script>
                    </td>
                </tr>
    So I grabbed the section {module_customerfield,142115,434349} and iserted it in the form but it doesn't display anything at all. Is this because it's checkboxes? Any help on this would be greatly appreciated.

  • Custom mapped field attach problem

    Hi!
    I have a field, for which I've written custom field mapping. Everything
    seems to run fine, but when I try to attach previously detached instance I
    got:
    kodo.util.FatalInternalException: kodo.util.FatalInternal
    Exception: Cannot attach field "SomeObject.someField" of type "10".
    Mapping's getJDBCType() returns Type.OTHER. Field contains java object, but
    corresponding database table column is numeric type. No matter what I set
    JDBCType to I fail to attach object. When I set type to Type.JAVA_OBJECT I
    get exception (when Kodo is reading database tables on startup) that says
    that column type DECIMAL isn't compatibile with the type I set in my custom
    mapping. When I set it to Type.DECIMAL I got the same error I got with
    Types.OTHER ("Cannot attach..").
    How should custom mapped fields be attached? I want Kodo to attach and
    update object modified on the client side - as for the type (used as I
    presume when Kodo is crafting database statement) I want the type declared
    in mapping to be used (even it seems to be incompatibile with database
    schema, my JDBC driver will take care of it converting it on-the-fly). I've
    been looking for some clues in docs, but no success so far. Any hints?
    Regards,
    Pawel

    Uzytkownik "Marc Prud'hommeaux" <[email protected]> napisal w wiadomosci
    news:[email protected]...
    Pawel-
    Can you post the complete stack trace of the error you are getting?Sure, here's what I receive on the client side. Theres nothing in server
    side logs.
    [java] java.rmi.RemoteException: EJB Exception:; nested exception is:
    [java] java.rmi.RemoteException: setByValue(); nested exception is:
    [java] kodo.util.FatalInternalException:
    kodo.util.FatalInternalException: Cannot attach fi
    eld "edu.mypackage.SomeObject.someField" of type "10".
    [java] at
    weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108
    [java] at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :284)
    [java] at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
    :244)
    [java] at
    edu.mypackage.impl.JVTSessionExtProxy_f0ahbq_EOImpl_811_WL
    Stub.setByValue(Unknown Source)
    [java] at edu.mypackage.test.JVTSessionTestProxy.setByValue(J
    VTSessionTestProxy.java:112)
    [java] at
    edu.mypackage.test.JUnitTestClientGis3.testGeometryUpdate2(JUnitTestClient
    Gis3.java:99)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    [java] at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    [java] at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    ..java
    :25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at junit.framework.TestCase.runTest(TestCase.java:166)
    [java] at junit.framework.TestCase.runBare(TestCase.java:140)
    [java] at junit.framework.TestResult$1.protect(TestResult.java:106)
    [java] at
    junit.framework.TestResult.runProtected(TestResult.java:124)
    [java] at junit.framework.TestResult.run(TestResult.java:109)
    [java] at junit.framework.TestCase.run(TestCase.java:131)
    [java] at
    edu.mypackage.test.JUnitBaseTestClient.run(JUnitBaseTestClient.j
    ava:118)
    [java] at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [java] at junit.framework.TestSuite.run(TestSuite.java:168)
    [java] at
    edu.mypackage.test.ResultTestSuite.run(ResultTestSuite.java:21)
    [java] at junit.textui.TestRunner.doRun(TestRunner.java:74)
    [java] at junit.textui.TestRunner.start(TestRunner.java:234)
    [java] at junit.textui.TestRunner.main(TestRunner.java:112)
    [java] Caused by: java.rmi.RemoteException: setByValue(); nested
    exception is:
    [java] kodo.util.FatalInternalException:
    kodo.util.FatalInternalException: Cannot attach fi
    eld "edu.mypackage.SomeObject.someField" of type "10".
    [java] at edu.mypackage.impl.JVTSessionExtImpl.setByValue(JVT
    SessionExtImpl.java:579)
    [java] at
    edu.mypackage.impl.JVTSessionExtProxy_f0ahbq_EOImpl.setMan
    agedEntityByValue(JVTSessionExtProxy_f0ahbq_EOImpl.java:102)
    [java] at
    edu.mypackage.impl.JVTSessionExtProxy_f0ahbq_EOImpl_WLSkel
    ..invoke(Unknown Source)
    [java] at
    weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
    [java] at
    weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
    :108)
    [java] at
    weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
    [java] at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.jav
    a:353)
    [java] at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    [java] at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
    [java] at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
    0)
    [java] at
    weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    [java] Caused by: kodo.util.FatalInternalException:
    kodo.util.FatalInternalException: Cannot at
    tach field "edu.mypackage.SomeObject.someField" of type "10".
    [java] at
    kodo.util.FatalInternalException.writeReplace(FatalInternalException.java:54
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
    [java] at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
    [java] at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
    ..java
    :25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at
    java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:882)
    [java] at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
    [java] at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    [java] at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    [java] at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    [java] at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    [java] at
    java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
    [java] at
    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
    [java] at
    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
    [java] at
    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
    [java] at
    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
    [java] .F
    [java] at
    weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObject
    Outpu
    tStream.java:114)
    [java] at
    weblogic.rjvm.MsgAbbrevOutputStream.sendThrowable(MsgAbbrevOutputStream.java
    :367)
    Regards,
    Pawel Swierszcz

  • 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

  • Tracking the changes made to the custom table  field value

    Hi all,
           can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
    Example: if i changed the  value of field  'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.

    -> try TA: SCU3
    regards Andreas

  • Custom log of rejects in BPC data manager package

    dear All
    we have custom package which loads records from flat file.
    The package is using a stored procedure for all calculations and log errors..
    The error codes are logged for duplicates, invalid member IDs..
    When we tested for small number of records, the log used to display in package view status.
    But if there are huge number of reccords we were unable to display log in the pacakge status. Is there any limitation?
    the error log file ranging from 8Mb to 25MB.
    Please advise.
    BPC 7.5 MS version.
    regards
    Prasad

    hi Roberto
    thanks for your reply.
    yes i am trying to display the log file of private publications only. it consists of rejects with custom logs.
    this is requirement from client, they wantrd to see in package view status itself.. so is why we got stuck
    during testing it was able to display but during uat there were huge rejects where it wasnot able display anthing.
    is there any sap  note so that I can share to client,n or specifications of sap?
    any workaround please advise
    regards
    Prasad

  • How can I use a variable for an interface log and error fle

    I want to use a variable for the interface's log and error file so that when I migrate from Dev to QA to Prod I don't have to do a lot of editing.
    Specifically on the "flow" tab for the "target", I want a variable to be the first part of the path for the log (\\sundev1\fnd1-hypd1) and join this with the rest (\update\log\logfile.log) within the LOG_FILE_NAME field.
    Thank you!

    Hi,
    It is quite simple....
    just use the <%=odiRef.getSchemaName("D")%> before the file name and configure both path in the topology linked to each context.

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

  • Customer specific fields or tab in SOLAR_PROJECT_ADMIN

    Hi Experts,
    is it possible to add customer specific fields to transaction SOLAR_PROJECT_ADMIN?
    If yes, is it also possible touses that fields for reporting functionalities?
    Best regards,
    Martin

    Hi Martin,
    By standard you can't add custom fields or tabs. But you can extend SAP Solution Manager to manage new object types as described in this blog post by Andreas:
    -Extend SAP Solution Manager to Manage New Object Types
    Kind regards, Fabricius

Maybe you are looking for