<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Vijay Kandy</title>
	<atom:link href="http://www.vijaykandy.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vijaykandy.com</link>
	<description>Colorless green ideas sleep furiously</description>
	<lastBuildDate>Thu, 02 Feb 2012 05:58:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Windows Management Instrumentation (WMI) from Java by Nandakumar</title>
		<link>http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/comment-page-1/#comment-2007</link>
		<dc:creator>Nandakumar</dc:creator>
		<pubDate>Thu, 02 Feb 2012 05:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/?p=121#comment-2007</guid>
		<description>I want to take snapshot of virtual machine. I want to do with JInterop. But i dont know how to do. Method available in &quot;CreateVirtualSystemSnapshot Method of the Msvm_VirtualSystemManagementService Class&quot;. Please help me to do.

Thanks in advance
Nandakumar</description>
		<content:encoded><![CDATA[<p>I want to take snapshot of virtual machine. I want to do with JInterop. But i dont know how to do. Method available in &#8220;CreateVirtualSystemSnapshot Method of the Msvm_VirtualSystemManagementService Class&#8221;. Please help me to do.</p>
<p>Thanks in advance<br />
Nandakumar</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Management Instrumentation (WMI) from Java by Khan</title>
		<link>http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/comment-page-1/#comment-2006</link>
		<dc:creator>Khan</dc:creator>
		<pubDate>Tue, 24 Jan 2012 07:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/?p=121#comment-2006</guid>
		<description>Nice example,
I want to install .msi file on remote machine which is connected in networking.
so how can i accomplished this task using J-Interop?????????
please help me.</description>
		<content:encoded><![CDATA[<p>Nice example,<br />
I want to install .msi file on remote machine which is connected in networking.<br />
so how can i accomplished this task using J-Interop?????????<br />
please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pausing message delivery in WebSphere by Yogesh</title>
		<link>http://www.vijaykandy.com/2008/03/pausing-message-delivery-in-websphere/comment-page-1/#comment-2001</link>
		<dc:creator>Yogesh</dc:creator>
		<pubDate>Tue, 01 Nov 2011 19:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/archives/8#comment-2001</guid>
		<description>Hi Vijay,
Thanks for the reply....Last week, I solved that credentials issue for AdminService.invoke by using javax.security API with com.ibm.websphere.security API. This thread http://www.ibm.com/developerworks/forums/thread.jspa?threadID=205142 also have good example and that worked too...Thanks again.

Regards
Yogesh</description>
		<content:encoded><![CDATA[<p>Hi Vijay,<br />
Thanks for the reply&#8230;.Last week, I solved that credentials issue for AdminService.invoke by using javax.security API with com.ibm.websphere.security API. This thread <a href="http://www.ibm.com/developerworks/forums/thread.jspa?threadID=205142" rel="nofollow">http://www.ibm.com/developerworks/forums/thread.jspa?threadID=205142</a> also have good example and that worked too&#8230;Thanks again.</p>
<p>Regards<br />
Yogesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pausing message delivery in WebSphere by admin</title>
		<link>http://www.vijaykandy.com/2008/03/pausing-message-delivery-in-websphere/comment-page-1/#comment-2000</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 23 Oct 2011 16:19:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/archives/8#comment-2000</guid>
		<description>Yogesh,

Thanks for your comments. I&#039;d imagine instrumenting login services would be similar to instrumenting MQ services. Have you tried the authentication mechanism described in this thread? http://www.ibm.com/developerworks/forums/thread.jspa?threadID=205142

If you already have JAAS (or some other authorization mechanism) in your system, you can pass the principal and password instead of hard-coding those values. 

One of these days I&#039;ll write a complete solution.

Regards,
Vijay

P.S: Another link that may of help: http://www.ibm.com/developerworks/websphere/library/techarticles/0602_charpentier/0602_charpentier.html</description>
		<content:encoded><![CDATA[<p>Yogesh,</p>
<p>Thanks for your comments. I&#8217;d imagine instrumenting login services would be similar to instrumenting MQ services. Have you tried the authentication mechanism described in this thread? <a href="http://www.ibm.com/developerworks/forums/thread.jspa?threadID=205142" rel="nofollow">http://www.ibm.com/developerworks/forums/thread.jspa?threadID=205142</a></p>
<p>If you already have JAAS (or some other authorization mechanism) in your system, you can pass the principal and password instead of hard-coding those values. </p>
<p>One of these days I&#8217;ll write a complete solution.</p>
<p>Regards,<br />
Vijay</p>
<p>P.S: Another link that may of help: <a href="http://www.ibm.com/developerworks/websphere/library/techarticles/0602_charpentier/0602_charpentier.html" rel="nofollow">http://www.ibm.com/developerworks/websphere/library/techarticles/0602_charpentier/0602_charpentier.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Pausing message delivery in WebSphere by Yogesh</title>
		<link>http://www.vijaykandy.com/2008/03/pausing-message-delivery-in-websphere/comment-page-1/#comment-1998</link>
		<dc:creator>Yogesh</dc:creator>
		<pubDate>Fri, 21 Oct 2011 21:00:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/archives/8#comment-1998</guid>
		<description>Hi Vijay, Really a nice solution for MBean operations. But its missing the permission issue when Global Security is on in WAS.
Do you have any idea how to supply the credentials so that AdminService.invoke does execute properly without this permission issue: 


RoleBasedAuth A   SECJ0305I: The role-based authorization check failed for admin-authz operation J2CMessageEndpoint:pause.  The user UNAUTHENTICATED (unique ID: unauthenticated) was not granted any of the following required roles: operator, administrator.
FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_1e84ac3_11.10.21_16.49.51.553774676020635731233.txt com.ibm.ws.management.AdminServiceImpl.invoke 693
LocalExceptio E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method &quot;onMessage&quot; on bean &quot;BeanId(claim_message_process#claim_message_processEJB.jar#ClaimMsgReceiverMdb, null)&quot;. Exception data: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the pause operation on J2CMessageEndpoint MBean because of insufficient or empty credentials.</description>
		<content:encoded><![CDATA[<p>Hi Vijay, Really a nice solution for MBean operations. But its missing the permission issue when Global Security is on in WAS.<br />
Do you have any idea how to supply the credentials so that AdminService.invoke does execute properly without this permission issue: </p>
<p>RoleBasedAuth A   SECJ0305I: The role-based authorization check failed for admin-authz operation J2CMessageEndpoint:pause.  The user UNAUTHENTICATED (unique ID: unauthenticated) was not granted any of the following required roles: operator, administrator.<br />
FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_1e84ac3_11.10.21_16.49.51.553774676020635731233.txt com.ibm.ws.management.AdminServiceImpl.invoke 693<br />
LocalExceptio E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method &#8220;onMessage&#8221; on bean &#8220;BeanId(claim_message_process#claim_message_processEJB.jar#ClaimMsgReceiverMdb, null)&#8221;. Exception data: javax.management.JMRuntimeException: ADMN0022E: Access is denied for the pause operation on J2CMessageEndpoint MBean because of insufficient or empty credentials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Management Instrumentation (WMI) from Java by admin</title>
		<link>http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/comment-page-1/#comment-1995</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 14 Oct 2011 01:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/?p=121#comment-1995</guid>
		<description>@Brad,

Is the &quot;Remote Registry&quot; service running on the target machine? Does this thread help?
http://sourceforge.net/projects/j-interop/forums/forum/600729/topic/3515637</description>
		<content:encoded><![CDATA[<p>@Brad,</p>
<p>Is the &#8220;Remote Registry&#8221; service running on the target machine? Does this thread help?<br />
<a href="http://sourceforge.net/projects/j-interop/forums/forum/600729/topic/3515637" rel="nofollow">http://sourceforge.net/projects/j-interop/forums/forum/600729/topic/3515637</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Management Instrumentation (WMI) from Java by brad</title>
		<link>http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/comment-page-1/#comment-1994</link>
		<dc:creator>brad</dc:creator>
		<pubDate>Fri, 14 Oct 2011 01:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/?p=121#comment-1994</guid>
		<description>please Admin help me</description>
		<content:encoded><![CDATA[<p>please Admin help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Management Instrumentation (WMI) from Java by brad</title>
		<link>http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/comment-page-1/#comment-1993</link>
		<dc:creator>brad</dc:creator>
		<pubDate>Thu, 13 Oct 2011 00:08:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/?p=121#comment-1993</guid>
		<description>I copied your code but I have this error
org.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:102)
	at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:122)
	at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:154)
	at org.jinterop.dcom.core.JIComServer.(JIComServer.java:395)
	at SimpleServiceManager.manageService(SimpleServiceManager.java:97)
	at SimpleServiceManager.stop(SimpleServiceManager.java:69)
	at SimpleServiceManager.main(SimpleServiceManager.java:43)
Caused by: jcifs.smb.SmbException: The system cannot find the file specified.
	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:522)
	at jcifs.smb.SmbTransport.send(SmbTransport.java:622)
	at jcifs.smb.SmbSession.send(SmbSession.java:239)
	at jcifs.smb.SmbTree.send(SmbTree.java:109)
	at jcifs.smb.SmbFile.send(SmbFile.java:718)
	at jcifs.smb.SmbFile.open0(SmbFile.java:923)
	at jcifs.smb.SmbFile.open(SmbFile.java:940)
	at jcifs.smb.SmbFileOutputStream.(SmbFileOutputStream.java:142)
	at jcifs.smb.TransactNamedPipeOutputStream.(TransactNamedPipeOutputStream.java:32)
	at jcifs.smb.SmbNamedPipe.getNamedPipeOutputStream(SmbNamedPipe.java:187)
	at rpc.ncacn_np.RpcTransport.attach(RpcTransport.java:91)
	at rpc.Stub.attach(Stub.java:105)
	at rpc.Stub.call(Stub.java:109)
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:100)</description>
		<content:encoded><![CDATA[<p>I copied your code but I have this error<br />
org.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC0000034<br />
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:102)<br />
	at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:122)<br />
	at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:154)<br />
	at org.jinterop.dcom.core.JIComServer.(JIComServer.java:395)<br />
	at SimpleServiceManager.manageService(SimpleServiceManager.java:97)<br />
	at SimpleServiceManager.stop(SimpleServiceManager.java:69)<br />
	at SimpleServiceManager.main(SimpleServiceManager.java:43)<br />
Caused by: jcifs.smb.SmbException: The system cannot find the file specified.<br />
	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:522)<br />
	at jcifs.smb.SmbTransport.send(SmbTransport.java:622)<br />
	at jcifs.smb.SmbSession.send(SmbSession.java:239)<br />
	at jcifs.smb.SmbTree.send(SmbTree.java:109)<br />
	at jcifs.smb.SmbFile.send(SmbFile.java:718)<br />
	at jcifs.smb.SmbFile.open0(SmbFile.java:923)<br />
	at jcifs.smb.SmbFile.open(SmbFile.java:940)<br />
	at jcifs.smb.SmbFileOutputStream.(SmbFileOutputStream.java:142)<br />
	at jcifs.smb.TransactNamedPipeOutputStream.(TransactNamedPipeOutputStream.java:32)<br />
	at jcifs.smb.SmbNamedPipe.getNamedPipeOutputStream(SmbNamedPipe.java:187)<br />
	at rpc.ncacn_np.RpcTransport.attach(RpcTransport.java:91)<br />
	at rpc.Stub.attach(Stub.java:105)<br />
	at rpc.Stub.call(Stub.java:109)<br />
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:100)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Management Instrumentation (WMI) from Java by admin</title>
		<link>http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/comment-page-1/#comment-1988</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 30 Sep 2011 01:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/?p=121#comment-1988</guid>
		<description>@Nalaka, thanks for the comments. Sorry I couldn&#039;t reply in time.

@wail Salem, are you using a domain to login (as in DOMAIN\\username)?</description>
		<content:encoded><![CDATA[<p>@Nalaka, thanks for the comments. Sorry I couldn&#8217;t reply in time.</p>
<p>@wail Salem, are you using a domain to login (as in DOMAIN\\username)?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Windows Management Instrumentation (WMI) from Java by wail Salem</title>
		<link>http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/comment-page-1/#comment-1987</link>
		<dc:creator>wail Salem</dc:creator>
		<pubDate>Thu, 29 Sep 2011 22:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.vijaykandy.com/?p=121#comment-1987</guid>
		<description>You example was great,
but whenever I try to run the example it gives me 


C:\Oracle\Middleware\jdk160_24\bin\javaw.exe -client -classpath &quot;C:\JDeveloper\mywork\WMI\.adf;C:\JDeveloper\mywork\WMI\Client\classes;C:\Documents and Settings\husseinw\My Documents\Downloads\Java\Controls\j-Interop_2_08\j-Interop\lib\j-interop.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\Java\Controls\j-Interop_2_08\j-Interop\lib\j-interopdeps.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\Java\Controls\j-Interop_2_08\j-Interop\lib\jcifs-1.2.19.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\oshi-1.0\bin\jna.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\oshi-1.0\bin\oshi-core.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\oshi-1.0\bin\platform.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\hyperic-sigar-1.6.4\hyperic-sigar-1.6.4\sigar-bin\lib\log4j.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\hyperic-sigar-1.6.4\hyperic-sigar-1.6.4\sigar-bin\lib\sigar.jar&quot; -Djavax.net.ssl.trustStore=C:\DOCUME~1\husseinw\LOCALS~1\Temp\trustStore6299148114482935867.jks PrintInstances
org.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC000005E
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:115)
	at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:130)
	at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:162)
	at org.jinterop.dcom.core.JIComServer.(JIComServer.java:413)
	at PrintInstances.main(PrintInstances.java:44)
Caused by: jcifs.smb.SmbException: There are currently no logon servers available to service the logon request.
	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:522)
	at jcifs.smb.SmbTransport.send(SmbTransport.java:622)
	at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:280)
	at jcifs.smb.SmbSession.send(SmbSession.java:233)
	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154)
	at jcifs.smb.SmbFile.doConnect(SmbFile.java:847)
	at jcifs.smb.SmbFile.connect(SmbFile.java:890)
	at jcifs.smb.SmbFile.connect0(SmbFile.java:816)
	at jcifs.smb.SmbFileInputStream.(SmbFileInputStream.java:73)
	at jcifs.smb.SmbFileInputStream.(SmbFileInputStream.java:62)
	at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2765)
	at rpc.ncacn_np.RpcTransport.attach(RpcTransport.java:91)
	at rpc.Stub.attach(Stub.java:106)
	at rpc.Stub.call(Stub.java:110)
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:113)
	... 4 more
Process exited with exit code 0.




would you please help in this.</description>
		<content:encoded><![CDATA[<p>You example was great,<br />
but whenever I try to run the example it gives me </p>
<p>C:\Oracle\Middleware\jdk160_24\bin\javaw.exe -client -classpath &#8220;C:\JDeveloper\mywork\WMI\.adf;C:\JDeveloper\mywork\WMI\Client\classes;C:\Documents and Settings\husseinw\My Documents\Downloads\Java\Controls\j-Interop_2_08\j-Interop\lib\j-interop.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\Java\Controls\j-Interop_2_08\j-Interop\lib\j-interopdeps.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\Java\Controls\j-Interop_2_08\j-Interop\lib\jcifs-1.2.19.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\oshi-1.0\bin\jna.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\oshi-1.0\bin\oshi-core.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\oshi-1.0\bin\platform.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\hyperic-sigar-1.6.4\hyperic-sigar-1.6.4\sigar-bin\lib\log4j.jar;C:\Documents and Settings\husseinw\My Documents\Downloads\hyperic-sigar-1.6.4\hyperic-sigar-1.6.4\sigar-bin\lib\sigar.jar&#8221; -Djavax.net.ssl.trustStore=C:\DOCUME~1\husseinw\LOCALS~1\Temp\trustStore6299148114482935867.jks PrintInstances<br />
org.jinterop.dcom.common.JIException: Message not found for errorCode: 0xC000005E<br />
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:115)<br />
	at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:130)<br />
	at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:162)<br />
	at org.jinterop.dcom.core.JIComServer.(JIComServer.java:413)<br />
	at PrintInstances.main(PrintInstances.java:44)<br />
