tag:blogger.com,1999:blog-72715745537164191152024-03-04T22:07:16.594-08:00OAF, OA Framework, Oracle eBusiness Suite, EBS, Javalukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-7271574553716419115.post-88044044091609819962016-07-26T02:08:00.002-07:002016-08-04T01:38:35.671-07:00Path for Opening Various Periods in Oracle Apps (EBS)<b><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">1. </span></b><b><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">GL Period</span></b><br />
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; line-height: 1.38; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">General Ledger Super User > Setup > Open/Close</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">2. </span></span><span style="font-family: "arial"; font-size: 14.6667px; white-space: pre-wrap;">Purchasing Period</span></b></div>
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Purchasing Super User > Setup > Financials > Accounting > Control Purchasing Periods</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">3. </span></span><span style="font-family: "arial"; font-size: 14.6667px; white-space: pre-wrap;">Inventory Period</span></b></div>
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Inventory > Accounting Close Cycle > Inventory Accounting Periods</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">4. </span></span><span style="font-family: "arial"; font-size: 14.6667px; white-space: pre-wrap;">Receivables Period</span></b></div>
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Receivables Manager > Control > Accounting > Open/Close Periods</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">5. </span></span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">Payables Period</span></b></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"> </span></span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Payables Manager > Accounting > Control Payables </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Periods</span></div>
lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-34293079186347316152016-07-26T02:08:00.001-07:002016-07-26T02:10:29.080-07:00Path for Opening Various Periods in Oracle Apps (EBS)<b><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">1. </span></b><b><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">GL Period</span></b><br />
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; line-height: 1.38; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">General Ledger Super User > Setup > Open/Close</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">2. </span></span><span style="font-family: "arial"; font-size: 14.6667px; white-space: pre-wrap;">Purchasing Period</span></b></div>
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Purchasing Super User > Setup > Financials > Accounting > Control Purchasing Periods</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">3. </span></span><span style="font-family: "arial"; font-size: 14.6667px; white-space: pre-wrap;">Inventory Period</span></b></div>
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Inventory > Accounting Close Cycle > Inventory Accounting Periods</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">4. </span></span><span style="font-family: "arial"; font-size: 14.6667px; white-space: pre-wrap;">Receivables Period</span></b></div>
<div>
<span style="font-family: "arial"; font-size: 14.6667px; font-weight: 700; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Receivables Manager > Control > Accounting > Open/Close Periods</span></span></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<b><span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">5. </span></span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">Payables Period</span></b></div>
<div>
<span style="font-family: "arial";"><span style="font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"> </span></span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Navigate to </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Payables Manager > Accounting > Control Payables </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;">Periods</span></div>
lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-19366985387898749982016-02-08T00:24:00.001-08:002016-02-08T00:24:41.028-08:00[ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)<span style="font-family: "arial" , "helvetica" , sans-serif;">When we try to connect gmail imap server and it throws error as </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<br />
<div class="p1">
<span style="font-family: "arial" , "helvetica" , sans-serif;">[ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)</span></div>
<div class="p1">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="p1">
<span style="font-family: "arial" , "helvetica" , sans-serif;">Solution: Turn on 2-step verification then use App passwords instead the usual password</span></div>
lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-89249381691683224182016-02-08T00:18:00.000-08:002016-02-08T00:34:19.363-08:00How to connect IMAPS gmail server<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">import</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> java.util.Properties;</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span id="docs-internal-guid-751cbe08-bfe9-82fe-4681-1b2507e9b016" style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">import</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> javax.mail.Folder;</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">import</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> javax.mail.Message;</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">import</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> javax.mail.Session;</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">import</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> javax.mail.Store;</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">import</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> com.sun.mail.imap.IMAPFolder;</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">// Define the used properties.</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Properties props = </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">new</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> Properties();</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">props.setProperty("mail.store.protocol", "</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">imaps</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">");</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Session session = Session.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">getDefaultInstance</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">(props, </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">null</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">);</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">store = session.getStore("imaps");</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">store.connect("imap.googlemail.com", "username@gmail.com", "password");</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">folder = (IMAPFolder) store.getFolder("inbox");</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">folder.open(Folder.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">READ_WRITE</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">);</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Message[] messages = folder.getMessages();</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">System.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">out</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">.println("No of Messages : " + folder.getMessageCount());</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">System.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">out</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">.println("No of Unread Messages : " + folder.getUnreadMessageCount());</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">System.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">out</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">.println(messages.length);</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">for</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> (</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">int</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> i = 0; i < messages.length; i++) {</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">System.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">out</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">.println("*****************************************************************************");</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">System.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">out</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">.println("MESSAGE " + (i + 1) + ":");</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Message msg = messages[i];</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">// System.out.println(msg.getMessageNumber());</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">// Object String;</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">// System.out.println(folder.getUID(msg)</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">subject = msg.getSubject();</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">System.</span><span style="background-color: transparent; font-style: italic; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">out</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">.println("Subject: " + subject);</span></span></div>
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="font-weight: normal;"><br /></span>
</span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">} </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">catch</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> (IndexOutOfBoundsException e) {</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">e.printStackTrace();</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">} </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">catch</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> (Exception e) {</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">throw</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">new</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> RuntimeException(e);</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">} </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">finally</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> {</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">try</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> {</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">folder.close(</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">true</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">);</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">} </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">catch</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> (Exception e) {</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">// do nothing</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">try</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> {</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">store.close();</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">} </span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">catch</span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> (Exception e) {</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">// do nothing</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #444444; font-family: Arial, Helvetica, sans-serif;"><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: transparent; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></span></div>
<br />lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-43357855123084003432016-02-07T23:59:00.002-08:002016-02-08T00:00:32.126-08:00How to open OAF page from a linkhttp://thaioafdev.blogspot.com/2016/02/how-to-open-oaf-page-from-link.htmllukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-43854789239919895362016-02-07T06:54:00.000-08:002016-02-11T00:59:03.863-08:00How to fix PKIX path building failed unable to find valid certification path to requested target<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">1. get the self-signed certificate from the mail server via openssl:</span></div>
<b id="docs-internal-guid-5ad3d66a-bc37-6145-457f-108e8535be12" style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">echo | openssl s_client -connect your_imaps_server:port 2>&1 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > exported_cert.pem</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">2. Check your current used JRE path, for example in Eclipse</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Windows > Preferences > Java > Installed JREs</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">3. Open cmd as Administrator (for Windows users)</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">4. Copy file from step 1 into </span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">path_from_step2\lib\security</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">5. Open CMD as Admin (for Windows >> All Programs > Accessories > CMD > Run as admin )</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><img height="151" src="https://lh4.googleusercontent.com/7zsrtNo7HQhauhaCbmObvtH-Lwl7ZFLlPRQ4AotyBf1EuUkkJIo0q60UQWD8YdzofXW-h6QAVQbScoMfuQ1QT9H3hTKW-ebMsxdELIt7HcVKznjzJH7XLtdjuLLq7IXjWefBhq1G" style="-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);" width="406" /></span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">6. Check certs for JRE, CD to </span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">path_from_step2\lib\security </span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">, run command</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">keytool -list -keystore cacerts</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Password is </span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">changeit</span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">. The command will list all certs </span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><img height="103" src="https://lh5.googleusercontent.com/_56X2drs1G36kaj6l_ypEpZmJa6GDnzSokVuqw4wlL7WacLLsaVLxpRONsNCmENd9Lajih0S2Z0AZR1XDv4AMXoVV3Yv8U_ewZOG6z_qQXFtBA92rK7EgDSwewcMkei3HSVhRwj8" style="-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);" width="624" /></span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">7. Run command </span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">For Windows>> </span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">keytool -keystore cacerts -importcert -alias mycert -file <span style="font-size: 14.6667px; line-height: 20.24px;">exported_cert</span>.pem </span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">For Unix>> </span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">keytool -keystore cacerts -import -alias mycert -file <span style="font-size: 14.6667px; line-height: 20.24px;">exported_cert</span>.pem</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Password is </span><span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">changeit</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><img height="43" src="https://lh6.googleusercontent.com/BeXg_xXrUlKiu69O5lfI5_mLb69qsK4elauHzVt2Eve0YwtzJOX-T7oMZGBrlfZsqxqEljTX2BGpB7NhTvqVrE5YXWMZ6dxSd0y-wwMHvyPGUm624Il9Hfi3NnJsTcVE1t7qf0O8" style="-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);" width="399" /></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">If there is error please make sure that you log in as Administrator</span></div>
<b style="font-weight: normal;"><br /></b>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ref: </span><a href="http://stackoverflow.com/questions/20122099/error-in-javamail-pkix-path-building-failed-unable-to-find-valid-certification" style="text-decoration: none;"><span style="background-color: transparent; color: #1155cc; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">http://stackoverflow.com/questions/20122099/error-in-javamail-pkix-path-building-failed-unable-to-find-valid-certification</span></a></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: #1155cc; font-family: "arial"; font-size: 14.6667px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"><a href="http://blog.didierstevens.com/2015/03/30/howto-make-your-own-cert-with-openssl-on-windows/" style="text-decoration: none;">http://blog.didierstevens.com/2015/03/30/howto-make-your-own-cert-with-openssl-on-windows/</a></span></div>
<div>
<br /></div>
lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-38775805037984573032015-06-09T18:32:00.000-07:002015-06-09T18:32:03.736-07:00Replace string in files using Windows PowerShell<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">1. Run > Windows Power Shell</span></div>
<div dir="ltr" style="line-height: 1.5954545454545455; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">2. Place scripts as >> </span><i><span style="background-color: white; color: #424242; font-family: Arial; font-size: 14.6666666666667px; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">(Get-Content C:\Scripts\Test.txt) | </span><span style="background-color: white; color: #424242; font-family: Arial; font-size: 14.6666666666667px; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br class="kix-line-break" /></span><span style="background-color: white; color: #424242; font-family: Arial; font-size: 14.6666666666667px; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Foreach-Object {$_ -replace "\*", "@"} | </span><span style="background-color: white; color: #424242; font-family: Arial; font-size: 14.6666666666667px; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br class="kix-line-break" /></span><span style="background-color: white; color: #424242; font-family: Arial; font-size: 14.6666666666667px; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Set-Content C:\Scripts\Test.txt</span></i></div>
<span id="docs-internal-guid-5f0cee5d-db14-cd79-d6f4-d109b895966b"><br /></span>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">This will replace * by @</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Ref: http://stackoverflow.com/questions/60034/how-can-you-find-and-replace-text-in-a-file-using-the-windows-command-line-envir</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: Arial; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; font-size: 14.6666669845581px; line-height: 20.2399997711182px; vertical-align: baseline; white-space: pre-wrap;"><span style="font-family: Arial;">http://blogs.technet.com/b/heyscriptingguy/</span></span></div>
lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-86476085372555548112014-06-22T20:00:00.001-07:002014-06-22T20:00:30.715-07:00Crontab commandhttp://www.computerhope.com/unix/ucrontab.htmlukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-15075468565596784562014-06-19T09:22:00.000-07:002014-06-19T09:22:51.618-07:00How to get Oracle database versionselect * from v$version;<br />
<br />
<br />
<br />lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-88757925319527982722014-06-05T21:15:00.000-07:002014-06-05T21:15:04.282-07:00Script for changing user's password on Oracle ERPbegin<br />
if fnd_user_pkg.changepassword('USERNAME','newpassword') then<br />
null;<br />
end if;<br />
end;lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-24642826165372092302014-06-05T19:06:00.002-07:002014-06-05T19:07:21.180-07:00How to disable checking Transit Routing Number (Branch Number) Oracle R12To disable Transit Routing Number we'll change profile option >> CE: Disable Bank Validations to Yeslukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-72938978982559405242014-06-05T18:58:00.003-07:002014-06-05T18:59:14.096-07:00How to set Putty Auto Log inFor some versions of PuTTY, it's as simple as one of :<br />
<br />
<i>putty.exe mylogin@somewhere.com -pw mypassword</i><br />
<i>putty.exe somewhere.com -l mylogin -pw mypassword</i><br />
If you want to connect using SSH, use this:<br />
<br />
<i>putty.exe -ssh root@somewhere.com -pw mypasswordforsomewherecom</i><br />
For those using Windows, you can simply create a shortcut and pass in these parameters.<br />
For example:<br />
<br />
Create a shortcut on the desktop to putty.exe<br />
Rename the shortcut to PuTTY - server.com<br />
Right-click shortcut and choose Properties<br />
Modify the target similar to:<br />
<i>"C:\Program Files\PuTTY\putty.exe" user@server.com -pw password</i><br />
Click OK<br />
<br />
Ref: <a href="https://www.blogger.com/For%20some%20versions%20of%20PuTTY,%20it's%20as%20simple%20as%20one%20of%20:%20%20putty.exe%20mylogin@somewhere.com%20-pw%20mypassword%20putty.exe%20somewhere.com%20-l%20mylogin%20-pw%20mypassword%20If%20you%20want%20to%20connect%20using%20SSH,%20use%20this:%20%20putty.exe%20-ssh%20root@somewhere.com%20-pw%20mypasswordforsomewherecom%20For%20those%20using%20Windows,%20you%20can%20simply%20create%20a%20shortcut%20and%20pass%20in%20these%20parameters.%20For%20example:%20%20Create%20a%20shortcut%20on%20the%20desktop%20to%20putty.exe%20Rename%20the%20shortcut%20to%20PuTTY%20-%20server.com%20Right-click%20shortcut%20and%20choose%20Properties%20Modify%20the%20target%20similar%20to:%20%22C:/Program%20Files/PuTTY/putty.exe%22%20user@server.com%20-pw%20password%20Click%20OK">here</a>lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-28841534972491490982013-06-05T08:02:00.003-07:002013-06-05T08:02:54.962-07:00Oracle Workflow Knowledge Bloghttp://smforum.workflowfaq.com/index.php?topic=1666.0<br />
http://oraclemaniac.com/2012/11/29/understanding-workflow-roles/#comment-4017lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-35870096882182358352013-05-20T00:45:00.003-07:002013-05-20T00:46:26.657-07:00Script for checking database session and script for terminating the session.<br />
<br />
select<br />
c.owner,<br />
c.object_name,<br />
c.object_type,<br />
b.sid,<br />
b.serial#,<br />
b.status,<br />
b.osuser,<br />
b.machine<br />
from<br />
v$locked_object a ,<br />
v$session b,<br />
dba_objects c<br />
where<br />
b.sid = a.session_id<br />
and<br />
a.object_id = c.object_id;<br />
<br />
alter system kill session 'b.sid,b.serial#';lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-91169669656019394382013-05-14T10:23:00.002-07:002014-06-17T23:44:17.902-07:00Script for checking user privileges in OracleRef: <br />
<a href="http://stackoverflow.com/questions/1298473/how-can-i-list-all-grants-a-user-received">http://stackoverflow.com/questions/1298473/how-can-i-list-all-grants-a-user-received</a><br />
<br />
<b>System privileges for a user:</b><br />
SELECT PRIVILEGE<br />
FROM sys.dba_sys_privs<br />
WHERE grantee = <theUser><br />
UNION<br />
SELECT PRIVILEGE <br />
FROM dba_role_privs rp JOIN role_sys_privs rsp ON (rp.granted_role = rsp.role)<br />
WHERE rp.grantee = <theUser><br />
ORDER BY 1;<br />
<br />
<b>Direct grants to tables/views:</b><br />
SELECT owner, table_name, select_priv, insert_priv, delete_priv, update_priv, references_priv, alter_priv, index_priv <br />
FROM table_privileges<br />
WHERE grantee = <theUser><br />
ORDER BY owner, table_name;<br />
<br />
<b>Indirect grants to tables/views:</b><br />
SELECT DISTINCT owner, table_name, PRIVILEGE <br />
FROM dba_role_privs rp JOIN role_tab_privs rtp ON (rp.granted_role = rtp.role)<br />
WHERE rp.grantee = <theUser><br />
ORDER BY owner, table_name;<br />
<br />
DBA_ROLE_PRIVS - Roles granted to users and roles<br />
ROLE_ROLE_PRIVS - Roles which are granted to roles<br />
ROLE_SYS_PRIVS - System privileges granted to roles<br />
ROLE_TAB_PRIVS - Table privileges granted to roles<br />
<br />
dba_tab_privslukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-90641417085367858142013-05-10T10:09:00.001-07:002013-05-10T10:19:11.689-07:00How to fix Query has exceeded 200 rows. Potentially more rows exists, please restrict your query.How to fix Query has exceeded 200 rows. Potentially more rows exists, please restrict your query.<br />
<br />
This issue occurs because your query has more than 200 rows.<br />
<br />
You can put more filters in your query or set profile "FND: View Object Max Fetch Size".<br />
<br />
To set profile values, follow below steps<br />
<br />
1. Log in eBusiness Suite<br />
<br />
2. System Administrator > Profile > System<br />
<br />
3. At Find System Profile Values window, find "FND: View Object Max Fetch Size".<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW4VCedDPWK3YKKAXr7HRfJjIA6gyY-C2vEqJDZF6cqP5naboasM_VE_uiHXSIJDW_j9d3K9WxpQ65hC0HGO9gNPHnSAyH613Yhnbiv81X-Tolt8HNNDfe2B0JX0_LT9sR-HNE2j5CMuw/s1600/001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW4VCedDPWK3YKKAXr7HRfJjIA6gyY-C2vEqJDZF6cqP5naboasM_VE_uiHXSIJDW_j9d3K9WxpQ65hC0HGO9gNPHnSAyH613Yhnbiv81X-Tolt8HNNDfe2B0JX0_LT9sR-HNE2j5CMuw/s400/001.png" width="400" /></a></div>
<br />
<br />
4. At System Profile Values window, change the value then save.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW_NEhSs3io5BtP_qst1Zc3XVt3iFIiHZHgQRbd0JqXJqEiNescpjt9Eb77mwpkuYdiX_yIhdC_9yPI8rWybEBTzQbkau5WViSdJLujODmOZAhUPv6phDKZ45wqeBNRWiH_8vnFj-Bl1Q/s1600/002.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="222" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW_NEhSs3io5BtP_qst1Zc3XVt3iFIiHZHgQRbd0JqXJqEiNescpjt9Eb77mwpkuYdiX_yIhdC_9yPI8rWybEBTzQbkau5WViSdJLujODmOZAhUPv6phDKZ45wqeBNRWiH_8vnFj-Bl1Q/s400/002.png" width="400" /></a></div>
<br />lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-79592196322463565052013-05-08T22:02:00.002-07:002013-05-10T10:18:52.594-07:00Script for getting User's responsibilitySELECT FURGA.USER_ID<br />
, FU.USER_NAME<br />
, FURGA.RESPONSIBILITY_ID<br />
, FRTL.RESPONSIBILITY_NAME<br />
, FURGA.RESPONSIBILITY_APPLICATION_ID<br />
, FA.APPLICATION_SHORT_NAME<br />
, FURGA.SECURITY_GROUP_ID<br />
, FSG.SECURITY_GROUP_KEY<br />
, FURGA.START_DATE<br />
, FURGA.END_DATE<br />
, FURGA.CREATED_BY<br />
, FUCB.USER_NAME<br />
, FURGA.CREATION_DATE<br />
, FURGA.LAST_UPDATED_BY<br />
, FULUB.USER_NAME<br />
, FURGA.LAST_UPDATE_DATE<br />
, FURGA.LAST_UPDATE_LOGIN<br />
, FULUL.USER_NAME<br />
FROM<br />
apps.FND_USER_RESP_GROUPS_ALL FURGA,<br />
apps.FND_USER FU,<br />
apps.FND_USER FUCB,<br />
apps.FND_USER FULUB,<br />
apps.FND_USER FULUL,<br />
apps.FND_APPLICATION FA,<br />
apps.FND_RESPONSIBILITY_TL FRTL,<br />
apps.FND_SECURITY_GROUPS FSG<br />
WHERE<br />
FURGA.USER_ID = FU.USER_ID (+)<br />
AND FURGA.CREATED_BY = FUCB.USER_ID (+)<br />
AND FURGA.LAST_UPDATED_BY = FULUB.USER_ID (+)<br />
AND FURGA.LAST_UPDATE_LOGIN = FULUL.USER_ID (+)<br />
AND FURGA.RESPONSIBILITY_APPLICATION_ID = FA.APPLICATION_ID (+)<br />
AND FURGA.RESPONSIBILITY_ID = FRTL.RESPONSIBILITY_ID (+)<br />
AND FRTL.LANGUAGE = 'US'<br />
AND FURGA.SECURITY_GROUP_ID = FSG.SECURITY_GROUP_ID (+)<br />
and fu.user_name='&user_name'<br />
ORDER BY FRTL.RESPONSIBILITY_NAME;lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-36473139777222635562013-05-08T20:24:00.002-07:002013-05-10T10:18:39.059-07:00Script for checking Profile Option<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">SELECT p.profile_option_name short_name,<br /> n.user_profile_option_name name,<br /> TO_CHAR (v.last_update_date, 'DD-MON-YYYY') "Last Updated",<br /> DECODE (v.level_id,<br /> 10001, 'Site',<br /> 10002, 'Application',<br /> 10003, 'Responsibility',<br /> 10004, 'User',<br /> 10005, 'Server',<br /> 10007, 'SERVRESP',<br /> 'UnDef')<br /> level_set,<br /> DECODE (TO_CHAR (v.level_id),<br /> '10001', '',<br /> '10002', app.application_short_name,<br /> '10003', rsp.responsibility_key,<br /> '10005', svr.node_name,<br /> '10006', org.name,<br /> '10004', usr.user_name,<br /> '10007', 'Serv/resp',<br /> 'UnDef')<br /> "CONTEXT",<br /> v.profile_option_value VALUE<br /> FROM fnd_profile_options p,<br /> fnd_profile_option_values v,<br /> fnd_profile_options_tl n,<br /> fnd_user usr,<br /> fnd_application app,<br /> fnd_responsibility rsp,<br /> fnd_nodes svr,<br /> hr_operating_units org<br /> WHERE p.profile_option_id = v.profile_option_id(+)<br /> AND p.profile_option_name = n.profile_option_name<br /> AND UPPER (n.user_profile_option_name) LIKE<br /> UPPER ('FND: View Object Max Fetch Size') -- Profile Option Name<br /> AND usr.user_id(+) = v.level_value<br /> AND rsp.application_id(+) = v.level_value_application_id<br /> AND rsp.responsibility_id(+) = v.level_value<br /> AND app.application_id(+) = v.level_value<br /> AND svr.node_id(+) = v.level_value<br /> AND org.organization_id(+) = v.level_value<br />ORDER BY short_name, level_set;</span></span>lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-63261889087505026962013-05-08T19:23:00.000-07:002013-05-10T10:18:25.329-07:00How to add Sys Admin Responsibility วิธีการเพิ่ม Responsibility โดยใช้ scipt<br />
<br />
<span style="font-size: small;"><span style="font-family: Arial,Helvetica,sans-serif;">set serveroutput on<br />BEGIN<br /> fnd_user_pkg.addresp<br /> (username => 'MYNAME',<br /> resp_app => 'SYSADMIN',<br /> resp_key => 'SYSTEM_ADMINISTRATOR',<br /> security_group => 'STANDARD',<br /> description => 'DESCRIPTION',<br /> start_date => SYSDATE,<br /> end_date => SYSDATE +1<br /> );<br />COMMIT;<br />DBMS_OUTPUT.put_line ('Added');<br />EXCEPTION<br />WHEN OTHERS<br />THEN<br />DBMS_OUTPUT.put_line ('Error '|| SQLCODE|| SUBSTR (SQLERRM, 1, 100));<br />ROLLBACK;<br />END;<br />/</span></span>lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-81431088991793320132013-05-07T07:08:00.001-07:002013-05-10T10:17:56.995-07:00How to enable About This Page (at Site Level)<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DoNotOptimizeForBrowser/>
</w:WordDocument>
</xml><![endif]--><b><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;">วิธีการกำหนดให้ eBusiness Suite แสดงลิงค์ About This Page ในระดับ Site Level</span></span></b><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;"><br /></span></span>
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DoNotOptimizeForBrowser/>
</w:WordDocument>
</xml><![endif]-->
<br />
<ol start="1" style="margin-top: 0in;" type="1">
<li class="MsoNormal" style="color: black;"><span style="font-size: small;"><span class="apple-converted-space"><span style="background: none repeat scroll 0% 0% white; font-family: Tahoma;">Log in eBusiness Suite</span></span></span></li>
<li class="MsoNormal"><span style="font-size: small;"><span class="apple-converted-space"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: Tahoma;">เลือก </span></span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: Arial;">responsibility
</span><span class="apple-converted-space"><span style="background: none repeat scroll 0% 0% white; color: black; font-family: Tahoma;">เป็น </span></span><span style="background: none repeat scroll 0% 0% white; color: black; font-family: Arial;">System
Administrator > Profile<span class="apple-converted-space"> >
System</span></span><span class="apple-converted-space"></span></span></li>
<li class="MsoNormal"><span style="font-size: small;"><span lang="TH" style="font-family: Tahoma;">ให้เสิร์ชว่า
</span><span style="font-family: Tahoma;">FND%Dia%
</span><span lang="TH" style="font-family: Tahoma;">แล้วกด </span><span style="font-family: Tahoma;">Find</span><span lang="TH" style="font-family: Tahoma;"> <div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf2QBzphs81pmso713tm0aZDsGA5anWlFalkB5ukJ7r4SmL2i4MqnRS-jOO853n8XorFteOCoyeBIWweREzarjhz3L6urPxtgzcDFXjpV-ECn9vJwbxL84XS3vgRJ65JDfaP7wY3lzV7k/s1600/001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf2QBzphs81pmso713tm0aZDsGA5anWlFalkB5ukJ7r4SmL2i4MqnRS-jOO853n8XorFteOCoyeBIWweREzarjhz3L6urPxtgzcDFXjpV-ECn9vJwbxL84XS3vgRJ65JDfaP7wY3lzV7k/s400/001.png" width="400" /></a></div>
</span></span></li>
<li class="MsoNormal"><span style="font-size: small;"><span lang="TH" style="font-family: Tahoma;">หน้าต่าง </span><span style="font-family: Tahoma;">System Profile Values </span><span lang="TH" style="font-family: Tahoma;">จะแสดงขึ้นมา ให้แก้ไขค่าเป็น </span><span style="font-family: Tahoma;">Yes</span> <span style="font-size: small;">แล้วบันทึก</span></span> </li>
</ol>
<span style="font-size: small;"><span style="font-family: Tahoma;"></span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-size: small;"><span style="font-family: Tahoma;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirk0MjN9XamDT7ymQj3al2iYCwoPWYimtUbTS6StGGsYyie8j3f4wNbb805eF0_YtQmJngNQeDSDF-WJFC8qL6xqP-Ks9WSGXt11neOpvtUs85HfIQfgzxp_2MyekttPTCwenAPN7wMW4/s1600/002.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="153" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirk0MjN9XamDT7ymQj3al2iYCwoPWYimtUbTS6StGGsYyie8j3f4wNbb805eF0_YtQmJngNQeDSDF-WJFC8qL6xqP-Ks9WSGXt11neOpvtUs85HfIQfgzxp_2MyekttPTCwenAPN7wMW4/s400/002.png" width="400" /></a></span></span></div>
<span style="font-size: small;"><span style="font-family: Tahoma;">
</span></span>lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0tag:blogger.com,1999:blog-7271574553716419115.post-72485557893838786062013-05-07T07:06:00.000-07:002013-05-10T10:16:35.573-07:00How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x <!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:DoNotOptimizeForBrowser/>
</w:WordDocument>
</xml><![endif]-->
<br />
<div class="MsoNormal">
<b><span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">วิธีหาเวอร์ชั่นของ </span></span><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt;">Jdev </span></span><span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">เพื่อพัฒนา </span></span><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt;">OA Framework</span></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">ก่อนอื่นเราต้องไปดูว่าใน eBusiness Suite instance
ของเรามันต้องการ Jdev เวอร์ชันไหน</span></span></div>
<div class="MsoNormal">
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">โดยเมื่อ</span></span></div>
<div class="MsoNormal" style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span class="apple-converted-space"><span lang="TH" style="color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">1)<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">log in เข้าไปที่ eBusiness Suite แล้ว</span></span></div>
<div class="MsoNormal" style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span class="apple-converted-space"><span lang="TH" style="color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">2)<span style="font: 7.0pt "Times New Roman";">
</span></span></span><span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;"><span style="mso-spacerun: yes;"> </span>มันจะมีลิงค์
About This Page อยู่ด้านล่าง ให้คลิ๊กเข้าไป</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD3nVetSHkqIf5BLD0PEKNLbhVVIQiljxzb7DTANdMvhrzz5HwQNotXtKqlF2wv5qgTH9j7ztPvY-rAXIRZA9PW3BRaP3I_Y4a0DEgSkd4BSviiYhD5oFACkkrT4V3ZS3ZtBDNyBR0ZJ0/s1600/001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img alt="" border="0" height="263" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD3nVetSHkqIf5BLD0PEKNLbhVVIQiljxzb7DTANdMvhrzz5HwQNotXtKqlF2wv5qgTH9j7ztPvY-rAXIRZA9PW3BRaP3I_Y4a0DEgSkd4BSviiYhD5oFACkkrT4V3ZS3ZtBDNyBR0ZJ0/s400/001.png" title="About This Page" width="400" /></a></div>
<div class="MsoNormal" style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;"></span></span></div>
<div class="MsoNormal" style="text-indent: .5in;">
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">(ถ้าไม่มีให้ทำตามนี้</span></span><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt;"> <a href="http://kimura12.blogspot.com/2013/05/how-to-enable-about-this-page-at-site.html">How to enable About This Page</a>)</span></span></div>
<div class="MsoNormal" style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<span class="apple-converted-space"><span style="color: black; font-family: Tahoma; font-size: 10.5pt;">3)<span style="font: 7.0pt "Times New Roman";"> </span></span></span><span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">คลิ๊กที่ Technology
Components จะเห็นเวอร์ชั่นของ </span></span><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt;">OA
Framework</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2DXdN8urYKYMW6gD4OiWBrwCqfShK14RDno6jAoQ32aR61Q3wsy9LpUOPZreVLIL6iE6O2dedmXBXxUFguv9CuWJCjI4DAkvQCLNRYH8zN4gJ4f4QoVVkhIJK8a2LSTakYhqAXJX4Dno/s1600/002.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="252" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2DXdN8urYKYMW6gD4OiWBrwCqfShK14RDno6jAoQ32aR61Q3wsy9LpUOPZreVLIL6iE6O2dedmXBXxUFguv9CuWJCjI4DAkvQCLNRYH8zN4gJ4f4QoVVkhIJK8a2LSTakYhqAXJX4Dno/s400/002.png" width="400" /></a></div>
<div class="MsoNormal" style="margin-left: .5in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">เมื่อเราได้เวอร์ชั่นของ OA Frameworkมาแล้ว
ต่อไปเราจะไปดูว่า Jdev ที่เรามีมันใช้ได้ไหม</span></span></div>
<div class="MsoNormal">
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">โดยเมื่อเปิด </span></span><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt;">Jdev </span></span><span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH;">ขึ้นมาแล้วก็เลือกเมนู
</span></span><span class="apple-converted-space"><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt;">Help > About</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwk4mlOT6GNv74RKUVf2vcdVDAOiU4HCsjyvQWXOzNQ7Pce0x5M1ZayKQpcZa6X3PQWzMhxLjTUrnwl0kifTuYThGSQZjHZx0fckNWbIX9oK6tNe4ubtitrnFvqC61I1r47FQT_BwlXOg/s1600/003.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="269" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwk4mlOT6GNv74RKUVf2vcdVDAOiU4HCsjyvQWXOzNQ7Pce0x5M1ZayKQpcZa6X3PQWzMhxLjTUrnwl0kifTuYThGSQZjHZx0fckNWbIX9oK6tNe4ubtitrnFvqC61I1r47FQT_BwlXOg/s320/003.png" width="320" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;">แล้วจะไปหาเวอร์ชั่นที่มันเข้ากันได้มาได้ยังไง
พอดีคนเขียนมีโอกาสดีได้มี oracle support account เลยได้เข้าไปหาในนั้นมา ไม่งั้นก็ต้องไปเสิร์ชหาจาก google กันล่ะ เขาบอกว่าเวอร์ชั่น </span><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;">R12
</span><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;">ต้องใช้ </span><span style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;">Jdev </span><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;">ตามนี้</span></span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT4MxU8hzAy8ae46fwX_gHXoVfhqFcZilVkC6sQVVS3STTpCu7irJsjGu8YmRB3S2BzTnLPARLKOzACDDsHlDutY8WPkoOxAgeu4uPPaAfWXtddTjU32HLP8FfYaiwCQhgggXwsHNyi0M/s1600/004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="102" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT4MxU8hzAy8ae46fwX_gHXoVfhqFcZilVkC6sQVVS3STTpCu7irJsjGu8YmRB3S2BzTnLPARLKOzACDDsHlDutY8WPkoOxAgeu4uPPaAfWXtddTjU32HLP8FfYaiwCQhgggXwsHNyi0M/s640/004.png" width="640" /></a></div>
<span class="apple-converted-space"><span lang="TH" style="background: white; color: black; font-family: Tahoma; font-size: 10.5pt; mso-ansi-language: TH; mso-bidi-language: AR-SA; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-US;"> เมื่อเรารู้ว่าต้องใช้ตัวไหนก็ไปดาวน์โหลดมาลงเป็นอันเรียบร้อย</span></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTNVhXz1MzZ1CFZzw2gbgQuEvSLfNJFRtkIHAAXg_n9sib76cQZ6ZBSZmHgVAmDhhShsAfS__5yTpSSJV0kUFpa35hbVYr3HxpmyU-9zg8f4dWPZ3cGixDzHYWbkwiub1sP8PJDDX691Q/s1600/005.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTNVhXz1MzZ1CFZzw2gbgQuEvSLfNJFRtkIHAAXg_n9sib76cQZ6ZBSZmHgVAmDhhShsAfS__5yTpSSJV0kUFpa35hbVYr3HxpmyU-9zg8f4dWPZ3cGixDzHYWbkwiub1sP8PJDDX691Q/s400/005.png" width="400" /></a></div>
<br />
<br />
<br />lukhananhttp://www.blogger.com/profile/11955539310539421085noreply@blogger.com0