<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Jdbc on Shaaf's blog</title><link>https://shaaf.dev/tags/jdbc/</link><description>Recent content in Jdbc on Shaaf's blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 11 Dec 2008 10:17:46 +0100</lastBuildDate><atom:link href="https://shaaf.dev/tags/jdbc/index.xml" rel="self" type="application/rss+xml"/><item><title>Calling wsadmin scripts from ant</title><link>https://shaaf.dev/post/2008-12-11-calling-wsadmin-scripts-from-ant/</link><pubDate>Thu, 11 Dec 2008 10:17:46 +0100</pubDate><guid>https://shaaf.dev/post/2008-12-11-calling-wsadmin-scripts-from-ant/</guid><description>&lt;p>You can simply add the following to a target.
For the following wsadmin should be in your PATH env.&lt;/p>
&lt;pre>&lt;code>&amp;lt; exec dir=&amp;quot;.&amp;quot; executable=&amp;quot;wsadmin.bat&amp;quot; logError=&amp;quot;true&amp;quot; failonerror=&amp;quot;true&amp;quot; output=&amp;quot;wsconfig.out&amp;quot; &amp;gt;
	&amp;lt; arg line=&amp;quot;-lang jython -f ../../createQFactory.py&amp;quot;/ &amp;gt;
&amp;lt; /exec &amp;gt;
&lt;/code>&lt;/pre>
&lt;p>All output will be logged to wsconfig.out&lt;/p></description></item><item><title>wasprofile -create -delete</title><link>https://shaaf.dev/post/2008-10-24-wasprofile-create-delete/</link><pubDate>Fri, 24 Oct 2008 13:38:00 +0200</pubDate><guid>https://shaaf.dev/post/2008-10-24-wasprofile-create-delete/</guid><description>&lt;p>Sometimes you require to do things silently, without any questions asked and &amp;ldquo;Just Do It&amp;rdquo; attitude is required.&lt;/p>
&lt;p>I often find my self with this problem.&lt;/p>
&lt;p>If you want to delete or create a Websphere profile from your command line try the following. (I have tried on RSA only)&lt;/p>
&lt;pre>&lt;code># deleteing a profile
wasprofile -delete -profileName MyProfile
&lt;/code>&lt;/pre>
&lt;p>You should get the following message on deletion&lt;/p>
&lt;pre>&lt;code>INSTCONFSUCCESS: Success: The profile no longer exists.
&lt;/code>&lt;/pre>
&lt;p>Creating a websphere profile&lt;/p></description></item><item><title>HowTo create a JDBC provider with wsadmin scripting - Jython</title><link>https://shaaf.dev/post/2008-07-01-howto-create-a-jdbc-provider-with-wsadmin-scripting-jython/</link><pubDate>Tue, 01 Jul 2008 14:21:48 +0200</pubDate><guid>https://shaaf.dev/post/2008-07-01-howto-create-a-jdbc-provider-with-wsadmin-scripting-jython/</guid><description>&lt;p>Last week I wrote a post about creating MQQueues with jacl. However today I am moving to Jython. This is the new scripting languauge supported by the wsadmin. The following write-up helps you create a JDBC provider using Jython in 6 easy steps on the wsadmin console.&lt;/p>
&lt;p>*Pre requirements:
*Following should be known to start using this tutorial.&lt;/p>
&lt;ol>
&lt;li>How to launch the wsadmin with Jython enabled.&lt;/li>
&lt;/ol>
&lt;p>*Where will I find the wsadmin?
*It is typically placed in the bin directory of your server.
In my case its lying in my RAD installation directory as
../Rational/SDP/6.0/runtimes/base_v6/bin&lt;/p></description></item></channel></rss>