The double quote did help AppHA to discover the SAP instance but now we are facing another problem.
AppHA seems to not able to identify this NetWeaver 7.0 Java only system with Service 00 (JC00) and Service 01 (SCS01)
I masked the host name with <host_name> and SAPSID with <SAPSID> in the following logs
The main message that catches my attention is this one below, I also encounter the similar message when I have SAP Solution Manager Diagnostics Agent 7.20 installed and I had to remove it before other configuration.
[[Thu Aug 16 2012 09:48:51 GMT-0700]] Executing Command: doDiscovery.pl?uniquenessFactor=Thu%20Aug%2016%2016%3A48%3A51%202012%20UTC
[[Thu Aug 16 2012 09:48:51 GMT-0700]] ID: SAPWin
[[Thu Aug 16 2012 09:48:53 GMT-0700]] ExecuteCommandActivity::httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=200 responseURL=null]
[[Thu Aug 16 2012 09:48:53 GMT-0700]] ExecuteCommandActivity::Received Data:
<Cmd><ID>SAPWin Discovery Data</ID><ReturnCode>1505</ReturnCode><Message>unable to discover 'InstType' for Instance SCS01 inside <SAPSID></Message></Cmd>
[[Thu Aug 16 2012 09:48:53 GMT-0700]] Command Execution Result:
<Cmd>
<ID>SAPWin Discovery Data</ID>
<ReturnCode>1505</ReturnCode>
<Message>unable to discover 'InstType' for Instance SCS01 inside <SAPSID></Message>
Full Log below
-----------------------------------------------------------------------------------------------------------
Logs Initialized. These Logs are only available while the wizard is running
[[Thu Aug 16 2012 09:48:46 GMT-0700]] Setting params =
[[Thu Aug 16 2012 09:48:46 GMT-0700]] Executing Command: doDiscovery.pl?uniquenessFactor=Thu%20Aug%2016%2016%3A48%3A46%202012%20UTC
[[Thu Aug 16 2012 09:48:46 GMT-0700]] ID: SupportedApplications
[[Thu Aug 16 2012 09:48:46 GMT-0700]] ExecuteCommandActivity::httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=200 responseURL=null]
[[Thu Aug 16 2012 09:48:46 GMT-0700]] ExecuteCommandActivity::Received Data:
<Cmd><ID>SupportedApplications Discovery Data</ID><ReturnCode>0</ReturnCode><Message></Message><Applications><Application><Name>AppHAConsole</Name><DisplayName>ApplicationHA Console</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for Symantec ApplicationHA Console running on the virtual machine.</p></body>]]></Desc></Application><Application><Name>CustomApplication</Name><DisplayName>Custom Application</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for custom services, processes, and storage mount points on a virtual machine.
You can either choose one or multiple components simultaneously.</p>
<ul><li>Configure multiple services and processes in a single wizard workflow</li><li>Configure storage monitoring to control storage availability on the virtual machine</li><li>Configure dependency to control orderly start and stop of components</li></ul></body>
]]></Desc></Application><Application><Name>Exch2010DB</Name><DisplayName>Microsoft Exchange Server 2010</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for Microsoft Exchange Server 2010 running on a virtual machine.</p><ul><li>Monitor and control the availability of Exchange databases on the virtual machine</li><li>Perform a graceful start and stop of Exchange databases and critical Exchange services</li></ul></body>]]></Desc></Application><Application><Name>ExchService2007</Name><DisplayName>Microsoft Exchange Server 2007</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for Microsoft Exchange Server 2007 on a virtual machine.</p>
<ul><li>Monitor and control the availability of Exchange roles on the virtual machine</li><li>Perform a graceful start and stop operation of Exchange roles</li></ul></body>]]></Desc></Application><Application><Name>FileShare</Name><DisplayName>FileShare</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for the file shares running on the virtual machine.</p>
<ul><li>Monitor and control high availability of the file shares</li><li>Perform a graceful start and stop operation of the file shares</li></ul></body>]]></Desc></Application><Application><Name>IIS</Name><DisplayName>Microsoft IIS</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for Microsoft Internet Information Service (IIS) running on a virtual machine.</p>
<ul><li>Monitor Web sites and the associated application pools configured on a virtual machine</li><li>Control the availability of Web sites and application pools on a virtual machine</li><li>Perform a graceful start and stop of IIS Web sites and associated application pools
</li></ul></body>]]></Desc></Application><Application><Name>OracleWin</Name><DisplayName>Oracle</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for Oracle databases and the associated listener processes running on a virtual machine.</p>
<ul><li>Monitor and control the availability of Oracle databases and the related listener processes on the virtual machine</li><li>Perform a graceful start and stop of Oracle databases and the related listener processes</li></ul>
<b>Note:</b> Before you click Next, ensure that the Oracle database instances and associated Listener processes are running.</body>]]></Desc></Application><Application><Name>PrintShare</Name><DisplayName>PrintShare</DisplayName><Desc><![CDATA[<body><p>Configure monitoring for the print shares running on the virtual machine.</p>
<ul><li>Monitor and control high availability of the shared printers</li><li>Perform a graceful start and stop operation of the shared printers</li></ul></body>]]></Desc></Application><Application><Name>SAPWin</Name><DisplayName>SAP</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for SAP NetWeaver or SAP Web Application Server running on a virtual machine.</p><+ul><li>Monitor and control the availability of SAP instances on the virtual machine</li><li>Perform a graceful start and stop of SAP instances</li></ul></body>]]></Desc></Application><Application><Name>SQLServer2005</Name><DisplayName>Microsoft SQL Server 2005</DisplayName><Desc><![CDATA[<body><p>Configure monitoring for the Microsoft SQL Server 2005 databases and associated services running on the virtual machine.</p>
<ul><li>Monitor SQL Server Agent service and SQL Server 2005 Analysis Services (SSAS)</li><li>Monitor and control high availability of the databases and services</li><li>Perform a graceful start and stop operation of the databases and services</li></ul>
<b>Note</b>: Before you go to the next panel, ensure that the SQL Server database instances and the associated services that you want to monitor are running.</body>]]></Desc></Application><Application><Name>SQLServer2008</Name><DisplayName>Microsoft SQL Server 2008</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for Microsoft SQL Server 2008 instances running on a virtual machine.</p>
<ul><li>Monitor SQL Database Engine service, Analysis service, and FILESTREAM</li><li>Monitor and control the availability of SQL databases on the virtual machine</li><li>Perform a graceful start and stop of SQL services and databases
</li></ul>
<b>Note</b>: Before you click Next, ensure that the SQL Server instances and the associated services (Agent, Analysis, and FILESTREAM) that you wish to monitor are running.</body>]]></Desc></Application><Application><Name>SharePointServer</Name><DisplayName>Microsoft SharePoint Server 2010</DisplayName><Desc><![CDATA[<body><p>Configure application monitoring for Microsoft SharePoint Server 2010 running on the virtual machine.</p>
<ul><li>Monitor and control high availability of Web Applications, Service Applications and services</li><li>Perform a graceful start and stop of Web Applications, Service Applications and services
</li></ul></body>]]></Desc></Application></Applications></Cmd>
[[Thu Aug 16 2012 09:48:46 GMT-0700]] Command Execution Result:
<Cmd>
<ID>SupportedApplications Discovery Data</ID>
<ReturnCode>0</ReturnCode>
<Message/>
<Applications>
<Application>
<Name>AppHAConsole</Name>
<DisplayName>ApplicationHA Console</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for Symantec ApplicationHA Console running on the virtual machine.</p></body>]]></Desc>
</Application>
<Application>
<Name>CustomApplication</Name>
<DisplayName>Custom Application</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for custom services, processes, and storage mount points on a virtual machine.
You can either choose one or multiple components simultaneously.</p>
<ul><li>Configure multiple services and processes in a single wizard workflow</li><li>Configure storage monitoring to control storage availability on the virtual machine</li><li>Configure dependency to control orderly start and stop of components</li></ul></body>
]]></Desc>
</Application>
<Application>
<Name>Exch2010DB</Name>
<DisplayName>Microsoft Exchange Server 2010</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for Microsoft Exchange Server 2010 running on a virtual machine.</p><ul><li>Monitor and control the availability of Exchange databases on the virtual machine</li><li>Perform a graceful start and stop of Exchange databases and critical Exchange services</li></ul></body>]]></Desc>
</Application>
<Application>
<Name>ExchService2007</Name>
<DisplayName>Microsoft Exchange Server 2007</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for Microsoft Exchange Server 2007 on a virtual machine.</p>
<ul><li>Monitor and control the availability of Exchange roles on the virtual machine</li><li>Perform a graceful start and stop operation of Exchange roles</li></ul></body>]]></Desc>
</Application>
<Application>
<Name>FileShare</Name>
<DisplayName>FileShare</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for the file shares running on the virtual machine.</p>
<ul><li>Monitor and control high availability of the file shares</li><li>Perform a graceful start and stop operation of the file shares</li></ul></body>]]></Desc>
</Application>
<Application>
<Name>IIS</Name>
<DisplayName>Microsoft IIS</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for Microsoft Internet Information Service (IIS) running on a virtual machine.</p>
<ul><li>Monitor Web sites and the associated application pools configured on a virtual machine</li><li>Control the availability of Web sites and application pools on a virtual machine</li><li>Perform a graceful start and stop of IIS Web sites and associated application pools
</li></ul></body>]]></Desc>
</Application>
<Application>
<Name>OracleWin</Name>
<DisplayName>Oracle</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for Oracle databases and the associated listener processes running on a virtual machine.</p>
<ul><li>Monitor and control the availability of Oracle databases and the related listener processes on the virtual machine</li><li>Perform a graceful start and stop of Oracle databases and the related listener processes</li></ul>
<b>Note:</b> Before you click Next, ensure that the Oracle database instances and associated Listener processes are running.</body>]]></Desc>
</Application>
<Application>
<Name>PrintShare</Name>
<DisplayName>PrintShare</DisplayName>
<Desc><![CDATA[<body><p>Configure monitoring for the print shares running on the virtual machine.</p>
<ul><li>Monitor and control high availability of the shared printers</li><li>Perform a graceful start and stop operation of the shared printers</li></ul></body>]]></Desc>
</Application>
<Application>
<Name>SAPWin</Name>
<DisplayName>SAP</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for SAP NetWeaver or SAP Web Application Server running on a virtual machine.</p><+ul><li>Monitor and control the availability of SAP instances on the virtual machine</li><li>Perform a graceful start and stop of SAP instances</li></ul></body>]]></Desc>
</Application>
<Application>
<Name>SQLServer2005</Name>
<DisplayName>Microsoft SQL Server 2005</DisplayName>
<Desc><![CDATA[<body><p>Configure monitoring for the Microsoft SQL Server 2005 databases and associated services running on the virtual machine.</p>
<ul><li>Monitor SQL Server Agent service and SQL Server 2005 Analysis Services (SSAS)</li><li>Monitor and control high availability of the databases and services</li><li>Perform a graceful start and stop operation of the databases and services</li></ul>
<b>Note</b>: Before you go to the next panel, ensure that the SQL Server database instances and the associated services that you want to monitor are running.</body>]]></Desc>
</Application>
<Application>
<Name>SQLServer2008</Name>
<DisplayName>Microsoft SQL Server 2008</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for Microsoft SQL Server 2008 instances running on a virtual machine.</p>
<ul><li>Monitor SQL Database Engine service, Analysis service, and FILESTREAM</li><li>Monitor and control the availability of SQL databases on the virtual machine</li><li>Perform a graceful start and stop of SQL services and databases
</li></ul>
<b>Note</b>: Before you click Next, ensure that the SQL Server instances and the associated services (Agent, Analysis, and FILESTREAM) that you wish to monitor are running.</body>]]></Desc>
</Application>
<Application>
<Name>SharePointServer</Name>
<DisplayName>Microsoft SharePoint Server 2010</DisplayName>
<Desc><![CDATA[<body><p>Configure application monitoring for Microsoft SharePoint Server 2010 running on the virtual machine.</p>
<ul><li>Monitor and control high availability of Web Applications, Service Applications and services</li><li>Perform a graceful start and stop of Web Applications, Service Applications and services
</li></ul></body>]]></Desc>
</Application>
</Applications>
</Cmd>
[[Thu Aug 16 2012 09:48:48 GMT-0700]] ConditionalNavigationActivity::executeActivity
[[Thu Aug 16 2012 09:48:48 GMT-0700]] Setting params =
[[Thu Aug 16 2012 09:48:48 GMT-0700]] Executing Command: doDiscovery.pl?uniquenessFactor=Thu%20Aug%2016%2016%3A48%3A48%202012%20UTC
[[Thu Aug 16 2012 09:48:48 GMT-0700]] ID: SAPWin
[[Thu Aug 16 2012 09:48:51 GMT-0700]] ExecuteCommandActivity::httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=200 responseURL=null]
[[Thu Aug 16 2012 09:48:51 GMT-0700]] ExecuteCommandActivity::Received Data:
<Cmd><ID>SAPWin Discovery Data</ID><ReturnCode>0</ReturnCode><Message></Message><DiscoveryData><Instance><Name>JC00 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\JC00\exe) (\\<host_name>\sapmnt)</Name></Instance><Instance><Name>SCS01 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\SCS01\exe) (\\<host_name>\sapmnt)</Name></Instance></DiscoveryData></Cmd>
[[Thu Aug 16 2012 09:48:51 GMT-0700]] Command Execution Result:
<Cmd>
<ID>SAPWin Discovery Data</ID>
<ReturnCode>0</ReturnCode>
<Message/>
<DiscoveryData>
<Instance>
<Name>JC00 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\JC00\exe) (\\<host_name>\sapmnt)</Name>
</Instance>
<Instance>
<Name>SCS01 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\SCS01\exe) (\\<host_name>\sapmnt)</Name>
</Instance>
</DiscoveryData>
</Cmd>
[[Thu Aug 16 2012 09:48:51 GMT-0700]] Re-Formatting SQL Discovery Output
[[Thu Aug 16 2012 09:48:51 GMT-0700]] Reformated XML
[[Thu Aug 16 2012 09:48:51 GMT-0700]] <Cmd>
<ID>SAPWin Discovery Data</ID>
<ReturnCode>0</ReturnCode>
<Message/>
<DiscoveryData>
<Instance>
<Name>JC00 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\JC00\exe) (\\<host_name>\sapmnt)</Name>
<Selected>true</Selected>
<SAPAdminPassword>
<Value/>
</SAPAdminPassword>
</Instance>
<Instance>
<Name>SCS01 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\SCS01\exe) (\\<host_name>\sapmnt)</Name>
<Selected>true</Selected>
<SAPAdminPassword>
<Value/>
</SAPAdminPassword>
</Instance>
</DiscoveryData>
</Cmd>
[[Thu Aug 16 2012 09:48:51 GMT-0700]] mapping SelectedAppID = SAPWin
[[Thu Aug 16 2012 09:48:51 GMT-0700]] mapped CmdInputs =
[[Thu Aug 16 2012 09:48:51 GMT-0700]] Setting params = <DiscoveryData>
<Instance>
<Name>JC00 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\JC00\exe) (\\<host_name>\sapmnt)</Name>
<Selected>true</Selected>
<SAPAdminPassword>
<Value/>
</SAPAdminPassword>
</Instance>
<Instance>
<Name>SCS01 (<SAPSID>) (<host_name>) (D:\usr\sap\<SAPSID>\SCS01\exe) (\\<host_name>\sapmnt)</Name>
<Selected>true</Selected>
<SAPAdminPassword>
<Value/>
</SAPAdminPassword>
</Instance>
</DiscoveryData>
[[Thu Aug 16 2012 09:48:51 GMT-0700]] Executing Command: doDiscovery.pl?uniquenessFactor=Thu%20Aug%2016%2016%3A48%3A51%202012%20UTC
[[Thu Aug 16 2012 09:48:51 GMT-0700]] ID: SAPWin
[[Thu Aug 16 2012 09:48:53 GMT-0700]] ExecuteCommandActivity::httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=200 responseURL=null]
[[Thu Aug 16 2012 09:48:53 GMT-0700]] ExecuteCommandActivity::Received Data:
<Cmd><ID>SAPWin Discovery Data</ID><ReturnCode>1505</ReturnCode><Message>unable to discover 'InstType' for Instance SCS01 inside <SAPSID></Message></Cmd>
[[Thu Aug 16 2012 09:48:53 GMT-0700]] Command Execution Result:
<Cmd>
<ID>SAPWin Discovery Data</ID>
<ReturnCode>1505</ReturnCode>
<Message>unable to discover 'InstType' for Instance SCS01 inside <SAPSID></Message>
</Cmd>
[[Thu Aug 16 2012 09:48:53 GMT-0700]] BaseApplicationSpecificWorkflowController.defaultActivityFailureHandler, Reversing the workflow
[[Thu Aug 16 2012 09:48:53 GMT-0700]] mapping SelectedAppID = SAPWin
[[Thu Aug 16 2012 09:48:53 GMT-0700]] mapped CmdInputs =
[[Thu Aug 16 2012 09:48:53 GMT-0700]] ConditionalNavigationActivity::subWorkflowReverseCompleteEventHandler