Adding a LabelField with implementation in custom page & paint freezes App.

It's the absolute weirdest thing, I met so far. After error for about an hour, I narrowed down it to the following instructions.

I have a class that extends the screen, I add the following to the constructor of the class and the App freezes each and ever time. The area of the label takes the string value of the variable title twice to create a white color with a slight black shadow text.

That's it... nothing else.

However, it freezes the App.

There is something blatantly obvious that I'm missing?

LabelField t = new LabelField() {
    int xy = 14;

    protected void layout(int width, int height) {
        setExtent(width, getPreferredHeight() + xy);
    }

    protected void paint(Graphics g) {
        g.setColor(Color.BLACK);
        g.drawText(title, xy, xy - 3);
        g.setColor(Color.WHITE);
        g.drawText(sportTitle, xy, xy - 2);
        invalidate();
        super.paint(g);
    }
};

Font font = Font.getDefault().derive(Font.BOLD | Font.SANS_SERIF_STYLE, 8, Ui.UNITS_pt);
t.setFont(font);
add(t);

My first instinct is to delete your method invalidate() object.

I'm sure that it's more than a typo in your case; in general, however, it is an extremely bad approach, aggravated by the frequency with which all kinds of 'gurus' use in their articles and responses. The endless loop it creates is 'soft', which means useful work will have a chance to be, but you'll be safer without him.

However, there are other problems in your code:

Your code layout() is not enough. When you extend a real (not abstract) field, you really want to use super.layout there is somewhere - if your super.paint won't know where to paint! Either extend the field and make all paint yourself (and then you could limit the layout to the right setExtent - but you really want to do more there, calculation of widths, positions, etc.), or call the super.layout somewhere.

Your exersizes with two calls drawText will be spoiled by the later super.paint call. First call super.paint, then paint over it (in general, you should be careful with this approach, but here, it makes sense).

Tags: BlackBerry Developers

