<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NewJokeCity &#187; WebSphere</title>
	<atom:link href="http://www.newjokecity.com/category/websphere/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.newjokecity.com</link>
	<description>TechNews from the city of NewJoke</description>
	<lastBuildDate>Wed, 18 Aug 2010 13:29:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Dump a JVM configuration using Jython</title>
		<link>http://www.newjokecity.com/2009/08/dump-a-jvm-configuration-using-jython/</link>
		<comments>http://www.newjokecity.com/2009/08/dump-a-jvm-configuration-using-jython/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 14:59:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.newjokecity.com/?p=61</guid>
		<description><![CDATA[Dump a jvm configuration using jython server = AdminConfig.getid(&#8216;/Server:yourServerName/&#8217;) jvm = AdminConfig.list(&#8216;JavaVirtualMachine&#8217;,server) print AdminConfig.show(jvm) or print AdminConfig.showall(jvm) or print AdminConfig.showAttribute(jvm,&#8217;systemProperties&#8217;) Print]]></description>
			<content:encoded><![CDATA[<p>Dump a jvm configuration using jython<br />
server = AdminConfig.getid(&#8216;/Server:yourServerName/&#8217;)<br />
jvm = AdminConfig.list(&#8216;JavaVirtualMachine&#8217;,server)<br />
print AdminConfig.show(jvm)<br />
or<br />
print AdminConfig.showall(jvm)<br />
or<br />
print AdminConfig.showAttribute(jvm,&#8217;systemProperties&#8217;)<br />
<span style="color: blue;"><br />
</span></p>
<a id="pwyl_print_button" href="http://www.printwhatyoulike.com/" onclick="javascript:(function(){window._pwyl_home='http://www.printwhatyoulike.com/';window._pwyl_print_button=document.createElement('script');window._pwyl_print_button.setAttribute('type','text/javascript');window._pwyl_print_button.setAttribute('src',window._pwyl_home+'js/print_button/');window._pwyl_print_button.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(window._pwyl_print_button);document.body.style.cursor='progress';document.getElementById('pwyl_print_button').style.cursor='progress';})();return false;" title="Print this page" style="text-decoration: none;"><span style="text-decoration: none; color: #719a11;">Print</span></a>]]></content:encoded>
			<wfw:commentRss>http://www.newjokecity.com/2009/08/dump-a-jvm-configuration-using-jython/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ImportError: no module named (WebSphere wsadmin)</title>
		<link>http://www.newjokecity.com/2009/05/importerror-no-module-named-websphere-wsadmin/</link>
		<comments>http://www.newjokecity.com/2009/05/importerror-no-module-named-websphere-wsadmin/#comments</comments>
		<pubDate>Thu, 07 May 2009 14:03:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.newjokecity.com/?p=40</guid>
		<description><![CDATA[WASX7015E: Exception running command: &#8220;os.remove(&#8220;E:\san\EARDeploymentProject\AppName.txt&#8221;)&#8221;; exception information: com.ibm.bsf.BSFException: exception from Jython: Traceback (innermost last): File &#8220;&#60;input&#62;&#8221;, line 1, in ? ImportError: no module named javaos or errors like ImportError: no module named fnmatch &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Solution: 1. WebSphere v6.1 execution and debugging Because WebSphere v6.1 now includes the complete Jython Lib within &#60;WASROOT&#62;\optionalLibraries\jython, the converted wsadmin [...]]]></description>
			<content:encoded><![CDATA[<p>WASX7015E: Exception running command: &#8220;os.remove(&#8220;E:\san\EARDeploymentProject\AppName.txt&#8221;)&#8221;; exception information:</p>
<p>com.ibm.bsf.BSFException: exception from Jython: Traceback (innermost last):</p>
<p>File &#8220;&lt;input&gt;&#8221;, line 1, in ?</p>
<p>ImportError: no module named javaos</p>
<p>or errors like</p>
<p>ImportError: no module named fnmatch</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Solution:</p>
<p>1. WebSphere v6.1 execution and debugging</p>
<p>Because WebSphere v6.1 now includes the complete Jython Lib within &lt;WASROOT&gt;\optionalLibraries\jython, the converted wsadmin Jython scripts have full access to all the Jython library functions. And, because the debugging module pdb.py is in that Lib, the v6.1 Application Server Toolkit (AST) Jython Debugger can debug wsadmin Jython programs using a local WebSphere v6.1 installation, and this is fully supported.</p>
<p>2. WebSphere v5.1 or v6.0 execution</p>
<p>Older WebSphere v5.1 and v6.0 only included the core jython.jar and did not reship the Jython library Lib directory. If your Jacl2Jython converted wsadmin Jython program makes use of any of the above runtime library functions, and if you attempt to run that Jython script on an older WebSphere v5.1 or v6.0 installation, then you will need to manually add a Jython Lib directory to the same location as the WebSphere jython.jar (typically &lt;WASROOT&gt;\lib for version 5.1, &lt;WASROOT&gt;\optionalLibraries for v6.0.0.0, &lt;WASROOT&gt;\optionalLibraries\jython for v6.0.0.2 or later. For maximum compatibility the Jython Lib directory should be copied from a WebSphere v6.1 (which uses the same Jython v2.1.3 distribution). However, since this is not the way the older WebSphere product was shipped, such a change is officially unsupported.</p>
<p>Found this solution on http://fixunix.com/websphere/365859-websphere-wsadmin-scripting-import-os-module-error-versionbelow-6-1-a.html</p>
<a id="pwyl_print_button" href="http://www.printwhatyoulike.com/" onclick="javascript:(function(){window._pwyl_home='http://www.printwhatyoulike.com/';window._pwyl_print_button=document.createElement('script');window._pwyl_print_button.setAttribute('type','text/javascript');window._pwyl_print_button.setAttribute('src',window._pwyl_home+'js/print_button/');window._pwyl_print_button.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(window._pwyl_print_button);document.body.style.cursor='progress';document.getElementById('pwyl_print_button').style.cursor='progress';})();return false;" title="Print this page" style="text-decoration: none;"><span style="text-decoration: none; color: #719a11;">Print</span></a>]]></content:encoded>
			<wfw:commentRss>http://www.newjokecity.com/2009/05/importerror-no-module-named-websphere-wsadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Site online</title>
		<link>http://www.newjokecity.com/2008/12/new-site-online/</link>
		<comments>http://www.newjokecity.com/2008/12/new-site-online/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 20:41:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://www.newjokecity.com/?p=35</guid>
		<description><![CDATA[My new website flexarea.com is online. Here you can try our videoconference application and soon i will be adding a chat application. You can visit the site here Print]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_37" class="wp-caption alignnone" style="width: 58px"><a href="http://www.newjokecity.com/wp-content/uploads/2008/12/small-logo-flexarea.gif"><img src="http://www.newjokecity.com/wp-content/uploads/2008/12/small-logo-flexarea.gif" alt="Flexarea" title="small-logo-flexarea" width="48" height="54" class="size-medium wp-image-37" /></a><p class="wp-caption-text">Flexarea</p></div><br />
My new website flexarea.com is online. Here you can try our videoconference application and soon i will be adding a chat application. You can visit the site <a href="http://www.flexarea.com">here</a></p>
<a id="pwyl_print_button" href="http://www.printwhatyoulike.com/" onclick="javascript:(function(){window._pwyl_home='http://www.printwhatyoulike.com/';window._pwyl_print_button=document.createElement('script');window._pwyl_print_button.setAttribute('type','text/javascript');window._pwyl_print_button.setAttribute('src',window._pwyl_home+'js/print_button/');window._pwyl_print_button.setAttribute('pwyl','true');document.getElementsByTagName('head')[0].appendChild(window._pwyl_print_button);document.body.style.cursor='progress';document.getElementById('pwyl_print_button').style.cursor='progress';})();return false;" title="Print this page" style="text-decoration: none;"><span style="text-decoration: none; color: #719a11;">Print</span></a>]]></content:encoded>
			<wfw:commentRss>http://www.newjokecity.com/2008/12/new-site-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
