0% found this document useful (0 votes)
50 views2 pages

Untitled

The document describes a shell script plugin that was run to execute an import script. The plugin set some environment variables and paths, then executed the import script passing in a properties file. The import script made some additional environment changes and executed the main import process, logging the output to a file. The overall process configured the environment and executed an import of some type of data.

Uploaded by

peter
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views2 pages

Untitled

The document describes a shell script plugin that was run to execute an import script. The plugin set some environment variables and paths, then executed the import script passing in a properties file. The import script made some additional environment changes and executed the main import process, logging the output to a file. The overall process configured the environment and executed an import of some type of data.

Uploaded by

peter
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

================================================================================

plugin: Shell, id: com.urbancode.air.plugin.Shell, version: 9


plugin command: 'cmd' '/C' '"D:\urbandeploy-inst\agent\opt\groovy-1.8.8\bin\
groovy.bat -cp "D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\classes;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\shell.jar;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\CommonsUtil.jar;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\log4j.jar;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\NativeProcess.jar;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\WinAPI.jar;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\securedata.jar;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\jettison-1.1.jar;D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\lib\commons-codec.jar" D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed\shell.groovy D:\urbandeploy-inst\agent\var\temp\
logs6261022311119685553\input.props D:\urbandeploy-inst\agent\var\temp\
logs6261022311119685553\output.props"'
working directory: D:\VRS\VDeveloper\Java\data
properties:
PLUGIN_INPUT_PROPS=D:\urbandeploy-inst\agent\var\temp\logs6261022311119685553\
input.props
PLUGIN_OUTPUT_PROPS=D:\urbandeploy-inst\agent\var\temp\logs6261022311119685553\
output.props
directoryOffset=.
outputFile=
runAsDaemon=false
scriptBody=set JAVA_HOME=D:\VRS\Java\jdk1.8.0_202
set Path=D:\Oracle12\product\12.1.0\client_1\bin;D:\VRS\Java\jdk1.8.0_202\bin;C:\
Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\
WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\
Import_Script.bat D:\VRS\VDeveloper\Java\data\_Import_Inst_2.properties
shellInterpreter=
environment:
AGENT_HOME=D:\urbandeploy-inst\agent
AH_AUTH_TOKEN=****
AH_WEB_URL=https://inst.urbandeploy.uk.fid-intl.com:8443
AUTH_TOKEN=****
DS_AUTH_TOKEN=****
DS_SYSTEM_ENCODING=Cp1252
JAVA_OPTS=-Dfile.encoding=Cp1252 -Dconsole.encoding=Cp1252
PLUGIN_HOME=D:\urbandeploy-inst\agent\var\plugins\
com.urbancode.air.plugin.Shell_9_56774f414df3906989c0bf22a65b086b539536a8ee20d3ba56
7756e7fff0d4ed
UCD_USE_ENCRYPTED_PROPERTIES=true
UD_DIALOGUE_ID=27a752fb-1e5d-45d8-8884-1d44b8483de5
WE_ACTIVITY_ID=1838853f-9768-3c67-97c2-c279943118fe
================================================================================

command line: C:\Users\SVCVRS~1\AppData\Local\Temp\


shell_command_1369636801187569057.bat
script content:
-------------------------------
set JAVA_HOME=D:\VRS\Java\jdk1.8.0_202
set Path=D:\Oracle12\product\12.1.0\client_1\bin;D:\VRS\Java\jdk1.8.0_202\bin;C:\
Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\
WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance
Toolkit\
Import_Script.bat D:\VRS\VDeveloper\Java\data\_Import_Inst_2.properties
-------------------------------
working directory: D:\VRS\VDeveloper\Java\data
===============================
command output:

D:\VRS\VDeveloper\Java\data>set JAVA_HOME=D:\VRS\Java\jdk1.8.0_202

D:\VRS\VDeveloper\Java\data>set Path=D:\Oracle12\product\12.1.0\client_1\bin;D:\
VRS\Java\jdk1.8.0_202\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\
Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows
Kits\8.1\Windows Performance Toolkit\

D:\VRS\VDeveloper\Java\data>Import_Script.bat D:\VRS\VDeveloper\Java\data\
_Import_Inst_2.properties

D:\VRS\VDeveloper\Java\data>SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_144

D:\VRS\VDeveloper\Java\data>set PATH=D:\Oracle12\product\12.1.0\client_1\bin;D:\
VRS\Java\jdk1.8.0_202\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\
Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows
Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Java\jdk1.8.0_144\bin

D:\VRS\VDeveloper\Java\data>Rem Move to script drive location

D:\VRS\VDeveloper\Java\data>cd /D D:\VRS\VDeveloper\Java\data

D:\VRS\VDeveloper\Java\data>Rem Execute import script with trial run flag set as


True and store the output in a text file with date appended

D:\VRS\VDeveloper\Java\data>call vermilion-run-rt-import.bat "D:\VRS\VDeveloper\


Java\data\_Import_Inst_2.properties" "D:\VRS\VDeveloper\Java\ExpData" "Y" 1>D:\
VRS\VDeveloper\Java\ExpData\ScriptOut\Script_output_29_09_2022.txt
log4j:WARN No appenders could be found for logger
(com.vermilionsoftware.vrs3.common.ejb3.utility.EJB3ServiceLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
D:\VRS\VDeveloper\Java\ExpData\ScriptOut\Script_output_29_09_2022.txt
===============================
command exit code: 1

You might also like