Example WLST scripts for creating clustered domain for soa suite 11.1.1.4?

Hello,
does anyone know sample wlst scripts for creating domain for soa suite 11.1.1.4 on top of weblogic 10.3.4?
I try to create a domain having a cluster with two managed servers in two linux machines.
Any help appreciated.
regards, Matti

Please refer -
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/domains.htm
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/intro.htm#WLSTG112
Regards,
Anuj

Similar Messages

  • Error While running WLST script to create SOA Domain in Clustered Environme

    Hi,
    I am trying to run WLST script to create SOA Domain in clustered environment.The script is as follows.
    import sys
    print "@@@ Starting the script ..."
    global props
    from wlstModule import *#@UnusedWildImport
    from java.io import FileInputStream
    from java.io import File
    #=======================================================================================
    # Create Boot Properties File
    #=======================================================================================
    def createBootPropertiesFile(directoryPath, username, password):
    adminserverDir = File(directoryPath)
    bool = adminserverDir.mkdirs()
    fileNew=open(directoryPath + '/boot.properties', 'w')
    fileNew.write('username=%s\n' % username)
    fileNew.write('password=%s\n' % password)
    fileNew.flush()
    fileNew.close()
    def createNodeManagerPropertiesFile(directoryPath, username, password):
    adminserverDir = File(directoryPath)
    bool = adminserverDir.mkdirs()
    fileNew=open(directoryPath + '/nm_password.properties', 'w')
    fileNew.write('username=%s\n' % username)
    fileNew.write('password=%s\n' % password)
    fileNew.flush()
    fileNew.close()
    def createAdminStartupPropertiesFile(directoryPath, args):
    adminserverDir = File(directoryPath)
    bool = adminserverDir.mkdirs()
    fileNew=open(directoryPath + '/startup.properties', 'w')
    args=args.replace(':','\\:')
    args=args.replace('=','\\=')
    fileNew.write('Arguments=%s\n' % args)
    fileNew.flush()
    fileNew.close()
    I am getting the error :
    Problem invoking WLST - Traceback (innermost last):
    (no code object) at line 0
    File "D:\Oracle\Middleware\Oracle_SOA1\bin\SOADomainScript.py", line 11
    adminserverDir = File(directoryPath)
    ^
    SyntaxError: invalid syntax
    Do i need to set any jar in the classpath? Already jython.jar is available in the classapath.
    Thanks in advance.
    Regards,
    Subha

    Hi,
    I am trying to run WLST script to create SOA Domain in clustered environment.The script is as follows.
    import sys
    print "@@@ Starting the script ..."
    global props
    from wlstModule import *#@UnusedWildImport
    from java.io import FileInputStream
    from java.io import File
    #=======================================================================================
    # Create Boot Properties File
    #=======================================================================================
    def createBootPropertiesFile(directoryPath, username, password):
    adminserverDir = File(directoryPath)
    bool = adminserverDir.mkdirs()
    fileNew=open(directoryPath + '/boot.properties', 'w')
    fileNew.write('username=%s\n' % username)
    fileNew.write('password=%s\n' % password)
    fileNew.flush()
    fileNew.close()
    def createNodeManagerPropertiesFile(directoryPath, username, password):
    adminserverDir = File(directoryPath)
    bool = adminserverDir.mkdirs()
    fileNew=open(directoryPath + '/nm_password.properties', 'w')
    fileNew.write('username=%s\n' % username)
    fileNew.write('password=%s\n' % password)
    fileNew.flush()
    fileNew.close()
    def createAdminStartupPropertiesFile(directoryPath, args):
    adminserverDir = File(directoryPath)
    bool = adminserverDir.mkdirs()
    fileNew=open(directoryPath + '/startup.properties', 'w')
    args=args.replace(':','\\:')
    args=args.replace('=','\\=')
    fileNew.write('Arguments=%s\n' % args)
    fileNew.flush()
    fileNew.close()
    I am getting the error :
    Problem invoking WLST - Traceback (innermost last):
    (no code object) at line 0
    File "D:\Oracle\Middleware\Oracle_SOA1\bin\SOADomainScript.py", line 11
    adminserverDir = File(directoryPath)
    ^
    SyntaxError: invalid syntax
    Do i need to set any jar in the classpath? Already jython.jar is available in the classapath.
    Thanks in advance.
    Regards,
    Subha

  • Unable to create new domain for ORM in Weblogic 8.1

    Hi,
    I have installed Oracle Role Manager(ORM) 10.1.4 and to run ORM in weblogic i have to create a new domain for ORM.
    I tried to create a new domain in weblogic 8.1 in configuration wizard by selecting the orm_createdomain_template_103.jar but i m getting an error
    "There is a problem with the template".
    This template is to create new domain for ORM in weblogic 10.3
    Kindly help me to resolve this issue.
    Regards,
    Manju

    I have installed ORM 10.1.4.1 on weblogic 10.3
    I have also created a new domain for ORM in weblogic.
    When i start the Managed server using startManagedWebLogic.cmd i m getting the following
    errort
    t3://localhost:7004/jndi/weblogic.management.mbeanservers.domainruntime.
    java.io.IOException: Unable to resolve 'weblogic.management.mbeanservers.domainr
    untime'. Resolved 'weblogic.management.mbeanservers'
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(C
    lientProviderBase.java:156)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(
    ClientProviderBase.java:79)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnec
    torFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
    ry.java:247)
    at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainR
    untimeService.getDomainMBeanServerConnection(RegisterWithDomainRuntimeService.ja
    va:199)
    Truncated. see log file for complete stacktrace
    javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbean
    servers.domainruntime'. Resolved 'weblogic.management.mbeanservers'; remaining n
    ame 'domainruntime'
    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
    NamingNode.java:1139)
    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
    a:252)
    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
    ava:182)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20
    6)
    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:21
    4)
    Truncated. see log file for complete stacktrace
    >
    <Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Serv
    er state changed to RUNNING>
    <Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Serv
    er started in RUNNING mode>
    Please help me to resolve this issue.
    Regards,
    Manju

  • Facing problem in creating a domain for osb10.3.1

    Hi All,
    I have installed osb10.3.1. Now I want to create a domain for osb10.3.1. In the steps of creating domain we have to provide the database details for configuring the jdbc datasources. I am not understanding which username and password should be given here. Do we need to create any schema for osb10.3.1 through rcu prior to creating the domain?
    Thanks in Advance

    Hi Again,
    Oops my mistake :) You can follow the below link for Oracle Service Bus 10g Release 3
    http://docs.oracle.com/cd/E1315901/osb/docs10gr3/_
    For Specific Oracle Service Bus Domain Creation,The below link would be helpful
    http://docs.oracle.com/cd/E1284001/common/docs103/confgwiz/newdom-alsb.html#wp1080587_
    Regards
    Fabian

  • Working wlst script on weblogic 10.3 for monitoring jvm,jdbc,serverstate,et

    H team,
    please provide me working wlst script on weblogic 10.3 on for monitoring jvm,jdbc,server state, threads, etc.
    UNIX OS: solaris X86
    email id: [email protected]
    thanks
    surya

    H team,
    please provide me working wlst script on weblogic 10.3 on for monitoring jvm,jdbc,server state, threads, etc.
    UNIX OS: solaris X86
    email id: [email protected]
    thanks
    surya

  • WLST script to create DBAdapter configuration

    Has anybody tried to create a DBAdapter configuration using a WLST script.
    Works fine if you create it manually using the console, but you are not able to record the steps using the record functionality (Script is empty).

    Hello,
    hopefully you have already got answer to your question from some other source, but here's any way how I update DbAdapter configuration.
    I generate deployment plan for DbAdapter in development time by admin console like you have done.
    Copy the deployment plan to production environment, then use wlst or weblogic.Deployer to update adapter:
    source <domain location>/bin/setDomainEnv.sh
    java weblogic.Deployer -adminurl t3://<admin-url>:<admin server port> -user <admin user> -password <password> -update -name DbAdapter -plan <db plan location>/DBPlan.xml
    This way I can do my production environment deployment script based, no need to use GUI.
    It's also possible to use wlst instead of weblogic.Deployer, but haven't tried that yet.
    Hope this was helpful.
    regards, Matti

  • WLST script to create network channel

    Hi,
    I was not able to find a sample WLST script to configure network channels on the Weblogic server. Could somebody provide pointers?
    Himadri

    Hello,
    hopefully you have already got answer to your question from some other source, but here's any way how I update DbAdapter configuration.
    I generate deployment plan for DbAdapter in development time by admin console like you have done.
    Copy the deployment plan to production environment, then use wlst or weblogic.Deployer to update adapter:
    source <domain location>/bin/setDomainEnv.sh
    java weblogic.Deployer -adminurl t3://<admin-url>:<admin server port> -user <admin user> -password <password> -update -name DbAdapter -plan <db plan location>/DBPlan.xml
    This way I can do my production environment deployment script based, no need to use GUI.
    It's also possible to use wlst instead of weblogic.Deployer, but haven't tried that yet.
    Hope this was helpful.
    regards, Matti

  • XI for create web servicies for SAP R/3 4.6C

    Hi All,
    we are implementing PM (Plant Management) module of SAP R/3 4.6C and we have the necessity to create web services for some PM functionalities. Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI. Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly. So we think to use SAP EP.
    Which is your opinion about this architectural scenario? Is it possible to fulfil the requirement of our business users with a more simple architectural solution (for example with WEB DYNPRO)?
    Many thanks in advance for your collaboration.
    Regards,
    Bob

    Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI.
    TIBCO is another middleware. So once you expose your R/3 functionalities as web service, you may directly use TIBCO to integrate and XI won't be required at all.
    Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly.
    WebDynpro application would provide you an easy GUI and could act as Soap client as well to send data.
    Regards,
    Prateek

  • Basis for creating the dimension for the cube

    Dear All,
    I have one basic query.
    We can build the ODS and pull data from source system to BW system. But now if i am suppose to build the Cube for my reporting then how do i make decision to build dimension for the cube?
    I mean what are the parameters which we need to consider before we build the dimension for the cube and what type of objects will be there in each dimension??
    Appreciate your help on this.
    Regards,
    Anup.

    Hi,
    There is as no thmb rule for it. Generally we try to balance the dimension when we create them. For example, It is not advisable to include Material and Vendor in a single dimension.(otherwise it will lead to dimension explosion...large no. of records in a single dimension.)
    The idea of dimension tables is to group associated characteristics to reduce the number of fields in the fact table and to reduce redundancies in storing frequent combinations of
    characteristics values in a table. Examples of characteristics typically grouped into one dimension include Customer, Customer Group, and Zip Code grouped into a Customer
    dimension, and Material, Material Group, Color grouped into a Material dimension.
    A special case of a dimension is the line-item dimension, which is used for characteristics with a very high cardinality. Atypical example is the document number in a lineitem-
    level InfoCube.
    Regards,
    Gunjan.

  • 'BAPI_GOODSMVT_CREATE' takes more time for creating material document for the 1st time

    Hi Experts,
    I am doing goods movement using BAPI_GOODSMVT_CREATE in my custom code.
    Then there is some functional configuration such that, material documents and TR and TO are getting created.
    Now I need to get TO and TR numbers from LTAK table passing material documnt number and year, which I got from above used BAPI.
    The problem I am facing is very strange.
    Only for the 1st time, I am not finding TR and TO values in LTAK table. And subsequent runs I get entries in LTAK in there is a wait time of 5 seconds after bapi call.
    I have found 'BAPI_GOODSMVT_CREATE' takes more time for creating material document with similar issue, but no solution or explanation.
    Note 838036 says something similar, but it seems obsolete.
    Kindly share your expertise and opinions.
    Thanks,
    Anil

    Hi,
    please check if some of following OSS notes are not valid for your problem:
    [Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
    [Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
    [Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
    The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
    But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
    Regards
    Adrian

  • Help needed for creating 1 invoice for 2 different material types.

    Dear, Gurus
    I really need help here I have spent 3 days cracking my head trying to solve the problem. Problem is client was creating invoice with reference to order and while invoice was being made it would cause an invoice split. The materials involved are Trading Good and Service Material. They would like only 1 invoice. Note nothing was different except material group and item cat. of the material. payment terms billing dates partners everything is same.
    Current item config for Trading Good material is ZMPI-project item cat.
    Copying requirements   023  Item ord.ref. w/o AZ        Billing quantity     A
    Data VBRK/VBRP         000                                           Pos./neg. quantity   +
                                                                                    Pricing type         K
                                                                                    PricingExchRate type
                                                                                    Price source
    Current item config for service Material is TAD-Service
    Copying requirements   002  Item/order-related          Billing quantity     A
    Data VBRK/VBRP         001  Inv.split (sample)            Pos./neg. quantity   +
                                                                                    Pricing type         G
                                                                                    PricingExchRate type
                                                                                    Price source
    I was told to change Data VBRK/VBRP to 003 One Invoice which I did in both of these item cat. and yes they worked perfectly but at time of creating the invoice for service material the qty that showed was 11. Note: In sales order it is 1 qty. So I went back into the config of item cat TAD and changed copying requirement to 023 instead of 002 but nothing changed. Seems a qty of 10 is referencing something else which I have no idea what or where it is picking this up from. Just to see or test things I went into the sales order and tried changing the service material qty then a weird popup appears and says service order 12344456 has been blocked. (Seriously I have no idea why this would happen or should be existing at all.) Even if for some reason it is being referenced the service order that is existing is qty 1.
    I really really do need help and if someone can help me that would be god sent.
    Regards, Ali

    You did not mention what value is maintained in the field billing quantity in the copy control->Item settings. Check for the service item, what value is assigned. Put value A and re-test.
    Note that whenever you change any settings in configuration side, you need to create a new documents to test the results of the settings. You should not use the existing documents.
    When you say the document is blocked, then check the status of the sales order to find the reason for blocking (like credit block, approval etc)..
    Regards,

  • BAPI For Create Goods Issue for Sales order with picked quantity

    Hi friends,
            Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
    we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
    with sales order .......its creating delivery order but not doing goods issue with piked quantity........

    pls,reply its argent

  • LOGIC FOR CREATING Purchase Order FOR repective Purchase Requisiton URGENT

    hi all,
    guys i have got all the purchase requisition for the materials  from EBAN table.
    now i have to create the PURCHASE ORDER  for these PURCHASE REQUISITIONS.
    so how should i proceed.
    what logic i should use to create the PO for These PR.
    if anyone of u have any code regd this requirement then plz share it with me.
    its very urgent, i have to deliver it by today evening.
    plz help me .
    i will award ur efforts.
    Thanks
    Sanjeev

    hi,
    Automatic Conversion of PR to PO
    You created purchase requisition for various material. During creation of purchase order you used the following path:
    Purchase Requisition
    .......Follow on function 
    .........Create Purchase Order
    ............automatic via purReq. 
    When you mentioned required purchase requisition number and execute, system give error that purchase requisition does not contain any suitable item. 
    Is there any setting in customization where you can monitor and use that function.
    In an effort for you to successfully use the Transaction Code ME59 to automatically convert the current PR into PO, then the following criteria should be met: 
    1) In the Purchasing View of the material master data, the "Autom. PO" field must be clicked; 
    2) In the Purchasing View of the Vendor Master Data, the "Automatic Purchase Order" field must be clicked; 
    3) The Outline Agreement or Purchasing Info Record shall be maintained which will allow the automatic copying of unit price and other conditions into PO; 
    4) The Source List shall be maintained for the nominated vendor which was shown in either the Outline Agreement or Purchasing Info Record. 
    or 
    it might be PR subject to release strategy and not yet released
    or 
    If you're not using a source list or automatic creation of PO, you may need to assign the requisition to a purchase information record using transaction ME56. Then it should appear in ME58. 
    reward points to helpful answers.
    rgds

  • Need help for creating sharepoint sites for both internet and intranet users

    We would like to know what is the best approach to create SharePoint sites for our customers(internet users) and internal employees(intranet users) on the same SharePoint server. Here is the scenario:
    1) A customer posts a document from internet.
    2) This triggers a approval workflow that can only be accessed and executed in the intranet environment. This approval process requires approval's possible modifications to the customer's document.
    3) We would like the customer not to able to check the approval state and the modified document until the document is fully approved and finalized.
    We are pondering if we need to create two sites, one site for customer and the other site is for internal approvers. Or one site is possible. It also looks like we need to somehow copy customer's original document to intranet site and triggers the workflow.
    Any design ideas are helpful. Thank you advance!

    Hi Jason,
    Though it is perfectly possible to have both intranet and internet on the server, it is not a recommended practice. Having both on the same server would have multiple problems, instead me detailing it out, here is a forum thread on which Trevor had given
    enough reasons -
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9b550c33-6f5f-4cd9-8762-8ff389b747d9/sharepoint-2013-one-farm-to-host-intranet-extranet-internet?forum=sharepointadmin
    If you have valid reason to go with single server, then you can also explore email enabled lists as one option and another one would be using custom sharepoint designer workflow.
    you can also try using event receivers to send documents to intranet site from internet site, process everything and update the document in the internet site.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • What ppi should each image have PRIOR to importing to Lightroom, for creating a BOOK for Blurb?

    I am creating a book for publication with Blurb and all of my images have an exclamation point in the upper right hand corner.  Each has a different message as to what the ppi is and what it will print at.  All of my images are 300 dpi and 1000px at their largest side. What am I doing wrong?  My understanding is for print, 300 dpi is the best HQ resolution. Will I need to resize all in Photoshop and start over and if so, what is the best size for such a project?  Thank you.
    Amanda Wyn

    Your problem is in the 1000px max, not the 300 ppi. 1000px photos are just good enough for small prints. There is no point in trying to print such small files, you need bigger than that, To find out the print dimensions just divide the number of pixels by the print resolution (the usual 300 ppi, but 240 ppi is usually enough for a quality print) . So you'll get a little more than 3.3 in if printed at 300 ppi, 4.1 in @ 240 ppi.

Maybe you are looking for

  • Error message on first time installation of iTunes 10.2.2

    Trying to install iTunes 10.2.2. on a laptop that has never has iTunes. I get error message: "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact you support personnel or p

  • IOS 8.3 Update - Push Mail Not Working

    Hi guys, I updated to 8.3 last week and since then, I do not seem to be receiving any push mail. Fetch still works, but my iCloud based email which is the catchall for my various accounts (read: ALL OF MY MAIL), fails to push to my iPhone (6/128gb).

  • Listing a special type of files in a subDirectory

    hi all, i have a directory where there are some other subdirectories inside it . each one of these sub directories contains 2 files: an xml file and a PNG file . can i obtain a list of all the xml files only in all subdirectories ?? if any body knows

  • Publishing HELP!!

    I have been working on iweb and it worked fine. But lately it will not let me pulish when I try it tells me it's having trouble reading my iDisk quota.. MacBook Pro   Mac OS X (10.4.8)  

  • XML Manipulation

    We plan on supporting multiple versions of our xml gateway. This will require some XML manipulation dependingly on the version number. By manipulating I simply mean adding and removing nodes. What we want to do is have one method to add a node and on