<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3477019391354955592</id><updated>2012-02-16T10:34:03.975-08:00</updated><category term='SFF'/><category term='Network'/><category term='Web Server'/><category term='Trust Certification'/><category term='Application Server'/><category term='Convert PDF to SFF'/><category term='Datasource'/><category term='Encode UTF-8'/><category term='Connection WSDL'/><category term='Websphere 6.0x'/><category term='Oracle DB Broken Pipe'/><category term='SSL'/><category term='Firewall'/><category term='Scheduler'/><category term='Java'/><category term='Generate SFF File'/><category term='Websphere 6.1'/><title type='text'>Yashima Java Faq [English Version]</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-503343814224808348</id><published>2008-01-23T23:45:00.000-08:00</published><updated>2008-01-24T00:02:07.028-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java'/><category scheme='http://www.blogger.com/atom/ns#' term='Datasource'/><category scheme='http://www.blogger.com/atom/ns#' term='Websphere 6.0x'/><title type='text'>Call Data Source [Websphere] From Java Application</title><content type='html'>It's 2 Way to Call&lt;br /&gt;&lt;br /&gt;1. Use Library From Websphere [Use Rad to Call]&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 1pt solid blue; padding: 1pt 4pt; background: rgb(255, 255, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;Hashtable env = new Hashtable();&lt;br /&gt;env.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere .naming.WsnInitialContextFactory");&lt;span style="color: rgb(255, 0, 0);"&gt; // Context Name For Call&lt;/span&gt;&lt;br /&gt;env.put(Context.PROVIDER_URL, "iiop://localhost:2809/");&lt;span style="color: rgb(255, 0, 0);"&gt;// IP Address of JNDI Name which you can look at  Servers --&gt; Application Server and then Server that use JDBC  --&gt; Port (Communications) --&gt; BOOTSTRAP_ADDRESS &lt;/span&gt;&lt;br /&gt;InitialContext ctx = new InitialContext(env);&lt;br /&gt;DataSource ds = (DataSource) ctx.lookup("jdbc/test");&lt;span style="color: rgb(255, 0, 0);"&gt;//JNDI Name&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;PS. You must add Websphere 6.0 Library and JRE [in Websphere]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Use Context Sun [But I tested, It still return NULL.]&lt;br /&gt;&lt;div style="border: 1pt solid blue; padding: 1pt 4pt; background: rgb(255, 255, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;Hashtable env = new Hashtable();&lt;br /&gt;env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi .cosnaming.CNCtxFactory");&lt;span style="color: rgb(255, 0, 0);"&gt; // Sun Context&lt;/span&gt;&lt;br /&gt;env.put(Context.PROVIDER_URL, "iiop://localhost:2809/");&lt;span style="color: rgb(255, 0, 0);"&gt;// IP Address of JNDI Name which you can look at Servers --&gt; Application Server and then Server that use JDBC --&gt; Port (Communications) --&gt; BOOTSTRAP_ADDRESS &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;/span&gt;&lt;br /&gt;InitialContext ctx = new InitialContext(env);&lt;br /&gt;DataSource ds = (DataSource) ctx.lookup("cell/nodes/Node01/servers/server1/jdbc/test"); &lt;span style="color: rgb(255, 0, 0);"&gt;//JNDI Name [You call Real Path] --&gt; &lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span style="font-weight: bold;"&gt;cell/nodes/&amp;lt; node Name &amp;gt; /servers/&amp;lt; server Name &amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-503343814224808348?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/503343814224808348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=503343814224808348' title='45 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/503343814224808348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/503343814224808348'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2008/01/call-data-source-websphere-from-java.html' title='Call Data Source [Websphere] From Java Application'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>45</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-2569556992672135110</id><published>2007-09-07T01:51:00.000-07:00</published><updated>2008-06-10T21:57:45.943-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Websphere 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='Scheduler'/><title type='text'>Problem Scheduler on Websphere 6.1</title><content type='html'>This problem about when you deploy application on websphere 6.1 that has many application server (example server1, server2 and server3) after that scheduler can't run.&lt;br /&gt;Because of scheduler add wrong server in database.&lt;br /&gt;You can check in xxx__SCHED_LMGR at LEASEOWNER Column --&gt; This column has value that same server which you deploy application (Example TESTCell01\TESTNode01\server1) and then you delete it until It show the same server that you deploy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-2569556992672135110?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/2569556992672135110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=2569556992672135110' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/2569556992672135110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/2569556992672135110'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/09/problem-scheduler-on-websphere-61.html' title='Problem Scheduler on Websphere 6.1'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-285524205163138218</id><published>2007-06-14T00:24:00.000-07:00</published><updated>2007-06-14T00:38:34.313-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Network'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Server'/><category scheme='http://www.blogger.com/atom/ns#' term='Application Server'/><title type='text'>Example Config Network (For Web Server and Application Server)</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a href="http://bp3.blogger.com/_OyrxYulzYnY/RiRvHXIAs7I/AAAAAAAAARE/3idjl0qfwOE/s1600-h/image004.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_" alt="" src="http://bp3.blogger.com/_OyrxYulzYnY/RiRvHXIAs7I/AAAAAAAAARE/3idjl0qfwOE/s400/image004.jpg" border="0" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;br /&gt;From picture, It has two zone (Web Zone and Application Zone)&lt;br /&gt;1. Web Server, It has IP in Lan --&gt; 10.221.7.120 but it access from outside IP 172.20.3.1 (Internet IP) . Sometimes, it will be other system protect (ex. firewall) . The other side which it will access Application Server, it has IP 192.168.0.50(Intranet IP).&lt;br /&gt;2. In case Websphere, It will not load balance between Web Server and Application Server because Websphere can operate load balance itself.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-285524205163138218?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/285524205163138218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=285524205163138218' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/285524205163138218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/285524205163138218'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/06/example-config-network-for-web-server.html' title='Example Config Network (For Web Server and Application Server)'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_OyrxYulzYnY/RiRvHXIAs7I/AAAAAAAAARE/3idjl0qfwOE/s72-c/image004.jpg' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-22536684567290785</id><published>2007-06-12T01:11:00.000-07:00</published><updated>2007-06-14T00:23:55.418-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Network'/><category scheme='http://www.blogger.com/atom/ns#' term='Firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Websphere 6.1'/><title type='text'>How do you check firewall for allow application server or web server</title><content type='html'>1. Check IP, It can access from internet, intranet or network&lt;br /&gt;- In Network,  It can not access from internet to this network. It can access in this network only. (ex. 10.1.1.1)&lt;br /&gt;- In Intranet, It is IP of organization. It use to access in organization.&lt;br /&gt;- In Internet, It can access everywhere.&lt;br /&gt;2. In case Application Server and Web Server, it following&lt;br /&gt;- If your server access outside, you must allow firewall --&gt; Application Server Side.&lt;br /&gt;- If everyone must access your server, You must allow firewall --&gt; Web Server Side.&lt;br /&gt;3. In case Cluster, You must allow firewall --&gt; All server in Cluster.&lt;br /&gt;4. In case Load Balance, You must allow firewall --&gt; at load balance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-22536684567290785?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/22536684567290785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=22536684567290785' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/22536684567290785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/22536684567290785'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/06/how-do-you-check-firewall-for-allow.html' title='How do you check firewall for allow application server or web server'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-6457487643466244099</id><published>2007-06-06T20:47:00.000-07:00</published><updated>2007-06-06T21:14:25.292-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Websphere 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='Connection WSDL'/><title type='text'>Method to check Connection of WSDL (On RAD 6.0)</title><content type='html'>1. Checking Connection by telnet command&lt;br /&gt;&lt;div style="border: 1pt solid blue; padding: 1pt 4pt; background: rgb(255, 255, 153) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"&gt;#telnet [IP Address] [Port]&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;If it doesn't timeout, it connection to server is work.&lt;/span&gt;&lt;br /&gt;2. Checking for HTTPS. If it is https, it can trust certification (It should trust certification on Server). You can config on Websphere 6.1 following by this &lt;a href="http://yashima-eng.blogspot.com/2007/06/config-trust-certification-on.html"&gt;link&lt;/a&gt;.&lt;br /&gt;3. Test WSDL by right click at wsdl file then select "Web Services a Test with Web Services Explorer"&lt;br /&gt;4. If it test pass in choice 3, then we will generate stub file for call Web Service.--&gt; right click at wsdl file then select "Web Services a Generate Java bean" skeleton and next.&lt;br /&gt;&lt;div style="BORDER-RIGHT: blue 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: blue 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #ffff99; PADDING-BOTTOM: 1pt; BORDER-LEFT: blue 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: blue 1pt solid"&gt;Example Code For Call Web Service&lt;br /&gt;UMarket_PortType service = new UMarket_PortTypeProxy();&lt;br /&gt;StandardBizRequest request = new StandardBizRequest();&lt;br /&gt;StandardBizResponse response = service.activate(request);&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;4. If you can't call Web Service (Exception about Exception BeanDeSerializable) , you will generate stub file in Eclipse (RAD 6.0 --&gt; axis is old).&lt;br /&gt;&lt;div style="BORDER-RIGHT: blue 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: blue 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #ffff99; PADDING-BOTTOM: 1pt; BORDER-LEFT: blue 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: blue 1pt solid"&gt;Example Code For Call Web Service&lt;br /&gt;PctVoiceFaxServiceSoapBindingStub stub = null;&lt;br /&gt;VoiceFaxServiceServiceLocator locator = new VoiceFaxServiceServiceLocator();&lt;br /&gt;VoiceFaxService faxservice = locator.getPctVoiceFaxService(new java.net.URL(faxURL));&lt;br /&gt;stub =(PctVoiceFaxServiceSoapBindingStub)faxservice;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;PS. In case, you ca find wsdl menu. it can add at&lt;br /&gt;1. Window --&gt; Preferences&lt;br /&gt;2. go to Workbence --&gt; Capabilities&lt;br /&gt;3. select all in Web Service Developer&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-6457487643466244099?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/6457487643466244099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=6457487643466244099' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/6457487643466244099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/6457487643466244099'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/06/method-to-check-connection-of-wsdl-on.html' title='Method to check Connection of WSDL (On RAD 6.0)'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-3565862474926187603</id><published>2007-06-05T23:06:00.000-07:00</published><updated>2007-06-05T23:24:17.414-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSL'/><category scheme='http://www.blogger.com/atom/ns#' term='Websphere 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='Trust Certification'/><title type='text'>Config Trust Certification On Websphere 6.1</title><content type='html'>&lt;strong&gt;It have 2 mehod&lt;/strong&gt;&lt;br /&gt;1. Reading from IP and Port that you want to certification.&lt;br /&gt;2. use .cer file for adding to server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Method of adding certification on websphere 6.1&lt;/strong&gt;&lt;br /&gt;1.  Click Menu Security --&gt; SSL certificate and key management&lt;br /&gt;2. Click Key stores and certificates&lt;br /&gt;3. Select NodeDefaultTrustStore&lt;br /&gt;4. Click Signer certificates&lt;br /&gt;5. you can select&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5.1 Retrieve from port --&gt; Using websphere 6.1 retreive from server that you want certification.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5.2 Config Port --&gt; Using .cer file that you write path (.cer file) for trust certification.&lt;br /&gt;6. Restart Web Server, It will success.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;PS. It should only trust certification on Server but shouldn't trust certification on Application.&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-3565862474926187603?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/3565862474926187603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=3565862474926187603' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/3565862474926187603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/3565862474926187603'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/06/config-trust-certification-on.html' title='Config Trust Certification On Websphere 6.1'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-1030862133836171236</id><published>2007-06-04T20:08:00.000-07:00</published><updated>2007-09-06T11:00:03.913-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle DB Broken Pipe'/><category scheme='http://www.blogger.com/atom/ns#' term='Websphere 6.1'/><title type='text'>Solve Problem Broken Pipe on Websphere 6.1</title><content type='html'>When I use datasource on Websphere, It will broken pipe. It will happen because database is back firewall or router (Set drop connection when connection is ideal.).&lt;br /&gt;I solve by I test connection (every 10 second.) --&gt; It work but system will performance drop.&lt;br /&gt;&lt;br /&gt;In Websphere 6.x, Solve following&lt;br /&gt;1. In Admin Console, Going to Resource --&gt; Datasource --&gt; Name of Datasource&lt;br /&gt;2. Click WebSphere Application Server data source properties&lt;br /&gt;3. Select Pretest connection properties (For Config Test Connection)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-1030862133836171236?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/1030862133836171236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=1030862133836171236' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/1030862133836171236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/1030862133836171236'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/06/solve-problem-broken-pipe-on-websphere.html' title='Solve Problem Broken Pipe on Websphere 6.1'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-1452037187432424121</id><published>2007-06-04T00:09:00.000-07:00</published><updated>2007-06-04T00:13:09.942-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Websphere 6.1'/><category scheme='http://www.blogger.com/atom/ns#' term='Encode UTF-8'/><title type='text'>Config Encode UTF-8 On Websphere 6.1</title><content type='html'>Java Encode UTF-8 On Websphere 6.1&lt;br /&gt;1. Select Application Server --&gt; choose server that you will change encode.&lt;br /&gt;2. After that select Java and Process  Management (in section Server Infrastructure) --&gt; Process Definition&lt;br /&gt;3. After that select Java Virtual Machine (in section Additional Properties)&lt;br /&gt;4. Add data in Generic JVM arguments, It use -Dclient.encoding.override=UTF-8&lt;br /&gt;5. Save then Application Server will encode UTF-8.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-1452037187432424121?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/1452037187432424121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=1452037187432424121' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/1452037187432424121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/1452037187432424121'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/06/config-encode-utf-8-on-websphere-61.html' title='Config Encode UTF-8 On Websphere 6.1'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3477019391354955592.post-1925136443733688130</id><published>2007-06-03T21:03:00.000-07:00</published><updated>2007-06-03T22:57:33.471-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SFF'/><category scheme='http://www.blogger.com/atom/ns#' term='Convert PDF to SFF'/><category scheme='http://www.blogger.com/atom/ns#' term='Generate SFF File'/><title type='text'>Processing Create .SFF file Format (Structured Fax Format)</title><content type='html'>It will create from pdf file --&gt; tiff file --&gt; sff file. &lt;span style="color:#ff0000;"&gt;Important for tiff file, it will only width = 1728 . If you are not use this width, It may not work. &lt;/span&gt;Use Library&lt;br /&gt;1. Use iText for create PDF File --&gt; &lt;a href="http://www.lowagie.com/iText/download.html"&gt;download&lt;/a&gt;&lt;br /&gt;2. Use JAI (Java Advance Imaging) For Convert PDF to TIFF File --&gt; &lt;a href="http://java.sun.com/products/java-media/jai/downloads/download-1_1_2.html"&gt;download&lt;/a&gt;&lt;br /&gt;3. Use mms-computing (mmsc) For Convert TIFF to SFF File --&gt; &lt;a href="http://www.mms-computing.co.uk/uk/co/mmscomputing/download/index.php"&gt;download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Step Create SFF File&lt;br /&gt;1. Create PDF File.&lt;br /&gt;&lt;br /&gt;&lt;div style="BORDER-RIGHT: blue 1pt solid; PADDING-RIGHT: 4pt; BORDER-TOP: blue 1pt solid; PADDING-LEFT: 4pt; BACKGROUND: #ffff99; PADDING-BOTTOM: 1pt; BORDER-LEFT: blue 1pt solid; PADDING-TOP: 1pt; BORDER-BOTTOM: blue 1pt solid"&gt;&lt;strong&gt;Example &lt;/strong&gt;&lt;br /&gt;String filename = "pdfTest.pdf";&lt;br /&gt;Rectangle rectangler = new Rectangle(1728,2292);&lt;br /&gt;Document document = new Document(rectangler);&lt;br /&gt;PdfWriter.getInstance(document, new FileOutputStream(filename));&lt;br /&gt;document.open();&lt;br /&gt;document.add(new Paragraph("Hello World",new Font(Font.BOLD,75)));&lt;br /&gt;document.close();&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. Convert PDF to TIFF File.&lt;br /&gt;&lt;br /&gt;&lt;div style='border:solid blue 1.0pt;padding:1.0pt 4.0pt 1.0pt 4.0pt;background:#FFFF99'&gt;&lt;br /&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br /&gt;PdfDecoder decoder = new PdfDecoder();&lt;br /&gt;decoder.openPdfArray(bai);&lt;br /&gt;decoder.setSize(100, 100);&lt;br /&gt;ByteArrayOutputStream baos = new ByteArrayOutputStream();&lt;br /&gt;if (decoder.isFileViewable()) {&lt;br /&gt;try {&lt;br /&gt;for (int i = 0; i &lt; decoder.getPageCount(); i++) {&lt;br /&gt;                        int pageNumber = i + 1;&lt;br /&gt;                        BufferedImage imageTemp = decoder.getPageAsImage(pageNumber);&lt;br /&gt;                        BufferedImage image = new Binarization(50).filter(imageTemp);&lt;br /&gt;                        TIFFEncodeParam tiff = new TIFFEncodeParam();&lt;br /&gt;                        OutputStream outp = (new FileOutputStream("tiffTest.tiff"));&lt;br /&gt;                        ImageEncoder encoder = com.sun.media.jai.codec.ImageCodec.createImageEncoder("tiff", outp, tiff);&lt;br /&gt;                        encoder.encode(image);&lt;br /&gt;                        outp.close();&lt;br /&gt;                    }&lt;br /&gt;                } finally {&lt;br /&gt;                    if (baos != null) {&lt;br /&gt;                        baos.flush();&lt;br /&gt;                        baos.close();&lt;br /&gt;                    }&lt;br /&gt;                }&lt;br /&gt;            }&lt;br /&gt;            decoder.closePdfFile();&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;3. Convert TIFF to SFF File. I use open TIFF File and save to SFF File. You can find it by see at uk.co.mmscomputing.application.imageviewer.ImageTab class --&gt; Method save and open.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3477019391354955592-1925136443733688130?l=yashima-eng.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yashima-eng.blogspot.com/feeds/1925136443733688130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3477019391354955592&amp;postID=1925136443733688130' title='51 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/1925136443733688130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3477019391354955592/posts/default/1925136443733688130'/><link rel='alternate' type='text/html' href='http://yashima-eng.blogspot.com/2007/06/processing-create-sff-file-format.html' title='Processing Create .SFF file Format (Structured Fax Format)'/><author><name>Yashima</name><uri>http://www.blogger.com/profile/10241188301583665550</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_OyrxYulzYnY/SL9YgAUSvLI/AAAAAAAACJs/I36oym5DGks/S220/DSCF0033.JPG'/></author><thr:total>51</thr:total></entry></feed>
