WLST offline - Changing AdminServer name

Using WLST offline to create a domain by reading a template.
This creates a default admin server with name AdminServer.
Is there anyway to change the admin server's name from AdminServer to something else using WLST? or is there a way to override the default value?
Thanks

What is the problem?
<i><b>cd('/Servers/AdminServer')
set('Name','myName')</b></i>

Similar Messages

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

  • Domain creation using WLST offline mode

    Hi,
    We are migrating from WL8.1SP5 to WL10MP2. After reading through the various options (WLST online, WLST offline, WLST.configToScript(), and Configuration Wizard) , I have concluded that we will use WLST in offline mode to create domains in our prod, qa, and dev environments. In 8.1 I had a silent script that would create domains for me repeatedly in any environment very easily. I want to map this script into the corresponding SOME_NAME.py script to be used for WL10MP2 domain.
    I have the BEA provided basicWLSDomain.py (please see below) script. I have difficulty in understanding more than half of that script! I know the basic concept is to traverse the MBean tree and creat and/or set parameters. But I do not know which MBean I will need to modify/create.
    Example 1:
    readTemplate("C:/bea/wlserver_10.0/common/templates/domains/wls.jar")
    cd('Servers/AdminServer')
    Q1] I went through http://e-docs.bea.com/wls/docs90/wlsmbeanref/core/index.html but could not find either ServersMBean or AdminServerMBean.
    Example 2:
    cd('/')
    create('myJMSServer', 'JMSServer')
    cd('/')
    create('myJmsSystemResource', 'JMSSystemResource')
    cd('JMSSystemResource/myJmsSystemResource/JmsResource/NO_NAME_0')
    Q2] What is a JMSSystemResource? (If I remember correctly, there is no such thing in WL8.1)
    Q3] What is JmsResource?
    Example 3:
    cd('/')
    create('myDataSource', 'JDBCSystemResource')
    cd('JDBCSystemResource/myDataSource/JdbcResource/myDataSource')
    create('myJdbcDriverParams','JDBCDriverParams')
    cd('JDBCDriverParams/NO_NAME_0')
    set('DriverName','com.pointbase.jdbc.jdbcUniversalDriver')
    set('URL','jdbc:pointbase:server://localhost/demo')
    set('PasswordEncrypted', 'PBPUBLIC')
    set('UseXADataSourceInterface', 'false')
    create('myProps','Properties')
    cd('Properties/NO_NAME_0')
    create('user', 'Property')
    cd('Property/user')
    cmo.setValue('PBPUBLIC')
    cd('/JDBCSystemResource/myDataSource/JdbcResource/myDataSource')
    create('myJdbcDataSourceParams','JDBCDataSourceParams')
    cd('JDBCDataSourceParams/NO_NAME_0')
    set('JNDIName', java.lang.String("myDataSource_jndi"))
    cd('/JDBCSystemResource/myDataSource/JdbcResource/myDataSource')
    create('myJdbcConnectionPoolParams','JDBCConnectionPoolParams')
    cd('JDBCConnectionPoolParams/NO_NAME_0')
    set('TestTableName','SYSTABLES')
    Q4] Can you please explain the above snippet line by line?
    Q5] Why are certain attributes set like this --- set('TestTableName','SYSTABLES') while certain attributes like below are set like this -- myq.setJNDIName('jms/myqueue')?
    Example 4:
    myq=create('myQueue','Queue')
    myq.setJNDIName('jms/myqueue')
    myq.setSubDeploymentName('myQueueSubDeployment')
    cd('/')
    cd('JMSSystemResource/myJmsSystemResource')
    create('myQueueSubDeployment', 'SubDeployment')
    Q6] What us a SubDeployment?
    I apologize for the long question. I would greatly appreciate any help!
    Thanks!
    Edited by: user10045656 on Oct 29, 2008 11:03 AM
    Edited by: user10045656 on Oct 29, 2008 11:06 AM

    1 - What is the best way to create a schema, for reporting application, during automated domain build process as we need to create new domains from the script and also be able to start and deploy applications on it. which will also require to have db schema for reporting application.
    My suggestion would be to execute the scripts under /neelapu/bea/post31/RC4-samples/osb_10.3/dbscripts/oracle/*.sql with your automated process. OSB requires two simple tables WLI_QS_REPORT_DATA and WLI_QS_REPORT_ATTRIBUTE.
    If reporting is not required then we can modify (I guess) in wlst offline mode to delete the below applications from domain.
    <app-deployment>
    <name>JMS Reporting Provider</name>
    <target>osb_server1</target>
    <module-type>ear</module-type>
    <source-path>/neelapu/bea/xyz/load4/Oracle_OSB1/lib/common/jmsreportprovider.ear</source-path>
    <deployment-order>125</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>Message Reporting Purger</name>
    <target>osb_server1</target>
    <module-type>ear</module-type>
    <source-path>/neelapu/bea/xyx/load4/Oracle_OSB1/lib/common/msgpurger.ear</source-path>
    <deployment-order>126</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    Thanks
    Manoj

  • Changing Clip Name

    I understand that the best time to name a clip is when capturing. And changing a clip name will pose a problem when reconnecting media.
    However, if the "clip name" is changed via "item properties" in the browser AND the "QT file" in the "Capture Scratch file" is changed at the finder level (or if Modify/Rename/File to Match Clip is used) is the above problem averted? Or is it more complex than that?
    Within a simple single project, if changing the clip name is OK using "Modify/Rename/File to Match Clip" why is changing a clip name considered so taboo?

    DaisyDaisy wrote:
    Within a simple single project, if changing the clip name is OK using "Modify/Rename/File to Match Clip" why is changing a clip name considered so taboo?
    Where it's taboo is in collaborative projects (meaning you have to merge cuts with other editors, but using the same media) as well as projects that are offline/online, since a key piece of tracking data (especially with tapeless workflows) is the clip name.
    I'd consider most situations outside of those mentioned to be 'simple projects,' and thus hardly scenarios where changing clip names is taboo.

  • Using Media Manager to 'Make Offline' it re-names media files to 'Private'

    For some reason Media Manager is changing the name of media files when processing them making it impossible to reconnect them.
    My director always has a complete copy of our film's media files on his 'home set-up' (FCP 5.0 on a Powerbook with 2 x 500gb firewire drives) so he can look at our cuts at home. This has caused problems in the past with firewire drives expiring or failing to mount: making the whole process pointless. Also, as the amount of footage increased, he struggled to find space for the 6-8 drives required.
    My solution was to down-convert our DV resolution media files to Photo-Jpeg resolution which allowed me to fit 3TB of footage onto 2 brand new G-Tech drives. Every time I sent him a cut to view all I had to do was use media manager to make the sequence offline and convert it to exactly the same Photo-Jpeg setting I used to export the files. All he has to do is reconnect the sequence to his drives at his end.
    A wonderful plan except when you came to reconnecting. I found that 95% of clips connect perfectly and then you get asked for the location of some media files called 'Trashes' 'Applications' or more commonly, 'Private'. Obviously no such files existed - I use an impeccably organised and structured filename system when capturing. Therefore it made random clips in my sequence impossible to reconnect once it had been converted to the settings used by the director.
    When this only happened once or twice I thought I could easily just work out what files it was actually looking for by the clip names on the timeline and tell FCP to reconnect to the correct file by ignoring the file name but this is so time consuming and impractical when you have 20/30 clips that have been renamed on a sequence. It is also not the sort of thing my director is technically capable/willing to do.
    It also seems to be happening when you convert things in the other direction. When I took a sequence from the director's project and brought it back onto my system by converting his sequence to my DV-PAL settings we got the same problems with 'Private and 'Applications' clips. And we know for sure that all of these clips were online on his computer.
    Has anyone seen this before or know any steps I could take to prevent it happening.
    I fear that if I can't get this method to work I will have to give him full resolution media to work with and I will be fated to spend the rest of my days replacing. smashing or swearing at firewire drives that only work when they feel like it.
    Anybody got any ideas.
    Cheers
    Paul
    Powerbook G4   Mac OS X (10.4.8)  

    haven't tried this but it may be worth some investigation.
    try exporting an XML of your sequence and passing that to the director
    on the director's FCP setup, import the xml, and in the Import XML... window uncheck the "Override with setting from XML" checkbox, and choose the approriate offline res that matches the directors media.
    see if the resulting sequence will reconnect

  • 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

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

  • Change file name with oreilly servlet

    I am using oreilly servlet package and I want to change the file name to the file I am uploading, is this possible ?
    How ?
    Thanks.
    here I post the servlet code:
    package com.reducativa.sitio.servlets;
    * DemoParserUploadServlet.java
    * Example servlet to handle file uploads using MultipartParser for
    * decoding the incoming multipart/form-data stream
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import com.oreilly.servlet.multipart.*;
    public class DemoParserUploadServlet extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    PrintWriter out = response.getWriter();
    response.setContentType("text/plain");
    out.println("Demo Parser Upload Servlet");
    File dir = new File("f:/");
    if (! dir.isDirectory()) {
    throw new ServletException("Supplied uploadDir " + "f:/ " +
    " is invalid");
    try {
    MultipartParser mp = new MultipartParser(request, 10*1024*1024); // 10MB
    Part part;
    while ((part = mp.readNextPart()) != null) {
    String name = part.getName();
    if (part.isParam()) {
    // it's a parameter part
    ParamPart paramPart = (ParamPart) part;
    String value = paramPart.getStringValue();
    out.println("param; name=" + name + ", value=" + value);
    else if (part.isFile()) {
    // it's a file part
    FilePart filePart = (FilePart) part;
    String fileName = filePart.getFileName();
    if (fileName != null) {
    // the part actually contained a file
    long size = filePart.writeTo(dir);
    out.println("file; name=" + name + "; filename=" + fileName +
    ", filePath=" + filePart.getFilePath() +
    ", content type=" + filePart.getContentType() +
    ", size=" + size);
    else {
    // the field did not contain a file
    out.println("file; name=" + name + "; EMPTY");
    out.flush();
    catch (IOException lEx) {
    this.getServletContext().log("error reading or saving file");
    }

    Hi there,
    I am facing the same problem that you have stated in your Feb 26, 2002 10:28 AM message regarding "change file name with oreilly servlet", I would like to change the file name to include a unique identifier upon upload, did you ever find a solution to your problem?
    Thanks!
    Todd
    [email protected]

  • How can i delete my  music from itunes it dont let me also how to change the name of the ipod shuffle it dont let me

    i need help please help me on itunes i try to change my name for the ipod shuffle and it dont let me it dont do anything also when i try to delete the music on it it dont show me if i want to delete or not the font is just gray and dont show any opitions also when i go on my iphone it lets me do all the stuff that it dont let me do i connect my iphone and it lets me delete music and change the name but the shuffle doesnt

    What happens when you try to change the Shuffle's name from under the Devices section in the left hand pane of iTunes?
    Is your iPod set up to manually manage its contents.  For more information, see your iPod's User Guide.
    http://support.apple.com/manuals/#ipodshuffle
    B-rock

  • I tried to change the name of my device and now I cant sync anything and it says there is a problem with the disk and when I changed the name back it still said the same thing so I restored my ipod (not from itunes but on the ipod itsself)

    And now its saying my ipod is corrupt. None of my stuff was erased from itunes it was only erased from my ipod so why am I not able to just sync everything back onto my ipod? why is it doing this now? I think this is ridiculous that just changing one name would do this much damage.

    There is a backup plan after doing the Restore.  Read this.

  • I changed the name of my imac to reflect it's new location, but inadvertently, it unchecked the box to allow the administrative user account to administer the machine.  I am trying to reinstall with a time machine backup and am unable

    I need a little help.  I changed the name of my imac to reflect it's new location, but inadvertently, when I saved the change, the system unchecked the "allow this account to administer the computer" so now I can't make any changes....  I tried to reinstall the OS, but it wants me to go online while installing and use my apple id, but this is not my iMAC, so I don't want to use my account.  Also, I am working in a building that will not allow me network access until I authenticate, which can't be done unless I open the browser first.  So I'm stuck at this point.  I can't even restore a time machine backup that I have because it gives the error message that the system encountered an error.  Any suggestions?

    Ask the admin/owner to sign in. 

  • Change the name of custom tab in me51n / me52n / me53n

    Hi,
    I have to add a few custom fields in PR item of  transactions me51n / me52n / me53n. I have used the enhancement MEREQ001 for adding the custom fields. The sytem automatically creates a custom tab with the name Customer Tab for the additional fields that I have added using the enhancement MEREQ001 while displaying in me51n / me52n / me53n.
    Now I have a requirement to change the name of the custom tab created for transactions me51n / me52n / me53n from Customer Data to Others.
    Can anyone suggest me how to go about doing this???
    Thanks in advance.
    Abhisek.
    P.S.:- Points will be be duly awarded 4 helpfull answers.

    Hi,
    I tried doing whatever you had suggested but it seems that it is not working.
    Could you suggest some other way to do this?
    Thanks and regards.
    Abhisek.

  • Changing Step Name in XML Report programmaticaly

    I am trying to change the step name programmaticaly in TestStand to reflect in the XML report. The step is executed several times in a loop, and every time the loop runs I want the step to be named differently in the XML report. For example, the names will be something like this < Test1: Signal Name 1>, <Test2: Signal Name 2> ....etc. Any help on this will be appreciated .
    Thanks,
    Sam

    Hi,
    The best time to change the name is before you perform the test, then it will get inserted in the ResultList and hence into your report.
    I have attached one way of doing this. You can also perform it after the Step you wish to change, in which case you would use the RunState.PreviousStep as a reference.
    You could call the API method as part of your code.
    Remeber, if you use a PropertyLoader to load Limits, and you have placed this inside the loop, then your Limits file for the Step Name must match the new step name not the old one that you see statically.
    This is a TS3.5 example.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏25 KB

  • How do I change the name I have called my MacBook Air so I can add 11" and 13" into the title of whose computer this is for more clarity when I set up Time Machine and save to it with both computers?  Both are named with "my name and MacBook Air"

    I'm still learning the whole Mac thing but these are great machines!  I purchased a MacBook Air 13" and then thought I should also get a MacBook Air 11" for travel.  When I set it up at the Apple store I told the assistant the exact same name for each machine, i.e., "my name and MacBook Air."  What I want to do is go back in and rename both of them adding the 11" and 13" designation to the name so that when I set up Time Machine or whatever else I know exactly which machine is what.  I'm sure it is very simple but I cannot seem to figure it out.  Help please. Thanks.

    Go to System Preferences - Sharing and change the computer name there. You can also, optionally, change the name of your hard drive to further clarify the origin of your backups. Click once on the "Macintosh HD" on your desktop, then click its name to allow you to edit it.
    Matt

Maybe you are looking for