<?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>TechPitcher &#187; J2ee</title>
	<atom:link href="http://www.techpitcher.com/category/j2ee/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techpitcher.com</link>
	<description></description>
	<lastBuildDate>Mon, 20 Dec 2010 10:28:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Starting tomcat in debug mode &#8211; Linux</title>
		<link>http://www.techpitcher.com/starting-tomcat-in-debug-mode-linux.html</link>
		<comments>http://www.techpitcher.com/starting-tomcat-in-debug-mode-linux.html#comments</comments>
		<pubDate>Sat, 29 May 2010 13:50:19 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[J2ee]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.techpitcher.com/?p=224</guid>
		<description><![CDATA[To start tomcat in debug mode, you need to set JPDA_TRANSPORT=dt_socket and JPDA_ADDRESS=9000 environment variable.  To set these variable for a session only, open command prompt and run following commands

export CATALINA_HOME=/home/xyz/opt/tomcat
export JPDA_TRANSPORT=dt_socket
export JPDA_ADDRESS=9000

now start tomcat using following command

$ %CATALINA_HOME%/bin/catalina.sh jpda start

Setting this variable in your personal ~/.bashrc file has the advantage that it will [...]]]></description>
			<content:encoded><![CDATA[<p>To start <a href="http://www.techpitcher.com/installing-tomcat-in-ubuntulinux.html">tomcat</a> in debug mode, you need to set JPDA_TRANSPORT=dt_socket and JPDA_ADDRESS=9000 environment variable.  To set these variable for a session only, open command prompt and run following commands</p>
<pre class="brush: xml;">
export CATALINA_HOME=/home/xyz/opt/tomcat
export JPDA_TRANSPORT=dt_socket
export JPDA_ADDRESS=9000
</pre>
<p>now start tomcat using following command<br />
<code><br />
$ %CATALINA_HOME%/bin/catalina.sh jpda start<br />
</code></p>
<p>Setting this variable in your personal ~/.bashrc file has the advantage that it will always be set (for you, as a user) each time you log in or reboot the system. To do so, open ~/.bashrc in a text editor (or create the file if it doesn&#8217;t already exist) and insert the following line anywhere in the file</p>
<pre class="brush: xml;">
export CATALINA_HOME=/home/xyz/opt/tomcat
export JPDA_TRANSPORT=dt_socket
export JPDA_ADDRESS=9000
</pre>
<p>Save and close .bashrc.<br />
You must logout and login again to  make your change take effect. or source your .bashrc file to make your change take effect for the current session<br />
<code><br />
$ source ~/.bashrc<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/starting-tomcat-in-debug-mode-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start tomcat6 (installed as a windows service) debug mode using eclipse remote debugging</title>
		<link>http://www.techpitcher.com/start-tomcat6-installed-as-a-windows-service-debug-mode-using-eclipse-remote-debugging.html</link>
		<comments>http://www.techpitcher.com/start-tomcat6-installed-as-a-windows-service-debug-mode-using-eclipse-remote-debugging.html#comments</comments>
		<pubDate>Wed, 19 May 2010 03:26:09 +0000</pubDate>
		<dc:creator>Srini</dc:creator>
				<category><![CDATA[J2ee]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.techpitcher.com/?p=219</guid>
		<description><![CDATA[I have spent around 5 hrs in google to know how to start tomcat6 (installed as a windows service) debug mode using eclipse remote debugging. Here are the steps.
1) Go to your catalina_home/bin.
2) You will find a file called tomcat6w.exe
3) double click on the file and a window will be opened.
4) In the opened window, [...]]]></description>
			<content:encoded><![CDATA[<p>I have spent around 5 hrs in google to know how to start tomcat6 (installed as a windows service) debug mode using eclipse remote debugging. Here are the steps.</p>
<p>1) Go to your catalina_home/bin.<br />
2) You will find a file called tomcat6w.exe<br />
3) double click on the file and a window will be opened.<br />
4) In the opened window, go to &#8220;java&#8221; tab.You will find a &#8220;text area box&#8221; with label as &#8220;Java Options&#8221;</p>
<p>5) Add the following lines of the code at the the beginning of the text area. (I mean above the first -D&#8230;)</p>
<p>6) The below are the lines which you need to add.<br />
 -Xdebug -Xnoagent -Djava.compiler=NONE<br />
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005</p>
<p>7) Once you have added go to your eclipse and go to Debug&#8211;&gt;Debug Configurations and create a new configuration for your project with the port as 5005 (as given above) and save it.</p>
<p> <img src='http://www.techpitcher.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Now start your tomcat service. You&#8217;ll observe at the middle of starting of your service it will become very slow and not responsive. At that time start your already configured debugger. Now you see your server started successfully in debug mode. Remember that as i mention above, if when your service start up is slow and you have not started  your eclipse debugger at that time, then your server won&#8217;t start and you&#8217;ll get some error.</p>
<p>I have spent a lot of time on this and so i am posting it so that, the people who sees this can continue their work from here easily&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/start-tomcat6-installed-as-a-windows-service-debug-mode-using-eclipse-remote-debugging.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>See Servlet Spec 2.3, section 9.7.2</title>
		<link>http://www.techpitcher.com/see-servlet-specification-version-2-3-section-9-7-2.html</link>
		<comments>http://www.techpitcher.com/see-servlet-specification-version-2-3-section-9-7-2.html#comments</comments>
		<pubDate>Wed, 31 Mar 2010 03:29:45 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Exception]]></category>
		<category><![CDATA[J2ee]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[servlet]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.techpitcher.com/?p=194</guid>
		<description><![CDATA[If you are getting warnings or errors related with Servlet Specification, version 2.3, section 9.7.2. It means that you are trying to override web container&#8217;s implementation classes from your applications classes.
Servlet specification 2.3 section 9.7.2 says this clearly

	The classloader that a container uses to load a servlet in a WAR must allow the developer to [...]]]></description>
			<content:encoded><![CDATA[<p>If you are getting warnings or errors related with Servlet Specification, version 2.3, section 9.7.2. It means that you are trying to override web container&#8217;s implementation classes from your applications classes.<br />
Servlet specification 2.3 section 9.7.2 says this clearly<br />
<code><br />
	The classloader that a container uses to load a servlet in a WAR must allow the developer to load any  resources contained in library JARs within the WAR following normal J2SE semantics using getResource. It must not allow theWAR to override J2SE or Java servlet API classes. It is further recommended that the loader not allow servlets in theWAR access to the web container’s implementation classes. It is recommended also that the application class loader be implemented so that classes and resources packaged within the WAR are loaded in preference to classes and resources residing in container-wide library JARs.<br />
</code></p>
<p>You can get away from these warnings by doing one of the following</p>
<p>1. server-api.jar is needed to compile an application and is not required in application war to run application as container already have this file. You must remove this file from WEB-INF/lib.</p>
<p>2. It can be because of other jar files that are bundled with container. e.g. j2ee.jar. You need to remove this file from your application&#8217;s lib directory.</p>
<p>In tomcat 6, $CATALINA_HOME/lib/ contains all the jar file which one should not override with those of application&#8217;s jar. tomcat 5 has these jars in $CATALINA_HOME/common/lib folder. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/see-servlet-specification-version-2-3-section-9-7-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error in setting up Quartz (Spring framework)</title>
		<link>http://www.techpitcher.com/error-in-setting-up-quartz-spring-framework.html</link>
		<comments>http://www.techpitcher.com/error-in-setting-up-quartz-spring-framework.html#comments</comments>
		<pubDate>Sat, 04 Apr 2009 10:46:52 +0000</pubDate>
		<dc:creator>maddy</dc:creator>
				<category><![CDATA[J2ee]]></category>
		<category><![CDATA[Container]]></category>
		<category><![CDATA[Quartz]]></category>
		<category><![CDATA[quartz spring]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[spring framework]]></category>
		<category><![CDATA[tomcat]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=157</guid>
		<description><![CDATA[
'org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean' defined in ServletContext resource [/WEB-INF/tvp-job.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
Caused by:
java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1104)
	at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
	at org.springframework.scheduling.quartz.SchedulerFactoryBean.createScheduler(SchedulerFactoryBean.java:687)
	at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:582)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)

]]></description>
			<content:encoded><![CDATA[<pre class="brush: xml;">
'org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean' defined in ServletContext resource [/WEB-INF/tvp-job.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
Caused by:
java.lang.NoClassDefFoundError: javax/transaction/UserTransaction
	at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1104)
	at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1355)
	at org.springframework.scheduling.quartz.SchedulerFactoryBean.createScheduler(SchedulerFactoryBean.java:687)
	at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:582)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1203)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/error-in-setting-up-quartz-spring-framework.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>java.sql.SQLException: Closed Connection</title>
		<link>http://www.techpitcher.com/javasqlsqlexception-closed-connection.html</link>
		<comments>http://www.techpitcher.com/javasqlsqlexception-closed-connection.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 05:22:05 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Exception]]></category>
		<category><![CDATA[J2ee]]></category>
		<category><![CDATA[java sql]]></category>
		<category><![CDATA[java util]]></category>
		<category><![CDATA[sqlexception]]></category>
		<category><![CDATA[String]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=155</guid>
		<description><![CDATA[
Caused by: java.sql.SQLException: Closed Connection: next at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:185) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

]]></description>
			<content:encoded><![CDATA[<pre class="brush: java;">
Caused by: java.sql.SQLException: Closed Connection: next at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryWithCallback(GeneralStatement.java:185) at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/javasqlsqlexception-closed-connection.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing eclipse in ubuntu/linux</title>
		<link>http://www.techpitcher.com/installing-eclipse-in-ubuntulinux.html</link>
		<comments>http://www.techpitcher.com/installing-eclipse-in-ubuntulinux.html#comments</comments>
		<pubDate>Sun, 08 Feb 2009 18:49:49 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[J2ee]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=115</guid>
		<description><![CDATA[Download eclipse from http://www.eclipse.org/downloads/
Make an opt directory in user&#8217;s home directory

$ mkdir ~/opt

Go to the directory where you have downloaded eclipse

$ tar -xvf eclipse-SDK-3.4.1-linux-gtk.tar.gz &#38;&#38; mv eclipse ~/opt

Make a bin folder in user&#8217;s home directory

$ mkdir ~/bin

Next create an executable for Eclipe at ~/bin/eclipse

$ vi ~/bin/eclipse

Add the following lines in this file

export MOZILLA_FIVE_HOME=&#34;/usr/lib/mozilla/&#34;
export ECLIPSE_HOME=&#34;$HOME/opt/eclipse&#34;
$ECLIPSE_HOME/eclipse $*

Finally [...]]]></description>
			<content:encoded><![CDATA[<p>Download eclipse from http://www.eclipse.org/downloads/<br />
Make an opt directory in user&#8217;s home directory</p>
<pre class="brush: xml;">
$ mkdir ~/opt
</pre>
<p>Go to the directory where you have downloaded eclipse</p>
<pre class="brush: xml;">
$ tar -xvf eclipse-SDK-3.4.1-linux-gtk.tar.gz &amp;&amp; mv eclipse ~/opt
</pre>
<p>Make a bin folder in user&#8217;s home directory</p>
<pre class="brush: xml;">
$ mkdir ~/bin
</pre>
<p>Next create an executable for Eclipe at ~/bin/eclipse</p>
<pre class="brush: xml;">
$ vi ~/bin/eclipse
</pre>
<p>Add the following lines in this file</p>
<pre class="brush: xml;">
export MOZILLA_FIVE_HOME=&quot;/usr/lib/mozilla/&quot;
export ECLIPSE_HOME=&quot;$HOME/opt/eclipse&quot;
$ECLIPSE_HOME/eclipse $*
</pre>
<p>Finally make script executable</p>
<pre class="brush: xml;">
$ chmod +x ~/bin/eclipse
</pre>
<p>You can now execute that file to start up Eclipse.</p>
<p><a href='http://techpitcher.com/setting-up-j2ee-developer-environment-in-ubuntulinux.html'><< Back to Setting up j2ee developer environment ... </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/installing-eclipse-in-ubuntulinux.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>See Servlet Spec 2.3, section 9.7.2</title>
		<link>http://www.techpitcher.com/see-servlet-spec-23-section-972.html</link>
		<comments>http://www.techpitcher.com/see-servlet-spec-23-section-972.html#comments</comments>
		<pubDate>Tue, 27 Jan 2009 17:30:35 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[J2ee]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=109</guid>
		<description><![CDATA[validateJarFile(C:\jboss\server\default\.\tmp\deploy\tmp49777abc-exp.war\WEB-INF\lib\servlet.jar) &#8211; jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
]]></description>
			<content:encoded><![CDATA[<p>validateJarFile(C:\jboss\server\default\.\tmp\deploy\tmp49777abc-exp.war\WEB-INF\lib\servlet.jar) &#8211; jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/see-servlet-spec-23-section-972.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException</title>
		<link>http://www.techpitcher.com/javalangnoclassdeffounderror-orgapachecommonscodecdecoderexception.html</link>
		<comments>http://www.techpitcher.com/javalangnoclassdeffounderror-orgapachecommonscodecdecoderexception.html#comments</comments>
		<pubDate>Sun, 04 Jan 2009 11:39:42 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[J2ee]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=99</guid>
		<description><![CDATA[I am getting following exception while using httpclient.
&#60;/p&#62;
&#60;p&#62;java.lang.NoClassDefFoundError:org/apache/commons/codec/DecoderException&#60;br&#62;
at org.apache.commons.httpclient.HttpMethodBase.&#38;amp;lt;init(HttpMethodBase.java:216)&#60;br&#62;
at org.apache.commons.httpclient.methods.GetMethod.&#38;amp;lt;init(GetMethod.java:88)&#60;/p&#62;
&#60;p&#62;

Please tell me why am I getting this exception?
]]></description>
			<content:encoded><![CDATA[<p>I am getting following exception while using httpclient.</p>
<pre class="brush: java;">&lt;/p&gt;
&lt;p&gt;java.lang.NoClassDefFoundError:org/apache/commons/codec/DecoderException&lt;br&gt;
at org.apache.commons.httpclient.HttpMethodBase.&amp;amp;lt;init(HttpMethodBase.java:216)&lt;br&gt;
at org.apache.commons.httpclient.methods.GetMethod.&amp;amp;lt;init(GetMethod.java:88)&lt;/p&gt;
&lt;p&gt;</pre>
<p>
Please tell me why am I getting this exception?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/javalangnoclassdeffounderror-orgapachecommonscodecdecoderexception.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>java.sql.SQLException: Io exception: Broken pipe</title>
		<link>http://www.techpitcher.com/javasqlsqlexception-io-exception-broken-pipe.html</link>
		<comments>http://www.techpitcher.com/javasqlsqlexception-io-exception-broken-pipe.html#comments</comments>
		<pubDate>Mon, 01 Dec 2008 17:11:00 +0000</pubDate>
		<dc:creator>Vibha</dc:creator>
				<category><![CDATA[J2ee]]></category>
		<category><![CDATA[MS SQL]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=90</guid>
		<description><![CDATA[I getting following exception.

java.sql.SQLException: Io exception: Broken pipe
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:319)
at oracle.jdbc.driver.PhysicalConnection.&#60;init&#62;(PhysicalConnection.java:344)
at oracle.jdbc.driver.T4CConnection.&#60;init&#62;(T4CConnection.java:148)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.ibatis.common.jdbc.SimpleDataSource.popConnection(SimpleDataSource.java:571)
at com.ibatis.common.jdbc.SimpleDataSource.getConnection(SimpleDataSource.java:213)
at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.init(JdbcTransaction.java:48)
at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java:89)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78)

]]></description>
			<content:encoded><![CDATA[<p>I getting following exception.</p>
<pre class="brush: xml;">
java.sql.SQLException: Io exception: Broken pipe
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:319)
at oracle.jdbc.driver.PhysicalConnection.&lt;init&gt;(PhysicalConnection.java:344)
at oracle.jdbc.driver.T4CConnection.&lt;init&gt;(T4CConnection.java:148)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:545)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at com.ibatis.common.jdbc.SimpleDataSource.popConnection(SimpleDataSource.java:571)
at com.ibatis.common.jdbc.SimpleDataSource.getConnection(SimpleDataSource.java:213)
at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.init(JdbcTransaction.java:48)
at com.ibatis.sqlmap.engine.transaction.jdbc.JdbcTransaction.getConnection(JdbcTransaction.java:89)
at com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement.executeQueryForList(GeneralStatement.java:123)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:610)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:584)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:101)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:78)
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/javasqlsqlexception-io-exception-broken-pipe.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Starting tomcat 6.X in Debug Mode</title>
		<link>http://www.techpitcher.com/starting-tomcat-6x-in-debug-mode.html</link>
		<comments>http://www.techpitcher.com/starting-tomcat-6x-in-debug-mode.html#comments</comments>
		<pubDate>Mon, 06 Oct 2008 18:09:46 +0000</pubDate>
		<dc:creator>Amit</dc:creator>
				<category><![CDATA[J2ee]]></category>

		<guid isPermaLink="false">http://techpitcher.com/?p=63</guid>
		<description><![CDATA[To start tomcat 6.x in debug mode, follow the instructions
1. Set System environment variables
    &#160;&#160;a. JPDA_TRANSPORT=dt_socket
    &#160;&#160;b. JPDA_ADDRESS=8000 (Any other port you like)

2. Start tomcat using catalina.bat jpda start  . Make sure that you have restarted the command prompt window after setting environment variables.
C:\tomcat\bin&#62;catalina.bat jpda start
3. Debug program [...]]]></description>
			<content:encoded><![CDATA[<p>To start tomcat 6.x in debug mode, follow the instructions</p>
<p>1. Set System environment variables<br />
    &nbsp;&nbsp;a. JPDA_TRANSPORT=dt_socket<br />
    &nbsp;&nbsp;b. JPDA_ADDRESS=8000 (Any other port you like)</p>
<p><a href="http://techpitcher.com/wp-content/uploads/2008/10/tomcat_debug1.jpg"><img class="aligncenter size-medium wp-image-65" title="tomcat_debug1" src="http://techpitcher.com/wp-content/uploads/2008/10/tomcat_debug1-257x300.jpg" alt="" width="257" height="300" /></a></p>
<p>2. Start tomcat using <code>catalina.bat jpda start </code> . Make sure that you have restarted the command prompt window after setting environment variables.<br />
<code>C:\tomcat\bin&gt;catalina.bat jpda start</code></p>
<p>3. Debug program from the IDE and bind to 8000 (on JPDA_ADDRESS) port.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techpitcher.com/starting-tomcat-6x-in-debug-mode.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

