<?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"
	>

<channel>
	<title>My Blog</title>
	<atom:link href="http://janispagal.vis.ph/feed/" rel="self" type="application/rss+xml" />
	<link>http://janispagal.vis.ph</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sat, 03 Oct 2009 09:20:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>java.sql.SQLException: Protocol violation</title>
		<link>http://janispagal.vis.ph/java/javasqlsqlexception-protocol-violation/</link>
		<comments>http://janispagal.vis.ph/java/javasqlsqlexception-protocol-violation/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 09:13:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JAVA]]></category>

		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=136</guid>
		<description><![CDATA[From: message #91617 is a reply to message #90953
The problem of Protocol Voilation comes when you try to connect to Oracle and istead of getting response in recordset or execution there is a blockage appears. for example in Oracle if you have setup like changing userid after 90 days or 60 days. What happened is [...]]]></description>
			<content:encoded><![CDATA[<p>From: <span class="small">message #91617 <a class="small" href="http://www.orafaq.com/forum/mv/msg/34640/90953/0/">is a reply to message #90953</a></span></p>
<blockquote><p><span class="MsgBodyText">The problem of Protocol Voilation comes when you try to connect to Oracle and istead of getting response in recordset or execution there is a blockage appears. for example in Oracle if you have setup like changing userid after 90 days or 60 days. What happened is Oracle will start asking you a question that your password is expiring do you want to change it or not, It means Before connecting to Oracle JDBC is blocked by this question and Oracle needs an Answer yes or no before executing your Query. So, You have to either take the user id which never expires or see the setting in Oracle for such kind of things.</span></p></blockquote>
<p>Changed/Renewed the user password solved the issue:</p>
<blockquote><p><a href="http://www.techonthenet.com/oracle/password.php">Oracle/PLSQL: Change a user&#8217;s password in Oracle</a></p>
<p>alter user <em>user_name</em> identified by <em>new_password</em>;</p></blockquote>
<p>OR</p>
<blockquote><p><a href="http://www.mydigitallife.info/2006/10/17/change-oracle-database-user-password/">Change Oracle Database User Password</a></p>
<p>SQL&gt; password<br />
Changing password for DAVID<br />
Old password:<br />
New password:<br />
Retype new password:</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/javasqlsqlexception-protocol-violation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Invalid Oracle URL specified</title>
		<link>http://janispagal.vis.ph/java/invalid-oracle-url-specified/</link>
		<comments>http://janispagal.vis.ph/java/invalid-oracle-url-specified/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 07:48:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JAVA]]></category>

		<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=134</guid>
		<description><![CDATA[Here are examples of properly formed Oracle database URLs:

Oracle THIN driver:
jdbc:oracle:thin:@localhost:1521:sample

Source:
http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was40.doc/html/DB_Connections_Connection_Pooling/swg21168464.html

Oracle THICK driver:
jdbc:oracle:oci8:@sample

]]></description>
			<content:encoded><![CDATA[<p>Here are examples of properly formed Oracle database URLs:</p>
<ul>
<li>Oracle THIN driver:
<p><tt>jdbc:oracle:thin:@localhost:1521:sample</tt></li>
</ul>
<p>Source:</p>
<blockquote><p>http://publib.boulder.ibm.com/infocenter/wasinfo/v4r0/index.jsp?topic=/com.ibm.support.was40.doc/html/DB_Connections_Connection_Pooling/swg21168464.html</p></blockquote>
<ul>
<li>Oracle THICK driver:
<p><tt>jdbc:oracle:oci8:@sample</tt></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/invalid-oracle-url-specified/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Eclipse: cannot be resolved to a type</title>
		<link>http://janispagal.vis.ph/java/eclipse-cannot-be-resolved-to-a-type/</link>
		<comments>http://janispagal.vis.ph/java/eclipse-cannot-be-resolved-to-a-type/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 07:11:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Error]]></category>

		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=130</guid>
		<description><![CDATA[&#8220;&#8230;cannot be resolved to a type&#8221;
Resolution:
Simply Refresh eclipse
From: http://philip.yurchuk.com/2008/12/03/eclipse-cannot-be-resolved-to-a-type-error/comment-page-1/#comment-915
]]></description>
			<content:encoded><![CDATA[<p>&#8220;&#8230;cannot be resolved to a type&#8221;</p>
<p>Resolution:</p>
<p>Simply Refresh eclipse</p>
<blockquote><p>From: http://philip.yurchuk.com/2008/12/03/eclipse-cannot-be-resolved-to-a-type-error/comment-page-1/#comment-915</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/eclipse-cannot-be-resolved-to-a-type/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Error: javax.servlet.http.HttpServletRequest</title>
		<link>http://janispagal.vis.ph/java/error-javaxservlethttphttpservletrequest/</link>
		<comments>http://janispagal.vis.ph/java/error-javaxservlethttphttpservletrequest/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 06:20:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Error]]></category>

		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=126</guid>
		<description><![CDATA[The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files    ServletRequestContext.java    /epm/src/org/apache/commons/fileupload/servlet
Resolution:
In Tomcat 5 this file is servlet-api.jar in the common/lib dir. You likely need to add this as an external JAR via the Project Properties &#62; Java Build Path &#62; Libraries &#62; Add External&#8230; button.
From: http://www.myeclipseide.com/PNphpBB2+file-printview-t-3632-start-0.html
]]></description>
			<content:encoded><![CDATA[<p>The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files    ServletRequestContext.java    /epm/src/org/apache/commons/fileupload/servlet</p>
<p>Resolution:</p>
<p>In Tomcat 5 this file is servlet-api.jar in the common/lib dir. You likely need to add this as an external JAR via the Project Properties &gt; Java Build Path &gt; Libraries &gt; Add External&#8230; button.</p>
<blockquote><p>From: http://www.myeclipseide.com/PNphpBB2+file-printview-t-3632-start-0.html</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/error-javaxservlethttphttpservletrequest/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Access forbidden!</title>
		<link>http://janispagal.vis.ph/xampp/access-forbidden/</link>
		<comments>http://janispagal.vis.ph/xampp/access-forbidden/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 09:42:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[XAMPP]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=124</guid>
		<description><![CDATA[Initial setup for XAMPP Virtualhost gives this error:
&#8220;Access forbidden!
You don&#8217;t have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster. &#8230;&#8221;
To solve this:
- on \xampp\apache\conf\httpd.conf, modify:
&#60;Directory /&#62;
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
&#60;/Directory&#62;
to:
&#60;Directory /&#62;
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow [...]]]></description>
			<content:encoded><![CDATA[<p>Initial setup for XAMPP Virtualhost gives this error:</p>
<p>&#8220;Access forbidden!</p>
<p>You don&#8217;t have permission to access the requested directory. There is either no index document or the directory is read-protected.</p>
<p>If you think this is a server error, please contact the webmaster. &#8230;&#8221;</p>
<p>To solve this:</p>
<p>- on \xampp\apache\conf\httpd.conf, modify:</p>
<p>&lt;Directory /&gt;<br />
Options FollowSymLinks<br />
AllowOverride None<br />
Order deny,allow<br />
Deny from all<br />
&lt;/Directory&gt;</p>
<p>to:</p>
<p>&lt;Directory /&gt;<br />
Options FollowSymLinks<br />
AllowOverride None<br />
Order allow,deny<br />
Allow from all<br />
&lt;/Directory&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/xampp/access-forbidden/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Error: &#8220;java.sql.SQLException: Invalid column index&#8221;</title>
		<link>http://janispagal.vis.ph/java/error-javasqlsqlexception-invalid-column-index/</link>
		<comments>http://janispagal.vis.ph/java/error-javasqlsqlexception-invalid-column-index/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 08:37:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Error]]></category>

		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=115</guid>
		<description><![CDATA[Setup:
Viewing of table from Search
Resolution:
Modified Search Function on ADAO
]]></description>
			<content:encoded><![CDATA[<p>Setup:</p>
<blockquote><p>Viewing of table from Search</p></blockquote>
<p>Resolution:</p>
<blockquote><p>Modified Search Function on ADAO</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/error-javasqlsqlexception-invalid-column-index/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Basic config-xml content</title>
		<link>http://janispagal.vis.ph/java/basic-config-xml-content/</link>
		<comments>http://janispagal.vis.ph/java/basic-config-xml-content/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 16:38:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=105</guid>
		<description><![CDATA[1. Form Bean
&#60;form-bean name=&#8221;pinspecialtyForm&#8221; type=&#8221;com.kp.ep2.admin.form.AdminPinSpecialtyForm&#8221; /&#62;
2. View
&#60;action path=&#8221;/viewAdminPinSpecialty&#8221;
input=&#8221;tableadminmenu.jsp&#8221;
scope=&#8221;request&#8221;
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &#62;
&#60;forward name=&#8221;pinspecialtytablelist&#8221; path=&#8221;/viewPinSpecialty.jsp&#8221;/&#62;
&#60;/action&#62;
3. Save
&#60;action path=&#8221;/saveAdminPinSpecialty&#8221;
attribute=&#8221;pinspecialtyForm&#8221; name=&#8221;pinspecialtyForm&#8221; scope=&#8221;request&#8221;
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &#62;
&#60;forward name=&#8221;pinspecialtytablelist&#8221; path=&#8221;/viewPinSpecialty.jsp&#8221;/&#62;
&#60;/action&#62;
4. AddNew
&#60;action path=&#8221;/addNewAdminPinSpecialty&#8221;
attribute=&#8221;pinspecialtyForm&#8221; name=&#8221;pinspecialtyForm&#8221; scope=&#8221;request&#8221;
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &#62;
&#60;forward name=&#8221;newpinspecialty&#8221; path=&#8221;/addNewPinSpecialty.jsp&#8221;/&#62;
&#60;/action&#62;
5. SaveNew
&#60;action path=&#8221;/saveNewAdminPinSpecialty&#8221;
attribute=&#8221;pinspecialtyForm&#8221; name=&#8221;pinspecialtyForm&#8221; scope=&#8221;request&#8221;
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &#62;
&#60;forward name=&#8221;newpinspecialty&#8221; path=&#8221;/addNewPinSpecialty.jsp&#8221;/&#62;
&#60;/action&#62;
]]></description>
			<content:encoded><![CDATA[<p>1. Form Bean</p>
<blockquote><p>&lt;form-bean name=&#8221;pinspecialtyForm&#8221; type=&#8221;com.kp.ep2.admin.form.AdminPinSpecialtyForm&#8221; /&gt;</p></blockquote>
<p>2. View</p>
<blockquote><p>&lt;action path=&#8221;/viewAdminPinSpecialty&#8221;<br />
input=&#8221;tableadminmenu.jsp&#8221;<br />
scope=&#8221;request&#8221;<br />
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &gt;<br />
&lt;forward name=&#8221;pinspecialtytablelist&#8221; path=&#8221;/viewPinSpecialty.jsp&#8221;/&gt;<br />
&lt;/action&gt;</p></blockquote>
<p>3. Save</p>
<blockquote><p>&lt;action path=&#8221;/saveAdminPinSpecialty&#8221;<br />
attribute=&#8221;pinspecialtyForm&#8221; name=&#8221;pinspecialtyForm&#8221; scope=&#8221;request&#8221;<br />
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &gt;<br />
&lt;forward name=&#8221;pinspecialtytablelist&#8221; path=&#8221;/viewPinSpecialty.jsp&#8221;/&gt;<br />
&lt;/action&gt;</p></blockquote>
<p>4. AddNew</p>
<blockquote><p>&lt;action path=&#8221;/addNewAdminPinSpecialty&#8221;<br />
attribute=&#8221;pinspecialtyForm&#8221; name=&#8221;pinspecialtyForm&#8221; scope=&#8221;request&#8221;<br />
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &gt;<br />
&lt;forward name=&#8221;newpinspecialty&#8221; path=&#8221;/addNewPinSpecialty.jsp&#8221;/&gt;<br />
&lt;/action&gt;</p></blockquote>
<p>5. SaveNew</p>
<blockquote><p>&lt;action path=&#8221;/saveNewAdminPinSpecialty&#8221;<br />
attribute=&#8221;pinspecialtyForm&#8221; name=&#8221;pinspecialtyForm&#8221; scope=&#8221;request&#8221;<br />
type=&#8221;com.kp.ep2.admin.action.AdminPinSpecialtyAction&#8221; &gt;<br />
&lt;forward name=&#8221;newpinspecialty&#8221; path=&#8221;/addNewPinSpecialty.jsp&#8221;/&gt;<br />
&lt;/action&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/basic-config-xml-content/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Working on .jsp File</title>
		<link>http://janispagal.vis.ph/java/working-on-jsp-file/</link>
		<comments>http://janispagal.vis.ph/java/working-on-jsp-file/#comments</comments>
		<pubDate>Fri, 29 May 2009 03:10:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=100</guid>
		<description><![CDATA[// Javascript
function viewAdminForm(requestaction) {
document.admindataform.elements['formaction'].value = requestaction;
document.admindataform.submit();
}
// html table
&#60;tr&#62;
&#60;td&#62;&#60;a href=&#8221;javascript:viewAdminForm(&#8217;ViewFormsTable&#8217;);&#8221;&#62;Forms Table&#60;/a&#62;&#60;/td&#62;
&#60;td&#62;Forms table administration screen&#60;/td&#62;
&#60;/tr&#62;
// form element
&#60;form name=&#8221;admindataform&#8221; action=&#8221;viewAdminForm.do&#8221; method=&#8221;post&#8221;&#62;
&#60;input type=&#8221;hidden&#8221; name=&#8221;formaction&#8221; value=&#8221;"/&#62;
&#60;/form&#62;
]]></description>
			<content:encoded><![CDATA[<p>// Javascript<br />
function viewAdminForm(requestaction) {<br />
document.admindataform.elements['formaction'].value = requestaction;<br />
document.admindataform.submit();<br />
}</p>
<p>// html table<br />
&lt;tr&gt;<br />
&lt;td&gt;&lt;a href=&#8221;javascript:viewAdminForm(&#8217;ViewFormsTable&#8217;);&#8221;&gt;Forms Table&lt;/a&gt;&lt;/td&gt;<br />
&lt;td&gt;Forms table administration screen&lt;/td&gt;<br />
&lt;/tr&gt;</p>
<p>// form element<br />
&lt;form name=&#8221;admindataform&#8221; action=&#8221;viewAdminForm.do&#8221; method=&#8221;post&#8221;&gt;<br />
&lt;input type=&#8221;hidden&#8221; name=&#8221;formaction&#8221; value=&#8221;"/&gt;<br />
&lt;/form&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/working-on-jsp-file/feed/</wfw:commentRss>
		</item>
		<item>
		<title>No action config found for the specified url.</title>
		<link>http://janispagal.vis.ph/java/no-action-config-found-for-the-specified-url/</link>
		<comments>http://janispagal.vis.ph/java/no-action-config-found-for-the-specified-url/#comments</comments>
		<pubDate>Thu, 07 May 2009 04:02:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=98</guid>
		<description><![CDATA[Struts is not able to find the mapping for /*(.do) in the struts config file. 
The &#8220;/*(.do)&#8221; could not be existing.
***If it seems not to be working&#8211;Restart your PC. [2009-06-03]
***If you got this message, 99.9% recommendation that you nned to restart your machine. [2009-06-04]
]]></description>
			<content:encoded><![CDATA[<p><span class="postbody">Struts is not able to find the mapping for /*(.do) in the struts config file. </span></p>
<p>The &#8220;/*(.do)&#8221; could not be existing.</p>
<p>***If it seems not to be working&#8211;Restart your PC. [2009-06-03]</p>
<p>***If you got this message, 99.9% recommendation that you nned to restart your machine. [2009-06-04]</p>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/no-action-config-found-for-the-specified-url/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cannot retrieve definition for form bean: &#8220;&#8230;&#8221; on action: &#8220;/&#8230;&#8221;</title>
		<link>http://janispagal.vis.ph/java/cannot-retrieve-definition-for-form-bean-on-action/</link>
		<comments>http://janispagal.vis.ph/java/cannot-retrieve-definition-for-form-bean-on-action/#comments</comments>
		<pubDate>Wed, 06 May 2009 17:13:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://janispagal.vis.ph/?p=91</guid>
		<description><![CDATA[1. No form-bean definition on XML:
&#60;form-bean name=&#8221;&#8230;&#8221; type=&#8221;&#8230;Form&#8221; /&#62;
2. Be sure too that &#8220;&#8230;Form&#8221; exists.
Restart browser.
Restart PC
]]></description>
			<content:encoded><![CDATA[<p>1. No form-bean definition on XML:</p>
<p>&lt;form-bean name=&#8221;&#8230;&#8221; type=&#8221;&#8230;Form&#8221; /&gt;</p>
<p>2. Be sure too that &#8220;&#8230;Form&#8221; exists.</p>
<p>Restart browser.</p>
<p>Restart PC</p>
]]></content:encoded>
			<wfw:commentRss>http://janispagal.vis.ph/java/cannot-retrieve-definition-for-form-bean-on-action/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
