[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();

Similar Messages

  • Create Distributed Destination

    I want to automate creation of distributed destinations as at times I need to create around 40 of them. Currently I do it "by hand" which is not very effecient !
              I tried using ant but it has too many limitations (does not allow space in the name etc). I tried WLST and can create JMSQueues but simply cannot create Distributed Destinations. I have searched and searched the web for all possible scripts, and tried all of them, but none of them work.
              My environment uses WebLogic 8.1 SP3 and above. I will be creating the Distributed Destinations on an existing (running) domain.
              If someone has already got this to work, please pass on the information to me.
              Thanks,
              Kevin.

    An example is given here: http://middlewaremagic.com/weblogic/?p=7188
    excerpt from the complete script
    print 'CREATE UNIFORM DISTRIBUTED QUEUE';
    resource.createUniformDistributedQueue('DistributedQueue');
    distributedqueue = resource.lookupUniformDistributedQueue('DistributedQueue');
    distributedqueue.setJNDIName('jms/CompanyQueue');
    distributedqueue.setLoadBalancingPolicy('Round-Robin');
    distributedqueue.setSubDeploymentName('SubDeployment');
    distributedqueue.setUnitOfOrderRouting('PathService');When you want to create scripts you can also first use the admin console. In the middle top there is a record button.
    To create a script, hit the record button, do some configuring, and hit the record button again. To script is
    saved in the ${DOMAIN_HOME} directory.

  • I cannot create a destination...

    I am able to follow through on Week 6 Unit 2 until Ihave to create a destination...
    The issue is I cannot change the authentication from "no authentication" to anything else...
    I am trying to set it to "basic authentication"...
    I was able to find the link required as well as get a login and password exactly as the unit 2 lecture prescribes, so I am not sure what to try next.
    That about halts as far as I can go... with the demo for this Unit.

    Can I assume you're following the process for creating hyperlinks, as (very comprehensivly) documented here?
    http://vector.tutsplus.com/tutorials/designing/how-to-create-interactive-pdfs-in-indesign- using-hyperlinks/
    If the Index is just generated text, there should be no logical reason why this process won't work as expected nor can I see why it would.

  • WLST Offline - Security creatRole?

    Hi, can anyone tell me if it is possible to use WLST offline to create global security roles? The only examples I can find are using WLST online. I'm wondering if the WLS embedded LDAP server has to be running to store the roles.
    I've installed WLST with WLS 8.1 SP3.
    Thanks in advance for your help.
    -Jeff

    Hello Jeff,
    You are right. You cannot add security roles via WLST OffLine.
    Thanks,
    -satya
    BEA Blog: http://dev2dev.bea.com/blog/sghattu/

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

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

  • Cannot create a new Offline Address Book

    I have 2 instances of Exchange Server installation  in one single organisation (by one per domain):
    1. Exchange 2010 Version 14.3 (Build 123.4).
    2. Echange 2013 Version 15.0 (Build 1044.25).
    I have created new OAB and arbitration mailbox following
    this article.
    It  is result of command:
    [PS] C:\Windows\system32>Get-Mailbox -Arbitration | where {$_.PersistedCapabilities -like "*oab*"} | ft name,servername
    Name ServerName
    BK Arbitration OAB vsrv-exbk
    But when i try generate new OAB using command:
    Update-OfflineAddressBook -Identity "OAB-FAB"
    I get this error message:
    Не удалось создать автономную адресную книгу "\OAB-FAB". Это может быть вызвано двумя причинами: служба помощников по обслуживанию почтовых ящиков не
     запущена на сервере "SRV-MAILBOX.xxx.local" или у вас нет разрешений на выполнение этой операции. Сообщение об ошибке: "Не удается вызвать службу по
    мощников по обслуживанию почтовых ящиков на сервере. 'SRV-MAILBOX.xxx.local': сбой. Ошибка RPC: -2147220990.".
        + CategoryInfo          : InvalidResult: (OAB-FAB:OfflineAddressBookIdParameter) [Update-OfflineAddressBook], LocalizedException
        + FullyQualifiedErrorId : [Server=VSRV-EXBK,RequestId=84bb0fb1-d6dd-4718-a704-4e9a20e178b6,TimeStamp=19.02.2015 12:07:00] [FailureCategory=Cmdle
       t-LocalizedException] 12FE7FE1,Microsoft.Exchange.Management.SystemConfigurationTasks.UpdateOfflineAddressBook
        + PSComputerName        : vsrv-exbk.xxx.local
    Roughly translation from Russian is - "Cannot create a new Offline Address Book
    "\OAB-FAB" This may be caused to two reasons: the service "Mailbox Assistant service." did not started on "SRV-MAILBOX.xxx.local"
    server or you  do not have permission to perform this operation.
    I investigated this situation and found out that i have "Organisation Management" role on my account, and "Mailbox Assistant service." is started on server "SRV-MAILBOX.xxx.local".
    I try to restart the service but it does not fix this issue.
    Please help me ;)

    Hi,
    How did you create a new OAB and an OAB Generation Mailbox? When creating new OABs after Exchange CU5, we need to specify the GeneratingMailbox property.
    For example:
    New-Mailbox -Arbitration -Name "BK Arbitration OAB" -Database DB4 -UserPrincipalName [email protected] –DisplayName " BK Arbitration OAB"
    Set-Mailbox "BK Arbitration OAB" –Arbitration –OABGen $true
    New-OfflineAddressBook -Name "OAB-FAB" –GeneratingMailbox "CN= BK Arbitration OAB,CN=Users,DC=contoso,DC=com" –AddressLists "Default Global Address List"
    For more information, please refer to this article.
    http://blogs.technet.com/b/exchange/archive/2014/05/13/oab-improvements-in-exchange-2013-cumulative-update-5.aspx
    Best Regards.

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

  • 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

  • [SOLVED]C compiler cannot create executables DUE TO MISSING DEV. PACKS

    Hi there, I was trying to build "lib32-libpcap" from AUR using yaourt when the gcc(?) reported an error as following:
    ==> Starting build()...
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for gcc... gcc -m32
    checking for C compiler default output file name...
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    ==> ERROR: A failure occurred in build().
    Aborting...
    The content of the "config.log" file:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by configure, which was
    generated by GNU Autoconf 2.61. Invocation command line was
    $ ./configure --prefix=/usr --libdir=/usr/lib32 --enable-ipv6
    ## Platform. ##
    hostname = mzws
    uname -m = x86_64
    uname -r = 3.2.8-1-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = x86_64
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/local/sbin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/core_perl
    ## Core tests. ##
    configure:1794: checking build system type
    configure:1812: result: x86_64-unknown-linux-gnu
    configure:1834: checking host system type
    configure:1849: result: x86_64-unknown-linux-gnu
    configure:1871: checking target system type
    configure:1886: result: x86_64-unknown-linux-gnu
    configure:2036: checking for gcc
    configure:2063: result: gcc -m32
    configure:2301: checking for C compiler version
    configure:2308: gcc -m32 --version >&5
    gcc (GCC) 4.6.2 20120120 (prerelease)
    Copyright (C) 2011 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:2311: $? = 0
    configure:2318: gcc -m32 -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.6-20120120/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --enable-checking=release
    Thread model: posix
    gcc version 4.6.2 20120120 (prerelease) (GCC)
    configure:2321: $? = 0
    configure:2328: gcc -m32 -V >&5
    gcc: error: unrecognized option '-V'
    gcc: fatal error: no input files
    compilation terminated.
    configure:2331: $? = 1
    configure:2354: checking for C compiler default output file name
    configure:2381: gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c >&5
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../libgcc_s.so when searching for -lgcc_s
    /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
    /usr/bin/ld: cannot find -lgcc_s
    collect2: ld returned 1 exit status
    configure:2384: $? = 1
    configure:2422: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:2429: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CC_set=set
    ac_cv_env_CC_value='gcc -m32'
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_prog_ac_ct_CC='gcc -m32'
    ac_cv_target=x86_64-unknown-linux-gnu
    ## Output variables. ##
    ADDLARCHIVEOBJS=''
    ADDLOBJS=''
    BT_SRC=''
    CAN_SRC=''
    CC='gcc -m32'
    CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
    CPP=''
    CPPFLAGS=''
    DEFS=''
    DYEXT=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GREP=''
    HAVE_LINUX_TPACKET_AUXDATA=''
    INSTALL_DATA=''
    INSTALL_PROGRAM=''
    INSTALL_SCRIPT=''
    LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'
    LIBOBJS=''
    LIBS=''
    LTLIBOBJS=''
    MAN_FILE_FORMATS=''
    MAN_MISC_INFO=''
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    PCAP_SUPPORT_BT=''
    PCAP_SUPPORT_CAN=''
    PCAP_SUPPORT_USB=''
    RANLIB=''
    SHELL='/bin/sh'
    SHLICC2=''
    SSRC=''
    USB_SRC=''
    V_CCOPT='-O'
    V_DEFS=''
    V_FINDALLDEVS=''
    V_INCLS=''
    V_LEX=''
    V_PCAP=''
    V_RPATH_OPT=''
    V_SHLIB_CMD=''
    V_SHLIB_OPT=''
    V_SONAME_OPT=''
    V_YACC=''
    ac_ct_CC='gcc -m32'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    libdir='/usr/lib32'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='x86_64-unknown-linux-gnu'
    target_alias=''
    target_cpu='x86_64'
    target_os='linux-gnu'
    target_vendor='unknown'
    ## confdefs.h. ##
    #define PACKAGE_NAME ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    #define PACKAGE_STRING ""
    #define PACKAGE_BUGREPORT ""
    configure: exit 77
    and the makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    #-- Specify a key to use for package signing
    #GPGKEY=""
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Am running a up-to-date x64 Arch with [multilib] enabled; perhaps it's a silly mistake I made somewhere but I'm no dev and so cannot figure out what went wrong in the config.log....please help with your kindness and thanks in advance!
    Last edited by karbon (2012-03-10 04:28:58)

    Thanks for your replies:)
    Allan wrote:Are you really up-to-date?   gcc-4.6.3 was put in [core] four days ago but you still seem to have 4.6.2.
    Well...at least as up-to-date as on March 2nd(when I did last system-wide upgrade); trying to update system tonight to see whether this works.
    stronnag wrote:If you have multilib and testing enabled, you also need  multilib-testing, otherwise (as I know from bitter experience), you get these hard to track down errors.
    Nope I didn't enable [testing]; I've discovered some packages in [multilib], namely gcc-multilib or something similar(with the -multilib subfix) and some of these packages belong to the group "multilib-devel". Is installing these packages a must for compiling 32-bit packages?

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

  • [SOLVED] configure: error: C compiler cannot create executables

    I have tried to build three AUR packages, but the builds always fail with the following output:
    ==> Entering fakeroot environment...
    ==> Starting build()...
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking build system type... (cached) i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... no
    checking for style of include used by make... none
    checking for gcc... gcc
    checking for C compiler default output file name...
    configure: error: in `/home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    ==> ERROR: Build Failed.
    Aborting...
    I could not find the indicated config.log file.
    I installed all the dependencies indicated in the wiki, but I have a feeling I must be missing basic in my configuration.  Both gcc and base-devel are installed.  I've also run makepkg as root.  What amI doing wrong?
    Last edited by intelligo (2010-02-04 00:33:14)

    Here's the config,log:
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by Tux Of Math Command configure 1.7.2, which was
    generated by GNU Autoconf 2.63. Invocation command line was
    $ ./configure --prefix=/usr
    ## Platform. ##
    hostname = uknow4kids
    uname -m = i686
    uname -r = 2.6.32-ARCH
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Mon Jan 25 20:06:48 UTC 2010
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = i686
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /bin
    PATH: /usr/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /usr/bin/perlbin/site
    PATH: /usr/bin/perlbin/vendor
    PATH: /usr/bin/perlbin/core
    ## Core tests. ##
    configure:1951: checking build system type
    configure:1969: result: i686-pc-linux-gnu
    configure:1991: checking host system type
    configure:2006: result: i686-pc-linux-gnu
    configure:2034: checking build system type
    configure:2052: result: i686-pc-linux-gnu
    configure:2074: checking target system type
    configure:2089: result: i686-pc-linux-gnu
    configure:2134: checking for a BSD-compatible install
    configure:2202: result: /bin/install -c
    configure:2213: checking whether build environment is sane
    configure:2256: result: yes
    configure:2281: checking for a thread-safe mkdir -p
    configure:2320: result: /bin/mkdir -p
    configure:2333: checking for gawk
    configure:2349: found /bin/gawk
    configure:2360: result: gawk
    configure:2371: checking whether make sets $(MAKE)
    configure:2397: result: no
    configure:2604: checking for style of include used by make
    configure:2632: result: none
    configure:2702: checking for gcc
    configure:2718: found /usr/bin/gcc
    configure:2729: result: gcc
    configure:2961: checking for C compiler version
    configure:2969: gcc --version >&5
    gcc (GCC) 4.4.3
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    configure:2973: $? = 0
    configure:2980: gcc -v >&5
    Using built-in specs.
    Target: i686-pc-linux-gnu
    Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
    Thread model: posix
    gcc version 4.4.3 (GCC)
    configure:2984: $? = 0
    configure:2991: gcc -V >&5
    gcc: '-V' option must have argument
    configure:2995: $? = 1
    configure:3018: checking for C compiler default output file name
    configure:3040: gcc -march=i686 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
    gcc: error trying to exec '/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/cc1': execv: Exec format error
    configure:3044: $? = 1
    configure:3082: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME "Tux Of Math Command"
    | #define PACKAGE_TARNAME "tuxmath"
    | #define PACKAGE_VERSION "1.7.2"
    | #define PACKAGE_STRING "Tux Of Math Command 1.7.2"
    | #define PACKAGE_BUGREPORT "[email protected]"
    | #define PACKAGE "tuxmath"
    | #define VERSION "1.7.2"
    | #define PROGRAM_NAME "tuxmath"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3088: error: in `/home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2':
    configure:3091: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=i686-pc-linux-gnu
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=i686 -mtune=generic -O2 -pipe'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_YACC_set=
    ac_cv_env_YACC_value=
    ac_cv_env_YFLAGS_set=
    ac_cv_env_YFLAGS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i686-pc-linux-gnu
    ac_cv_path_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=no
    ac_cv_target=i686-pc-linux-gnu
    ## Output variables. ##
    ACLOCAL='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run aclocal-1.10'
    ALLOCA=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run tar'
    AUTOCONF='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run autoconf'
    AUTOHEADER='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run autoheader'
    AUTOMAKE='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run automake-1.10'
    AWK='gawk'
    BUILD_MINGW32_FALSE=''
    BUILD_MINGW32_TRUE=''
    CC='gcc'
    CCDEPMODE=''
    CFLAGS='-march=i686 -mtune=generic -O2 -pipe'
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DEFS=''
    DEPDIR='.deps'
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    GETTEXT_MACRO_VERSION=''
    GMSGFMT=''
    GMSGFMT_015=''
    GREP=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    INTLLIBS=''
    INTL_MACOSX_LIBS=''
    LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
    LIBICONV=''
    LIBINTL=''
    LIBOBJS=''
    LIBS=''
    LTLIBICONV=''
    LTLIBINTL=''
    LTLIBOBJS=''
    MAKEINFO='${SHELL} /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/missing --run makeinfo'
    MKDIR_P='/bin/mkdir -p'
    MSGFMT=''
    MSGFMT_015=''
    MSGMERGE=''
    NAME_VERSION='tuxmath-1.7.2'
    NSIS=''
    NSI_BUILD_FALSE=''
    NSI_BUILD_TRUE=''
    NSI_DLL_DIR=''
    NSI_INSTALL_DIR=''
    OBJEXT=''
    PACKAGE='tuxmath'
    PACKAGE_BUGREPORT='[email protected]'
    PACKAGE_NAME='Tux Of Math Command'
    PACKAGE_STRING='Tux Of Math Command 1.7.2'
    PACKAGE_TARNAME='tuxmath'
    PACKAGE_VERSION='1.7.2'
    PATH_SEPARATOR=':'
    POSUB=''
    POW_LIB=''
    RANLIB=''
    SDL_CFLAGS=''
    SDL_CONFIG=''
    SDL_LIBS=''
    SET_MAKE='MAKE=make'
    SHELL='/bin/sh'
    STRIP=''
    USE_NLS=''
    VERSION='1.7.2'
    WINDRES=''
    XGETTEXT=''
    XGETTEXT_015=''
    XGETTEXT_EXTRA_OPTIONS=''
    YACC=''
    YFLAGS=''
    ac_ct_CC='gcc'
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='#'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnu'
    build_vendor='pc'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='i686-pc-linux-gnu'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnu'
    host_vendor='pc'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='$(SHELL) /home/learner/builds/tuxmath/src/tuxmath_w_fonts-1.7.2/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target='i686-pc-linux-gnu'
    target_alias=''
    target_cpu='i686'
    target_os='linux-gnu'
    target_vendor='pc'
    ## confdefs.h. ##
    #define PACKAGE_NAME "Tux Of Math Command"
    #define PACKAGE_TARNAME "tuxmath"
    #define PACKAGE_VERSION "1.7.2"
    #define PACKAGE_STRING "Tux Of Math Command 1.7.2"
    #define PACKAGE_BUGREPORT "[email protected]"
    #define PACKAGE "tuxmath"
    #define VERSION "1.7.2"
    #define PROGRAM_NAME "tuxmath"
    configure: exit 77
    And here's makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="i686"
    CHOST="i686-pc-linux-gnu"
    #-- Exclusive: will only run on i686
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Directories to be searched for the strip option (if strip is specified)
    STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.gz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Thanks for your help!

  • LMS Backup - Cannot create or back up tar file

    Hello,
    We have LMS 3.2 installed and the backup is failing with the following message
    "Cannot create or back up tar file. Backup cancelled. Verify that you have write-access to this directory."
    I have removed Cygwin and also the set the backup to offline yet the same result. Please assist on this issue.
    Thanks.

    Hi Dedra,
    I will not give you as much help as Joseph, but will provide you an idea for possible problem explanation.
    Just following your sentence:
    I removed all traces of mentioned line but still the same problem.  Backup failed with the following message. I have noticed that all these  backup fail after writing 4GB of data into the backup directory.
    Are you sure you don't generate any file bigger than 4GB on a FAT32 file system support, which cannot be possible (external USB storage) ?
    It could be the reason for such a error message returned from your tar.exe process....
    D:/CiscoWorks_Backup/0/upm/filebackup.tarC:\PROGRA~1\CSCOpx\bin\tar.exe:  Write error: No space left on device would be the error message returned code from this situation oversizing file maximum size.
    Any simple solution would be to format your USB storage to NTFS or change backup destination to NTFS partition somewhere else for test and eliminate this supposition.
    regard,
    andré

  • 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

