<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: iCommand and xacuteQuery Error in Product Lifecycle Management Q&amp;A</title>
    <link>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509412#M30490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some difficulties to post code samples.&lt;/P&gt;&lt;P&gt;this is NW log &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full Message Text &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;application [XMII] Processing HTTP request to servlet [Illuminator] finished with error. &lt;/P&gt;&lt;P&gt;The error is: com.sap.xmii.Illuminator.logging.LHException&lt;STRONG&gt;: Server name cannot be blank; enter a server name&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Exception id: [005056A1442F006B000004D900000A2800047B4EAEF53E61] &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   info 2009-12-22 11:29:30:507 ACCESS.OK: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : guests].&lt;/P&gt;&lt;P&gt; /System/Security/Audit/J2EE com.sap.engine.services.security.roles.SecurityRoleImpl sap.com/xapps&lt;SUB&gt;xmii&lt;/SUB&gt;ear sita1801m1 Server 0 2_20262 &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;Full Message Text &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ACCESS.OK: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : guests].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Dec 2009 11:15:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-22T11:15:19Z</dc:date>
    <item>
      <title>iCommand and xacuteQuery Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaq-p/6509411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use and iCommand to invoke a BLS Transaction via xacuteQuery&lt;/P&gt;&lt;P&gt;Everything works till the exacuteQuery. When I execute the icommand i receive the error &lt;STRONG&gt;Server name cannot be blank; enter a server name&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&lt;/P&gt;&lt;P&gt;MII 12.0.5&lt;/P&gt;&lt;P&gt;Any help is really appreciated!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 11:11:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaq-p/6509411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-22T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: iCommand and xacuteQuery Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509412#M30490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some difficulties to post code samples.&lt;/P&gt;&lt;P&gt;this is NW log &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full Message Text &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;application [XMII] Processing HTTP request to servlet [Illuminator] finished with error. &lt;/P&gt;&lt;P&gt;The error is: com.sap.xmii.Illuminator.logging.LHException&lt;STRONG&gt;: Server name cannot be blank; enter a server name&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Exception id: [005056A1442F006B000004D900000A2800047B4EAEF53E61] &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   info 2009-12-22 11:29:30:507 ACCESS.OK: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : guests].&lt;/P&gt;&lt;P&gt; /System/Security/Audit/J2EE com.sap.engine.services.security.roles.SecurityRoleImpl sap.com/xapps&lt;SUB&gt;xmii&lt;/SUB&gt;ear sita1801m1 Server 0 2_20262 &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;Full Message Text &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ACCESS.OK: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : guests].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 11:15:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509412#M30490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-22T11:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: iCommand and xacuteQuery Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509413#M30491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mauro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that you are using the Xacute Query. There server name is not required. In your case you might be going throug the  SQL Query with Command Mode.Thats why you are getting this error.So go to Xacute Query,server will be Xacute Connector,select Query Mode and select the particular transaction in Transaction Tab and run the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another chance might be the Xacute Connector acces is not mapped to the user or role from which you are using. Just map the Xacute Connector server to the user or role you are using. For this  do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) SAP xMII Administration Menu screen, choose Security Services -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;gt; Data Access.&lt;/P&gt;&lt;P&gt;2) Select Xacute Connector server from the dropdown list.&lt;/P&gt;&lt;P&gt;3) Select a role and use the arrow buttons to add it to or remove it from the Roles Assigned to Server list.&lt;/P&gt;&lt;P&gt;4) Save the changes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Suresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suresh Hiremath on Dec 22, 2009 12:29 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 11:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509413#M30491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-22T11:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: iCommand and xacuteQuery Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509414#M30492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved.&lt;/P&gt;&lt;P&gt;It was a mistake in the HTML code : I wrote mayscript="&lt;/P&gt;&lt;P&gt;However the Suresh's response was really helpful to confirm me that i did the whole steps in the right way.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 11:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509414#M30492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-22T11:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: iCommand and xacuteQuery Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509415#M30493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mauro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To shed some light on the error "Server name cannot be blank..."  --&amp;gt;  all applets use their query template and when processed look for either Service (Admin, SystemInfo, etc.) then Server (Simulator, XacuteConnector, etc.) so I would speculate that you had a typo in the path to the query template itself (or perhaps didn't have one defined at all).  If a template is missing I would also expect errors in the NW logs about not being able to find the template in the db, but if it's not found and the query is processed (essentially an empty query) you will get this server name blank error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could be mistaken, but I would also expect that mayscript issues would only impact you when trying to use the applet events to call javascript functions and this would also lead to errors in the java console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you had permission issues to use the service or data server defined in the template, you would typically receive a "Not Authorized" type of error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this aids anyone running into similar troubleshooting situations in the future - I am glad to see that you started by looking into the logs &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeremy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2009 14:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509415#M30493</guid>
      <dc:creator>jcgood25</dc:creator>
      <dc:date>2009-12-22T14:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: iCommand and xacuteQuery Error</title>
      <link>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509416#M30494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jeremy.&lt;/P&gt;&lt;P&gt;As you said, I found the mistake seeing NetWeaver error log. The root problem, however, was the typo in the &amp;lt;applet&amp;gt; tag, I wrote mayscript=" and this prevented the correct execution of the iCommand applet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the wrong code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;applet name="myCommand" codebase="/XMII/Classes" code="iCommand" archive="illum8.zip" mayscript="&amp;gt;
	&amp;lt;param name="QueryTemplate" value="TestICommand/Query/xacute_testTransaction"/&amp;gt;
&amp;lt;/applet&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2009 08:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/product-lifecycle-management-q-a/icommand-and-xacutequery-error/qaa-p/6509416#M30494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-23T08:22:28Z</dc:date>
    </item>
  </channel>
</rss>

