[WLST offline] How to create a JMSJDBCStore?

How do I create a JMSJDBCStore using WLST offline?
I would expect the following code line to work:
mrjStore = create('myStore', 'JMSJDBCStore')
Unfortunately I get a Java exception when I execute the code.
I can create JMSFileStores without problems.
Rgds,
Henrik

Hello Henrik,
The code you used to create a JMSJDBCStore is correct. I think the
problem is that you did not have the required JDBCConnectionPools before
this line. At least one pool should be available before you can create a
JMSJDBCStore. This kind of check is enforced for some other operations.
One example is that you can't create a JDBCMultiPool if you do not have
a JDBCConnectionPool. Below is an example of JMSJDBCStore creation that
works:
readTemplate('c:/bea813/weblogic81/common/templates/domains/wls.jar')
cd('Security/mydomain/User/weblogic')
set('Password', 'weblogic')
cd('/')
pool=create('myPool', 'JDBCConnectionPool')
cd('JDBCConnectionPool/myPool')
set('DriverName', 'oracle.jdbc.driver.OracleDriver')
set('URL',
'jdbc:oracle:thin:@my-oracle-server:my-oracle-server-port:my-oracle-sid')
set('Properties', 'user=scott')
set('Password', 'tiger')
cd('/')
store=create('myStore', 'JMSJDBCStore')
store.setConnectionPool(pool)
store.setPrefixName('myPoolPre')
writeDomain('d:/temp/domains/wls/wls_0709')
closeTemplate()
exit()
BTW, I have changed the exception message to make this cause clearer but
the dev2dev post would not have this update for some time.
Thanks,
-satya
Henrik S. Pedersen wrote:
>
>
>
How do I create a JMSJDBCStore using WLST offline?
I would expect the following code line to work:
mrjStore = create('myStore', 'JMSJDBCStore')
Unfortunately I get a Java exception when I execute the code.
I can create JMSFileStores without problems.
Rgds,
Henrik

