Hello so I noticed that my weekly SOI Full Export Backup script isn't working any longer.
The last working backup was before I updated to 4.2.
I have a batch file that would run every Friday at 12:00AM and run the following command:
====================
c:
set _day=%DATE:/=-%
cd "C:\Program Files (x86)\CA\SOI\tomcat\bin>"
WSSamServiceCmd -hlocalhost:7090 -usamuser -pEKdAb9adegtZkyoieLADL39VTh -aExport -s* -f"c:/%_day%-SOI_Full_Export.xml"
==================
Now when I run this batch file I get:
------------------------------------------------------
C:\Program Files (x86)\CA\SOI\tomcat\bin>WSSamServiceCmd -hlocalhost:7090 -usamuser -pEKd9dZKycQO9QfZJOnDL39VTh -aExport -s* -f"c:/Thu 06-27-2019-SOI_Full_Export.xml"
Executing WSSamServiceCmd .....
WSSamServiceCmd() - Web Service: localhost port: 7090
WSSamServiceCmd() - action: Export
WSSamServiceCmd() - Service: *
WSSamServiceCmd() - FileName: c:/Thu 06-27-2019-SOI_Full_Export.xml
Jun 27, 2019 10:10:02 AM com.sun.ws.management.transport.HttpClient readResponse
INFO: Response discarded: <!doctype html><html lang="en"><head><title>HTTP Status 500 ΓÇô Internal Server Error</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}</style></head><body><h1>HTTP Status 500 ΓÇô Internal Server Error</h1><hr class="line" /><p><b>Type</b> Status Report</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><hr class="line" /><h3>Apache Tomcat Version X</h3></body></html>
WSSamServiceCmd() - An error has occured during your enumerate operation: Content-Type of response is not acceptable: text/html;charset=utf-8
WSSamServiceCmd() - Web Service request failed....
Return code: 0
----------------------------------
This started after I upgraded to 4.2. The box was just rebooted this morning and all services are up and running fine but this command doesn't work. I tried the same command on my other SOI MGR lab box and get the same issue. I tried using the password in the '' also "" and it doesn't matter. It doesn't work.
Support (20017235) gave up after 1 attempt to help and suggested I open a community post for any possible ideas or suggestions here.
#soi4.2
------------------------------
Daniel Blanco
Enterprise Tools Architect
Alphaserve Technologies
------------------------------