Configuration file management

I want to automate around 1000 odd test cases using labview. I have a configuration file to set the hardware channels for my inputs.
for e.g Input A = 1!CH1 
What is the best way to manage configuration file.The information will be used by all the test cases.I am planning to have OOP design pattern.

uttara wrote:
I want to automate around 1000 odd test cases using labview. I have a configuration file to set the hardware channels for my inputs.
for e.g Input A = 1!CH1 
What is the best way to manage configuration file.The information will be used by all the test cases.I am planning to have OOP design pattern.
Could you share your domain model with us so we can comment appropriately?
Even some SSD's will help.
Lacking that, I believe the "Information Expert" design pattern says the class that aggregates the I/O realted classes should now about the config so implementing an I/O class hierachy where the Parrent class has a "Get config from file" method, you could implement over-ride VI's such that they each know how to get their config based on what the aggregate desides is appropriate for each instance. In the interest of "Low Coupling" the more you can handle with the over-ride VI's the better.
Trying to speak LVOOP so correct my if that is wrong.
Ben
PS For those interested in learning OOP/D, I recomend Craig Larman's book "Applying UML and Paterns" ! Maybe someday I will write a LVOOP adendum for that book... after I get the model railroad running on live steam.
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • [SOLVED] List of configuration files of a package.

    Some files belonging to a package are treated as configuration files (management of *.pacnew and *.pacsave). How can I have the list of files belonging to a package that pacman consider as configuration files?
    [Edited] @tomk: Thanks, didn't have in mind that I had to insist with the -i option -:)
    Last edited by olive (2011-07-31 11:41:54)

    For installed packages only - pacman -Qii <pkgname> .
    Ref: man pacman, "QUERY OPTIONS", -i, --info
    Last edited by tomk (2011-07-31 10:12:07)

  • Unable to Initialize Volume Manager from a Configuration File

    I'd like to reattach a D1000 to a rebuilt system. The array contains a raid 5 partition that was built with Solaris Volume Manager (Solaris 9). Since it is the same system all controller/target/slice ids have not changed. I was able to restore the Volume Manager configuration files (/etc/lvm) from a tape backup and followed the instructions provided in the Solaris Volume Manager Administration Guide: How to Initialize Solaris Volume Manager from a Configuration File <http://docs.sun.com/db/doc/816-4519/6manoju60?a=view>.
    All of the state database replicas for this partition are contained on the disks within the array so I began by creating new database replicas on a local disk.
    I then copied the /etc/md.cf file to /etc/md.tab
    # more /etc/lvm/md.tab
    # metadevice configuration file
    # do not hand edit
    d0 -r c1t10d0s0 c1t11d0s0 c1t12d0s0 c1t8d0s0 c1t9d0s0 c2t10d0s0 c2t11d0s0 c2t12d0s0 c2t8d0s0 c2t9d0s0 -k -i 32b -h hsp000
    hsp000 c1t13d0s0 c2t13d0s0
    I then tested the syntax of the md.tab file (this output is actually from my secomd attempt).
    # /sbin/metainit -n -a
    d0: RAID is setup
    metainit: <hostname>: /etc/lvm/md.tab line 4: hsp000: hotspare pool is already setup
    Not seeing any problems I then attempted to recreate the d0 volume, but it fails with the error below:
    # /sbin/metainit -a
    metainit: <hostname>: /etc/lvm/md.tab line 3: d0: devices were not RAIDed previously or are specified in the wrong order
    metainit: <hostname>: /etc/lvm/md.tab line 4: hsp000: hotspare pool is already setup
    Any suggestions on how to reinitialize this volume would be appreciated.
    Thanks, Doug

    You have UserPrincipalName column heading in the csv file so this should be your cmdlet.
    import-csv C:\temp\sharedMailboxCreationTest.csv | ForEach-Object {New-Mailbox -shared  -Name $_.Name  -Alias $_.Alias  -OrganizationalUnit $_.OrganizationalUnit -UserPrincipalName $_.UserPrincipalName -Database $_.Database}
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • No dsn is present in the configuration file in the reporting services 2008

    HI i have found this error in the log file of my reporting services ,
    when i comes to the Configuration file in that
    my DSN path is empty no input code is there in that DSN tags
    <DSN>
    <DSN/>
    it shows the empty tags,
    and my Current Report Server Report Credentials are Windows,Service account credentails
    will it take the problem or what
    We have repair the BIDS setup also still not able to solve my issue.
    once this is  resolved now able to send the emails using subscriptions.
    pls infom abut this , i have sufferd this problem last 20 days.
    Please update the above query with high priority
    TanQ

    Hi Ychinnari,
    According to your description, you found error in log file of reporting services, when you come to rsreportserver.config file, the DSN tag is empty.
    DSN specify the database server that hosts the report server database connection string.  The report server database is created, this value will be encrypted and added to the configuration file. To solve the problem, we need to connect to either an
    existing report server database or create a new one for this instance. For detail information, please refer to the following steps:
    Start the Reporting Services Configuration Manager and connect to the report server instance for which you are creating the database.
    On the Database page, click Change Database.
    We can create a new report server database or select an existing database, then click Next.
    Connect to the instance of the Database Engine that you will use to create and host the report server database.
    Specify properties used to create the database.
    Specify the credentials used by the report server to connect to the report server database.
    Review the information on the Summary page to verify the settings are correct, and then click Next.
    Verify the connection by clicking a URL on the Report Server URL page or Report Manager URL page.
    For detail information about Configure a Report Server Database Connection, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/ms159133.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Can not configure Access Manager

    Hi all,
    1. I istalled Sun java messaging server 6.
    2. I edit amsamplesilent to prepare amsamplesilent.my:
    # cd /opt/SUNWam/bin
    #mv amsamplesilent amsamplesilent.my
    3. I configure Access Manager:
    #./amconfig -s amsamplesilent.my but get the following error:
    # ./amconfig amsamplesilent.my
    Usage: amconfig -s <silentinputfile>
    ./amconfig: Sourcing ./amutils
    ln: cannot create /opt/SUNWam/lib/jaxrpc-spi.jar: File exists
    chown: jaxrpc-spi.jar: No such file or directory
    full install
    ./amdsconfig: Sourcing ./amutils
    LD_LIBRARY_PATH is --- /usr/lib/mps/secv1:/usr/lib/mps/secv1:/usr/lib/mps/secv1:/opt/SUNWam/lib:/opt/SUNWam/ldaplib/ldapsdk
    CLASSPATH is --- /opt/SUNWam/locale:/etc/opt/SUNWam/config:/opt/SUNWam/lib:/opt/SUNWam/lib/am_services.jar:/opt/SUNWam/lib/ldapjdk.jar:/usr/share/lib/mps/secv1/jss3.jar:/opt/SUNWam/lib/am_sdk.jar
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    sleep 3
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    sleep 4
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    sleep 5
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    sleep 6
    ERROR : Loading of Access Manager schema into the Directory failed
    Starting the tag swapping of the install.ldif and installExisting.ldif
    ROOT_SUFFIX is dc=iplanet,dc=com
    People_NM_ROOT_SUFFIX is People_dc=iplanet_dc=com
    SERVER_HOST sample.red.iplanet.com
    DIRECTORY_SERVER sample.red.iplanet.com
    DIRECTORY_PORT 389
    USER_NAMING_ATTR uid
    ORG_NAMING_ATTR o
    CONSOLE_DEPLOY_URI /amconsole
    ORG_OBJECT_CLASS sunismanagedorganization
    RS_RDN iplanet
    USER_OBJECT_CLASS inetorgperson
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    sleep 3
    ERROR : Configuring/Loading of the default DIT in the Directory Server failed
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    sleep 3
    Warning : Plugins and Indexes already exist.
    ./amsvcconfig: Sourcing ./amutils
    LD_LIBRARY_PATH is --- /usr/lib/mps/secv1:/usr/lib/mps/secv1:/usr/lib/mps/secv1:/opt/SUNWam/lib:/opt/SUNWam/ldaplib/ldapsdk
    CLASSPATH is --- /opt/SUNWam/locale:/etc/opt/SUNWam/config:/opt/SUNWam/lib:/opt/SUNWam/lib/am_services.jar:/opt/SUNWam/lib/ldapjdk.jar:/usr/share/lib/mps/secv1/jss3.jar:/opt/SUNWam/lib/am_sdk.jar
    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    Loading service schema XML files ...
    Info 112: Entering ldapAuthenticate method!
    Error 15: Cannot authenticate user.
    LDAP authentication failed.
    Error 9: Operation failed: Error 15: Cannot authenticate user.
    Error occured while loading: /etc/opt/SUNWam/config/ums/ums.xml
    ./amws61config: Sourcing ./amutils
    /opt/SUNWam/console.war: No such file or directory
    current web app is applications
    copying files from sunwamconsdk
    Swapping tag swap in index.html files ...
    Making amconsole.war
    Successfully done making warfile ...
    Deploying from /opt/SUNWam/web-src/applications (/opt/SUNWam/amconsole.war) to /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/applications for /amconsole
    wdeploy deploy -u /amconsole -i https-sample.red.iplanet.com -v https-sample.red.iplanet.com -d /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/applications /opt/SUNWam/amconsole.war
    [wdeploy] The war file name is /opt/SUNWam/amconsole.war
    [wdeploy] Fatal error in parsing XML file ..Premature end of file.
    [wdeploy] (-1, -1) in file null
    [wdeploy] Error encountered while parsing /opt/SUNWwbsvr/https-sample.red.iplanet.com/config/server.xml
    Failed deploying /amconsole
    /opt/SUNWam/services.war: No such file or directory
    current web app is services
    Swapping tag swap in index.html files ...
    Making amserver.war
    Successfully done making warfile ...
    Deploying from /opt/SUNWam/web-src/services (/opt/SUNWam/amserver.war) to /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/services for /amserver
    wdeploy deploy -u /amserver -i https-sample.red.iplanet.com -v https-sample.red.iplanet.com -d /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/services /opt/SUNWam/amserver.war
    [wdeploy] The war file name is /opt/SUNWam/amserver.war
    [wdeploy] Fatal error in parsing XML file ..Premature end of file.
    [wdeploy] (-1, -1) in file null
    [wdeploy] Error encountered while parsing /opt/SUNWwbsvr/https-sample.red.iplanet.com/config/server.xml
    Failed deploying /amserver
    /opt/SUNWam/password.war: No such file or directory
    current web app is password
    Swapping tag swap in index.html files ...
    Making ampassword.war
    Successfully done making warfile ...
    Deploying from /opt/SUNWam/web-src/password (/opt/SUNWam/ampassword.war) to /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/password for /ampassword
    wdeploy deploy -u /ampassword -i https-sample.red.iplanet.com -v https-sample.red.iplanet.com -d /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/password /opt/SUNWam/ampassword.war
    [wdeploy] The war file name is /opt/SUNWam/ampassword.war
    [wdeploy] Fatal error in parsing XML file ..Premature end of file.
    [wdeploy] (-1, -1) in file null
    [wdeploy] Error encountered while parsing /opt/SUNWwbsvr/https-sample.red.iplanet.com/config/server.xml
    Failed deploying /ampassword
    /opt/SUNWam/introduction.war: No such file or directory
    current web app is common
    Swapping tag swap in index.html files ...
    Making amcommon.war
    Successfully done making warfile ...
    Deploying from /opt/SUNWam/web-src/common (/opt/SUNWam/amcommon.war) to /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/common for /amcommon
    wdeploy deploy -u /amcommon -i https-sample.red.iplanet.com -v https-sample.red.iplanet.com -d /opt/SUNWwbsvr/https-sample.red.iplanet.com/is-web-apps/common /opt/SUNWam/amcommon.war
    [wdeploy] The war file name is /opt/SUNWam/amcommon.war
    [wdeploy] Fatal error in parsing XML file ..Premature end of file.
    [wdeploy] (-1, -1) in file null
    [wdeploy] Error encountered while parsing /opt/SUNWwbsvr/https-sample.red.iplanet.com/config/server.xml
    Failed deploying /amcommon
    Checking if Web Server is already configed with Access Manager
    Configuring Web Server
    Mime type: 'type=text/vnd.wap.wml' already exists: Skipping ....
    Mime type: 'type=image/vnd.wap.wbmp' already exists: Skipping ....
    I tried again but I still get this error.
    Any Ideas for this problem?
    Thanks.

    ldap_simple_bind: Can't connect to the LDAP server - No route to host
    i would consider this a fatal error.
    The system cannot locate where your Directory Server is. "no route to host" means that it's trying to get to the host, but your networking isn't set up correctly, and it doesn't find any route to get to the specified host.

  • Reading Encrypted Password from Configuration File and Decrypt it at login

    Hi All,
    My application reads a configuration file to connect to the ORACLE database. The values defined for password are clear text as given below:
    user: 'mh'
    password='abcd1234'
    Is there is any way I can give an encrypted password in the configuration file instead of a clear text file and at the time of login ORACLE decrypts it. I am using ORACLE 11g Database.
    My company have a requirement that passwords are not stored in the clear in properties files. the reason being I suppose that if the password is stored in plaintext someone could hit the property file directly, get the password and then connect to the database with it.
    For a regular user connecting through an Oracle client or SQL Developer they would need to have the plaintext password in order to connect.
    its based on the requirements of
    International Standards Organization Guidance
    ISO 17799 � 9.5.4 requires password management systems to:
    � enforce the use of individual passwords
    � allow users to select and change their own passwords if appropriate
    � enforce a choice of quality passwords
    � force regular changes of passwords
    � maintain a record of previous user passwords to prevent re-use
    � not display passwords when they are being entered
    � store password files separately from application system data
    � store passwords in encrypted form using a one way encryption algorithm
    � alter default vendor passwords following installation of software
    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.
    I have feeling there is a way of configuring this in Oracle advanced Security, but just can't quite get it to work.
    Edited by: user5568473 on 20-May-2013 00:05

    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.... and neither can your application. Encryption is needed in this case. The decryption must be written into your application. I've written my own in some cases, but finding a library for your development language is a smarter solution.
    One alternative is using an Oracle wallet. It doesn't fit every circumstance and does have some maintenance headaches.
    You can set up a basic secure password store to encrypt and store the password for a given user@instance combination, and then connect to the database without passing a password. SQL*Net adds in the appropriate password from the wallet for when you connect.
    http://www.oracle.com/technetwork/database/security/twp-db-security-secure-ext-pwd-stor-133399.pdf
    Advanced Security Option also allows you to set up a Public Key Infrastructure connections (SSL encryption and/or authentication). It also uses a wallet to store the SSL certificates and credentials. I don't have personal experience on this approach.
    SSL and the wallet allow you to connect to the database similar to CONNECT/@net_service_name or sqlplus /@net_service_namehttp://docs.oracle.com/cd/B28359_01/network.111/b28530/asossl.htm#CIHCBIEG

  • The configuration file did not contain well formed AppV configuration XML - When using Office 2013 ODT package

    All,
    I'm experiencing an issue where when using the Office 2013 package pulled down from ODT, that if I try to change the locations of either InfoPath Filler 2013 or Publisher 2013 from the default of Microsoft Office 2013 then I receive the message "The
    configuration file did not contain well formed AppV configuration XML. Please check the management server event log for more information". If I check Applications and Services\Microsoft\AppV\Server-Management\Admin the error displayed there is "An
    error was encountered parsing dynamic configuration file '0'. However I am able to change the shortcut location for all other applications except the above 2. I've tried redownloading the files using the ODT and also changing the version number (so far I've
    tried both the 15.0.4631.1002 and 15.0.4659.1001 with the same result).
    As all I'm interested in so far is having a package which contains Visio and Project I've tried following the article to exclude all the other Office elements:
    http://technet.microsoft.com/library/jj219426(v=office.15).aspx#BKMK_ExcludeAppElement. However the package looks to be the same and when I load it into the management console all the options and elements to Office 2013 are available like they were before
    when I hadn't set the exclude tags so I'm not sure whether the ExcludeApp parameters actually work correctly.
    This then brings me onto the 3rd issue I've experienced. I have a group for the Visio users and I've set custom security for them to have Visio delivered to them but not Project and then a seperate group for just Project users who will have Project delivered
    to them but not have Visio. When testing this sometimes seems to work but other times it seems to trip out and a user just in the Project or Visio group will get all of the Office 2013 applications and under the default location of Microsoft Office 2013. When
    trying to spot correlation with this it appears random and can happen to any user on any device. We have sequenced a few applications ourselves where different parts are needed for different users and we have successfully managed this using different security
    groups for different applications, just as I'm trying here with Office 2013.
    Has anyone else experienced the issue with the "did not contain well formed XML" as at the start of the post and how were you able to resolve this? Also has anyone any advice on how to troubleshoot the issue with the security seeming to trip out
    and publish all applications within a package to a user regardless of whether they are in the correct group or not?
    The management / publishing servers are 5.0.1224.0 which is SP1 HF4 and the clients are on SP2 HF5.
    Thanks

    Nicke,
    The config files are UTF-8. I did find the same article as yourself, however when searching for the value ‘TakeoverExtensionPointsFrom46=’ within either of the configuration.xml files that text isn’t found.
    No sinister reason not to share the file used, just it’s the same structure as referenced in the article:
    http://technet.microsoft.com/en-us/library/dn745895(v=office.15).aspx. The only difference being that I’m using ProPlusVolume and I’ve set a version number (which is the October
    2014 update). I’ve even looked to follow the above example as closely as possible in just using the ExcludeApp ID of Access and InfoPath, just to try and prove the process. However I still get the usual full package. The version of the Click-to-Run setup.exe
    I’m using is 15.0.4623.1001, so later than the version specified at the end of that article which is 15.0.4619.1000. Where can I expect to see the elements excluded? Will it be when loading the package into the management console or would it just not appear
    on the machine when delivered?
    <Configuration>
      <Add SourcePath="C:\OfficeDeploymentToolV2" Version="15.0.4659.1001" OfficeClientEdition="32">
        <Product ID="ProPlusVolume">
          <Language ID="en-us" />
    <ExcludeApp ID="Access" />
    <ExcludeApp ID="InfoPath" />
        </Product>
      </Add>
    </Configuration>
    3). We’ve not used global publishing in our environment yet so I will try that. I’ve set both GlobalRefreshEnabled and GlobalRefreshOnLogon to True and when using the command Get-AppvPublishingServer on the client I’m testing with I can see this is pulled
    through correctly. I’ve also added the client name to the AD group used to grant access to the package and it is published. However nothing is pulling through onto the Client, so are there any steps I’ve missed or misinterpreted when looking to set this up?
    I guess the global publishing is there to keep in with licensing for Office being per device? On a slight aside, as Windows licensing is being changed to allow per user licensing
    http://www.zdnet.com/microsoft-to-make-per-user-windows-licensing-available-to-enterprise-customers-7000035401/ does anyone know if there are any plans to allow for Office / Project / Visio licenses to go per user as well? We’re a volume license customer
    rather than subscription based so I think a lot of the options to selectively deploy Visio and Project are excluded for us.
    Dan,
    Ok that explains why the security could be tripping out then and leading to this result. As above I’ll try with global publishing and see how I get on.
     From what I’ve read / watched  I think only one Office 2013 package can be published to a machine, so we would be unable to have a separate package for Visio and a separate package for Project and then attempt to deliver
    them both together. If a user wanted both Project and Visio then I guess we’d need to have a combined Project and Visio package to cover than scenario, but then 2 more separate Project and Visio packages for those who would only want either Project and Visio
    (I think).
    The scenario we’re looking at is to see whether we are able to deliver Project and / or Visio to different users through an AppV package and this will then cover users on XenApp or on fat clients. Only a small proportion of our
    users will need access to Project and / or Visio so therefore we’d only have a small amount of Project and Visio licenses.
    However from what I’ve tested up to this point and from what I’ve picked up from Forum posts / watched on TechEd sessions is that as publishing is Global and is unable to use different security groups for different elements of the
    suite, then using Office through AppV is only suitable if you will be delivering the whole suite (including Project and Visio) to all of your users. So in a scenario where you’d only want certain elements to be delivered to a handful of users then you’d need
    to keep with traditional ESD methods to have this installed onto fat clients and steer clear of XenApp. If wanting to install to XenApp then a lockdown tool like AppSense or AppLocker would also need to be brought into the equation.
    Is my understanding above correct or have I missed some options / methods?
    If the full Office package is always delivered but a company only has Office licenses and no Project and Visio licenses for all its users, how do they stop Project and Visio being delivered and being available? Or again if you have
    this use case is the AppV method one which will be unsuitable?
    Thanks

  • Error -32810 occurred at The FieldPoint server initialization failed. Possible causes: 1. Missing or corrupt configuration file; 2. Failed to create callbacks. : FP Open.vi

    I have two cFP-2120 RT controller. They both have NI-Serial RT2.5.6, DataSocket for LV RT4.2, NI-VISA 3.6, FP Drivers 5.1.0, FP VI Manager 3.1.0 LV RT 7.1.1 installed. But one same vi can run on one controller but not another.
    the error message got when it runs on another controller is "Error -32810 occurred at  The FieldPoint server initialization failed. Possible causes: 1. Missing or corrupt configuration file; 2. Failed to create callbacks. : FP Open.vi"
    I wonder by what it is caused?
    Thanks

    Hi Matthew,
    As mentioned previously, this KnowledgeBase article may be of some help. Also, if your code is being run on an embedded controller and then a network controller (not embedded), you will need to run the program differently. On the embedded controller, you should deploy your VI in a Project Explorer or programmatically (as described here.) However, you do not need to deploy the program to a network controller, but simply run the VI.
    I would also suggest creating a new .IAK file. Do you still see the same error? Also, double-check that the software installed on the controller matches the software installed on the host PC. If you have any file paths associated with one FieldPoint controller, ensure that you are changing them to match the second controller.
    Please keep us posted on your troubleshooting steps. Have a great day!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Configuration file bc4j.xcfg not found in the classpath.

    When i try to run an application that uses ADF BC i get an error telling me the bc4j.xcfg was not found.
    When i open my AppModule and click the bc4j.xcfg link it opens. When i look at the path it stored in, it is different from the path the error says.
    It's something like this:
    Configuration file /be/something/model/common/bc4j.xcfg is not found in the classpath
    but my appModule opens the bc4j.xcfg in a different folder:
    /be/something/utility/common/bc4j.xcfg
    It's a fact i modified the project and managed the packages a bit but i always used the refactor menu of jdeveloper in order to move or rename files.
    It appears that something has failed while moving/changing name.
    I looked inside my project to look for references for bc4j.xcfg but i can't find any so i can't see were to change the directory he needs to look for the bc4j file.
    How do i fix my project?

    John,
    In the DataBindings.cpx i can't find any reference to a datacontrol...
    This is my bindings:
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.56.60" id="DataBindings" SeparateXMLFiles="false"
                 Package="be.usermanagementProv.portlets" ClientType="Generic">
      <definitionFactories>
        <factory nameSpace="http://xmlns.oracle.com/adf/controller/binding"
                 className="oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl"/>
        <dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
      </definitionFactories>
      <pageMap>
        <page path="/UserManagement/view.jspx"
              usageId="be_usermanagementProv_portlets_viewPageDef"/>
      </pageMap>
      <pageDefinitionUsages>
        <page id="be_usermanagementProv_portlets_viewPageDef"
              path="UserManagement.viewPageDef"/>
      </pageDefinitionUsages>
    </Application>In the datacontrol section when i right click the DC the "edit definition" is grayed out. Probably because the DC comes from the library and is not created in the application.

  • Configuration File Caching

    I am having a strange issue with some of my configuration files in WLS 10.3. I have deployed OIM/SOA as managed servers on a remote machine. Whenever I update the logging.xml file to include additional logging information, the file is wiped out after I restart the instance. I cannot figure out where this default file is coming from. Any ideas on what may be causing this strange behavior?
    Thanks,
    Pete

    I have similiar problem with partition listener. But made it work by addling <class-name>.
    So give this a try
    <member-listener><class-name>com.sample.MemberEventLogger</class-name></member-listener>

  • Logging in without BI Configuration file

    Is there any sample for using BI Beans without configuration file? I tried to create all objects (BISession, BIUser, MetadataManager, connections) and link them, but reached NullPointerAssignment and simular errors only.

    This is a code extract from a Java Client sample that you should be able to integrate into a JSP environment:
    * Connects to the OLAP service and BI Beans Catalog using connection
    * information from the BI Configuration file and from the BIConectionDialog.
    protected void connect() {
    * Try to connect to the catalog based on the information collected in method
    * showConnectDialog()
    * - File based must be a valid directory (validated in showConnectDialog())
    * - Database must be a valid connection. The OLAP user will be the catalog
    * user. If the OLAP user is not a Catalog user - add user to the catalog
    * - The assumption here is that if the user is utilizing the database catalog,
    * then the database catalog is in the same database instance as the OLAP data
    * If unable to connect, tell user what to do to set up connection
    // set up the session
    if (m_session != null) {
    try {
    m_session.disconnect();
    catch (Exception e) {
    System.out.println("Unable to disconnect from session.");
    m_session = null;
    m_session = new BISession();
    DefaultErrorHandler _handler = new DefaultErrorHandler();
    handler.setDebugMode(DefaultErrorHandler.SHOWNONE);
    m_session.addErrorHandler(_handler);
    // use the OLAP user for the BI User. This means the OLAP user must be a valid
    // user in the catalog
    m_session.setBIUser(new BIUser(m_OLAPUserName.getText()));
    try {
    m_session.connect();
    catch (Exception e) {
    e.printStackTrace();
    MetadataManager _mm = null;
    Connection olapCon = null;
    Connection catalogCon = null;
    * Try to connect to OLAP
    try {
    olapCon = getOLAPConnection();
    catch (ConnectionException ce) {
    showConnectionError(ce);
    return;
    * Try to connect to the catalog
    catalogCon = getCatalogConnection();
    if (catalogCon == null)
    return;
    try {
    * Create MetadataManager based on the two connections above
    * (this is set up automatically when connection details are read from
    * a configuration file)
    _mm = new MetadataManager();
    mm.setSession(msession);
    // The MetadataManager will merge details from OLAP and the Catalog
    _mm.setConnection(olapCon);           
    _mm.setConnection(catalogCon);
    _mm.attach();
    //Now that we're successfully connected, cache key properties
    m_metadataManager = _mm;
    m_queryManager = new QueryManager();
    m_queryManager.setSession(m_session);
    m_queryManager.setMetadataManager(m_metadataManager);
    m_connected = true;
    // Save the connection details
    saveConnectionSettings();
    catch (Exception e) {
    AnalyzerUtilities au = new AnalyzerUtilities(m_analyzer);
    au.showErrorMessage(null, e);
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • REST API: Create Deployment throwing error BadRequest (The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.)

    Hi All,
    We are trying to access the Create Deployment method stated below
    http://msdn.microsoft.com/en-us/library/windowsazure/ee460813
    We have uploaded the Package in the blob and browsing the configuration file. We have checked trying to upload manually the package and config file in Azure portal and its working
    fine.
    Below is the code we have written for creating deployment where "AzureEcoystemCloudService" is our cloud service name where we want to deploy our package. I have also highlighted the XML creation
    part.
    byte[] bytes =
    new byte[fupldConfig.PostedFile.ContentLength + 1];
                fupldConfig.PostedFile.InputStream.Read(bytes, 0, bytes.Length);
    string a = Encoding.UTF8.GetString(bytes, 0, bytes.Length);
    string base64ConfigurationFile = a.ToBase64();
    X509Certificate2 certificate =
    CertificateUtility.GetStoreCertificate(ConfigurationManager.AppSettings["thumbprint"].ToString());
    HostedService.CreateNewDeployment(certificate,
    ConfigurationManager.AppSettings["SubscriptionId"].ToString(),
    "2012-03-01", "AzureEcoystemCloudService", Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot.staging,
    "AzureEcoystemDeployment",
    "http://shubhendustorage.blob.core.windows.net/shubhendustorage/Infosys.AzureEcoystem.Web.cspkg",
    "AzureEcoystemDeployment", base64ConfigurationFile,
    true, false);   
    <summary>
    /// </summary>
    /// <param name="certificate"></param>
    /// <param name="subscriptionId"></param>
    /// <param name="version"></param>
    /// <param name="serviceName"></param>
    /// <param name="deploymentSlot"></param>
    /// <param name="name"></param>
    /// <param name="packageUrl"></param>
    /// <param name="label"></param>
    /// <param name="base64Configuration"></param>
    /// <param name="startDeployment"></param>
    /// <param name="treatWarningsAsError"></param>
    public static
    void CreateNewDeployment(X509Certificate2 certificate,
    string subscriptionId,
    string version, string serviceName, Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot deploymentSlot,
    string name, string packageUrl,
    string label, string base64Configuration,
    bool startDeployment, bool treatWarningsAsError)
    Uri uri = new
    Uri(String.Format(Constants.CreateDeploymentUrlTemplate, subscriptionId, serviceName, deploymentSlot.ToString()));
    XNamespace wa = Constants.xmlNamespace;
    XDocument requestBody =
    new XDocument();
    String base64ConfigurationFile = base64Configuration;
    String base64Label = label.ToBase64();
    XElement xName = new
    XElement(wa + "Name", name);
    XElement xPackageUrl =
    new XElement(wa +
    "PackageUrl", packageUrl);
    XElement xLabel = new
    XElement(wa + "Label", base64Label);
    XElement xConfiguration =
    new XElement(wa +
    "Configuration", base64ConfigurationFile);
    XElement xStartDeployment =
    new XElement(wa +
    "StartDeployment", startDeployment.ToString().ToLower());
    XElement xTreatWarningsAsError =
    new XElement(wa +
    "TreatWarningsAsError", treatWarningsAsError.ToString().ToLower());
    XElement createDeployment =
    new XElement(wa +
    "CreateDeployment");
                createDeployment.Add(xName);
                createDeployment.Add(xPackageUrl);
                createDeployment.Add(xLabel);
                createDeployment.Add(xConfiguration);
                createDeployment.Add(xStartDeployment);
                createDeployment.Add(xTreatWarningsAsError);
                requestBody.Add(createDeployment);
                requestBody.Declaration =
    new XDeclaration("1.0",
    "UTF-8", "no");
    XDocument responseBody;
    RestApiUtility.InvokeRequest(
                    uri, Infosys.AzureEcosystem.Entities.Enums.RequestMethod.POST.ToString(),
    HttpStatusCode.Accepted, requestBody, certificate, version,
    out responseBody);
    <summary>
    /// A helper function to invoke a Service Management REST API operation.
    /// Throws an ApplicationException on unexpected status code results.
    /// </summary>
    /// <param name="uri">The URI of the operation to invoke using a web request.</param>
    /// <param name="method">The method of the web request, GET, PUT, POST, or DELETE.</param>
    /// <param name="expectedCode">The expected status code.</param>
    /// <param name="requestBody">The XML body to send with the web request. Use null to send no request body.</param>
    /// <param name="responseBody">The XML body returned by the request, if any.</param>
    /// <returns>The requestId returned by the operation.</returns>
    public static
    string InvokeRequest(
    Uri uri,
    string method,
    HttpStatusCode expectedCode,
    XDocument requestBody,
    X509Certificate2 certificate,
    string version,
    out XDocument responseBody)
                responseBody =
    null;
    string requestId = String.Empty;
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
                request.Method = method;
                request.Headers.Add("x-ms-Version", version);
                request.ClientCertificates.Add(certificate);
                request.ContentType =
    "application/xml";
    if (requestBody != null)
    using (Stream requestStream = request.GetRequestStream())
    using (StreamWriter streamWriter =
    new StreamWriter(
                            requestStream, System.Text.UTF8Encoding.UTF8))
                            requestBody.Save(streamWriter,
    SaveOptions.DisableFormatting);
    HttpWebResponse response;
    HttpStatusCode statusCode =
    HttpStatusCode.Unused;
    try
    response = (HttpWebResponse)request.GetResponse();
    catch (WebException ex)
    // GetResponse throws a WebException for 4XX and 5XX status codes
                    response = (HttpWebResponse)ex.Response;
    try
                    statusCode = response.StatusCode;
    if (response.ContentLength > 0)
    using (XmlReader reader =
    XmlReader.Create(response.GetResponseStream()))
                            responseBody =
    XDocument.Load(reader);
    if (response.Headers !=
    null)
                        requestId = response.Headers["x-ms-request-id"];
    finally
                    response.Close();
    if (!statusCode.Equals(expectedCode))
    throw new
    ApplicationException(string.Format(
    "Call to {0} returned an error:{1}Status Code: {2} ({3}):{1}{4}",
                        uri.ToString(),
    Environment.NewLine,
                        (int)statusCode,
                        statusCode,
                        responseBody.ToString(SaveOptions.OmitDuplicateNamespaces)));
    return requestId;
    But every time we are getting the below error from the line
     response = (HttpWebResponse)request.GetResponse();
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Code>BadRequest</Code>
      <Message>The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message>
    </Error>
     Any help is appreciated.
    Thanks,
    Shubhendu

    Please find the request XML I have found it in debug mode
    <CreateDeployment xmlns="http://schemas.microsoft.com/windowsazure">
      <Name>742d0a5e-2a5d-4bd0-b4ac-dc9fa0d69610</Name>
      <PackageUrl>http://shubhendustorage.blob.core.windows.net/shubhendustorage/WindowsAzure1.cspkg</PackageUrl>
      <Label>QXp1cmVFY295c3RlbURlcGxveW1lbnQ=</Label>
      <Configuration>77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0NCiAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KDQogIFRoaXMgZmlsZSB3YXMgZ2VuZXJhdGVkIGJ5IGEgdG9vbCBmcm9tIHRoZSBwcm9qZWN0IGZpbGU6IFNlcnZpY2VDb25maWd1cmF0aW9uLkNsb3VkLmNzY2ZnDQoNCiAgQ2hhbmdlcyB0byB0aGlzIGZpbGUgbWF5IGNhdXNlIGluY29ycmVjdCBiZWhhdmlvciBhbmQgd2lsbCBiZSBsb3N0IGlmIHRoZSBmaWxlIGlzIHJlZ2VuZXJhdGVkLg0KDQogICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCi0tPg0KPFNlcnZpY2VDb25maWd1cmF0aW9uIHNlcnZpY2VOYW1lPSJXaW5kb3dzQXp1cmUxIiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9TZXJ2aWNlSG9zdGluZy8yMDA4LzEwL1NlcnZpY2VDb25maWd1cmF0aW9uIiBvc0ZhbWlseT0iMSIgb3NWZXJzaW9uPSIqIiBzY2hlbWFWZXJzaW9uPSIyMDEyLTA1LjEuNyI+DQogIDxSb2xlIG5hbWU9IldlYlJvbGUxIj4NCiAgICA8SW5zdGFuY2VzIGNvdW50PSIyIiAvPg0KICAgIDxDb25maWd1cmF0aW9uU2V0dGluZ3M+DQogICAgICA8U2V0dGluZyBuYW1lPSJNaWNyb3NvZnQuV2luZG93c0F6dXJlLlBsdWdpbnMuRGlhZ25vc3RpY3MuQ29ubmVjdGlvblN0cmluZyIgdmFsdWU9IkRlZmF1bHRFbmRwb2ludHNQcm90b2NvbD1odHRwcztBY2NvdW50TmFtZT1zaHViaGVuZHVzdG9yYWdlO0FjY291bnRLZXk9WHIzZ3o2aUxFSkdMRHJBd1dTV3VIaUt3UklXbkFrYWo0MkFEcU5saGRKTTJwUnhnSzl4TWZEcTQ1ZHI3aDJXWUYvYUxObENnZ0FiZnhONWVBZ2lTWGc9PSIgLz4NCiAgICA8L0NvbmZpZ3VyYXRpb25TZXR0aW5ncz4NCiAgPC9Sb2xlPg0KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4=</Configuration>
      <StartDeployment>true</StartDeployment>
      <TreatWarningsAsError>false</TreatWarningsAsError>
    </CreateDeployment>
    Shubhendu G

  • Error while configuring Enterprise manager

    Hello,
    I want to configure enterprise manager, while creating a new database using database configuration assistant in oracle 11g i am getting following error message
    *"Configuring database with database control requires a listener to be configured in the current oracle home.
    You need to run Netca to configure a listener before you can procede. Otherwise you may choose o continue with out Database control configuration"*
    My OS is Windows 7
    is there any other way to configure Enterprise manager OR do i need to install any specific package
    Thank you friends.

    Hi, Finally i created a listener "KUMAR"
    *Microsoft Windows [Version 6.1.7600]*
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Users\praveen kumar gogula>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 22-SEP-2011 17:50
    *:44*
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     KUMAR
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                22-SEP-2011 17:44:58
    Uptime                    0 days 0 hr. 5 min. 48 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\11.2.0\dbhome_1\network\admin\listen
    er.ora
    Listener Log File         c:\oracle\diag\tnslsnr\praveenkumarg\kumar\alert\log.x
    ml
    Listening Endpoints Summary...
    *(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=praveenkumarg)(PORT=1521)))*
    *(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))*
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "praveen" has 1 instance(s).
    Instance "praveen", status READY, has 1 handler(s) for this service...
    Service "praveenXDB" has 1 instance(s).
    Instance "praveen", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\praveen kumar gogula>
    What to do next?

  • Error while creating DBConsole -- Error configuring central management

    Dear All,
    MY DB Oracle 11gR1 on Linux is running fine, however there is a problem in Oracle Enterprise Manager Console.
    I dropped and re-create dbconsole using:
    emca -config all db -repos create
    These are the messages I got after creating it.
    Feb 10, 2010 10:31:26 AM oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    Feb 10, 2010 10:41:28 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    Feb 10, 2010 10:41:41 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    Feb 10, 2010 10:43:48 AM oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    Feb 10, 2010 10:43:53 AM oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
    INFO: Registering target(s) with central agent(s) (this may take a while)...
    Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /Oracle/app/oracle/product/11.1.0/db_1/bin/emctl config agent addcentralagent /Oracle/app/oracle/product/11.1.0/db_1 /Oracle/app/oracle/product/11.1.0/db_1
    Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.EMAgentConfig performConfiguration
    WARNING: Error registering database targets with the central agent(s).
    Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.EMConfig perform
    SEVERE: Error configuring central management. This target will not be centrally managed
    Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
    Could not complete the configuration. Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
    If anyone can help me getting through this error and creating dbconsole.
    Thanks,
    Imran

    CONFIG: isLocalNodeDone: T localNode: null
    10:31:26 oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
    CONFIG: File: /path/bss.com_bssdevpl/sysman/emd/agntstmp.txt:bss.com does not exists.
    10:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
    10:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:31:26 oracle.sysman.emcp.EMReposConfig createRepository
    CONFIG: Spooling to /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_repos_create_2010_02_10_10_31_26.log
    10:31:26 oracle.sysman.emcp.EMReposConfig createRepository
    INFO: Creating the EM repository (this may take a while) ...
    10:41:28 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Repository successfully created
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    10:41:28 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
    10:41:28 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
    10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:29 oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    10:41:29 oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked relevant accounts
    10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYSMAN
    10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:36 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Finished executing emreposoutofbox.sql
    10:41:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYSMAN
    10:41:38 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:38 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Submitting dbms job: /path/sysman/admin/emdrep/sql/core/latest/admin/admin_submit_dbms_jobs.sql
    10:41:38 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
    CONFIG: Successfully submitted dbms job
    10:41:38 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocking mgmt view user account
    10:41:38 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    10:41:38 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/sysman/admin/scripts/emca/emcaDbUtil /path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin: /path/perl/bin/perl /path/sysman/admin/scripts/emca/emcaDbUtil.pl /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /path/sysman/admin/scripts/emca/emcaDbUtil /path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin: /path/perl/bin/perl /path/sysman/admin/scripts/emca/emcaDbUtil.pl /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD completed successfully
    10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    Connecting to database bssdevpl in home /path with user "SYS" role "SYSDBA".
    connected to database.
    sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
    noOfParams to bind: 1.
    sql execute successfully.
    10:41:41 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
    CONFIG: Unlocked mgmt_view account
    10:41:41 oracle.sysman.emcp.EMReposConfig invoke
    CONFIG: Successfully unlocked mgmt_view account
    10:41:41 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:41:41 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
    10:41:41 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
    CONFIG: SQLEngine created successfully and connected
    10:41:41 oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
    CONFIG: Passed listener validation check.Listener is up and running.
    10:41:41 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:41:41 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
    INFO: Uploading configuration data to EM repository (this may take a while) ...
    10:43:48 oracle.sysman.emcp.EMReposConfig invoke
    INFO: Uploaded configuration data successfully
    10:43:48 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:48 oracle.sysman.emcp.EMDBCConfig updateEmomsProps
    CONFIG: Updating file /path/sysman/config/emoms.properties ...
    10:43:48 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:48 oracle.sysman.emcp.util.FileUtil _copyFile
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter EMAIL_ADDRESS.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.EMAgentConfig updateEmdProps
    CONFIG: Updating file /path/sysman/config/emd.properties ...
    10:43:49 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/sysman/config/emd.properties.emca to /path/sysman/config/emd.properties
    10:43:49 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/sysman/config/emd.properties.emca.util.tmp to /path/sysman/config/emd.properties
    10:43:49 oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /path/sysman/config/emd.properties ...
    10:43:49 oracle.sysman.emcp.EMAgentConfig updateTargets
    CONFIG: value for use102tgt: F
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:49 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:50 oracle.sysman.emcp.ParamsManager getLocalListener
    CONFIG: Found listener named: LISTENER
    10:43:50 oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
    CONFIG: Updating file /path/sysman/emd/targets.xml ...
    10:43:50 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:50 oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Local host name: bss.com
    10:43:50 oracle.sysman.emcp.util.ClusterUtil getLocalNode
    CONFIG: isLocalNodeDone: T localNode: null
    10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'TZ' is '', discarding the same
    10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
    10:43:50 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/jdk/jre/lib/i386/client:/path/jdk/jre/lib/i386:/path/jdk/jre/../lib/i386:/path/lib32:/path/lib:/path/perl/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
    10:43:50 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/bin/emctl deploy dbconsole /path/bss.com_bssdevpl bss.com:3938 bss.com bssdevpl
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /path/bin/emctl deploy dbconsole /path/bss.com_bssdevpl bss.com:3938 bss.com bssdevpl completed successfully
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Creating shared install...
    Source location: /path
    Destination (shared install) : /path/bss.com_bssdevpl
    DeployMode : dbconsole
    Creating directories...
    Setting console properties ...
    Setting log and trace files locations for Console ...
    Setting log and trace files locations for Agent ...
    10:43:53 oracle.sysman.emcp.EMAgentConfig updateDBControlPort
    CONFIG: Setting https port as: -1
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emoms.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emoms.properties
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emd.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emd.properties
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emd.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emd.properties
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: targetsXML exists: /path/sysman/emd/targets.xml
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: customTarget for oracle_database on node bss.com sid bssdevpl : bssdevpl
    10:43:53 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CUSTOM_ORACLE_DB_TARGET value: bssdevpl
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER.
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
    10:43:53 oracle.sysman.emcp.ParamsManager getLocalListener
    CONFIG: Found listener named: LISTENER
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter LISTENER_OH.
    10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
    CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: targetsXML exists: /path/sysman/emd/targets.xml
    10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
    CONFIG: customTarget for oracle_listener on node bss.com sid null : LISTENER_bss.com
    10:43:53 oracle.sysman.emcp.ParamsManager setParam
    CONFIG: Setting param: CUSTOM_LSNR_TARGET value: LISTENER_bss.com
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib:null, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PERL5LIB=/path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin:, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/perl/bin/perl /path/bin/targetdeploy.pl -d bssdevpl -n LISTENER_bss.com /path/bss.com_bssdevpl bss.com bssdevpl
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 0
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Execution of /path/perl/bin/perl /path/bin/targetdeploy.pl -d bssdevpl -n LISTENER_bss.com /path/bss.com_bssdevpl bss.com bssdevpl completed successfully
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Creating targets.xml in state directories...
    Source location: /path
    Destination : /path/bss.com_bssdevpl
    Creating directories...
    Creating targets.xml...
    Done.
    10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
    CONFIG: Copying file /path/oraInst.loc to /path/bss.com_bssdevpl/oraInst.loc
    10:43:53 oracle.sysman.emcp.EMAgentConfig createAgentTimeStampFile
    CONFIG: Creating agntstmp.txt file. oh: /path stateDir: /path/bss.com_bssdevpl host: bss.com
    10:43:53 oracle.sysman.emcp.ParamsManager getParam
    CONFIG: No value was set for the parameter MODIFY_SID.
    10:43:53 oracle.sysman.emcp.EMAgentConfig createAgentTimeStampFile
    CONFIG: File: /path/sysman/emd/agntstmp.txt.bssdevpl does not exists
    10:43:53 oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
    CONFIG: Successfully deployed state dirs for bss.com
    10:43:53 oracle.sysman.emcp.EMAgentConfig performConfiguration
    CONFIG: Successfully updated agent config files
    10:43:53 oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
    INFO: Registering target(s) with central agent(s) (this may take a while)...
    10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'DISPLAY' is '', discarding the same
    10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'TZ' is '', discarding the same
    10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
    CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getEnvProps
    CONFIG: Returning env array from cache
    10:43:53 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
    CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/jdk/jre/lib/i386/client:/path/jdk/jre/lib/i386:/path/jdk/jre/../lib/i386:/path/lib32:/path/lib:/path/perl/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
    10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /path/bin/emctl config agent addcentralagent /path /path
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of 1
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    0 [main] ERROR emSDK.config - Warning: one of following could not be found:/path/bin/emtgtctl or /path/bss.com_bssdevpl/bin/emtgtctl
    7 [main] ERROR emSDK.config - oracle.sysman.emSDK.conf.CentralHomeAdditionException: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
    oracle.sysman.emSDK.conf.CentralHomeAdditionException: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
         at oracle.sysman.emSDK.conf.TargetInstaller.addCentralAgentHome(TargetInstaller.java:1931)
         at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3167)
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
    10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
    WARNING: Error executing /path/bin/emctl config agent addcentralagent /path /path
    10:43:57 oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
    CONFIG: Error registering with /path
    10:43:57 oracle.sysman.emcp.EMAgentConfig performConfiguration
    WARNING: Error registering database targets with the central agent(s).
    10:43:57 oracle.sysman.emcp.EMConfig perform
    SEVERE: Error configuring central management. This target will not be centrally managed
    Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
    10:43:57 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Error configuring central management. This target will not be centrally managed
         at oracle.sysman.emcp.EMAgentConfig.performConfiguration(EMAgentConfig.java:1303)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:239)
         at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:217)
         at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:225)
         at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:534)
         at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1214)
         at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:518)
         at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:467)

  • "Template import error: No VM configure file found" on brand new setup

    Previously, I posted Console does not launch OVM 3.1.1, Win7x32 Firefox15/IE8 - Empty .jnlp file which was about VM Console not launching. Since this is a new installation, and it seemed to be a unique problem, I scratched the whole installation and started again from scratch. Everything, including the NFS file server, was re-installed from scratch CD OS installation.
    The process is pretty straightforward once you're used to it, and in less than three hours I was ready again to import my first template (a template I had imported before). But now, I submit the the request, and almost immediately the process aborts. (You can see in the information below, that 1 second passes between the Import request (06:32:36) and the failure.)
    Thing is, it takes about three minutes, even locally on the web server, to get an index of that large file (tar tzf), and at completion, the vm config file is listed.
    Am I misreading the error? My web searches for enlightenment found only one good hit on this error, and in that case it appeared to be an "out of space" issue. In this case, though, I'm importing a 5GB tarfile into a 390GB, otherwise-empty file system, so I don't think that is the issue. The failure in ovs-agent.log is below. What other information may I provide to get to the bottom of this? (Thanks for any guidance/help, of course!)
    [2012-10-31 06:31:40 3341] DEBUG (monitor:36) Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:40 3341] INFO (notification:67) Notification sent: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:40 3338] INFO (notification:193) Sending notification: {CLUSTER} {MONITOR} Cluster state changed from [Heartbeating] to [DLM_Ready]
    [2012-10-31 06:31:48 4914] DEBUG (service:77) discover_cluster: ()
    [2012-10-31 06:31:48 4914] DEBUG (service:85) discover_cluster: call completed.
    [2012-10-31 06:32:03 4926] DEBUG (service:77) storage_plugin_mount: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, {'status': '', 'uuid': 'fc3564eb-ce8b-489c-96bc-df6de2cc8a11', 'ss_uuid': '0004fb00000900003cf41964f3476788', 'size': '330279518208', 'free_sz': '330075340800', 'state': 2, 'access_grp_names': [], 'access_path': 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', 'name': 'nfs:/mnt/ps_big/repo/repo'}, '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55', None, True, [])
    [2012-10-31 06:32:03 4926] INFO (storageplugin:108) storage_plugin_mount(oracle.generic.NFSPlugin.GenericNFSPlugin)
    [2012-10-31 06:32:03 4926] DEBUG (NFSPlugin:353) cmd = ['mount', '-t', 'nfs', 'filesrv.ps.***.com:/mnt/ps_big/repo/repo', '/OVS/Repositories/0004fb0000030000659e0ce6f2ecfb55']
    [2012-10-31 06:32:03 4926] DEBUG (service:85) storage_plugin_mount: call completed.
    [2012-10-31 06:32:03 4931] DEBUG (service:77) add_repository: ('filesrv.ps.***.com:/mnt/ps_big/repo/repo', '0004fb0000030000659e0ce6f2ecfb55')
    [2012-10-31 06:32:03 4931] DEBUG (service:85) add_repository: call completed.
    [2012-10-31 06:32:36 4972] DEBUG (linux:847) async call function: import_template
    [2012-10-31 06:32:36 4975] DEBUG (service:77) import_template: ('0004fb0000030000659e0ce6f2ecfb55', '0004fb0000140000fdc18a572a244015', ['http://aspire/pstop/OVM_EL5U7_X86_64_TOOLS8_52_06_PVM.tgz'])
    [2012-10-31 06:32:37 4975] INFO (notification:74) async_proc_prog: notification {ASYNC_PROC} progress PID 4975 status {'OBJECT': 'template', 'TOTAL_OBJECT_COUNT': 1, 'CURRENT_OBJECT_COUNT': 1, 'TOTAL_BYTES': 0L, 'CURRENT_BYTES': 613L, 'OPERATION': 'download'}
    [2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} progress PID 4975
    [2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} progress PID 4975
    [2012-10-31 06:32:37 4975] ERROR (service:96) catch_error: Template import error: No VM configure file found.
    Traceback (most recent call last):
    File "/usr/lib64/python2.4/site-packages/agent/service.py", line 94, in wrapper
    return func(*args)
    File "/usr/lib64/python2.4/site-packages/agent/hypervisor/xenxm.py", line 1041, in import_template
    raise RuntimeError('Template import error: %s' % err)
    RuntimeError: Template import error: No VM configure file found.
    [2012-10-31 06:32:37 4975] DEBUG (linux:879) ovs_async_proc: pid 4975 status 1 output Template import error: No VM configure file found.
    [2012-10-31 06:32:37 4975] INFO (notification:67) Notification sent: {ASYNC_PROC} exit PID 4975
    [2012-10-31 06:32:37 3338] INFO (notification:193) Sending notification: {ASYNC_PROC} exit PID 4975
    [2012-10-31 06:32:39 4987] DEBUG (service:77) storage_plugin_listFileSystems: ('oracle.generic.NFSPlugin.GenericNFSPlugin', {'status': '', 'admin_user': None, 'admin_host': None, 'uuid': '0004fb00000900003cf41964f3476788', 'total_sz': 0, 'admin_passwd': '******', 'storage_desc': '', 'free_sz': 0, 'access_host': 'filesrv.ps.***.com', 'storage_type': 'FileSys', 'alloc_sz': 0, 'access_grps': [], 'used_sz': 0, 'name': '0004fb00000900003cf41964f3476788'}, True)
    [2012-10-31 06:32:39 4987] INFO (storageplugin:108) storage_plugin_listFileSystems(oracle.generic.NFSPlugin.GenericNFSPlugin)
    [2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:142) ENTER: listFileSysytems()
    [2012-10-31 06:32:39 4987] DEBUG (NFSPlugin:257) EXIT : listFileSysytems()
    [2012-10-31 06:32:39 4987] DEBUG (service:85) storage_plugin_listFileSystems: call completed.
    [2012-10-31 06:32:39 5005] DEBUG (service:77) discover_pool_filesystem: ()
    [2012-10-31 06:32:39 5005] DEBUG (service:85) discover_pool_filesystem: call completed.

    How did you get the template to where you staged it?
    I'd say the template is corrupt or you only have a partial template.
    I did notice the call to the template is based on the short name of the host. Can you confirm the VM manager can access the http path via short name?

Maybe you are looking for