Similar Messages

  • [WLST offline] How to assign machines to servers?

    I've created machines and servers using WLST offline on Weblogic 8.1sp2.
    How do I assign a machine to a server?
    I would expect something like:
    assign ("Machine","machinea","Server","servera")
    "machinea" is the machine that I created, and "servera" is the server.
    Unfortunately this does not work. I get the following error message:
    "Cannot recognize the service assignment type: machine_server"
    Kind regards,
    Henrik

    Hello Henrik,
    It should be "assign servers to a machine". So the code will look like:
    create('BEA_Server', 'Server')
    create('myMachine', 'Machine')
    assign('Server', 'BEA_Server','Machine', 'myMachine')
    Thanks,
    -satya
    Henrik S. Pedersen wrote:
    I've created machines and servers using WLST offline on Weblogic 8.1sp2.
    How do I assign a machine to a server?
    I would expect something like:
    assign ("Machine","machinea","Server","servera")
    "machinea" is the machine that I created, and "servera" is the server.
    Unfortunately this does not work. I get the following error message:
    "Cannot recognize the service assignment type: machine_server"
    Kind regards,
    Henrik

  • WLST 92 - How to Create Global Role and Role Condition?

    I'm currently using WLS 9.2 and trying to use WLST to create a global role and defining a role condition. Anyone know how to do so using WLST for WLS 9.2?
    Trying to:
    - create Global Role, testRole
    - create condition where 'username = testuser'
    thanks!

    Did you find out a solution for this?

  • [WLST offline]: Cannot create distributed destination

    We have a small problem with WLST and distributed destinations. I have made the following code:
    readDomain ('< our domain path >/Demo8')
    # Check that the queue exists
    ls ('/JMSServer/cgJMSServer1/JMSQueue')
    create ('myQueue1','JMSDistributedQueue')
    cd ('JMSDistributedQueue')
    cd ('myQueue1')
    set ('JNDIName','myjndi')
    create ('member1','JMSDistributedQueueMember')
    cd ('JMSDistributedQueueMember')
    cd ('member1')
    set ('JMSQueue','queue1')
    cd ('..')
    cd ('..')
    UpdateDomain()
    The problems is, that the command "set ('JMSQueue','queue1')" fails.
    Does anyone have an example of a successful WLST configuration of Distributed Destinations?
    The error message from my script is:
    Error: setJMSQueue() failed.
    Error: set() failed.
    Traceback (innermost last):
    File "scr.py", line 19, in ?
    File "initWls.py", line 46, in set
    com.bea.plateng.domain.script.jython.WLSTException: java.lang.reflect.Invocation
    TargetException
    at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleEx
    ception(CommandExceptionHandler.java:33)
    Your help will really be appreciated....
    Kind regards,
    Henrik

    The best way to create distributed destinations is to create physical destinations in single server mode and then create more servers and a cluster. wlst offline will automatically create distribued destinations and members. Considering that the recommended JMS architecture is homogeneous, there is little need to do it manually. An example:
    readTemplate('c:/bea813/weblogic81/common/templates/domains/medrec.jar')
    cd('JMSServer/MedRecJMSServer')
    q=create('newQueue', 'JMSQueue')
    q.setJNDIName('newQueue')
    cd('/')
    create('newServer1', 'Server')
    create('newServer2', 'Server')
    create('newCluster', 'Cluster')
    assign('Server', 'newServer1,newServer2', 'Cluster', 'newCluster')
    writeDomain('d:/temp/domains/813/medrec/medrec_0720')
    closeTemplate();

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

  • Cannot create TransactionParams of ConnectionFactory with WLST Offline

    Hello dear WL users and geeks,
    I'm trying to automate the creation of a weblogic domain using WLST Offline but I've got some problem with the configuration of a JMS ConnectionFactory : I don't know how to activate the XA-Connection factory setting.
    Ok, here is the WLST code, results and thoughs are in comments (##) :
    ==================
    ## I start with a fresh install of Oracle Weblogic Server 11g R1 (10.3.3) (also tried 10.3.1, same problem) and use the Configuration Wizard to
    ## create a new Weblogic domain using the default "Basic Weblogic server domain template".
    ## First, read the domain
    readDomain('Oracle/Middleware/user_projects/domains/base_domain/')
    ## Create a JMSServer
    create('MyJMSServer', 'JMSServer')
    assign('JMSServer', 'MyJMSServer', 'Server', 'AdminServer')
    ## Create a JMS Module
    create('TestModule', 'JMSSystemResource')
    ## And now a ConnectionFactory
    cd('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0')
    fact=create('TestConnFactory', 'ConnectionFactory')
    fact.setJNDIName('someJNDIName')
    updateDomain()
    ## Ok, let's see what is defined :
    cd ('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0/ConnectionFactory/TestConnFactory')
    ls()
    ## -rw- DefaultTargetingEnabled false
    ## -rw- JNDIName someJNDIName
    ## -rw- LocalJNDIName null
    ## -rw- Name TestConnFactory
    ## -rw- Notes null
    ## -rw- SubDeploymentName null
    ## Uh oh. Why are the 'directories' TransactionParams and SecurityParams missing ? How am I supposed to edit the TransactionParams ?
    ## Maybe there is a createTransactionParams method ?
    dir(fact)
    ## ['JNDIName', 'class', 'clientParams', 'defaultDeliveryParams', 'defaultTargetingEnabled', 'equals', 'flowControlParams', 'getClass',
    ## 'getClientParams', 'getDefaultDeliveryParams', 'getFlowControlParams', 'getInvocationHandler', 'getJNDIName', 'getLoadBalancingParams',
    ## 'getLocalJNDIName', 'getName', 'getNotes', 'getProxyClass', 'getSecurityParams', 'getSubDeploymentName', 'getTransactionParams',
    ## 'hashCode', 'isDefaultTargetingEnabled', 'isProxyClass', 'isSet', 'loadBalancingParams', 'localJNDIName', 'name', 'newProxyInstance', 'notes',
    ## 'notify', 'notifyAll', 'securityParams', 'setDefaultTargetingEnabled', 'setJNDIName', 'setLocalJNDIName', 'setName', 'setNotes',
    ## 'setSubDeploymentName', 'subDeploymentName', 'toString', 'transactionParams', 'unSet', 'wait']
    ## If I try to invoke any method related to transactionParams, I've got a null pointer exception
    ==================
    Ok, now I'll use the web admin console to edit the transaction parameters : I start the Weblogic Server and go to the web-based Administration console.
    In the Domain Structure tree, I go to base_domain > Services > Messaging > JMS Modules.
    Then I click on my 'TestModule' module and then on my 'TestConnFactory' Connection Factory.
    I go in the 'Transaction' tab and I enable the XAConnectionFactory checkbox.
    Finally, I click on the save button.
    Let's start a new WLST Offline session and see what's new :
    ==================
    ## Read the domain
    readDomain('Oracle/Middleware/user_projects/domains/base_domain/')
    ## Check what is defined in my ConnectionFactory
    cd ('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0/ConnectionFactory/TestConnFactory')
    ls()
    ## Hey look, the TransactionParams appeared :
    ## drw- TransactionParams
    ## -rw- DefaultTargetingEnabled true
    ## -rw- JNDIName someJNDIName
    ## -rw- LocalJNDIName null
    ## -rw- Name TestConnFactory
    ## -rw- Notes null
    ## -rw- SubDeploymentName null
    ## Go in there :
    cd('TransactionParams/NO_NAME_0')
    ls()
    ## -rw- TransactionTimeout 3600
    ## -rw- XAConnectionFactoryEnabled                    true
    ==================
    So :
    - Why the TransactionParams setting is not directly created or available when a new ConnectionFactory is created ?
    - How can I create a JMS ConnectionFactory and edit its TransactionParams using only WLST Offline (i.e., without the admin console and without WSLT online) ?
    Any help appreciated,
    Thanks !

    Ok, I found a solution :
    =============
    cd ('/JMSSystemResource/TestModule/JmsResource/NO_NAME_0/ConnectionFactory/TestConnFactory')
    create('DUMMY', 'TransactionParams')
    ls('TransactionParams/NO_NAME_0')
    ## -rw- TransactionTimeout 0
    ## -rw- XAConnectionFactoryEnabled false
    =============
    But it seems strange to have to create a dummy TransactionParams. Is it the correct way to do it ?

  • Create() method in WLST Offline

    Can I create an Authentication Provider using WLST offline?
    I know how to do this online but in offline mode it doesn't work!:-(
    And what is the full list of types i can create using WLST offline?

    Here is the function:
    <p><i>def createSomeAuthenticationProvider(beanName):
    cd('/SecurityConfiguration/myDomain/Realms/myrealm')<br>
    theBean = cmo.lookupAuthenticationProvider(beanName)<br>
    if theBean == None:<br>
    cmo.createAuthenticationProvider(beanName,<b>"com.someCompany.SomeAuthenticationProvider"</b>)</i></p>
    And you also should set the parameter <b>-Dweblogic.alternateTypesDirectory=[path to archive with your provider class]</b> to make Provider type visible to weblogic

  • Error is in example  "How to Create Online and Offline Forms in Web Dynpro"

    Hi,
    I am developing " How to Create Online and Offline Forms in Web Dynpro " in nwds 7.0. This is standard example which is available at sdn. but when i run it gives me error like "
    Failed to process request. Please contact your system administrator.
    [Hide]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.NullPointerException
        at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
        at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
        at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
        at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
        ... 34 more
    See full exception chain for details.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    Version null
    DOM version null
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Thu Feb 15 10:23:57 IST 2007
    J2EE Engine 7.00 patchlevel
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Session & Other
    Session Locale en_US
    Time of Failure Mon Oct 29 12:13:24 IST 2007 (Java Time: 1193640204484)
    Web Dynpro Code Generation Infos
    local/TravelRequest
    SapDictionaryGenerationCore 7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)
    SapDictionaryGenerationTemplates (unknown)
    SapGenerationFrameworkCore 7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
    SapIdeWebDynproCheckLayer 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCommon 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelCore 7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)
    SapMetamodelDictionary 7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)
    SapMetamodelWebDynpro 7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationCTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    SapWebDynproGenerationCore 7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)
    SapWebDynproGenerationTemplates 7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:33[UTC], changelist=384368, host=pwdfm101)
    sap.com/tcwddispwda
    No information available null
    sap.com/tcwdcorecomp
    No information available null
    Detailed Error Information
    Detailed Exception Chain
    java.lang.NullPointerException
         at com.travelrequestapp.TravelRequestComView.wdDoInit(TravelRequestComView.java:97)
         at com.travelrequestapp.wdp.InternalTravelRequestComView.wdDoInit(InternalTravelRequestComView.java:133)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:793)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:296)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:767)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    So please help me to correct this error .....
    Help will be rewarded.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    A null value is being passed at runtime. Make sure that you enter values when filling in the form.
    Also check for the cardinality of the nodes being used. You can also initiliaze your value attributes as follows:
    In wdDoInit() method:
    wdContext.currentNodeAElement.setValueA("");
    Context is as follows:
    RootNode
      |____NodeA
            |_____ValueA
    Hope it helps.

  • How to create an RDBMS event generator using wlst on weblogic 10.3

    how to create an RDBMS event generator using wlst on weblogic 10.3, i got a code fragment needing class "com.bea.wli.management.configuration.RDBMSEventGenChannelConfiguration"
    but i can' t find this class in classpath on weblogic 10.3, pls help me, thanks. code sample is better.

    Hi,
    RDBMS Event Generator Channel Rule Definition
    When you are creating channel rule definitions in the WebLogic Integration Administration Console, it is recommended that you do not use the Back button if you want to resubmit the details on a page.
    You should always use the navigation links provided and create a new channel rule definition.
    http://download.oracle.com/docs/cd/E13214_01/wli/docs85/deploy/cluster.html
    http://download.oracle.com/docs/cd/E13214_01/wli/docs81/relnotes/relnotesLimit.html
    http://otndnld.oracle.co.jp/document/products/owli/docs10gr3/pdf/deploy.pdf
    This problem has been seen in the past when defining the channel rule for an RDBMS Event Generator if schema name was specified with the incorrect case (i.e. lowercase when it should have been uppercase or vice versa). To that end, it is suggested to change the case of the schema when creating the channel rule
    Regards,
    Kal

  • How to create a server through WLST  ( Weblogic Scripting Tool ) ?

    How to create a server through WLST ( Weblogic Scripting Tool ) ?
    Thanks in advance...
    Sanjay

    Hi Murugesh,
    Thanks a lot for you reply..
    I was able to create a server using create(). Is it possible to clone a server ?
    When i create a server following tags is added to config.xml
    <server>
    <name>testServer_lab1</name>
    <listen-port>43000</listen-port>
    </server>
    And if i do a clone through admin console, following is added to config.xml
    <server>
    <name>testServer2_lab1</name>
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    </server>
    If incase, cloning is not possible through WLST, can i add following
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    under <server> tag which is created through WLST ?
    I am using 9.2 version.
    Regards
    Sanjay

  • How to create a global role with WLST in WL 10

    Hi All:
    The approach in the protect_resources.py found in dev2dev, doesn't work. I've managed to convert the user and group creation to work with WL 10, but I can't for the life of me figure out how to create the role. There doesn't seem to be a createRole() on what I would think are the appropriate MBeans in poking around.
    Anyone know how to do this, or will I have to come up with a screen scraping solution that does this via the weblogic console, where it's so easy to do so?
    TIA
    Forrest

    Not having X's programing background I think of an action reference as something that tells Photoshop what to do. And yes it is like a little action that you write instead of record. For example the code that I and X posted could also be written like this
    var ref = new ActionReference();
    ref.putProperty( charIDToTypeID( "Prpr" ), stringIDToTypeID('tool') );// what key to get
    ref.putEnumerated( charIDToTypeID("capp"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );// where to get it from
    var cTool = executeActionGet(ref);// in this case returns a one key descriptor
    var cToolTypeID =  cTool.getEnumerationType( stringIDToTypeID('tool') );// get the value of that key
    alert( typeIDToStringID( cToolTypeID ) );// make that value readable
    Most of the ordinals you will see will be target as Photoshop likes whatever you are working on to be active. You sometimes see next or previous. I can't recall seeing a 'normal ordinal' like first or second.
    There is not much in the way of documentation. Most of what I know comes from looking at the scriptlistner log, xtools and X himself, and a little bit of code I put together for exploring action descriptors and action list. It's not as nice as X's getterdemo but works more the way I think. It sends it's output to the ESTK console window
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref)
    var c = desc.count ;
    //for(var i=0;i<c;i++){ // to enumerate list
    //  $.writeln('Key '+i+' = '+desc.getType(i))
    for(var i=0;i<c;i++){ //enumerate descriptor's keys
      $.writeln('Key '+i+' = '+typeIDToStringID(desc.getKey(i))+': '+desc.getType(desc.getKey(i)))

  • JMS queue assignment with WLST offline WLS 8.1

    Hi
    I would like to know how to assign a JMSQueue to JMSserver under WLST offline and WLS 8.1
    I've tried with assign(...) function or the setParent without success.
    As far as I understand, the JMSQueue is always created under a JMS server, once created there how can I assign it to another server??
    10x

    Hi
    I would like to know how to assign a JMSQueue to JMSserver under WLST offline and WLS 8.1
    I've tried with assign(...) function or the setParent without success.
    As far as I understand, the JMSQueue is always created under a JMS server, once created there how can I assign it to another server??
    10x

  • WLST Offline, WLS 8.1.6 domain read Error

    RedHat Linux 4 upd. 4, WLP 8.1. sp 6
    Steps to repeat:
    <pre>
    [beauser@localhost ~]$ runWLSToffline.sh
    Welcome to Weblogic Scripting Shell
    wls_offline:/>readTemplate('/WLS/bea/weblogic81/common/templates/domains/wli.jar')
    java.io.IOException: Unable to resolve input source.
    java.util.MissingResourceException: Error parsing jdbcdrivers.xml
    at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:742)
    at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:208)
    at com.bea.plateng.domain.aspect.ConfigAspectHelper.getXAPools(ConfigAspectHelper.java:855)
    at com.bea.plateng.domain.aspect.ConfigAspectHelper.getNonXAMultiPools(ConfigAspectHelper.java:822)
    at com.bea.plateng.domain.aspect.ConfigAspectHelper.getNonXAMultiPoolArray(ConfigAspectHelper.java:629)
    at com.bea.plateng.domain.assignment.JDBCPoolJDBCDataSourceAssignment.createSourceTree(JDBCPoolJDBCDataSourceAssignment.java:57)
    at com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:335)
    at com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:308)
    at com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:937)
    at com.bea.plateng.domain.event.assignment.DependencyDeploymentAssignmentListener.JDBCDataSourceAssigned(DependencyDeploymentAssignmentListener.java:90)
    at com.bea.plateng.domain.event.assignment.DependencyDeploymentAssignmentListener.doAssign(DependencyDeploymentAssignmentListener.java:55)
    at com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoableChange(AssignmentTreeListener.java:95)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:188)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:155)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:138)
    at com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataModel.java:191)
    at com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionVisitor.visitTree(AssignmentTree.java:1020)
    at com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
    at com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:42)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
    at com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220)
    at com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:359)
    at com.bea.plateng.domain.AutoDeployer.saveOriginalAssignments(AutoDeployer.java:712)
    at com.bea.plateng.domain.AutoDeployer.init(AutoDeployer.java:674)
    at com.bea.plateng.domain.AutoDeployer.<init>(AutoDeployer.java:177)
    at com.bea.plateng.domain.DomainTemplate.<init>(DomainTemplate.java:155)
    at com.bea.plateng.domain.DomainTemplate.<init>(DomainTemplate.java:128)
    at com.bea.plateng.domain.TemplateBuilder.parseDomainTemplate(TemplateBuilder.java:568)
    at com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.java:1178)
    java.io.IOException: Unable to resolve input source.
    java.util.MissingResourceException: Error parsing jdbcdrivers.xml
    at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:742)
    at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:208)
    at com.bea.plateng.domain.aspect.ConfigAspectHelper.getXAPools(ConfigAspectHelper.java:855)
    at com.bea.plateng.domain.aspect.ConfigAspectHelper.getNonXAMultiPools(ConfigAspectHelper.java:822)
    at com.bea.plateng.domain.aspect.ConfigAspectHelper.getNonXAMultiPoolArray(ConfigAspectHelper.java:629)
    at com.bea.plateng.domain.assignment.JDBCPoolJDBCDataSourceAssignment.createSourceTree(JDBCPoolJDBCDataSourceAssignment.java:57)
    at com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:335)
    at com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:308)
    at com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:937)
    at com.bea.plateng.domain.event.assignment.DependencyDeploymentAssignmentListener.JDBCDataSourceAssigned(DependencyDeploymentAssignmentListener.java:90)
    at com.bea.plateng.domain.event.assignment.DependencyDeploymentAssignmentListener.doAssign(DependencyDeploymentAssignmentListener.java:55)
    at com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoableChange(AssignmentTreeListener.java:95)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:188)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:155)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:138)
    at com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataModel.java:191)
    at com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionVisitor.visitTree(AssignmentTree.java:1020)
    at com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
    at com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:42)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
    at com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220)
    at com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:359)
    at com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:308)
    at com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:937)
    at com.bea.plateng.domain.DomainChecker.syncAssignments(DomainChecker.java:216)
    at com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.java:1192)
    at com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:365)
    at com.bea.plateng.domain.script.jython.WLScriptContext.readTemplate(WLScriptContext.java:195)
    java.io.IOException: Unable to resolve input source.
    java.util.MissingResourceException: Error parsing jdbcdrivers.xml
    at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:742)
    at com.bea.plateng.domain.jdbc.JDBCAspectHelper.getGenericJDBCDriverInfo(JDBCAspectHelper.java:208)
    at com.bea.plateng.domain.assignment.JDBCPoolJMSJDBCStoreAssignment.createSourceTree(JDBCPoolJMSJDBCStoreAssignment.java:59)
    at com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:335)
    at com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:308)
    at com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:937)
    at com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentListener.getJDBCConnectionPool(JMSServerServerAssignmentListener.java:99)
    at com.bea.plateng.domain.event.assignment.JMSServerServerAssignmentListener.doAssign(JMSServerServerAssignmentListener.java:50)
    at com.bea.plateng.domain.event.assignment.AssignmentTreeListener.vetoableChange(AssignmentTreeListener.java:95)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:188)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:155)
    at com.bea.plateng.common.comdev.MVetoableChangeSupport.fireVetoableChange(MVetoableChangeSupport.java:138)
    at com.bea.plateng.common.comdev.TreeDataModel.setAttribute(TreeDataModel.java:191)
    at com.bea.plateng.domain.assignment.AssignmentTree$SetInitialSelectionVisitor.visitTree(AssignmentTree.java:1020)
    at com.bea.plateng.common.comdev.TreeVisitor.visit(TreeVisitor.java:24)
    at com.bea.plateng.common.comdev.PreOrder.preVisit(PreOrder.java:34)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:42)
    at com.bea.plateng.common.comdev.TreeHelper.depthFirstTraversal(TreeHelper.java:47)
    at com.bea.plateng.common.comdev.GeneralTree.accept(GeneralTree.java:220)
    at com.bea.plateng.domain.assignment.AssignmentTree.buildModel(AssignmentTree.java:359)
    at com.bea.plateng.domain.assignment.AssignmentTreeDefinition.createAssignment(AssignmentTreeDefinition.java:308)
    at com.bea.plateng.domain.DomainTemplate.getAssignment(DomainTemplate.java:937)
    at com.bea.plateng.domain.DomainChecker.syncAssignments(DomainChecker.java:216)
    at com.bea.plateng.domain.TemplateBuilder.buildDomainTemplate(TemplateBuilder.java:1192)
    at com.bea.plateng.domain.script.ScriptExecutor.readTemplate(ScriptExecutor.java:365)
    at com.bea.plateng.domain.script.jython.WLScriptContext.readTemplate(WLScriptContext.java:195)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
            at org.python.core.PyReflectedFunction.__call__(Lorg.python.core.PyObject;[Lorg.python.core.PyObject;[Ljava.lang.String;)Lorg.python.core.PyObject;(PyReflectedFunction.java:???)
    wls_offline:/integration>
    </pre>
    As you can see the domain is opened, so is this error painfull, or is it a veeery verbose Warning?
    Best regards,
    Christopher                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Well, maybe domain is onened, but I can't still get to configure the JDBC Pools:
    wls_offline:/integration/JDBCConnectionPool>cd('cgPool')
    java.io.IOException: Unable to resolve input source.
    Error: cd() failed. Do dumpStack() to see details.
    wls_offline:/integration/JDBCConnectionPool>dumpStack()
    com.bea.plateng.domain.script.jython.WLSTException: java.util.MissingResourceException: Error parsing jdbcdrivers.xml
    at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:33)
    at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:897)
    at com.bea.plateng.domain.script.jython.WLScriptContext.cd(WLScriptContext.java:372)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    So error mensioned above is not just warning - it block JDBC configuration.
    I found that the WLST somoehow redefines whe WL_HOME, and instead of using the /WLS/bea/weblogic81 directory it uses user home dir /home/beauser ...
    I had to create the symbolic links to $HOME/common and $HOME/server to make WLST Offline works.
    Any one knows how can I change this path ?
    I run WLST-offline via:
    <pre>
    . /WLS/bea/weblogic81/server/bin/setWLSEnv.sh
    export HOME=$WL_HOME
    echo HOME: "$HOME" "..." "~"
    export CLASSPATH=$CLASSPATH:/home/beauser/wlst/wlst.jar:$WL_HOME/common/lib/jython.jar:/home/beauser/wlst/update012120053rdparty.jar:/home/beauser/wlst/update01212005/comdev.jar:/home/beauser/wlst/update01212005/config.jar:$WL_HOME/collom/lib:.
    java com.bea.plateng.domain.script.jython.WLST_offline $*
    </pre>
    Message was edited by:
            [email protected]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • WLST Offline Assign Application component

    Hi, this is what I can do
    assign('AppDeployment.SubDeployment','MyApp.*', 'Target', 'cluster1')
    but if I try to do this I get an error
    assign('AppDeployment.SubDeployment','MyApp.MyFaxEmailProcessSendingEjb.jar', 'Target', 'cluster1')
    here is the error
    assign() failed. Do dumpStack() to see details
    dumpStack()
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.script.ScriptException: U
    nable to find the specified application or service
    at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleException(CommandExcep
    tionHandler.java:51)
    at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java
    :1333)
    at com.bea.plateng.domain.script.jython.WLScriptContext.assign(WLScriptContext.java:859)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)L
    java.lang.Object;(Unknown Source)
    at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;
    (Unknown Source)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    at org.python.core.PyMethod.__call__(PyMethod.java:96)
    at org.python.core.PyObject.__call__(PyObject.java:248)
    at org.python.core.PyObject.invoke(PyObject.java:2016)
    at org.python.pycode._pyx5.assign$10(C:\WINNT\Temp\WLSTOfflineIni9379.py:62)
    at org.python.pycode._pyx5.call_function(ILorg.python.core.PyFrame;)Lorg.python.core.PyObjec
    t;(C:\WINNT\Temp\WLSTOfflineIni9379.py:???)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyTableCode.call(PyTableCode.java:404)
    at org.python.core.PyFunction.__call__(PyFunction.java:184)
    at org.python.core.PyObject.__call__(PyObject.java:314)
    at org.python.pycode._pyx434.f$0(<console>:1)
    at org.python.pycode._pyx434.call_function(ILorg.python.core.PyFrame;)Lorg.python.core.PyObj
    ect;(<console>:???)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyCode.call(PyCode.java:14)
    at org.python.core.Py.runCode(Py.java:1135)
    at org.python.core.Py.exec(Py.java:1157)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
    at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
    Caused by: com.bea.plateng.domain.script.ScriptException: Unable to find the specified application o
    r service
    at com.bea.plateng.domain.script.ScriptExecutor.doSvcAssignmentByName(ScriptExecutor.java:27
    98)
    at com.bea.plateng.domain.script.ScriptExecutor.processAssignmentByName(ScriptExecutor.java:
    1302)
    at com.bea.plateng.domain.script.jython.WLScriptContext.assign(WLScriptContext.java:855)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)L
    java.lang.Object;(Unknown Source)
    at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;
    (Unknown Source)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    at org.python.core.PyMethod.__call__(PyMethod.java:96)
    at org.python.core.PyObject.__call__(PyObject.java:248)
    at org.python.core.PyObject.invoke(PyObject.java:2016)
    at org.python.pycode._pyx5.assign$10(C:\WINNT\Temp\WLSTOfflineIni9379.py:62)
    at org.python.pycode._pyx5.call_function(ILorg.python.core.PyFrame;)Lorg.python.core.PyObjec
    t;(C:\WINNT\Temp\WLSTOfflineIni9379.py:???)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyTableCode.call(PyTableCode.java:404)
    at org.python.core.PyFunction.__call__(PyFunction.java:184)
    at org.python.core.PyObject.__call__(PyObject.java:314)
    at org.python.pycode._pyx434.f$0(<console>:1)
    at org.python.pycode._pyx434.call_function(ILorg.python.core.PyFrame;)Lorg.python.core.PyObj
    ect;(<console>:???)
    at org.python.core.PyTableCode.call(PyTableCode.java:208)
    at org.python.core.PyCode.call(PyCode.java:14)
    at org.python.core.Py.runCode(Py.java:1135)
    at org.python.core.Py.exec(Py.java:1157)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:148)
    at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:44)
    at weblogic.management.scripting.WLST.main(WLST.java:142)
    I wonder why because the subDployment (component) is really there...
    please help
    Message was edited by:
    Ashanty

    Hello Henrik,
    It should be "assign servers to a machine". So the code will look like:
    create('BEA_Server', 'Server')
    create('myMachine', 'Machine')
    assign('Server', 'BEA_Server','Machine', 'myMachine')
    Thanks,
    -satya
    Henrik S. Pedersen wrote:
    I've created machines and servers using WLST offline on Weblogic 8.1sp2.
    How do I assign a machine to a server?
    I would expect something like:
    assign ("Machine","machinea","Server","servera")
    "machinea" is the machine that I created, and "servera" is the server.
    Unfortunately this does not work. I get the following error message:
    "Cannot recognize the service assignment type: machine_server"
    Kind regards,
    Henrik

  • How to create a text box in ascreen painter?

    HI friends can anyone tell me how to create a text box in a screen painter?
    And attachment BROWSER like what we attach for any documents in over mail.
    Example when we click on browser the path of the computer has to be opened and by giving the document name attach and the document will be attached. Please tell me the procedure....
    Thks

    To get the best answers, I think you probably need to break down your post into several different one with a separate question in each, along with the business problem you are trying to solve... but here's a few pointers for you to research...
    Textbox - there's plenty of info in SDN on creating a custom control with a textbox e.g. Re: Text Editor on modulepool Screen and sample code in SAP too.
    Attachments - If this is for an email, then GUI_UPLOAD might help and the BCS class is the newer way to send messages... check out Re: Offline Approval: RBBP_NOTIFICATION_OFFAPP Vs RSWUWFMLEC for example... if this is an attachment for an SAP object such as an FI Document or Purchase Order, then the Generic Object Services (GOS) could be what you want e.g. https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3
    Jonathan

