Standalone scripts
I am familiar with the importing a reg external using vbscript to start as follows:
ExecuteVirtualProcess "regedit /s C:\tmp\somereg.reg.
Is there a way to incorporate the * reg file in the virtual file system and run it from there so the solution is independent?
Example that doesn't seem to work:
ExecuteVirtualProcess "regedit /s % Personal%\somereg.reg.
Change the isolation will not display the file on the sandbox. A script is required to copy the file to the sandbox.
Please see the below the example script that copies the file 'saplogon.ini' of the project folder ThinApp (C:\DATA) to the sandbox (drive C). Isolation of record % drive_C should be merged.
Function OnFirstSandboxOwner
Dim objFSO, objFolder, WshShell, objShell, TargetPath, SourceFile
Set WshShell = CreateObject ("Wscript.Shell")
TargetPath = WshShell.ExpandEnvironmentStrings("C:\Data\saplogon.ini")
Set objFSO = CreateObject ("Scripting.FileSystemObject")
SourceFile = ExpandPath ("C:\saplogon.ini")
If objFSO.FileExists (TargetPath) then
"do nothing
on the other
objFSO.CopyFile SourceFile, TargetPath
End If
End Function
I hope this helps.
Tags: VMware
Similar Questions
-
Script for Standalone AP with no disconnection
Salvation Group
In a desktop remote both standalone AP enough wireless coverage, if a user moves from one end to the other end can disconnect network avoid connecting from one access point to another without WLC access point. Allows to consider also the two AP are configured same SSID / encryption / password
Another Question-> can a TOUR be easily converted to standalone AP and vice versa
Concerning
Vishal
You should have no problem of homelessness between two APs with the same SSID and Setup to put users on the same subnet. As far as autonomous to lwapp and vice versa, yes you can convert APs back and fourth.
Sent by Cisco Support technique iPhone App
-
Everyone knows the script editor, v7, crash at startup in standalone mode?
I get the message of java that the connection to the server is not available, the status bar moves a bit, and then it stops.
If I am connected to the server, I'm fine.
Any help would be appreciated.
Mike
Hi Mike, I think that there are some old posts on similar problems. There is a known bug related. A quick test, please try to close to the top of the editor on the client PC. Right-click on the icon of the editor on the desktop and select Properties > Compatibility tab, check the box for "Run this program in compatibility mode" and choose "Windows 2000" in the menu drop-down. "" Check to see if that makes a difference.
Hope that helps!
Pablo
-
Nexus 5000 operating as a standalone FibreChannel Switch
Hello world
Does anyone know if the Nexus 5000 can be used as a standalone FibreChannel Switch? Which means I don't want to run NPV on this and connect it up to a MDS or a different type of switch FibreChannel. I'm looking to create a 'Pod' scenario. Where a few servers and a storage Bay would hang the 5K on a login F_Ports is local FLOGI DB and be able to use zoning and traffic went immediately from the 5K, etc etc? I know that 5 K is not a full blown fibre channel switch such that it has some limitations, but again I think to a "Pod" as scenario.
If the script above won't work for some reason any using CF can achieve us with FCoE CNAs on servers & storage Bay?
Finally, FC domain IDS how 5 K can cause?
Sorry for the questions. I'm new to SAN switching at this stage.
Thank you all!
Yes, it works even FC code NX - OS like a switch MDS switch.
You connect FC HBAS, ports SAN or FCoE CNAs to Nexus.
However, you need to license storage.
Nexus 5010 supports up to 8 4 G FC or FC G 6 8 ports with the expansion module
Nexus 5020 supports up to 16 4 G FC or 12 8 G FC ports with the expansion module
Nexus 5548UP supports up to ports FC 32 4 / 8G without the expansion module
Nexus 5548UP supports up to 48 4 FC ports / 8G with the expansion module
Nexus 5596UP supports up to 48 4 FC ports / 8G without the expansion module
Nexus 5596UP supports up to 96 4 FC ports / 8G with the expansion module
-
Hi all
During the installation of grid software Oracle 11 g root.sh (11.2.0.4) 2 (standalone) OL6.3 failed with the below mentioned error.
===========Error============
Assistant configuration database when a database is created
Finished to turn the generic part of the root.sh script.
Now root product-specific actions will be performed.
2015-07-08 15:09:27: verification of superuser privileges
2015-07-08 15:09:27: user has superuser privileges
2015-07-08 15:09:27: analyzing the host name
Using the configuration settings file:/U01/app/grid/product/11.2.0/grid/CRS/install/crsconfig_params
Create the trace directory
ADD LOCAL MODE
Creating OCR keys for the user 'oracle', privgrp 'oinstall '...
Successful operation.
CRS-4664: node kchjovm42 pinned successfully.
Adding to inittab demon
CRS-4124: Oracle high availability Services startup failed.
CRS-4000: Start command has failed, or completed with errors.
ohasd could not start: Inappropriate ioctl for device
ohasd could not start: Inappropriate ioctl for this device/U01/app/grid/product/11.2.0/grid/CRS/install/roothas.pl line 296.
[grid root@kchjovm42] #.===============================
Given that the error has been corresponding exactly to Doc-ID 1607600.1 I tried to follow the steps mentioned but he couldn't go well, release pasted below,
[root@kchjovm42 bin] # initctl reload configuration
[root@kchjovm42 bin] # initctl start oracle-ohasd
initctl: unknown employment: oracle-ohasd
[root@kchjovm42 bin] # initctl list | grep oracle
[root@kchjovm42 bin] #.
While they inspected I found that initctl has no service oracle-ohasd that there are listed.
Manual start of service has also failed,
[root@kchjovm42 init] # initctl start oracle-ohasd
initctl: unknown employment: oracle-ohasd
[init root@kchjovm42] #.
There are a lot of notes and documents available on the community & MOS but not get a voucher for my case. Grateful if you can help with this problem.
Thank you
Abhijit
Refer to OHASD could not start: Inappropriate ioctl for device [1069182.1 ID]
HTH
-Pavan Kumar N
-
Impossible to establish a correlation between the Script
HI - any help would be appreciated. Thanks in advance!
OpenScript 12.5, I receive the following error message when you try to save a script of Web/HTTP protocol for load tests:
Problem occurred:
(RED X) "Unable to correlate the script" has encountered a problem. Exception occurred in correlating script: oracle.oats.scripting.transforms.TransformException: transformation rule threw the exception in transformStep: oracle.oats.scripting.modules.http.transformRules.cookie.ClientSetCookieDelegate. See the errorlog for details.
"I tried to correlate the Script... option, but still error: get the following"problem occurred"message: Exception occurred by correlating script:
Just recently moved to Windows Server 2008 from 2003. using IE11
Tried OpenScript only on a standalone workstation Windows 7 with the same results.
Any ideas why I get this error and how to fix it?
Sincerely,
David Gardner
Yutaka Takatsuhas made the following response:
This could be the known bug in the installer if your version of OATS has been upgraded oatmeal 12.5.0.2 of older versions.
The bug mentioned above was created in the upgrade installer. For users improved 12.5.0.2 of earlier versions, please add - XX:-UseSplitVerifier to the arguments of start-up OpenScript as shown below.
C:OracleATSopenScriptOpenScript.exe - configuration openscript_configuration - vm C:OracleATSopenScriptjrebinjavaw.exe - vmargs-Xmx512m - XX: MaxPermSize = 256 m - XX:-UseSplitVerifier
Start > all programs > OATS > right-click OpenScript to select Properties > in the dialog box, copy the text in the 'Target' field and modify accordingly and stick it in return.
For users who own 12.5.0.2 installed should already have this argument added to your OpenScript starts. This work around is required only for users who have upgraded to 12.5.0.2.5 days
- David Gardner: Thanks Yutaka. When I saw my target in the start menu, it seemed to have the same starting point, but I think I was using an old OpenScript shortcut that was not in force. In all cases, the problem seems to have been resolved. Again, thank you.
-
Action Script 3 need little random
Hi all, I have a question.
I create interactions in Adobe animate using AS3.
I have 3 moviclips each is a standalone game / interaction.
How can I script a button that will play one of the moviclips randomly, and then when the Player returns to the main timeline and the button is pressed again the user are sent randomly to one of the other movieclips? I don't want the user to see the same moviclip twice in a row.
I hope you guys can help, thank you
John
Peace
Hello again,
Sorry for the late reply. Text blocks clicks. If you generate yourself text then it is on a layer that is 'superior' or above the shape. If you attach the click event to the form, then the text can intercept it. This happens to a lot of people who draw a button shape and then add text on the timeline in the upper layer where the text interferes with the click.
When I'm generating the dynamic text, I updated the TextField property .mouseEnabled = false; Try to do this to see if it solves your problem.
for example
yourNewTextField.mouseEnabled = false;
Then see if you can click your button.
-
Workflow started by the script fails to get the parameter passed securestring
Hello
I use a script (linux) to start a workflow ( defined by software for the script ;-) thank This mechanism works very well.
However, yesterday we removed an input parameter in a workflow of some (and also deleted from the script) and now it fails.
Before the change, the input parameters were: vmName (String), vmUser (String), vmPassword (SecureString)
After the change, the input parameters are: vmName (String), vmPassword (SecureString)
In the script, I can add statements to prove that the password has a value and that it is past.
In the workflow, I've added a task containing a script that is executed first and shows that the value of the vmPassword input parameter is empty.
The output xml from script of appeal shows also that the value parameter is 'lost '...
See the definition of setting correct for vmName on lines 11 and 12.
See a definition of parameter incorrect for vmPassword on line 13 - the part missing "secret < SecureString > < \SecureString >...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <workflow-execution href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/"> <relations> <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/" rel="up"/> <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/" rel="remove"/> <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/logs/" rel="logs"/> <link href="https://ehc3-vco2.ehc.ssev.local:8281/vco/api/workflows/fe59b484-ec21-4028-8a32-5e434b4139c2/executions/ff8080814e0272b6014eadc7c37424fb/state/" rel="state"/></relations> <id>ff8080814e0272b6014eadc7c37424fb</id> <state>failed</state> <input-parameters> <parameter type="string" name="vmName" scope="local"> <string>vm093</string></parameter> <parameter type="SecureString" name="vmPassword" scope="local"/></input-parameters> <output-parameters/> <start-date>2015-07-20T19:23:46.932-04:00</start-date> <end-date>2015-07-20T19:23:48.070-04:00</end-date> <started-by>[email protected]</started-by> <name>Add Agent</name> <content-exception>; nested exception is: java.io.IOException: java.io.IOException: Non nillable element 'password' is null. (Dynamic Script Module name : addAgent#32)</content-exception> <current-item-display-name>Add Agent</current-item-display-name></workflow-execution>
Anyone seen elsewhere and - especially - able to fix it? :-)
Thank you
Ed
It turns out that, in the XML input, which is passed to the server vCO, the password parameter type spec can be
, but the definition of its value must be specified using ... .For example:
secret Lesson learned...
Ed
-
Script for a specific host info
Hi all
Totally new to powershell/powercli...
Have been out successfully a report to csv format to view the details of ESXi hosts. I know that's not the best scenario, but it does the trick so far.
My question is (as I couldn't find properties for this): can we get information about the DIMM (s) installed on ESXi hosts and add to the script?
Comments are appreciated
$filename = "c:\reports\HostDetails_" + $filedate + ".csv".
Get-vmhost | Select Name, @{Name = "DNS"; {Expression = {$_.NetworkInfo}}, @{Name = 'File'; Expression = {$_.} Parent}}, @{Name = "Standalone"; Expression = {$_.} IsStandalone}}, @{Name = 'ESXi Version'; Expression = {$_.} Version}}, @{Name = "ESXi Build"; Expression = {$_.} Build}}, @{Name = 'Model HW'; Expression = {$_.} Model}}, @{Name = "Processor Type"; Expression = {$_.} ProcessorType}}, @{Name = "Total RAM"; Expression = {[math]: tour ($_.)} (MemoryTotalGB, 0)}}, @{Name = "BIOS Version"; Expression = {$_.} ExtensionData.hardware.biosinfo.BiosVersion}}, @{Name = 'BIOS release Date'; Expression = {$_.} ExtensionData.hardware.BiosInfo.ReleaseDate}} | Export-csv $filename - NoType
The best and most of the time the only way to recover the info is through the interface of the CIM.
Try the attached script (updated the hostname and credentials)...
-
The value of VM Notes or Description for Standalone ESXi
Hello
Is it possible to define the description/Notes field for a virtual machine on a stand-alone ESXi host through powershell cli power? I tried to use set - vm - machine virtual VMNAME-Notes "some_text" - confirm: $false and it can not... It works very well for virtual machines in our Vcenter infrastructure. Problem is that we have some places that are running standalone ESXi hosts.
Also regarding the custom attributes...
Are there warnings custody or differences I should be aware of the use of the custom attributes with Vcenter 4/ESXi 4.x and 5.x Vcenter5/ESXi with custom attributes?
Are there warnings to update custom attributes or the Notes field while a virtual machine is running? I'll add a field by using the script on the site of Alan Renouf.
Thanks in advance
As far as I know that is only available when connected to vCenter.
No warnings to assign a custom to a VM power attribute
-
help with script - create the jdeveloper build script to build
Hello
I'm being created build script for my portal webcenter application. I use jdeveloper 11.1.1.5.
After reading some content, I am trying to use the simplest approach - it's creating build.xml thru jdeveloper.
I selects the project portal, and then select new > project buildfile. and it creates huge build.xml and build.properties for me.
It is this--
* <? XML version = "1.0" encoding = "windows-1252"? > *.
* <! - ant buildfile generated by Oracle JDeveloper - > *.
* <!-generated on April 30, 2013 12:37:38 - > *.
' * < name of project = 'Portal' default = "all" basedir = ". ' > *.
* < property = "build.properties" file / > *.
* < path id = "library. WebCenter.Content.Templates.Tag.Library"> *.
-----------------------
--------------------------
------------------
* < / path > *.
* < target name = "init" > *.
* < tstamp / > *.
* < mkdir dir = "${output.dir}" / > *.
* < / target > *.
* < target name = "all" description = "building the project."
function = "deploy, compile, copy" / >
* < target name = 'clean' description = 'Clean up the project' > *.
* < remove includeemptydirs = 'true' quiet = "true" > *.
"< * fileset dir =" ${output.dir} ' includes = "* / *" / > *.
* < / remove > *.
* < / target > *.
* < name target = "deploy" description = "Deployer JDeveloper profiles."
function = "init, compile" >
* < taskdef name = "ojdeploy."
ClassName = "Oracle.JDeveloper.deploy.ant.OJDeployAntTask"
URI = "oraclelib:OJDeployAntTask".
*classpath="${Oracle.JDeveloper.Ant.library}"/ > *.
* < xmlns:ora ora: ojdeploy = "oraclelib:OJDeployAntTask."
* Executable = "${Oracle.JDeveloper.ojdeploy.Path}" *.
*Ora:buildscript="${Oracle.JDeveloper.deploy.dir}/ojdeploy-build.xml"*
* ora:statuslog="${oracle.jdeveloper.deploy.dir}/ojdeploy-statuslog.xml" > *.
* < ora: deploy > *.
* < name of ora: parameter = "workspace."
*value="${Oracle.JDeveloper.workspace.path}"/ > *.
* < name of ora: parameter = "project."
*value="${Oracle.JDeveloper.project.name}"/ > *.
* < name of ora: parameter = "profile."
*value="${Oracle.JDeveloper.deploy.profile.name}"/ > *.
* < name of ora: parameter = "nocompile" value = "true" / >. *
* < name of ora: parameter = "outputfile."
*value="${Oracle.JDeveloper.deploy.outputfile}"/ > *.
* < / ora: deploy > *.
* < / ora: ojdeploy > *.
* < / target > *.
* < name target = "compile" description = "Java compile source files" depends = "init" > *.
* < javac destdir = "${output.dir}" classpathref = "classpath" * "
* debug = "${javac.debug}" nowarn = "${javac.nowarn}" * "
* deprecation = "${javac.deprecation} ' encoding ="Cp1252"source ="1.6"*"
* target = '1.6' > *.
* < path src = "src" / > *.
* < / javac > *.
* < / target > *.
* < target name = "copy" description = "copy files to the output directory."
* depends on = "init" > *.
* < patternset id = "copy.patterns" > *.
* < include name="**/*.gif"/ > *.
* < include name="**/*.jpg"/ > *.
* < include name="**/*.jpeg"/ > *.
* < include name="**/*.png"/ > *.
* < include name="**/*.properties"/ > *.
* < include name="**/*.xml"/ > *.
* < include name="**/*.ejx"/ > *.
* < include name="**/*.xcfg"/ > *.
* < include name="**/*.cpx"/ > *.
* < include name="**/*.dcx"/ > *.
* < include name="**/*.sva"/ > *.
* < include name="**/*.wsdl"/ > *.
* < include name="**/*.ini"/ > *.
* < include name="**/*.tld"/ > *.
* < include name="**/*.tag"/ > *.
* < include name="**/*.xlf"/ > *.
* < include name="**/*.xsl"/ > *.
* < include name="**/*.xsd"/ > *.
* < / patternset > *.
* < copy todir = "${output.dir}" > *.
* < fileset dir 'src' = > *.
* < patternset refid = "copy.patterns" / >. *
* < / fileset > *.
* < / copy > *.
* < / target > *.
* < / project > *.
now when I run that build.xml file, here is my output:
* Buildfile: C:\JDeveloper\mywork\buildTest\Portal\build.xml*
* init: *.
* compile: *.
* deploy: *.
* [ora: ojdeploy]-file build-*.
* [ora: ojdeploy] <? XML version = "1.0" standalone = 'Yes'? ". > *.
* [ora: ojdeploy] < ojdeploy-construction > *.
* [ora: ojdeploy] < deployment > *.
* [ora: ojdeploy] < name of the parameter = "workspace" value="C:\JDeveloper\mywork\buildTest\buildTest.jws"/ > *.
* [ora: ojdeploy] < the name of the parameter = value 'project' = 'Portal' / > *.
* [ora: ojdeploy] < name of the parameter = value "profile" = "*" / > *.
* [ora: ojdeploy] < the name of the parameter = "nocompile" value = "true" / >. *
* [ora: ojdeploy] < name of the parameter = "outputfile" value="C:\JDeveloper\mywork\buildTest\Portal\deploy\${profile.name}"/ > *.
* [ora: ojdeploy] < / deploy > *.
* [ora: ojdeploy] < default > *.
* [ora: ojdeploy] < name of the parameter "buildfile' value="/C:/JDeveloper/mywork/buildTest/Portal/deploy/ojdeploy-build.xml"/ = > *.
* [ora: ojdeploy] < name of the parameter 'statuslogfile' value="C:\JDeveloper\mywork\buildTest\Portal\deploy/ojdeploy-statuslog.xml"/ = > *.
* [ora: ojdeploy] < / defaults > *.
* [ora: ojdeploy] < / ojdeploy-construction > *.
* [ora: ojdeploy]-*.
* [ora: ojdeploy] 30 April 2013 15:48:06 oracle.bali.xml.gui.jdev.JDevXmlContext _setProjectAndAttachDetach *.
* [ora: ojdeploy] INFO: open defense in the Portal.jpr project in the creation of XmlContext (web.xml) *.
* [ora: ojdeploy] 30 April 2013 15:48:06 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger willPrepare *.
* [ora: ojdeploy] INFO:-deployment began. ----*
* [ora: ojdeploy] *.
* [ora: ojdeploy] 30 April 2013 15:48:06 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger printTargetPlatform *.
* [ora: ojdeploy] INFO: target platform is (Weblogic 10.3). *
* [ora: ojdeploy] *.
* [ora: ojdeploy] 30 April 2013 15:48:07 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger willPrepare *.
* [ora: ojdeploy] INFO:-deployment began. ----*
* [ora: ojdeploy] *.
* [ora: ojdeploy] 30 April 2013 15:48:07 oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger printTargetPlatform *.
* [ora: ojdeploy] INFO: target platform is (Weblogic 10.3). *
* [ora: ojdeploy] *.
* [ora: ojdeploy] 30 April 2013 15:48:07 oracle.jdevimpl.deploy.common.ProfileDependencyAnalyzer deployImpl *.
* [ora: ojdeploy] INFO: runs the analysis of dependence... *.
* [ora: ojdeploy] *.
* [ora: ojdeploy] 30 April 2013 15:48:08 oracle.jdevimpl.deploy.common.ModulePackagerImpl deployProfiles *.
* [ora: ojdeploy] INFO: deployment of 3 profiles... *.
* [ora: ojdeploy] *.
* [ora: ojdeploy] 30 April 2013 15:48:15 oracle.adfdtinternal.model.portlet.mds.PortletMarPlugin exportPortletMds *.
* [ora: ojdeploy] INFO: perform a complete export of the producers to: [C:\JDeveloper\mywork\buildTest\.mdsExport].*
* [ora: ojdeploy] 30 April 2013 15:48:15 oracle.adfdtinternal.model.portlet.mds.PortletMarPlugin exportPortletMds *.
* [ora: ojdeploy] INFO: export of portlet metadata and customizations.*
* [ora: ojdeploy] *.
* [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:16
* [ora: ojdeploy] NOTIFICATION: the export operation started.*
* [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:16
* [ora: ojdeploy] NOTIFICATION: export is complete. Total number of documents successfully processed: 0, total number of documents failed: 0.*
* [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:39
* [ora: ojdeploy] NOTIFICATION: the export operation started.*
* [oracle.mds* ora: ojdeploy] 30 April 2013 15:48:39
* [ora: ojdeploy] NOTIFICATION: export is complete. Total number of documents successfully treated: 23, total number of documents failed: 0.*
* [ora: ojdeploy] 30 April 2013 15:48:39 oracle.mds.internal.dt.packaging.MDSMarDeployer logFileWritten *.
* [ora: ojdeploy] INFO: written MAR file to file:/C:/JDeveloper/mywork/buildTest/deploy/AutoGeneratedMar.mar*
* [ora: ojdeploy] 30 April 2013 15:48:52 oracle.mds.internal.dt.packaging.WarPackagingListener prepared *.
* [ora: ojdeploy] WARNING: WARNING: integration of view ADF with MDS not configured to 'Portal.jpr', JSPX, JSFF files or their customizations to MAR will be ignored when running. Enable setting customizations seeded under the view of the ADF option in the project properties to configure even MDS
* [ora: ojdeploy] 30 April 2013 15:49:03 oracle.jdevimpl.deploy.war.WarDeployer writeWarFile *.
* [ora: ojdeploy] INFO: Application Module Web wrote to file:/C:/JDeveloper/mywork/buildTest/Portal/deploy/buildTest_webapp1.war*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace ' / oracle/adf/share/prefs is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/cycle of life/importexport" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/lock" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/rc ' is mapped to deploy target the metadata store use"WebCenterFileMetadataStore"in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace ' / persdef' maps to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace ' / shared/oracle/wcps ' is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace ' / ' xliffBundles is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/research/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/framework/scope/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/page/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace ' / ' pageDefs is mapped to deploy metadata-store-use 'WebCenterFileMetadataStore' target in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/adf/portlet" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/adf/portletappscope" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/doclib/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/security/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/siteresources/shared" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:24 oracle.mds.internal.dt.packaging.EarPackagingListener generateConfigForMAR *.
* [ora: ojdeploy] INFO: Info: Namespace "/ oracle/webcenter/quicklinks/scopedMD" is mapped to deploy target the metadata store use "WebCenterFileMetadataStore" in the ADF - config.xml but no namespace metadata is included in the MAR.*
* [ora: ojdeploy] 30 April 2013 15:49:30 oracle.jdevimpl.deploy.ear.ApplicationAssembler logFileWritten *.
* [ora: ojdeploy] INFO: Application Module Enterprise wrote to file:/C:/JDeveloper/mywork/buildTest/deploy/buildTest_webapp1.ear*
* [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
* [ora: ojdeploy] INFO: time for deployment: 1 minute, 23 seconds *.
* [ora: ojdeploy] *.
* [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
* [ora: ojdeploy] INFO:-deployment is complete. ----*
* [ora: ojdeploy] *.
* [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
* [ora: ojdeploy] INFO: time for deployment: 1 minute, 23 seconds *.
* [ora: ojdeploy] *.
* [completed oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ DeployConsoleLogger ora: ojdeploy] 30 April 2013 15:49:30 *.
* [ora: ojdeploy] INFO:-deployment is complete. ----*
* [ora: ojdeploy] *.
* [ora: ojdeploy] summary status written to /C:/JDeveloper/mywork/buildTest/Portal/deploy/ojdeploy-statuslog.xml*
* copy: *.
* all: *.
* SUCCESSFUL BUILD. *
Total time: 12 minutes 1 second *.
However when I check the deployments in the console, I don't see my deployed application.
I see no error as well output.
can anyone suggest where I'm wrong?
Thank you.Happy that you do your research :-)
Yep, wlst is the best option for a generation automated. Using wlst provides options to configure your MDS application. I should have one of my python deploy scripts somewhere. For this, I'm going to watch tonight.
-
Add Standalone workflow fails...
I'm clearly missing something in what concerns the use Orchestrator and hope I can a little nudge in the right direction.
I tried to add a stand-alone ESXi 4.1 host to vCenter Server. The workflow for adding a stand-alone host (Workflows > vCenter > host management > recording > Add standalone host) fails everytime I try to use it. The error message I see is:
"AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)
I can't find out where to install the host SSL certificate. This error refers to the vCenter Server SSL certificate or the ESXi host SSL certificate?
Thank you, in advance, for your help.
=======================================
Here's my vCO log file:
(com.vmware.library.vc.basic/vim3WaitTaskEnd) "AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)
Connection with the key pair (.. / server/vmo/conf/vco_key)
Cannot run command InternalError: identity file not found! (Workflow: run SSH command / command run SSH (item6) #14) (Workflow: run SSH command / command run SSH (item6) #31)
Login with password
Cannot run command InternalError: Auth fail (Workflow: run SSH command / command run SSH (item6) #14) (Workflow: run SSH command / command run SSH (item6) #31)
(com.vmware.library.vc.basic/vim3WaitTaskEnd) "AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)
Login with password
Cannot run command InternalError: java.net.ConnectException: Connection refused: connect (Workflow: run SSH command / command run SSH (item6) #14) (Workflow: run SSH command / run SSH Command (item6) #31)
(com.vmware.library.ssh/registerVSOonHost) Registration of public key VS - O on ' 172.20.10.51' for the user 'root' failed. InternalError: java.net.ConnectException: connection refused: connect (name of the dynamic Script Module: registerVSOonHost #5) (name of the dynamic Script Module: registerVSOonHost #30)
(com.vmware.library.ssh/registerVSOonHost) Registration of public key VS - O on ' 172.20.10.51' for the user 'root' failed. InternalError: Auth fail (name of the dynamic Script Module: registerVSOonHost #5) (name of the dynamic Script Module: registerVSOonHost #30)
(com.vmware.library.ssh/registerVSOonHost) Registration of public key VS - O on ' 172.20.10.52' for the user 'root' failed. InternalError: java.net.ConnectException: connection refused: connect (name of the dynamic Script Module: registerVSOonHost #5) (name of the dynamic Script Module: registerVSOonHost #30)
(com.vmware.library.ssh/registerVSOonHost) Registration of public key VS - O on ' 172.20.10.52' for the user 'root' failed. InternalError: Auth fail (name of the dynamic Script Module: registerVSOonHost #5) (name of the dynamic Script Module: registerVSOonHost #30)
Login with password
Connected!
Execution of 'uptime '.
Output: ' 04:27:11 up to 12 min, load average: 0.00, 0.00, 0.00
'
Error: "
Exit code: '0'
Uptime - exit: 04:27:11 to 12 minutes, load average: 0.00, 0.00, 0.00error:
(com.vmware.library.vc.basic/vim3WaitTaskEnd) "AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)
Login with password
Connected!
Execution of 'uptime '.
Output: ' 21:28:41 until 02:39, load average: 0.00, 0.00, 0.00
'
Error: "
Exit code: '0'
Uptime - exit: 21:28:41 until 02:39, load average: 0.00, 0.00, 0.00error:
(com.vmware.library.vc.basic/vim3WaitTaskEnd) "AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)
Login with password
Connected!
'Vmware' running - v
Output: "VMware ESXi 4.1.0 build-260247
'
Error: "
Exit code: '0'
out of VMware - v -: VMware ESXi 4.1.0 build-260247error:
(com.vmware.library.vc.basic/vim3WaitTaskEnd) "AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)
(com.vmware.library.vc.basic/vim3WaitTaskEnd) "AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)
(com.vmware.library.vc.basic/vim3WaitTaskEnd) "AddStandaloneHost_Task" task error: the authenticity of the host SSL certificate is not verified. (Name of the dynamic Script Module: vim3WaitTaskEnd #20)Hi Ken!
It's a well-known (not good) workflow limitation included.
Find the solution here:
http://communities.VMware.com/docs/doc-14363
Thanks goes to Andreas :-)!
Cordially, and have fun with vCO :-)
Joerg
-
Script to change the BIOS VMX. UUID value?
Due to how transfer us models of VM to stand-alone ESXi 4.1 guests before their junction to vCenter, the UUID for the models come out the same. We use Veeam Backup to restore the templates, so they can be compressed enough to fit on a DVD.
I'm looking for a little PowerShell script that can define a custom BIOS. Value of UUID for a VM named on ESXi 4.1. 1002403 KB VMware has a Pearl script that allows you to do this, but we are a store of PowerShell and would make it easier for us to customize in the future. Ideally, the script would generate a UUID Pseudo-aleatoires without user intervention. For example, to set the last six digits to use the current month, day, and minute (MMDDMM, for example 100111).
vCenter will create of course unique UUID for our production of VMs, so it's only to manage the initial models, that we download to standalone servers in "factory".
Ideas?
Try something like this
$vmName =
$newUuid = $spec = New-Object VMware.Vim.VirtualMachineConfigSpec $spec.uuid = $newUuid $vm = Get-VM -Name $vmName $vm.Extensiondata.ReconfigVM_Task($spec) Note that the call to the method it is more simple forms, not waiting for the completion of the task, no error checking.
____________
Blog: LucD notes
Twitter: lucd22
-
Automatic measures only 1 color ink (modification of the script)
Hi all
I need to modify this script as well as bring the measure already in are... PANTONE Pantone 485 (solid coated),
I need to change this string, but do not know how...
Thank you very much
line color measurement
var color = new RGBColor; How to change it, to the ink pantone...?
255 = Color.Green;
0 = Color.Blue;
/* * Description: An Adobe Illustrator script that automates measurements of objects. This is an early version that has not been sufficiently tested. Use at your own risks. * Usage: Select 1 to 2 page items in Adobe Illustrator, then run this script by selecting File > Script > Other Scripts > (choose file) * License: GNU General Public License Version 3. (http://www.gnu.org/licenses/gpl-3.0-standalone.html) * * Copyright (c) 2009. William Ngan. * http://www.metaphorical.net */ // Create an empty dialog window near the upper left of the screen var dlg = new Window('dialog', 'Spec'); dlg.frameLocation = [100,100]; dlg.size = [250,250]; dlg.intro = dlg.add('statictext', [20,20,150,40] ); dlg.intro.text = 'First select 1 or 2 items'; dlg.where = dlg.add('dropdownlist', [20,40,150,60] ); dlg.where.selection = dlg.where.add('item', 'top'); dlg.where.add('item', 'bottom'); dlg.where.add('item', 'left'); dlg.where.add('item', 'right'); dlg.btn = dlg.add('button', [20,70,150,90], 'Specify', 'spec'); // document var doc = activeDocument; // spec layer try { var speclayer =doc.layers['spec']; } catch(err) { var speclayer = doc.layers.add(); speclayer.name = 'spec'; } // measurement line color var color = new RGBColor; color.green = 255; color.blue = 0; // gap between measurement lines and object var gap = 2; // size of measurement lines. var size = 10; // number of decimal places var decimals = 0; // pixels per inch var dpi = 72; /** Start the spec */ function startSpec() { if (doc.selection.length==1) { specSingle( doc.selection[0].geometricBounds, dlg.where.selection.text ); } else if (doc.selection.length==2) { specDouble( doc.selection[0], doc.selection[1], dlg.where.selection.text ); } else { alert('please select 1 or 2 items'); } dlg.close (); } /** Spec the gap between 2 elements */ function specDouble( item1, item2, where ) { var bound = new Array(0,0,0,0); var a = item1.geometricBounds; var b = item2.geometricBounds; if (where=='top' || where=='bottom') { if (b[0]>a[0]) { // item 2 on right, if (b[0]>a[2]) { // no overlap bound[0] =a[2]; bound[2] = b[0]; } else { // overlap bound[0] =b[0]; bound[2] = a[2]; } } else if (a[0]>=b[0]){ // item 1 on right if (a[0]>b[2]) { // no overlap bound[0] =b[2]; bound[2] = a[0]; } else { // overlap bound[0] =a[0]; bound[2] = b[2]; } } bound[1] = Math.max (a[1], b[1]); bound[3] = Math.min (a[3], b[3]); } else { if (b[3]>a[3]) { // item 2 on top if (b[3]>a[1]) { // no overlap bound[3] =a[1]; bound[1] = b[3]; } else { // overlap bound[3] =b[3]; bound[1] = a[1]; } } else if (a[3]>=b[3]){ // item 1 on top if (a[3]>b[1]) { // no overlap bound[3] =b[1]; bound[1] = a[3]; } else { // overlap bound[3] =a[3]; bound[1] = b[1]; } } bound[0] = Math.min(a[0], b[0]); bound[2] = Math.max (a[2], b[2]); } specSingle(bound, where ); } /** spec a single object @param bound item.geometricBound @param where 'top', 'bottom', 'left,' 'right' */ function specSingle( bound, where ) { // width and height var w = bound[2]-bound[0]; var h = bound[1]-bound[3]; // a & b are the horizontal or vertical positions that change // c is the horizontal or vertical position that doesn't change var a = bound[0]; var b = bound[2]; var c = bound[1]; // xy='x' (horizontal measurement), xy='y' (vertical measurement) var xy = 'x'; // a direction flag for placing the measurement lines. var dir = 1; switch( where ) { case 'top': a = bound[0]; b = bound[2]; c = bound[1]; xy = 'x'; dir = 1; break; case 'bottom': a = bound[0]; b = bound[2]; c = bound[3]; xy = 'x'; dir = -1; break; case 'left': a = bound[1]; b = bound[3]; c = bound[0]; xy = 'y'; dir = -1; break; case 'right': a = bound[1]; b = bound[3]; c = bound[2]; xy = 'y'; dir = 1; break; } // create the measurement lines var lines = new Array(); // horizontal measurement if (xy=='x') { // 2 vertical lines lines[0]= new Array( new Array(a, c+(gap)*dir) ); lines[0].push ( new Array(a, c+(gap+size)*dir) ); lines[1]= new Array( new Array(b, c+(gap)*dir) ); lines[1].push( new Array(b, c+(gap+size)*dir) ); // 1 horizontal line lines[2]= new Array( new Array(a, c+(gap+size/2)*dir ) ); lines[2].push( new Array(b, c+(gap+size/2)*dir ) ); // create text label if (where=='top') { var t = specLabel( w, (a+b)/2, lines[0][1][1] ); t.top += t.height; } else { var t = specLabel( w, (a+b)/2, lines[0][0][1] ); t.top -= t.height; } t.left -= t.width/2; // vertical measurement } else { // 2 horizontal lines lines[0]= new Array( new Array( c+(gap)*dir, a) ); lines[0].push ( new Array( c+(gap+size)*dir, a) ); lines[1]= new Array( new Array( c+(gap)*dir, b) ); lines[1].push( new Array( c+(gap+size)*dir, b) ); //1 vertical line lines[2]= new Array( new Array(c+(gap+size/2)*dir, a) ); lines[2].push( new Array(c+(gap+size/2)*dir, b) ); // create text label if (where=='left') { var t = specLabel( h, lines[0][1][0], (a+b)/2 ); t.left -= t.width; } else { var t = specLabel( h, lines[0][0][0], (a+b)/2 ); t.left += size; } t.top += t.height/2; } // draw the lines var specgroup = new Array(t); for (var i=0; i<lines.length; i++) { var p = doc.pathItems.add(); p.setEntirePath ( lines[i] ); setLineStyle( p, color ); specgroup.push( p ); } group(speclayer, specgroup ); } /** Create a text label that specify the dimension */ function specLabel( val, x, y) { var t = doc.textFrames.add(); t.textRange.characterAttributes.size = 8; t.textRange.characterAttributes.alignment = StyleRunAlignmentType.center; var v = val; switch (doc.rulerUnits) { case RulerUnits.Inches: v = val/dpi; v = v.toFixed (decimals); break; case RulerUnits.Centimeters: v = val/(dpi/2.54); v = v.toFixed (decimals); break; case RulerUnits.Millimeters: v = val/(dpi/25.4); v = v.toFixed (decimals); break; case RulerUnits.Picas: v = val/(dpi/6); var vd = v - Math.floor (v); vd = 12*vd; v = Math.floor(v)+'p'+vd.toFixed (decimals); break; default: v = v.toFixed (decimals); } t.contents = v; t.top = y; t.left = x; return t; } function setLineStyle(path, color) { path.filled = false; path.stroked = true; path.strokeColor = color; path.strokeWidth = 0.5; return path; } /** * Group items in a layer */ function group( layer, items, isDuplicate) { // create new group var gg = layer.groupItems.add(); // add to group // reverse count, because items length is reduced as items are moved to new group for(var i=items.length-1; i>=0; i--) { if (items[i]!=gg) { // don't group the group itself if (isDuplicate) { newItem = items[i].duplicate (gg, ElementPlacement.PLACEATBEGINNING); } else { items[i].move( gg, ElementPlacement.PLACEATBEGINNING ); } } } return gg; } // ---------------------------------------------------------------------------------------------------------------------------------------- dlg.btn.addEventListener ('click', startSpec ); dlg.show();
As a first step, you must necessarily swatches Pantone in your document.
Then it's easy:
Change this:
// measurement line color var color = new RGBColor; color.green = 255; color.blue = 0;
to do this:
// measurement with Pantone line color var color = doc.swatches.getByName('Pantone 485 C').color
That's all.
-
Flash Builder 4.5 guard emphasizing <; script >; when compiling
It's on windows 7 64 bit. Whenever I compile automatically because I saved a file, if the file is a mxml file, it takes the focus away where I was working and highlights the node root from there where I worked, as the script tag if I code actionscript. Outside what is frustrating, it often it several times throughout the compilation, so if I go back to where I was, and continue to work it often brings back me to the script tag still once.
I couldn't find any mention of this problem anywhere, and it never happened in version 4.0. I use the standalone version. Anyone has an idea why it is doing this, and suggestions on how to fix it? It gets really irritating and counterproductive.
Thank you
Looks like you're facing https://bugs.adobe.com/jira/browse/FB-30213
A workaround is to disable design mode by activating / disabling window-> the design mode.
Maybe you are looking for
-
Satellite Pro A100: Why can not connect Internet with the net card
I can't connet Internet whith this net card, but I always connect it with a wireless network card
-
"Script editor" can not be changed or deleted because it is required by OS X.
Script editor has stopped working for me and hangs at startup, which need to be force quit. This problem started after a simple script that I wrote to manipulate a Numbers spreadsheet crashed. I fear that whatever caused the crash left Script Editor
-
My profile says "student", but this is a business... I use the program with the question in my daily tasks of work & desperately need a fix! I have a LaserJet Pro200 MFP m276nw color Windows 7 64 bit I get this message when I try to print from a prog
-
Error code 404 trying to update Family Tree maker
Have been looking for Family Tree Maker Update for Vista but it gave error code 404. Help, please. Thank you in advance.
-
HP Laserjet P1005 and Windows 7
Hello I tried to install the drivers for the printer Laserjet P1005 on my Windows 7 PC, but he does not want to install the drivers. This printer is totally incompatible with Windows 7? If so, HP will fix this compatibility issue? Thank you very much