How to update weblogic.properties in order to support English & Chinese

<URGENT PROBLEM>
hi,
how to update weblogic.properties in order to support English & Chinese
version in a sing weblogic server?
Thanks in advance
<URGENT PROBLEM>

If you are using JSP as your mechanism for content display, you should use
the contentType parameter to specify the character and coding of the JSP
page any character encoding of the resulting stream. So far, we have not
done a good job of documenting how to produce localized content in JSP. I
have filed an issue for the documentation folks to work on it. For now,
take a look at section 2.7.4 of the JSP specification version 1.1.
Thanks,
Michael
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
fxy <[email protected]> wrote in message
news:8ffr11$59d$[email protected]..
<URGENT PROBLEM>
hi,
how to update weblogic.properties in order to support English & Chinese
version in a sing weblogic server?
Thanks in advance
<URGENT PROBLEM>

Similar Messages

  • How to update user properties using CSOM

    Hello All ,
    Is it possible to update a SharePoint user properties (like email, title, etc) using CSOM API? In the User class (Microsoft.SharePoint.Client.User) i saw properties like Email, Title are possible to get and set. I tried updating these properties through code
    like below, but it is not getting updated in SharePoint. Is there any alternative way?
            String updateUser= "john alex";
                User user1 = web.EnsureUser(updateUser);
                user1.Email = "[email protected]";
                clientContext.Load(user1);
                clientContext.ExecuteQuery();
    Regards
    Shahabas

    You are not calling the update on the user object. Here is an example:
    String updateUser= "john alex";
    User user1 = web.EnsureUser(updateUser);
    user1.Email = "[email protected]";
    user1.Update();
    clientContext.Load(user1);
    clientContext.ExecuteQuery();
    Nadeem Yousuf

  • How to update weblogic.xml

    i create user programmatically.(not using administration tool). user gets added.
    But i cannot login as a new user. problem is because of no entry in weblogic.xml
    for that user.
    when i manually add entry i can login.
    My question is are there any way by which i can update this entry
    programmatically.
    thanks in advance
    Mahesh

    <security-role-assignment>
    <role-name>employee</role-name>
    <principal-name>employeeGroup</principal-name>
    </security-role-assignment>
    and then programmatically add them to the group "employeeGroup"
    Cameron
    "Mahesh" <[email protected]> wrote:
    >
    Thanks for your reply Griffin
    my weblogic.xml looks like this
    <security-role-assignment>
    <role-name>employee</role-name>
    <principal-name>scott</principal-name>
    <principal-name>john</principal-name>
    <principal-name>peter</principal-name>
    </security-role-assignment>
    But when i add new employee(programmatically) lets us say 'mark' i want
    weblogic.xml
    to be updated for 'mark' also. Actually i can see new employee in admin
    portal.
    But weblogic.xml will not be updated.
    How to this programmatically. Any suggestions.
    Thanks
    Mahesh
    Phil Griffin" <BEA> wrote:
    Mahesh,
    I assume you're talking about adding a <principal-name> in weblogic.xml?
    Consider using a group name as principal, or using <role-name> instead.
    That will give you more flexibility.
    -Phil
    >>
    "Mahesh" <[email protected]> wrote in message
    news:4047f4a8$[email protected]..
    i create user programmatically.(not using administration tool). usergets
    added.
    But i cannot login as a new user. problem is because of no entry inweblogic.xml
    for that user.
    when i manually add entry i can login.
    My question is are there any way by which i can updatethis
    entry
    programmatically.
    thanks in advance
    Mahesh

  • How to update MainApplicationResources.properties file

    Post Author: fjaffery
    CA Forum: JAVA
    I am trying to update a key in the MainApplicationResources.properties file in Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\src\com\crystaldecisions\ePortfolio\framework\main\ folder.  After the changes, I have updated the desktop.war file and redeployed but my changes are not getting reflected in the ApplicationResources.properties file in Tomcat\work\Catalina\localhost\businessobjects_enterprise115_desktoplaunch\loader\com\crystaldecisions\ePortfolio folder.  How do I propogate the .properties files changes to the combined ApplicationResource.properties file?
    Thanks.

    I think i have mixed it up :)
    I have looked at it again and believe you are using regular JSP portlets.
    Can you tell what you want to achieve by reading .properties file. Are you meaning the preferences of the portlet or what exactly are you trying to do?
    Reading propertie files is easy:
    // Read properties file.
    Properties properties = new Properties();
    try {
        properties.load(new FileInputStream("filename.properties"));
        String myKey = properties.getProperty("yourKey");
    } catch (IOException e) {
    }Edited by: Yannick.O on 13-Apr-2010 05:52

  • How a clustered weblogic environment handles orders balanced-wise??

    Hi,
    In a 2 managed clustered weblogic environment with OSM 7.0.3 and an external load balancer to balance the incoming traffic it is noticed from the managed servers that whichever server is scanning for orders and that is understood by the server's logs:
    ####<Oct 16, 2012 2:54:33 PM EEST> <Info> <oms> <> <osm_ms01> <Timer-9> <oms-internal> <> <fab6ae59fd53672b:704b5627:13a64686216:-8000-0000000000000010> <1350388473505> <BEA-000000> <cluster.ClusteredHandlerFactory: Querying for high activity orders across the cluster>
    is the server that will serve a new order.
    Is there a way to achieve a perfect load balance? In a test case of 200 orders all orders where processes by one node and it is the one that scans for new orders.
    We configured the external load balancer to split the traffic..But nothing!! Is there an internal mechanism that gathers all orders that are send to multiple servers and executes them in the server that is currently scanning for orders ???
    Is there in any manual or Oracle Support Document/note on how is decided in a multiple-clustered environment which server will execute orders???
    Thx in advance!

    Hi Alexandros,
    Here's some general information on load balancing:
    1. With OSM order affinity, the managed server instance that receives the order (precisely, creates the OSM order) has sole ownership of the order. Other than specific circumstances, the ownership is not transferred, and thus processing of that order stays with that instance till completion.
    2. The OSM web service (createOrder API) has no load balancing mechanism internally if HTTP is used as the transport. So if you only send orders to one managed server, that instance will create and thus own all these orders. In contrast, if you use JMS as the transport, it is load-balanced by the JMS distributed destination (provided you are not sending instead to member queues of the distribution destination).
    Now, assuming you are using HTTP, you need to ensure that the Load Balancer is really round-robining on the 2 managed servers among HTTP messages of order submissions. Monitor your TCP pipes to verify.
    A problem we've seen, is if you are using SoapUI with pre-emptive authentication disabled, the SOAP request without pre-emptive authentication will be rejected, causing a re-send. Because of LB, all orders ended up in one managed server, as the reject-then-accept SOAP message sequence becomes cyclic with odd-even round-robin. So, enable pre-emptive authentication to avoid that.
    Btw, is your cartridge handling high-activity orders? If not, I have a suspicion that your pasted log message may be a red-herring.
    Cheers,
    Daniel Ho
    OSM Product Management

  • How to update a table in order to have a costumized sort.

    Hi,
    I have a table that is used by an application that as the following struture:
    key1 key2 filename
    1      2      MY_SOURCE2_20110701
    2      2      MY_SOURCE2_20110702
    3      3      MY_SOURCE3_20110701
    4      3      MY_SOURCE3_20110702
    5      4      MY_SOURCE4_20110702
    6      4      MY_SOURCE4_20110703This table is used by a program that will get the values and process it using key1 as the order by field.
    I cannot change the application and the problem is that now I've applied a module that requires to process the information by date.
    The filename struture is always the same and similar to the one I described.
    So before starting the processing I need to reorganize the rows in the following format:
    key1 key2 filename
    1      2      MY_SOURCE2_20110701
    2      3      MY_SOURCE3_20110701
    3      2      MY_SOURCE2_20110702
    4      3      MY_SOURCE3_20110702
    5      4      MY_SOURCE4_20110702
    6      4      MY_SOURCE4_20110703This is: I need to maintain the key1 values and i need to move the key2 and filename in order to have them sorted by date.
    I'm thinking on solution but i need to keep in mind this is a table that is often used to do inserts and updates and it has near 1 million records average.
    My ideas:
    create a temporary table with the results of:
    select key1,key2, filename from input_table
    create two cursors:
    create cursor1 as select key1 from input_table order by 1
    create cursor2 as select filename, key2,substring(11,8) as date from input_table, order by 3
    while fetch cursor1.next cursor2.next
    set filename = cursor2.filename and key2 = cursor2.key2 where cursor1.key1= input_table.key1The other solution I'm thinking is to create a transaction to lock the table while this is being performed. and avoid the creation of the temporary table.
    I don't like the first idea because I don't want to use temporary tables.
    I don't like the second idea because I don't want to lock the table every time I need to do this operation.
    About second option I have a question that may be preventing me from using this solution:
    - If instead of locking a table I just lock a specific key2 value will it use the same locked rows for both cursors or if any insert happens between both executions the information will be incoherent?
    create two cursors:
    create cursor1 as select key1 from input_table where key2 in (1,2,3) order by 1
    create cursor2 as select filename, key2,substring(11,8) as date from input_table where key2 in (1,2,3) order by 3
    while fetch cursor1.next cursor2.next
    set filename = cursor2.filename and key2 = cursor2.key2 where cursor1.key1= input_table.key1Can someone advice me on any other possible way to implement this?
    Best regards,
    Ricardo Tomás

    Hi, Ricardo,
    Why do you need to do this? What is the business requirement that demands this? It seems like a waste of time and effort, and you'll have to re-do it every time a row is INSERTed or DELETEd, or when any of the columns involved is UPDATEd.
    Given that you really want to do it, here's one way:
    MERGE INTO     table_x          dst
    USING  (
               WITH    got_nums     AS
                   SELECT  key1, key2, filename
                ,       ROW_NUMBER () OVER ( ORDER BY  key1 )
                                                       AS key_1_num
                ,       ROW_NUMBER () OVER ( ORDER BY  SUBSTR (filename, -8)
                                                   ,         key2
                                  )     AS filename_num
                FROM    table_x
            SELECT  k.key1
            ,        f.key2
            ,        f.filename
            FROM        got_nums     f
            JOIN        got_nums     k  ON  f.filename_num  = k.key_1_num
           )               src
    ON     (src.filename     = dst.filename)          -- or any unique column(s), not including key1
    WHEN MATCHED
    THEN UPDATE  SET  dst.key1 = src.key1
    ;If you'd care to post CREATE TABLE and INSERT statements for the sample data, then I could test it.
    As posted above, this assumes that filename is unique. If not, you'll have to change the join condition between src and dst to guarantee a unique match.
    This does NOT assume that filename is always 19 characters; only that it is at least 8 characters, and that the last 8 characters determine the order.

  • How to update TEXT in Sales order header

    Hello ,
    I have requirement in which I am creating SO via IDOC calling BAPI_SALESORDER_CREATEFROMDAT2.
    Question: Can any one help me in finding a solution to update the TEXT in sales order header which is confogured IN TEXT CONTROL in SD.
    I have tried various option using CREATE_TEXT but it is only updating STXH table , the text is not coming in the sales order.
    If someone knows about this , <removed by moderator>.
    Edited by: Thomas Zloch on Nov 15, 2010 4:20 PM - please do assign priorities > normal

    Sounds like a text determination config issue - have you assigned the text in VOTXN?  Have you run the text determination analysis from VA02 in the document?

  • How to update VBEP-AESKD (sales order-schedule lines) through a BAPI?

    Hello experts,
    I have the rquirement to change the fields AESKD and *SERNR *in VBEP. BAPI_SALESORDER_CHANGE seems not to provide the facility to deal with this field.
    Question is: How do I update fields that are not availabe in the BAPI (SCHEDULE_LINES--> BAPISCHDL).
    Is there another way?
    Any suggestion is welcome!
    C.N.

    Hi Sara,
    well, I ended up doing it in MV45AFZZ in FORM userexit_save_document_prepare.
    There you have access to the full VBEP before it is saved. The best point of entry might differ for you depending on your requirements.
    The values have been previously saved in a Z-function group memory using two Z-functions - one to save the values to the FM memory and one to retrieve them. The Z-functions/function group were/was created just for this purpose.
    They are just used to 'transfer' data from the point when I call the BAPI to the point 'in' the BAPI.
    In this specific case 'BAPI_SALESORDER_CHANGE' is used. The FM that 'remembers' the value is called right before the call of the BAPI.
    But this has to be used w/ extreme caution as there is no good validation done by SAP at this point etc.!
    Did you find another way?
    How did you solve this matter?
    Cheers,
    Chris
    Edited by: Chris N. on Jan 15, 2010 10:45 AM

  • How to update bean properties when using an immediate link

    Hello,
    I have a page with a find link next to an input text field. The input text field requires a valid code to be entered. If the user doesn't know the code they need to press the find link to go to a search page and select the code. The input text code field needs to have a value entered so it has its required attribute set because the validator I have and attached to the input text field does not get called unless something is entered in the field. If I don't set the link to immediate the required constraint prevents the search page from being invoked but if I do set it to immediate the values typed on the page are not updated to the bean properties they are bound to.
    I have read many posts but I fail to see a way to resolve this. The update model phase is apparently skipped because of the immediate attribute and so the values typed in by the user are lost.
    Please help.
    Thanks,
    Randall

    A UIInput holds the submitted value.
    When updating models it is cleared to null but when some error occurs it keeps to hold the submitted value.
    The TextRenderer uses the submitted value if the value is null.
    Therefore, you can see the submitted value is redrawn when some error occurs.
    Unfortunately, this mechanizm does not work beyond requests
    because the default application action listener always create a new viewroot based on the navigation rules.
    An general solution of your problem is not so easy.
    I think it may be to customize the action listener or the lifecycle.
    A temporal solution may be that the link action copys the submitted value to the managed-beans.

  • How to update VBFA while sales order creation using BAPI

    Hi,
    I am trying to create sales orders for each schedule line items while inquiry creation.
    This I have done in the user exit in the VA11 program MV45AFF using BAPI "BAPI_SALESORDER_CREATEFROMDAT2".
    along with the Inquiry, Sales orders are also getting created. But I am facing 2 problems.
    1) BAPI is not returning the sales order number to the program but when checked from SE37 it is returning the sales order   
        number.
    2) It is not updating the VBFA (SD flow) table.
    Regards,
    Krishna.

    Hello,
    1) BAPI is not returning the sales order number to the program but when checked from SE37 it is returning the sales order
    number.
    - are you passing simulation parameter (TESTRUN) as 'X'
    2) It is not updating the VBFA (SD flow) table.
    - Please use BAPI_SALESDOCUMENT_COPY for copying and updating VBFA table
    Thanks
    Krish

  • How to update attributes of sales order?

    can anyone explain me this?
    Edited by: user9024076 on Jan 21, 2010 12:30 AM

    Hi Elio,
    Yes from UI it's the expected behavior but through DI API  I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
    Regards
    Andrea

  • How to update UDF of sales order line of closed sales order header

    Hello experts,
    We are using SAP 8.81.313  PL 05  and we noticed that through SDK using businessobject SAPbobsCOM.BoObjectTypes.oOrders,  we can't update an user defined field on sales order line for a sales order with header closed.
    calling the method  Update()   it returns 0  but actually the table field  was not changed !
    Also we noticed that It's possible to make an update of UDF of delivery line for a delivery with header closed.
    I don't understand why.
    Is it a bug or the expected behavior ?
    Our customer needs to change some UDF of sales order line even when the order header is CLOSED.
    Please help me.
    Many thanks for your time.
    Best regards
    Andrea

    Hi Elio,
    Yes from UI it's the expected behavior but through DI API  I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
    Regards
    Andrea

  • I have a problem, i bought lion but when i want to install he said me i need to "download osx lion server" i'm running with the last lion beta. how to update please?

    i have a problem, i bought lion but when i want to install he said me i need to "download osx lion server" i'm running with the last lion beta. how to update please?
    ps: sorry for my english :S

    You apparently are using a version of OS X you did not purchase using your Apple ID. Although you can download Mavericks you cannot install it over your current system. You must repartition your hard drive, then reinstall the version of OS X originally installed when it came new from the factory. That would be on the installer discs that should have come with the computer. If the computer did not come with discs from the factory but OS X was pre-installed (Lion or Mountain Lion) then you can perform an Internet Recovery:
    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your external hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • How to update SPAM

    Dear All,
             Since, i was not able to find a forum for basis, i'm using this forum for my query.
             I want to update SPAM inmy system.The current version is 9 and i want to update it. I have downloaded the current version sof SPAM, BUT UNFORTUNATELY I don't know how to update SPAM !. Can anyone help me out with a step by step procedure to update SPAM?
    Regards.
    Naveen

    Hi Naveen,
    The procedure on how to update SPAM is described in the Support Package Stack Guide (http://service.sap.com/instguidesNW04). The following procedure is extracted from this guide:
    The Support Package Manager (SPAM) imports ABAP Support Packages into an ABAP system.
    • Before using Support Package Manager, see SAP Note 672651.
    • We recommend that you always use the latest version of Support Package Manager. You can get it at SAP Service Marketplace http://service.sap.com/spmanager --> Download SPAM/SAINT Update.
    To import Support Packages, proceed as follows:
    1. Log on to SAP Web AS with client 000.
    2. Start the Support Package Manager by choosing SAP Menu --> Tools --> Maintenance --> Support Package Manager or use the transaction code SPAM.
    3. Load relevant Support Packages.
    4. Define a Support Package queue.
    5. Import the defined Support Package queue.
    Kind regards,
    René van Es

  • How to use weblogic on jdk 5?

    Does anyone know, how to use weblogic and jdk 5?

    Supported on version 9.0 Beta, only.
    http://e-docs.bea.com/platform/suppconfigs/configs90/90_over/overview.html#1122259
    Bill
    "Fauzi Mubarok" <[email protected]> wrote in message
    news:2966888.1105597574948.JavaMail.root@jserv5...
    Does anyone know, how to use weblogic and jdk 5?

Maybe you are looking for