Similar Questions

  • ITS filter - adding several filters with the same custom attribute

    Hello

    I added the attributes of custom search and am able to add a filter to the doOracleSearch method.

    filter [0] = new filter (New Integer (100), 'NUMBER', 'equal', 10020);

    Now I have to add another filter for the same attribute of research with or condition, how can I do this...

    I tried the following...

    filter [0] = new filter (New Integer (100), 'NUMBER', 'equal', 10020);
    filter [1] = new filter (New Integer (100), 'NUMBER', 'equal', 10049);

    But how do I specify it's or and the code above does not work.

    Thank you.
    Vermorel.

    Here is an example of this using 11 g. Note that you need to connect programmatically if the data is secure.

    Create the search service and to define the URL of SOAP
    SearchService OracleSearchService = new OracleSearchService();
    searchService.setSoapURL ("http://myserver:7777/recherche/requete/oraclesearch"); ")

    Download the data to the research group
    DataGroup dataGroup = new DataGroup();
    dataGroup.setGroupName ("MyGroup");
    DataGroup dataGroups [] = new DataGroup [1];
    dataGroups [0] = dataGroup;

    Get a list of all the attributes to fetch
    Attribute [] attributesAll = searchService.getAllAttributes("en");
    ArrayList attributeIds = new ArrayList ();
    for (attribute a: attributesAll)
    {
    attributeIds.add (a.getId ());
    }
    Integer [] attributeIdArrayAll = Integer [attributeIds.size (new)];
    attributeIdArrayAll = attributeIds.toArray (attributeIdArrayAll);

    Create filters (BE sure THAT THE FILTER ID IS CORRECT - I do not pretend you code it but rather browse the list of all of the above attributes and get ID like that)
    Filter [] myFilters is new filter [2];.
    myFilters [0] = new filter (124, "Number", "EQUAL", "129224");
    myFilters [1] = new filter (124, "Number", "EQUAL", "123730");

    Request (be SURE to USE ' or ' as the operator between the filters)
    Result OracleSearchResult = searchService.doOracleSearch ("", 0, 50, false, false, dataGroups, "fr", null, true, 'or', myFilters, attributeIdArrayAll);

    Get number
    int hits = result.getEstimatedHitCount () .intValue ();

    Print results
    ResultElement [] resElements = result.getResultElements ();
    for (int i = 0; i)< reselements.length;="">
    {
    Download the document
    ResultElement doc = resElements;
    }

    I hope this helps!

  • I recently opened firefox and the lower half of the page is filled with directions to Custom Search Menu Wizard

    I recently opened firefox and the lower half of the page is filled with directions to Custom Search Menu Wizard tried everything and cannot figure out how to get it out. With the help of 3.6.26 version. The status bar is just above Directions, I tried closing all toolbars and nothing gets rid of it. Help, please

    It seems that a recent update of Fast Video Download (with SearchMenu) 4.1.5 broke the version of Firefox 3.6 on their module. You can upgrade to the latest version of Firefox to:

    http://www.Mozilla.org/Firefox

    https://support.Mozilla.org/en-us/questions/915364

    https://support.Mozilla.org/en-us/questions/915355

  • How to implement MOAC on custom pages OAF.

    Hi all

    How to implement MOAC on custom pages OAF. Please help it is very urgent.

    Thank you and best regards,
    MS

    Hello

    Please visit http://mukx.blogspot.com/2009/04/moacmulti-org-access-control-in-oa.html

    Kind regards
    Out Sharma

  • The page you are looking for is not available. You may need to contact your administrator with this error: 404 Page not found.

    I am at a loss.  I've set up a root certification authority to sign all servers in my workspace of Horizon, SAML is in the Green and after a lot of reading when troubleshooting also synchronized on all my ESXi hosts and guests.

    Basically, what I did is the following:

    Set up the connection to the Server VMware View Horizon 5.2 - created different pools and can connect via the customer different platform. (a few times to eliminate any possible configuration errors along the way)

    Configuration of VMware View Horizon Workspace 1.0 (a few times now) with self-signed and CA signed certs.  My workspace appears fine, the synchronization of files, apps work, and view pools appear.  When I try to launch your desktop from inside the Horizon workspace I get this error:

    The page you are looking for is not available. You may need to contact your administrator with this error: 404 Page not found.

    Now I think that I followed it down to something to do with SAML connection - which, to my understanding, archery chips between workspace and view.  On the login server, I see it in the Windows event log:

    BROKER_USER_AUTHFAILED_SAML_ACCESS_REQUIRED

    SAML access required but not tempted by customer

    Attributes:

    Source = com. VMware.VDI.Broker.filters.SamlAuthFilter

    Time = MON may 20 16:06:41 MDT 2013

    Gravity = AUDIT_FAIL

    Node = ViewConnection.access360.ca

    Module = broker

    Recognized = true

    Something is not crossing to allow me to access my office view since the workspace of Horizon.  If I remove the requirement of SAML on the login server see, when I try to connect to a desktop computer from the view connection server I get a promotion for and can I get my IDs & field and have full access with reviews, as well as blast HTML - just cannot get there with Horizon Workspace.  There must be something that I am missing with SAML...

    As I said, I'm at a loss here on what does not work between the Horizon workspace and the connection of SAML for display to connect to the server.  There is no server security, server transfer, and firewalls is all off, so I don't think it's a network problem.  Simple as possible.  The Windows Journal event displays the login displays server error is: access required but not attempted by client SAML.  I have all my servers synchronized after a few seconds - so I don't think that documented the TIME Horizon workspace synchronization time sensitivity is responsible here.  I am Pack overnight, but will do exactly the same thing with a client of tomorrow - hopefully without the same result!

    Any ideas?

    A

    So I re-deployed the VAPP (again!) very attentive as I went.  As usual, the initial database installation failed because I entered my domain FULL of the gateway name, so it does not match.  After useful messages already there for this (Workspace install fails with error creating the user admin) I used the wizardssl.hzn of connfigurator - going to recreate a rootca to the environment based on my FULL domain instead of the bridge - going and then let it grow all for the other vApps.  I then connected to each and pulled down my private rootca and ran c_rehash, etc. (another useful message!- adding MS signed Certs to Horizon Workspace & laquo;) Carlos & #039; Corner) I actually use my background to UNIX and openssl to be my own private CA and sign all of my certificates.  I created the SAN cert and added to the SSL configuration on the Configurator - going and connector - going.  Oddly enough, both of these server do not appear to be accepting SAN cert that includes their ENTIRE domain, but that's for another day... My Horizon Workspace FQDN does show as being approved by installed RootCA private (which does not have other DNS names for the service - going, the Configurator - goes, the data - will and the connector - will, but as I have already said--a battle for another day) so it's a good thing.  I joined my workspace to my domain name - well!  Activated would be pools seen in the Configurator - goes - sync - good.  CRT for the my display login server has accepted and implemented the SAML trust.  Still good.  Sync in my opinion users group who already had a couple of linked clone pools allowed to do.  Good.  Connected to the FQDN of my workspace and clicked on computers - seen my 3 pools.  Clicked on one and after a few seconds, launched in a new window of the explosion.  Success!  I disconnected and connected on a different machine, and something that I saw before, but doesn't have a lot of attention to was the connector - will put 'use windows authentication', I couldn't understand why every time I sailed on my Horizon workspace a no vmware window opens asking access my FQDN:443 with a user and pass.  It is this setting - duh.  I'm not sure yet that gives me, so it's off for now.

    Thanks for all the input: it's good to know that there are others with some of the same questions.  It's still v1.0, it is related to some of these pitfalls.  It is capricious with derived from same time less than 10 seconds seems to have a negative impact.  Had to ensure my ESXi servers were strong (never worried a lot in the past with MS AD being quite tolerant with small derivatives) I tired my vApps affecting a NTP, but they seemed like being left to the default of synchronization to the ESXi host.  See how than pans.  CERT is somewhat capricious depending on your deployment.  Of course the connector - will and the Configurator - must be signed by a CA that they are internal, but always be nice to then have signed internal...

    Now, I'm on ThinApps for desktops as well as the web interface integration.

    I bumped my head against the wall with my first configuration of Citrix XA and XD (before having VDI in a box!) and it was the best way to learn.

    I don't know that I grave along that I finished my PoC, but I'm very happy with today's results.  I still plan on the comparison of my logs successful with the logs I have pulled my former deployment TIME and see what it was that it was broken.  I think it was that wanted me a PTR record to my domain FULL DNS MS. name  I think I just had the direct search for the original bridge - will and FULL, but only a setback for the gateway domain - name.  Would explain why I was never able to connect to the gateway to access your desktop.  Oops.

    A

  • Disabling a button "submit" after the first click on a custom page

    Hi guys,.

    I have a requirement where I need to add a button "submit" ("email") to a custom page, once the button is clicked to send a notification by email, it should be disabled for the next time that the user not send the email for the second time.
    Adding a button is OK, turn it off

    Pls help me if anyone has ideas/thoughts.
    Appreciate your help.


    Thanks in advance,
    Suman

    Hello

    Your condition can not be filled with blockoneverySubmit API because it would block if it is between the transaction once the event is over, you can click on it again. Better at the event click redirect it to the same page and make this option off or use PPR (better solution).

    Kind regards
    Out Sharma

  • Cannot open a custom page on the other page custom after importation.

    Hi all!
    I created 2 custom pages "EITPersonPG" and "EITPersonMainPG" and imported in the SDM repository using import.bat. I created a function to 'EITPersonPG' and he added in the menu. I can open my pages in the menu directly, but when I try to open "EITPersonMainPG" of "EITPersonPG" I get this error:
    "
    oracle.apps.fnd.framework.OAException: no data available for the region (ibsborlas/oracle/apps/by/EIT/webui/EITPersonMainPG).
    ...
    # # 0 in detail

    Exception:
    oracle.adf.mds.MetadataDefException: unable to find the component with an absolute reference = ibsborlas/oracle/apps/by/EIT/webui/EITPersonMainPG, XML Path = null. Please check that the reference is valid and the definition of the component on the file system or in the MDS repository.
    ...
    "
    I executed "(exec jdr_utils.printDocument('/ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG');" in Sql and it's OK.
    I created a function to 'EITPersonMainPG' and he added in the menu. I can open it.

    I can open "OA.jsp?page=ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG" from the menu, but it cannot open 'OA.jsp?page=ibsborlas/oracle/apps/per/eit/webui/EITPersonPG '.
    What must I do in order to open 'EITPersonMainPG' to 'EITPersonPG '?

    Thanks in advance.
    Pavel.

    Hi Pavel,

    Instead of

    OA.jsp?page=ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG

    use

    OA.jsp?page=/ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG

    You missed a ' / '.

    Thank you
    Anoop

  • D110 printer custom page size

    I have a PC of HPE-400y under Windows and Office 2010.  "I have a document in Word that has a size of custom page 5.5" x8.5 ".  It will not be printed on a paper 5.5x8.5.  In Word when I select Preview before printing, the D110 shows up the print, the page size as 8.5x11.  "If I click on the page and go to"more formats of paper and dΘfinir the page size to 5.5x8.5, the box shows custom page size 5.5"x 8.5" with one "! "in the box.  When I click on print, it prints it centered in the middle of a page of 8.5x11.0.

    So I have shows the properties of the D110, and saw that the driver was list as Micorsoft.  So I download the driver full features on the HP site.  It made no difference.

    If I go in Word and open the document and select the printer preview and select Microsoft XPS Document Writer printer, the size of the page shows that education 5.5 x 8.5.  If I then select the D110, it shows the size of the page as letter 8.5 "x 11".

    So, how can I print 5.5 x 8.5 page size in the D110

    HP Chat has solved my problem.  We open the print properties, then choose the features tab.  You click size, and then in the drop-down list, click Custom...    It then opens a window of the custom page size.   In the name field, enter the name you want the custom size to call.  Change the width and length you want, and then click on SAVE and then on OK.

    I then went in Word and the name that I created in the custom page was there.  And it prints correctly.

  • Problem with the WIndows Update page

    I am running Windows XP with Service pack 3. Microsoft Security essentials is the security system. When trying to run Windows Update using Internet Explorer 8, at the point of the page is to check that if my system is the correct update software, the page fails, finally displaying the message "Internet Explorer has stopped to try to restore this Web site. It seems that the Web site continues to be a problem. "This is repeated each time I have repeat the initial attempt, or click 'Back to the microsoft.com site' on the error page. Is the problem with the Microsoft web page (the address is www.update.microsoft.com/microsoftupdate/v6/default.aspx ) or on my computer?

    When I try to run Windows Update... to the point that the page is to check If my system is correct, update software the page can't...  Is the problem with the web page of Microsoft ( www.update.microsoft.com/microsoftupdate/v6/default.aspx ) or on my computer?

    You are correct George: whenever you access the site Windows or Microsoft Update, Windows Update will take care of updating itself. that is, it looks for updates available from the Windows Update Agent or the customer allows you to update your system.

    Since June 21, 2012 a WUA new version 7. 6. 7600. 256 aired by WU to automatically update itself its version now aged 7. 4. 7600. 226 .

    The problem you see may occur when there is a version mismatch of the file with the Windows Update Agent files, which is a mixture of old files with the new files. This is due to an installation "or damaged."

    You can take a look at your windowsupdate.log file located in your WINDOWS directory, to check the error codes - missing files or failling updated files (especially c:\windows\system32\wuapi.dll, wups2.dll, c:\windows\system32\wups.dll or wuweb.dll).

    You must re-register or re - install files WU in order to obtain the Service Windows Update works again. Try here:

    http://support.Microsoft.com/kb/958053

    And

    http://support.Microsoft.com/kb/949104

    Trust that this assistance.

  • How to create a custom page to page seeds in OFA

    Hello

    I have a requirement in which I need to create a custom Page that should be a replica of Page Standard OAF. Can someone guide me on markets to do so.

    Thank you

    Nancy

    Agree with 1658152...

    But if you still want to create to create your own page and pagelayout region. Take the seeded page from server to the local computer.

    Open both pages in Jdeveloper and copy the page of seed items to your custom page.

    Copy could lead to an error you need to identify and resolve.

    Let us know if you need assistance.

    BR, FLS

  • OFA Custom Pages frequently when the applied error fix

    We have developed a customized page oaf to download files from the system windows in a custom folder Top local. The page worked fine. But whenever any patch (patch no OAF) has been applied, the page-error message "you have encountered an unexpected error. Please contact the administrator of the assistance system. When clear us the cache, sometimes the page opens. But some times, even empty the cache also does not help. Anyone has faced this question? Do you have a solution for this?

    All I have is a CO, 01:00 and a simple page with the messageFileUpload component and submit button. Here's the code in CO. Anyone has faced this problem?

    ' Public Sub upLoadFile (pageContext OAPageContext, OAWebBean webBean)

    {

    String filePath = pageContext.getParameter ("filepath");

    System.out.println ("The path by default->" + filePath);

    String fileUrl = null;

    Try

    {

    DataObject fileUploadData = pageContext.getNamedDataObject("MessageFileUpload");

    if(fileUploadData!=null)

    {

    String uFileName = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_NAME");

    String contentType = (String) fileUploadData.selectValue (null, "UPLOAD_FILE_MIME_TYPE");

    System.out.println ("File-> user name" + uFileName);

    FileOutputStream output = null;

    InputStream input = null;

    BlobDomain uploadedByteStream = (BlobDomain) fileUploadData.selectValue (null, uFileName);

    System.out.println ("uploadedByteStream->" + uploadedByteStream);

    File = new file (filePath, uFileName);

    System.out.println ("output-> file" + file);

    output = new FileOutputStream (file);

    System.out.println ("output->" + output);

    entry = uploadedByteStream.getInputStream ();

    System.out.println ("seizure->" + input);

    Byte abyte0 = new ubyte [0 x 19000];

    int i;

    While ((i = input.read (abyte0)) > 0)

    output. Write (abyte0, 0, i);

    output. Close();

    Input.Close ();

    OAException confirmMessage = new OAException ("the file downloaded successfully", OAException.CONFIRMATION);

    pageContext.putDialogMessage (confirmMessage);

    }

    }

    catch (Exception ex)

    {

    throw new OAException (ex.getMessage (), OAException.ERROR);

    }

    }

    We had to bounce application service and OA Core Service to solve the problem.

  • Custom pages OAF does not not in the R 12.2.4 upgrade

    Hi guys,.

    We are upgrading to R R 11.5.10.2 12.2.4. We have copied our instance of generation of Production and improved to R 12.2.24. Now, there is a problem with the custom pages OAF. It seems that the custom java class files are not get covered by the application.

    Since it is the body build, I am applying custom patch directly in the file system to run (fs1) and I am getting below error while executing one of the custom of the OPS page:

    oracle.apps.fnd.framework.OAException: could not create Java class: (oracle.apps.xxfe.f486.asn.lead.webui. ASNLeadQryCOEx) associated with the area: (ASNLeadQryRN). It is probably because the class name is incorrect or not included in the project.

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2848)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1991)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    I think that it is simply saying that it couldn't find the java class. But I checked in the system as indicated below, the class files are roughly:

    $ cd $JAVA_TOP

    $ cd oracle/apps/xxfe/f486/asn/lead/webui /.

    $ ls - ltr

    total 10

    -rw - r - r - 1 a2bur12a s/n 5693 7 Jan 13:23 ASNLeadLstCOEx.class

    -rw - r - r - 1 a2bur12a s/n 3397 7 Jan 13:23 ASNLeadQryCOEx.class

    I also checked the class path, which is also to top java:

    $ cd $JAVA_TOP

    $ pwd

    / opt/lapp121/FS1/EBSapps/COMN/java/classes

    $ echo $CLASSPATH

    /opt/lapp121/fs1/EBSapps/comn/util/jdk32/lib/dt.jar:/opt/lapp121/fs1/EBSapps/comn/util/jdk32/lib/tools.jar:/opt/lapp121/fs1/EBSapps/comn/util/jdk32/jre/lib/rt.jar:/opt/lapp121/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/opt/lapp121/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-fmw/WEB-INF/lib/ebsFMWManifest.jar:/opt/lapp121/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar:/opt/lapp121/fs1/FMW_Home/oracle_common/modules/oracle.uix_11.1.1/uix2.jar:/opt/lapp121/fs1/EBSapps/comn/java/classes:/ opt/lapp121/fs1/EBSapps/10.1.2/forms/java:/opt/lapp121/fs1/EBSapps/10.1.2/forms/java/frmall.jar:/opt/lapp121/fs1/EBSapps/10.1.2/jlib/ewt3.jar:/opt/lapp121/fs1/EBSapps/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar

    I've heard that it takes run the utility adcgnjar and when I tried, I got the message below:

    Generation customall.jar...

    Do not create custom not customall.jar like no java directory under JAVA_TOP.

    Maybe it's because the location of the custom folder which is$JAVA_TOP/oracle/apps/xxfe

    I also tried to install these custom features of the OPS in online marking (as per my understanding following the features of online marking is not required (this is just an instance of generation) so earlier I had installed directly in the file system to run). But in following mode of patch, I had some error in ADOPTION (prepare) as below:

    FATAL ERROR *.

    PROGRAM: (/ opt/lapp121/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)

    TIME: Fri Jan 9 15:07:37 2015

    FUNCTION: main::validatePatchLocation [level 1]

    ERRORMSG: / opt/lapp121/fs_ne/EBSapps/patch/19258581 directory does not exist.

    [UNEXPECTED] Error occurred during execution 'perl /opt/lapp121/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl-


    Notice that I use the commands below to bounce at the intermediate level:

    1. stop adapcctl.sh
    2. admanagedsrvctl.sh stop oacore_server1
    3. Enter the password for Weblogic: < pass >
    4. admanagedsrvctl.sh start oacore_server1
    5. Enter the password for Weblogic: < pass >
    6. adapcctl.sh start


    I am mainly looking for the installation of this file system customization to run if it is absolutely not necessary to do so in the patch file system.


    Please let me know if anyone knows about it, or any way to go?

    Thank you

    Anupam

    Hello

    I could solve this problem. I am writing the solution that worked for reference:

    1. When the custom java files are placed in one of the shipped Oracle directories of the application (for example $JAVA_TOP/oracle/apps/fnd, $JAVA_TOP/oracle/apps/ad, etc) then the creation of custom jar file is not necessary.
    1. When the custom java files are placed in $JAVA_TOP // and then run the utility adcgnjar.
    1. Deploy customizations that are created in the package. oracle.apps.xxprod * and no xxprod.oracle.apps. * or xxprod.oracle.apps.xxprod. * on EBS 12.2.X?

    It was our case because we have a custom directory under $JAVA_TOP/oracle/apps/xxfe

    When the custom java files are placed in any other non-standard location (for example $JAVA_TOP/oracle /, $JAVA_TOP/oracle/java / etc) then custom jar file must be created manually and must be made available for WebLogic to pick it up.

    Detailed instructions are given below:

    Create a temporary custom.zip file that contains the entire application customized to the non-standard location directories/files:

    (1) cd $JAVA_TOP

    (2) zip r - customprod.zip. Where the list of all directory paths are present, compared to $JAVA_TOP for the custom to the non-standard location application java files.

    Generate customprod.jar file & sign 3).

    Command: adjava oracle.apps.ad.jri.adjmx - areas $JAVA_TOP/customprod.zip - outputFile $JAVA_TOP / customprod.jar - jar $CONTEXT_NAME 1 CUST jarsigner - storePass - keyPass

    (4) delete temporary customprod.zip.

    Command: rm $JAVA_TOP/customprod.zip

    (5) follow the steps below to allow the custom WebLogic jar

    (a) to take a backup copy of the existing /admin/template/ebsProductManifest_xml.tmp

    (b) modify /admin/template/ebsProductManifest_xml.tmp to add the customprod.jar (after customall.jar)

    (c) execute AutoConfig

    (d) bounce midrange services

    Thank you

    Anupam

  • Facing a problem with writing the custom for WLS identity assertion provider

    I am facing a problem with writing the custom for WLS identity assertion provider.

    Requirement:

    Asserter identity configured in WLS should get called when the following cookie is sent in a request by my application
    cookie name: OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I added the name of the cookie as a token of support and Active token in WeblogicCustomIdentityAsserter.xml

    < MBeanAttribute
    Name = "SupportedTypes.
    Type = "java.lang.String [].
    Writeable = "false".
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >
    <!-ActiveTypes attribute contains the subset of your mbean SupportedTypes who are active in the area. ->
    < MBeanAttribute
    Name = "ActiveTypes".
    Type = "java.lang.String [].
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >

    Problem:

    Identity asserter provider is not invoked for the request that has the cookie named OAMAuthnCookie_blr1234567.idc.oracle.com:7777.

    I did some experiments with the cookie name, to see where the problem could be

    Identity asserter provider is triggered for the following cookies:
    OAMAuthnCookie_blr1234567.idc.oracle.com7777.
    blr1234567. IDC. Oracle
    blr12_XXX. IDC. Oracle.com

    and it does not work for cookie name - OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I think that the name of the token supports not the colon. I don't have control over the name of the cookie, two points will always be

    Tried it with giving the name of the cookie after the encoding of the colon

    < MBeanAttribute

    Name = "SupportedTypes.

    Type = "java.lang.String [].

    Writeable = "false".

    Default = "new String() {& quot; OAMAuthnCookie_blr2211441.idc.oracle.com & #58;. 7777 & quot ;} »

    / >


    But still does not work
    Am I missing something? Any help will be appreciated.
    Help, please!

    colon ': ' is an illegal character in the name of the cookie.

    RFC 2616, Section 2.2 says:

    token = 1 *.

    separators = "(" | ")" | " <" |="" "="">" | " @"

    | "," | ";" | ":" | " \" |<">

    | "/" | "[" | "]" | "?" | "="

    | "{" | "}" | SP | HT

    It is clear ":" a "separator" and thus not allowed in a token or a cookie name.

  • Major problems with multiple items of page on the web viewer since the last update

    In the last days, we had problems with all our multiple page items that are newly updated or added on the web viewer.

    Scrolling of pages just to repeat content again and again and true articles page see first pages content overlaid on all subsequent pages. It seems that something important broke in the way that the dps push articles to the webviewer, as is happening through fact sheets and articles. This means that we cannot publish anything until it's resolved.

    Someone knows something similar? Any suggestions?

    Hi Lucie,.

    Please contact support for assistance with this enterprise. They can investigate and open a support issue with if necessary engineering team. Contact information is available by logging into http://digitalpublishing.acrobat.com/ and looking at the Middle bottom of the screen.

    Neil

  • Make a custom page when you access the URL of the root of a Web application

    A BC blog post says it's now possible to "make a custom page when you access the URL of the root of a Web App site. For example, if you have a "blog" Web App, items can be made available to/blog/my-blog-post, and you will be able to customize the page/blog"

    Is this possible? It doesn't for me due to unique URL problem yet.

    For example the web page is / banksy - Guide of Banksy

    But web app components must be on/banksy/web-app-item but need to change to/banksy-editions / Banksy choose your weapon (green) | Gallery hang up Banksy Guide

    I don't see any documentation, support BC do not know and ask me the Forum to discuss. Someone at - he found a workaround?

    Thank you

    Paul

    You have a page with the same name as you want for the web application folder.

    1 remove this page from banksy (Dungeon of backup of your content)

    2. change your url web app for /banksy you need

    3. create a folder called /banksy (it will allow you to make a folder)

    4. create an index.html in the folder of Banksy page - put your content to the page that you deleted here

    You will then have an index for the file page and the web application will work...

    /Banksy - index page

    /Bansky/ - index page

    /Banksy/index.html - index page

    / web banksy/something - point app

Maybe you are looking for