Maybe you are looking for

  • Error while opening Traktor Scratch Pro!

    Hi, I'm Traktor Scratch Pro user which is a vinyl emulator! For 2 day's when i try to open the program e get allways the seam error report... I thank if you can help me! Process: Traktor [3672] Path: /Applications/Traktor/Traktor.app/Contents/MacOS/T

  • Preview issue in ATG-Endeca integration case of CRS at Endeca side

    I'm using ATG 10.1.2 and Endeca with Experiece Manager 3.1.1, both are the most current version coming out at the begining of this new year 2013. I followed the documents and deployed the Commerce Reference Store (Known as CRS) with option of Endeca

  • How to integrate with another dam to the asset finder

    We have to use an external dam and I hope that I can write a connector to pull the dam images to show up in the asset finder (left pane in page design).   This a designer can drag and drop the images just like the images were in CQ DAM.  Is there any

  • Group title in Floor plan manager is not getting transported to quality

    HI Experts, In Component Configuration "EHHSS_INC_REC_NRM_QAF_V3_BSCI", I have added group and gave title to that group in development. The group is getting transported when I release request but the title is not getting transported. Could anyone hel

  • -i386 does not match CPU type

    Hi, I was using Xcode and linking frameworks to it. In Parallel i was trying to install petsc and tried this command on terminal. the command did not work and gave me some error. sudo python ./config/configure.py --with-blas-lapack-lib="-framework ve