Caused by: jcifs.smb.SmbException: There are currently no logon servers available to service the logon request.<br />
	at jcifs.smb.SmbTransport.checkStatus(SmbTransport.java:522)<br />
	at jcifs.smb.SmbTransport.send(SmbTransport.java:622)<br />
	at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:280)<br />
	at jcifs.smb.SmbSession.send(SmbSession.java:233)<br />
	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:154)<br />
	at jcifs.smb.SmbFile.doConnect(SmbFile.java:847)<br />
	at jcifs.smb.SmbFile.connect(SmbFile.java:890)<br />
	at jcifs.smb.SmbFile.connect0(SmbFile.java:816)<br />
	at jcifs.smb.SmbFileInputStream.(SmbFileInputStream.java:73)<br />
	at jcifs.smb.SmbFileInputStream.(SmbFileInputStream.java:62)<br />
	at jcifs.smb.SmbFile.getInputStream(SmbFile.java:2765)<br />
	at rpc.ncacn_np.RpcTransport.attach(RpcTransport.java:91)<br />
	at rpc.Stub.attach(Stub.java:106)<br />
	at rpc.Stub.call(Stub.java:110)<br />
	at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenHKLM(JIWinRegStub.java:113)<br />
	&#8230; 4 more<br />
Process exited with exit code 0.</p>
<p>would you please help in this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

