<?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 on: WLST as a Jython Module</title>
	<atom:link href="http://ghattus.com/2006/01/06/wlst-as-a-jython-module/feed/" rel="self" type="application/rss+xml" />
	<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/</link>
	<description>A blog about technology that I work on in my day to day job</description>
	<lastBuildDate>Mon, 20 Sep 2010 23:28:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: aziz</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-242</link>
		<dc:creator>aziz</dc:creator>
		<pubDate>Wed, 12 May 2010 12:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-242</guid>
		<description>Hi,
I am using these java arguments also
-Djava.security.egd=file:/dev/./urandom -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.TrustKeyStore=DemoTrust

How can I pass those when I use wlst as jython module..

otherwise it gives the below error:



thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am using these java arguments also<br />
-Djava.security.egd=file:/dev/./urandom -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.TrustKeyStore=DemoTrust</p>
<p>How can I pass those when I use wlst as jython module..</p>
<p>otherwise it gives the below error:</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-225</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Mon, 29 Mar 2010 23:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-225</guid>
		<description>When I enter an edit session with edit() &amp; startEdit() and use the destroy commands for data sources or JMS modules in WLST for Weblogic 10 (Oracle WLS 11g) WLST prints out that it has deleted the desired module or other resource.  Thus, i call activate() to commit my changes.  If I then look in the Web console the deleted resource is still there, and if I try to create it again it fails with error message indicating the MBean already exists.  Why is this?</description>
		<content:encoded><![CDATA[<p>When I enter an edit session with edit() &amp; startEdit() and use the destroy commands for data sources or JMS modules in WLST for Weblogic 10 (Oracle WLS 11g) WLST prints out that it has deleted the desired module or other resource.  Thus, i call activate() to commit my changes.  If I then look in the Web console the deleted resource is still there, and if I try to create it again it fails with error message indicating the MBean already exists.  Why is this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sghattu</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-24</link>
		<dc:creator>sghattu</dc:creator>
		<pubDate>Wed, 18 Nov 2009 02:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-24</guid>
		<description>Thats weird. Did you approach Oracle Support about this? It seems like a bug especially if the console lets you deploy the same app w/o any issue. WLST directly uses the JMX MBeans to do the deployment and although console uses the Mbeans, sometimes it can do more validations and be more forgiving.
Do let me know what you find.

-satya ghattu</description>
		<content:encoded><![CDATA[<p>Thats weird. Did you approach Oracle Support about this? It seems like a bug especially if the console lets you deploy the same app w/o any issue. WLST directly uses the JMX MBeans to do the deployment and although console uses the Mbeans, sometimes it can do more validations and be more forgiving.<br />
Do let me know what you find.</p>
<p>-satya ghattu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-23</link>
		<dc:creator>Gaurav</dc:creator>
		<pubDate>Tue, 17 Nov 2009 16:37:30 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-23</guid>
		<description>Hi Satya,

I am using WLST with Weblogic 9.2 for automating an application deployment process. When I try to deploy EAR file using deploy command, it throws error saying application has invalid version identifier. I checked in MANIFEST-MF file and found that version included invalid characters such as curly braces. I removed them and it worked fine. My question is that why WLST throws error when application is deployed through WLST while no error is thrown when deployed manually through administative console? Is there any work aroud for this? Please help. If everytime I modify MANIFEST-MF file before running my scripts, it defeats the purpose of automation :-(
Please note that no error is thrown when I deploy applications on Weblogic 8.1.6. Scripts written for Weblogic 8.1.6 work perfectly without any errors.

Regards,
Gaurav</description>
		<content:encoded><![CDATA[<p>Hi Satya,</p>
<p>I am using WLST with Weblogic 9.2 for automating an application deployment process. When I try to deploy EAR file using deploy command, it throws error saying application has invalid version identifier. I checked in MANIFEST-MF file and found that version included invalid characters such as curly braces. I removed them and it worked fine. My question is that why WLST throws error when application is deployed through WLST while no error is thrown when deployed manually through administative console? Is there any work aroud for this? Please help. If everytime I modify MANIFEST-MF file before running my scripts, it defeats the purpose of automation <img src='http://ghattus.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
Please note that no error is thrown when I deploy applications on Weblogic 8.1.6. Scripts written for Weblogic 8.1.6 work perfectly without any errors.</p>
<p>Regards,<br />
Gaurav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-22</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 05 Aug 2009 14:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-22</guid>
		<description>And when i import the wlst module where do i put the wlstModule.py module? shud it go in the Jython home under lib or shud it just be in the classpath?
I get this error if u have seen this before on the line where i import the wlstModule

at weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPath(WLSTUtil.java:75)
        at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:214)
        at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:133)
        at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:75)
        at weblogic.management.scripting.utils.WLSTUtil.ensureInterpreter(WLSTUtil.java:135)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)

java.lang.RuntimeException: java.lang.RuntimeException: Invocation Target exception while getting the WLSTOffLineScript path


Any help would be appreciated</description>
		<content:encoded><![CDATA[<p>And when i import the wlst module where do i put the wlstModule.py module? shud it go in the Jython home under lib or shud it just be in the classpath?<br />
I get this error if u have seen this before on the line where i import the wlstModule</p>
<p>at weblogic.management.scripting.utils.WLSTUtil.getOfflineWLSTScriptPath(WLSTUtil.java:75)<br />
        at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:214)<br />
        at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:133)<br />
        at weblogic.management.scripting.utils.WLSTInterpreter.(WLSTInterpreter.java:75)<br />
        at weblogic.management.scripting.utils.WLSTUtil.ensureInterpreter(WLSTUtil.java:135)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
        at java.lang.reflect.Method.invoke(Method.java:597)</p>
<p>java.lang.RuntimeException: java.lang.RuntimeException: Invocation Target exception while getting the WLSTOffLineScript path</p>
<p>Any help would be appreciated</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sghattu</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-21</link>
		<dc:creator>sghattu</dc:creator>
		<pubDate>Wed, 05 Aug 2009 11:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-21</guid>
		<description>You will need weblogic.jar in the classpath.</description>
		<content:encoded><![CDATA[<p>You will need weblogic.jar in the classpath.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-20</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 04 Aug 2009 21:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-20</guid>
		<description>I am writing a script to configure weblogic remotely. Am importing the wlst module to do that. can u tell me the jars which need o be in my classpath since i am getting errors
thanks</description>
		<content:encoded><![CDATA[<p>I am writing a script to configure weblogic remotely. Am importing the wlst module to do that. can u tell me the jars which need o be in my classpath since i am getting errors<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pankaj</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-19</link>
		<dc:creator>Pankaj</dc:creator>
		<pubDate>Thu, 18 Jun 2009 15:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-19</guid>
		<description>Hello Satya,&lt;br /&gt;Since you are the author of WLST, I am hoping you can shed some light on this:)&lt;br /&gt;&lt;br /&gt;I am attempting to use WLSTInterpreter class in a webapp that also uses JMX to connect to Websphere and Weblogic. The JMX piece works fine and I can querry mbeans on both the servers. However, on the WLS side, when I attempt to invoke the WLSTInterpreter constructor I get the not-very-useful message:&lt;br /&gt;&lt;br /&gt;Traceback (innermost last):&lt;br /&gt;  File &quot;&amp;ltiostream&amp;gt&quot;, line 31, in ?&lt;br /&gt;TypeError: cannot lazy load PyObject subclass&lt;br /&gt;&lt;br /&gt;Now I am attempting to run this webapp in Tomcat 6.0.18. I know that Tomcat truncates the java.class.path to only include the bootstrap classes. So I looked at the code of WLSTInterpreter and it&#039;s collaborators and it seems that it IS relying on the classpath. So I interjected a System.setProperty(&quot;java.class.path&quot;, &quot;...&quot;) before I call the WLSTInterpreter class, but that doesn&#039;t seem to help. I still get that cryptic error. &lt;br /&gt;Can you tell me what class (within the WLST classes) throws that error?&lt;br /&gt;I cannot even use dumpStack() because I cannot even get an instance of the Jython Interpreter!&lt;br /&gt;&lt;br /&gt;Any help will be much appreciated!</description>
		<content:encoded><![CDATA[<p>Hello Satya,<br />Since you are the author of WLST, I am hoping you can shed some light on this:)</p>
<p>I am attempting to use WLSTInterpreter class in a webapp that also uses JMX to connect to Websphere and Weblogic. The JMX piece works fine and I can querry mbeans on both the servers. However, on the WLS side, when I attempt to invoke the WLSTInterpreter constructor I get the not-very-useful message:</p>
<p>Traceback (innermost last):<br />  File &quot;&amp;ltiostream&amp;gt&quot;, line 31, in ?<br />TypeError: cannot lazy load PyObject subclass</p>
<p>Now I am attempting to run this webapp in Tomcat 6.0.18. I know that Tomcat truncates the java.class.path to only include the bootstrap classes. So I looked at the code of WLSTInterpreter and it&#39;s collaborators and it seems that it IS relying on the classpath. So I interjected a System.setProperty(&quot;java.class.path&quot;, &quot;&#8230;&quot;) before I call the WLSTInterpreter class, but that doesn&#39;t seem to help. I still get that cryptic error. <br />Can you tell me what class (within the WLST classes) throws that error?<br />I cannot even use dumpStack() because I cannot even get an instance of the Jython Interpreter!</p>
<p>Any help will be much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-18</link>
		<dc:creator>Mohammad</dc:creator>
		<pubDate>Mon, 25 May 2009 07:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-18</guid>
		<description>Hi Satya,&lt;br /&gt;&lt;br /&gt;I use Eclipse 3.4 that is not compatible with JyDT. so I use PyDev on Eclipse as Jython IDE.&lt;br /&gt;&lt;br /&gt;But I can not import WLST. I have added wlstModule.py, weblogic.jar and jython-modules.jar to my project.&lt;br /&gt;&lt;br /&gt;However I can use WLST in my IDE and have &quot;ypeError: cannot lazy load PyObject subclass&quot; error message.&lt;br /&gt;&lt;br /&gt;What can be the problem?</description>
		<content:encoded><![CDATA[<p>Hi Satya,</p>
<p>I use Eclipse 3.4 that is not compatible with JyDT. so I use PyDev on Eclipse as Jython IDE.</p>
<p>But I can not import WLST. I have added wlstModule.py, weblogic.jar and jython-modules.jar to my project.</p>
<p>However I can use WLST in my IDE and have &#8220;ypeError: cannot lazy load PyObject subclass&#8221; error message.</p>
<p>What can be the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madan</title>
		<link>http://ghattus.com/2006/01/06/wlst-as-a-jython-module/comment-page-1/#comment-17</link>
		<dc:creator>Madan</dc:creator>
		<pubDate>Mon, 04 May 2009 13:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://ghattus.com/2006/01/wlst-as-a-jython-module/#comment-17</guid>
		<description>Thanks very much for your reply.</description>
		<content:encoded><![CDATA[<p>Thanks very much for your reply.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

