<?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>javanus.com</title>
	<atom:link href="http://javanus.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://javanus.com/blog</link>
	<description></description>
	<lastBuildDate>Thu, 21 Oct 2010 19:15:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>netbeans windows7 64bit [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified</title>
		<link>http://javanus.com/blog/?p=242</link>
		<comments>http://javanus.com/blog/?p=242#comments</comments>
		<pubDate>Thu, 21 Oct 2010 19:15:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ms access]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=242</guid>
		<description><![CDATA[I have installed netbeans 6.5.1. on my windows 7 64 bit computer but I could not connect to the MS access database anymore. The error [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified occurs at running the program. SOLUTION: Select 32bit JRE instead of 64 JRE. 1.In menu select Tools->Java [...]]]></description>
			<content:encoded><![CDATA[<p>I have installed netbeans 6.5.1. on my windows 7 64 bit computer but I could not connect to the MS access database anymore. The error <strong>[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified</strong> occurs at running the program.</p>
<p>SOLUTION:<br />
Select 32bit JRE instead of 64 JRE.<br />
1.In menu select Tools->Java Platforms<br />
2.click Add platform button and select 32 bit java (C:\Program Files (x86)\Java\jdk1.6.0_21)<br />
3.remove default java</p>
<p>If you could not to remove the 64bit java open netbeans.conf file and modify line starting with netbeans_jdkhome to point to the 32bit jre (from &#8220;C:\Program Files\Java\jdk1.6.0_21&#8243; to &#8220;C:\Program Files (x86)\Java\jdk1.6.0_21&#8243; )</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=242</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install oracle client 11 on ubuntu 10.04</title>
		<link>http://javanus.com/blog/?p=217</link>
		<comments>http://javanus.com/blog/?p=217#comments</comments>
		<pubDate>Mon, 27 Sep 2010 19:41:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=217</guid>
		<description><![CDATA[1.download rpm oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm 2.install converter sudo apt-get install alien dpkg-dev debhelper build-essential 3.convert a package to debian format sudo alien oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm 4.install deb package sudo dpkg -i oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.deb]]></description>
			<content:encoded><![CDATA[<p>1.download rpm</p>
<p>oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm</p>
<p>2.install converter</p>
<p>sudo apt-get install alien dpkg-dev debhelper build-essential</p>
<p>3.convert a package to debian format</p>
<p>sudo alien oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm</p>
<p>4.install deb package</p>
<p>sudo dpkg -i oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.deb</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=217</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate pooling is broken after using full-hibernate-plugin-for-struts2</title>
		<link>http://javanus.com/blog/?p=233</link>
		<comments>http://javanus.com/blog/?p=233#comments</comments>
		<pubDate>Mon, 27 Sep 2010 19:21:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[java ee]]></category>
		<category><![CDATA[struts2]]></category>
		<category><![CDATA[closeSessionAfterInvoke]]></category>
		<category><![CDATA[com.mchange.v2.c3p0.PoolBackedDataSource]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=233</guid>
		<description><![CDATA[I am using full-hibernate-plugin-for-struts2 to present data in jquery-grid. full-hibernate-plugin-for-struts2 is an interceptor and creates a database session with hibernate before the struts2 action is invoked. full-hibernate-plugin-for-struts2 close the session by the default. I got the following error when I am using the hibernate connection pooling in the other part of the application; Struts has [...]]]></description>
			<content:encoded><![CDATA[<p>I am using full-hibernate-plugin-for-struts2 to present data in jquery-grid. full-hibernate-plugin-for-struts2 is an interceptor and creates a database session with hibernate before the struts2 action is invoked. full-hibernate-plugin-for-struts2 close the session by the default. </p>
<p>I got the following error when I am using the hibernate connection pooling in the other part of the application;</p>
<p>Struts has detected an unhandled exception:<br />
Messages:<br />
   1. com.mchange.v2.c3p0.PoolBackedDataSource&#8230;has been closed() &#8212; you can no longer use it.</p>
<p>I tried to disable closing the connection after invocation with the following settings but it seems id does not work for my case.<br />
1.I add hibernatePlugin.closeSessionAfterInvoke=false to struts.properties<br />
2.I add <constant name="struts2hibernateplugin.defaults.closeSessionAfterInvoke" value="false"></constant> to struts.xml</p>
<p>I am using struts2-fullhibernatecore-plugin-2.2.1-GA.</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=233</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ORA-12170 and TNS-12535 from wmware</title>
		<link>http://javanus.com/blog/?p=231</link>
		<comments>http://javanus.com/blog/?p=231#comments</comments>
		<pubDate>Mon, 20 Sep 2010 07:38:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[ORA-12170]]></category>
		<category><![CDATA[TNS-12535]]></category>
		<category><![CDATA[wmware machine]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=231</guid>
		<description><![CDATA[I have installed an Oracle Database on my laptop. I tried to connect to an oracle database from my wmware machine. I installed an oracle client on a wmware machine. When I tried to connect to the database from wmware machine to the database running on the host machine I got ORA-12170: TNS:Connect timeout occurred. [...]]]></description>
			<content:encoded><![CDATA[<p>I have installed an Oracle Database on my laptop. I tried to connect to an oracle database from my wmware machine. I installed an oracle client on a wmware machine. When I tried to connect to the database from wmware machine to the database running on the host machine I got ORA-12170: TNS:Connect timeout occurred. Tnsping returns TNS-12535: TNS:operation timed out.</p>
<p>SOLUTION:<br />
Modify listener.ora on your host machine from:<br />
LISTENER =<br />
  (DESCRIPTION_LIST =<br />
    (DESCRIPTION =<br />
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))<br />
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))<br />
    )<br />
  )<br />
to</p>
<p>LISTENER =<br />
  (DESCRIPTION_LIST =<br />
    (DESCRIPTION =<br />
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))<br />
      (ADDRESS = (PROTOCOL = TCP)(HOST = <strong>HOSTNAME</strong>)(PORT = 1521))<br />
    )<br />
  )</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=231</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>configure ramdisk at boot</title>
		<link>http://javanus.com/blog/?p=229</link>
		<comments>http://javanus.com/blog/?p=229#comments</comments>
		<pubDate>Sun, 19 Sep 2010 08:24:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[firefox cache ramdisk]]></category>
		<category><![CDATA[ramdisk centos]]></category>
		<category><![CDATA[tomcat ramdisk]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=229</guid>
		<description><![CDATA[I configured a ramdisk today to increase the performance. I am using virtual CentOS. I put a firefox cache into a ramdisk and Tomcat. Basic steps: #vi /etc/rc.local #create ramdisk mkdir /ramdisk mount none -t tmpfs -o size=256M /ramdisk mkdir /ramdisk/apache-tomcat-6.0.28 #copy tomcat to ramdisk cp -r /home/oracle/downloads/apache-tomcat-6.0.28/* /ramdisk/apache-tomcat-6.0.28/]]></description>
			<content:encoded><![CDATA[<p>I configured a ramdisk today to increase the performance. I am using virtual CentOS.<br />
I put a firefox cache into a ramdisk and Tomcat. </p>
<p>Basic steps:<br />
#vi /etc/rc.local</p>
<p><code>#create ramdisk<br />
mkdir /ramdisk<br />
mount none -t tmpfs -o size=256M /ramdisk<br />
mkdir /ramdisk/apache-tomcat-6.0.28<br />
#copy tomcat to ramdisk<br />
cp -r /home/oracle/downloads/apache-tomcat-6.0.28/* /ramdisk/apache-tomcat-6.0.28/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=229</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Caused by: java.lang.RuntimeException: No Hibernate Validator class found (neither 3.x nor 4.x)</title>
		<link>http://javanus.com/blog/?p=224</link>
		<comments>http://javanus.com/blog/?p=224#comments</comments>
		<pubDate>Sun, 12 Sep 2010 19:47:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[struts2]]></category>
		<category><![CDATA[com.googlecode.s2hibernate.struts2.plugin.s2hibernatevalidator.interceptor.HibernateValidatorInterceptor]]></category>
		<category><![CDATA[Hibernate-Validator.jar]]></category>
		<category><![CDATA[No Hibernate Validator class found]]></category>
		<category><![CDATA[struts2-fullhibernatecore-plugin]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=224</guid>
		<description><![CDATA[I could not to deploy my web application to the container. I got the following error; Caused by: java.lang.RuntimeException: No Hibernate Validator class found (neither 3.x nor 4.x) I found out that the error does not occur if I remove the package struts2-fullhibernatecore-plugin-2.2.1-GA.jar from the attached libraries. The root cause for error lies in Caused [...]]]></description>
			<content:encoded><![CDATA[<p>I could not to deploy my web application to the container. I got the following error;</p>
<p>Caused by: java.lang.RuntimeException: No Hibernate Validator class found (neither 3.x nor 4.x)</p>
<p>I found out that the error does not occur if I remove the package struts2-fullhibernatecore-plugin-2.2.1-GA.jar from the attached libraries. The root cause for error lies in</p>
<p>Caused by: java.lang.RuntimeException: No Hibernate Validator class found (neither 3.x nor 4.x) com.googlecode.s2hibernate.struts2.plugin.s2hibernatevalidator.interceptor.HibernateValidatorInterceptor.configValidator(HibernateValidatorInterceptor.java:51)<br />
at com.googlecode.s2hibernate.struts2.plugin.s2hibernatevalidator.interceptor.HibernateValidatorInterceptor.&lt;clinit&gt;(HibernateValidatorInterceptor.java:24)<br />
&#8230; 60 more</p>
<p>SOLUTION:</p>
<p>Add Hibernate-Validator.jar to yout project.</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=224</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>getting started with subversion on centos</title>
		<link>http://javanus.com/blog/?p=222</link>
		<comments>http://javanus.com/blog/?p=222#comments</comments>
		<pubDate>Sun, 12 Sep 2010 12:34:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[centOs]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[svnadmin]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=222</guid>
		<description><![CDATA[1.download the subversion http://www.wandisco.com/subversion/os/downloads 2.install the subverion as root sh svninstall_centos5_wandisco.sh 3.Create a new, empty repository at REPOS_PATH svnadmin create /home/oracle/svn 4.import project into repository svn import ProjectDirectoryStrutsHibernate file:///home/oracle/svn/ProjectDirectoryStrutsHibernate -m &#8220;Initial import&#8221; 5.list files in repositoriy svn list file:///home/oracle/svn/ProjectDirectoryStrutsHibernate]]></description>
			<content:encoded><![CDATA[<p>1.download the subversion</p>
<p>http://www.wandisco.com/subversion/os/downloads</p>
<p>2.install the subverion as root</p>
<p>sh svninstall_centos5_wandisco.sh</p>
<p>3.Create a new, empty repository at REPOS_PATH</p>
<p>svnadmin create /home/oracle/svn</p>
<p>4.import project into repository</p>
<p>svn import ProjectDirectoryStrutsHibernate file:///home/oracle/svn/ProjectDirectoryStrutsHibernate -m &#8220;Initial import&#8221;</p>
<p>5.list files in repositoriy</p>
<p>svn list file:///home/oracle/svn/ProjectDirectoryStrutsHibernate</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=222</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>installing missing packages for Oracle 11gR2 on centOS 64bit</title>
		<link>http://javanus.com/blog/?p=218</link>
		<comments>http://javanus.com/blog/?p=218#comments</comments>
		<pubDate>Sat, 11 Sep 2010 14:11:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[centOs]]></category>
		<category><![CDATA[compat-libstdc++-33-3.2.3]]></category>
		<category><![CDATA[libaio-devel-0.3.105]]></category>
		<category><![CDATA[oracle 11gr2]]></category>
		<category><![CDATA[pdksh-5.2.14]]></category>
		<category><![CDATA[sysstat-5.0.5]]></category>
		<category><![CDATA[unixODBC-2.2.11]]></category>
		<category><![CDATA[unixODBC-devel-2.2.11]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=218</guid>
		<description><![CDATA[The following packages are missing to successfully complete oracle 11gR2 installation on CentOS: compat-libstdc++-33-3.2.3, libaio-devel-0.3.105, sysstat-5.0.5, unixODBC-2.2.11, unixODBC-devel-2.2.11 and pdksh-5.2.14. SOLUTION: yum -y install compat-libstdc++-33-3.2.3 yum -y install unixODBC-2.2.11 yum -y install unixODBC-devel-2.2.11 yum -y install pdksh-5.2.14 Packages libaio-devel-0.3.105 and libaio-devel-0.3.105 are not installed because I got an error: No package libaio-devel-0.3.105 available. No package [...]]]></description>
			<content:encoded><![CDATA[<p>The following packages are missing to successfully complete oracle 11gR2 installation on CentOS: compat-libstdc++-33-3.2.3, libaio-devel-0.3.105, sysstat-5.0.5, unixODBC-2.2.11, unixODBC-devel-2.2.11 and pdksh-5.2.14.</p>
<p>SOLUTION:</p>
<p>yum -y install compat-libstdc++-33-3.2.3</p>
<p>yum -y install unixODBC-2.2.11</p>
<p>yum -y install unixODBC-devel-2.2.11</p>
<p>yum -y install pdksh-5.2.14</p>
<p>Packages libaio-devel-0.3.105 and libaio-devel-0.3.105 are not installed because I got an error: No package libaio-devel-0.3.105 available. No package sysstat-5.0.5 available.</p>
<p>I checked out available packages and I found that sysstat.x86_64 is available:</p>
<p>yum list available sysstat*</p>
<p>Available Packages<br />
sysstat.x86_64                      7.0.2-3.el5_5.1                      updates</p>
<p>yum -y install sysstat.x86_64</p>
<p>yum list available libaio-devel*</p>
<p>yum -y install libaio-devel.x86_64</p>
<p>yum -y install libaio-devel.i386</p>
<p>I could installed the database after installing the missing packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=218</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install sun-java6-jdk on Ubuntu 10.04</title>
		<link>http://javanus.com/blog/?p=215</link>
		<comments>http://javanus.com/blog/?p=215#comments</comments>
		<pubDate>Thu, 09 Sep 2010 13:24:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[sun-java6-jdk]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=215</guid>
		<description><![CDATA[sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" sudo apt-get update sudo apt-get install sun-java6-jdk]]></description>
			<content:encoded><![CDATA[<pre>sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
<pre>sudo apt-get update

sudo apt-get install sun-java6-jdk</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=215</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-12514: TNS:listener does not currently know of service requested in connect</title>
		<link>http://javanus.com/blog/?p=213</link>
		<comments>http://javanus.com/blog/?p=213#comments</comments>
		<pubDate>Thu, 09 Sep 2010 05:59:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[ORA-12514]]></category>
		<category><![CDATA[oracle 11g]]></category>

		<guid isPermaLink="false">http://javanus.com/blog/?p=213</guid>
		<description><![CDATA[I have got ora-12514 after installing oracle 11g. Check out the listener.ora file. Listener.ora consists from two parts: 1. Listener name could be anything. LISTENER is used by default. Listener name is used when you start the listener (lsnrctl start listner). LISTENER =   (DESCRIPTION_LIST =     (DESCRIPTION =       (ADDRESS = (PROTOCOL = IPC)(KEY = [...]]]></description>
			<content:encoded><![CDATA[<p>I have got ora-12514 after installing oracle 11g.</p>
<p>Check out the listener.ora file. Listener.ora consists from two parts:</p>
<p>1. Listener name could be anything. LISTENER is used by default. Listener name is used when you start the listener (lsnrctl start listner).</p>
<p>LISTENER =<br />
  (DESCRIPTION_LIST =<br />
    (DESCRIPTION =<br />
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))<br />
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))<br />
    )<br />
  )</p>
<p>2. The SID_LIST_LISTENER defines the database list the listener would handle.</p>
<p>SID_LIST_LISTENER =<br />
  (SID_LIST =<br />
    (SID_DESC =<br />
      (SID_NAME = CLRExtProc)<br />
      (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_1)<br />
      (PROGRAM = extproc)<br />
      (ENVS = &#8220;EXTPROC_DLLS=ONLY:C:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll&#8221;)<br />
    )<br />
    (SID_DESC =<br />
      (ORACLE_HOME = C:\oracle\product\11.2.0\dbhome_1)<br />
      (SID_NAME = ORCL)<br />
    )<br />
  )</p>
]]></content:encoded>
			<wfw:commentRss>http://javanus.com/blog/?feed=rss2&#038;p=213</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