Maybe you are looking for

  • Why does Frame 10 print 3 copies of the same chapter when I print a book to pdf?

    I am printing a multi-chapter book. The table of contents generates perfectly but when I go to print the pdf of the book, Frame prints 3 duplicate copies of each chapter and TOC. Why is it doing this and how can I turn off this 'feature'? It is a pai

  • Using Image Capture with HP Officejet Pro 8500 A909g

    The printer/scanner shows up twice under the device list in Image Capture.  Select either and I get an error message, "Scanner Session Fails to Open".  The Officejet Pro works ok as a printer.  It is connected to my Mac Desk Pro and to a MacBook Pro,

  • Absolute value discount in Special Prices

    I have a customer that has special prices with a value discount, not a percentage one. I thought about adding a UDF to the Special Prices table and do a formatted search against it, but later I found that I cannot add an UDF to the Special Prices tab

  • MS Outlook 2010 Issues

    I have just purchased a new laptop running Windows 8.1 and succeeded in setting up my email account in MS Outlook 2010. I've also been able to import all my old emails into MS Outlook 2010, but strange things are happening . On the old laptop the Out

  • Alternate to this PM_ORDER_DATA_READ

    Hi is there any other alternate for thisFM PM_ORDER_DATA_READ either in bapi also. with regards, jayasankar.