Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest 'https://download.sos-berlin.com/JobScheduler.2.2/js7_joc_linux.2.2.3.JS-1984.tar.gz' -Outfile /tmp/js7_joc_linux.2.2.3.JS-1984.tar.gz
./Install-JS7Joc.ps1 `
-Tarball /tmp/js7_joc_unix.2.2.3.JS-1984.tar.gz `
-Patch JS-1984 `
-HomeDir /home/sos/joc `
-HttpPort 4446 `
-JavaHome /opt/java/jdk-11.0.2+9 `
-ExecStart StartService `
-ExecStop StopService
# downloads the patch tarball from the SOS Web Site using Invoke-WebRequest
# extracts the tarball to the JOC Cockpit's data directory assuming that this corresponds to the home directory
# stores the patch files to the JOC Cockpit's <data>/webapps/joc/WEB-INF/classes sub-directory
# stops and starts the JOC Cockpit's systemd service |
...
Patch from
...
.jar File
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest 'https://download.sos-berlin.com/JobScheduler.2.2/patch-20220331-JS-1984-2.2.3.jar' -Outfile /tmp/patch-20220331-JS-1984-2.2.3.jar ./Install-JS7Joc.ps1 ` -Jar /tmp/patch-20220331-JS-1984-2.2.3.jar ` -Patch JS-1984 ` -HomeDir /home/sos/joc ` -HttpPort 4446 ` -JavaHome /opt/java/jdk-11.0.2+9 ` -ExecStart StartService ` -ExecStop StopService # downloads the patch .jar file from the SOS Web Site using Invoke-WebRequest # stores the patch .jar file to the JOC Cockpit's <data>/webapps/joc/WEB-INF/classes sub-directory # stops and starts the JOC Cockpit's systemd service |
Patch JOC Cockpit for Windows
Patch from Download
Code Block | ||||
---|---|---|---|---|
| ||||
./Install-JS7Joc.ps1 `
-Release 2.2.3 `
-Patch JS-1984 `
-HomeDir "C:\Program Files\sos-berlin.com\js7\joc" `
-Data "C:\ProgramData\sos-berlin.com\js7\joc" `
-HttpPort 4446 `
-JavaHome "C:\Program Files\Java\jdk-11.0.2+9" `
-ExecStart StartService `
-ExecStop StopService
# downloads the patch tarball from the SOS Web Site
# extracts the tarball to the JOC Cockpit's data directory
# stores the patch files to the JOC Cockpit's <data>\webapps\joc\WEB-INF\classes sub-directory
# stops and starts the JOC Cockpit's Windows service |
Patch from .zip Archive
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest 'https://download.sos-berlin.com/JobScheduler.2.2/js7_joc_windows.2.2.3.JS-1984.zip' -Outfile C:\tmp\js7_joc_windows.2.2.3.JS-1984.zip ./Install-JS7CJoc.ps1 ` -Tarball "C:\tmp\js7_joc_windows.2.2.3.JS-1984.zip"Release 2.2.3 ` -Patch JS-1984 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\joc" ` -Data "C:\ProgramData\sos-berlin.com\js7\joc" ` -HttpPort 4446 ` -JavaHome "C:\Program Files\Java\jdk-11.0.2+9" ` -ExecStart StartService ` -ExecStop StopService # downloads the patch tarball from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the JOC Cockpit's data directory # stores the patch files to the JOC Cockpit's <data>\webapps\joc\WEB-INF\classes sub-directory # stops and starts the JOC Cockpit's Windows service |
Patch from .
...
jar File
Code Block | ||||
---|---|---|---|---|
| ||||
Invoke-WebRequest 'https://download.sos-berlin.com/JobScheduler.2.2/js7_joc_windows.patch-20220331-JS-1984-2.2.3.JS-1984.zipjar' -Outfile C:\tmp\js7_joc_windows.patch-20220331-JS-1984-2.2.3.JS-1984.zipjar ./Install-JS7CJoc.ps1 ` -TarballJar "C:\tmp\js7_joc_windows.patch-20220331-JS-1984-2.2.3.JS-1984.zipjar" ` -Patch JS-1984 ` -HomeDir "C:\Program Files\sos-berlin.com\js7\joc" ` -Data "C:\ProgramData\sos-berlin.com\js7\joc" ` -HttpPort 4446 ` -JavaHome "C:\Program Files\Java\jdk-11.0.2+9" ` -ExecStart StartService ` -ExecStop StopService # downloads the patch tarball.jar file from the SOS Web Site using Invoke-WebRequest # extracts the tarball to the JOC Cockpit's data directory # stores the patch .jar filesfile to the JOC Cockpit's <data>\webapps\joc\WEB-INF\classes sub-directory # stops and starts the JOC Cockpit's Windows service |
...
Overview
Content Tools