<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-32107367</id><updated>2012-01-13T09:22:38.376+02:00</updated><category term='ORA-02262'/><category term='Note 115424'/><category term='jsf'/><category term='R3'/><category term='Export'/><category term='host'/><category term='DBMS_JOB'/><category term='encoding'/><category term='bug'/><category term='Oracle Application Server'/><category term='rename'/><category term='alter'/><category term='CSV'/><category term='SSO'/><category term='10g'/><category term='move'/><category term='question'/><category term='oracle'/><category term='jDeveloper'/><category term='hard disk drive'/><category term='submit'/><category term='set'/><category term='mark'/><category term='next_day'/><category term='sysdate'/><category term='Greek encoding'/><category term='Export to CSV'/><category term='virtual'/><category term='Single Sign-On'/><category term='character set'/><category term='Java Server Faces'/><category term='character'/><category term='firewall'/><category term='remove'/><category term='datafile'/><category term='database'/><category term='broken'/><title type='text'>Seeking Oracle out of the matrix</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-32107367.post-8855114792701362840</id><published>2011-10-10T07:39:00.003+03:00</published><updated>2011-10-10T07:55:06.737+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='submit'/><category scheme='http://www.blogger.com/atom/ns#' term='sysdate'/><category scheme='http://www.blogger.com/atom/ns#' term='remove'/><category scheme='http://www.blogger.com/atom/ns#' term='next_day'/><category scheme='http://www.blogger.com/atom/ns#' term='broken'/><category scheme='http://www.blogger.com/atom/ns#' term='DBMS_JOB'/><title type='text'>DBMS_JOB Cheat sheet</title><content type='html'>I recently wanted to schedule jobs on my Oracle 9i (9.2.0.8) database so i refreshed my memory on how to do it based on the Oracle's job engine.&lt;br /&gt;&lt;br /&gt;I will note down a quick reference post for you to check out:&lt;br /&gt;&lt;br /&gt;View all running jobs:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;select * from user_jobs&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Submit a job (this example analyzes a table every 24 hrs:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;VARIABLE jobno NUMBER &lt;br /&gt;BEGIN&lt;br /&gt;   DBMS_JOB.SUBMIT(:jobno, &lt;br /&gt;      'DBMS_DDL.ANALYZE_OBJECT(''TABLE'',&lt;br /&gt;      ''HR'', ''EMPLOYEES'', &lt;br /&gt;      ''ESTIMATE'', NULL, 50);', &lt;br /&gt;      SYSDATE, 'SYSDATE + 1');&lt;br /&gt;   COMMIT;&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;jobno is returned by the system.&lt;br /&gt;Assuming 14144  for this example.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Remove a job from the job queue:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.REMOVE(14144);&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Change a job:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.CHANGE(14144, NULL, NULL, 'SYSDATE + 3');&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Alter the definition of a job:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.WHAT(14144, &lt;br /&gt;      'DBMS_DDL.ANALYZE_OBJECT(''TABLE'',&lt;br /&gt;      ''HR'', ''DEPARTMENTS'', &lt;br /&gt;      ''ESTIMATE'', NULL, 50);');&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Alter the next execution day of a job:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.NEXT_DATE(14144, SYSDATE + 4);&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Alter execution interval:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.INTERVAL(14144, 'NULL');&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Brake a scheduled job:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.BROKEN(14144, TRUE);&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Continue to run a previously broken job:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.BROKEN(14144, FALSE, NEXT_DAY(SYSDATE, 'MONDAY'));&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Forcing a job to execute:&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;BEGIN&lt;br /&gt;DBMS_JOB.RUN(14144);&lt;br /&gt;END;&lt;br /&gt;/&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Working with intervals:&lt;br /&gt;'SYSDATE + 7'           Exactly seven days from the last execution&lt;br /&gt;&lt;br /&gt;'SYSDATE + 1/48'        Every half hour&lt;br /&gt;&lt;br /&gt;'NEXT_DAY(TRUNC(SYSDATE), ''MONDAY'') + 15/24'   Every Monday at 3PM&lt;br /&gt;&lt;br /&gt;'NEXT_DAY(ADD_MONTHS(TRUNC(SYSDATE, ''Q''), 3), ''THURSDAY'')'     First Thursday of each quarter&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reference:&lt;br /&gt;http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/jobq.htm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-8855114792701362840?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/8855114792701362840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=8855114792701362840' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/8855114792701362840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/8855114792701362840'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2011/10/dbmsjob-cheat-sheet.html' title='DBMS_JOB Cheat sheet'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-4755764671215953526</id><published>2008-01-06T12:45:00.000+02:00</published><updated>2008-01-14T07:55:10.388+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Export'/><category scheme='http://www.blogger.com/atom/ns#' term='jDeveloper'/><category scheme='http://www.blogger.com/atom/ns#' term='Greek encoding'/><category scheme='http://www.blogger.com/atom/ns#' term='CSV'/><category scheme='http://www.blogger.com/atom/ns#' term='Java Server Faces'/><category scheme='http://www.blogger.com/atom/ns#' term='Export to CSV'/><category scheme='http://www.blogger.com/atom/ns#' term='character set'/><category scheme='http://www.blogger.com/atom/ns#' term='jsf'/><title type='text'>Java Server Faces - Export any IteratorBinding to a CSV format file</title><content type='html'>Due to a large amount of requests regarding data extraction from JSF, i have compiled a small java class which you can embed in jDeveloper, that allows you to extract any IteratorBinding to a CSV format file.&lt;br /&gt;&lt;br /&gt;The file is named according to the current date/time where the request was made.&lt;br /&gt;&lt;br /&gt;This class can be used for the Greek character set as well. &lt;br /&gt;&lt;br /&gt;Below follows the complete source code. Enjoy :)&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;import java.io.PrintWriter;&lt;br /&gt;&lt;br /&gt;import java.text.SimpleDateFormat;&lt;br /&gt;&lt;br /&gt;import java.util.Calendar;&lt;br /&gt;import java.util.Date;&lt;br /&gt;import java.util.Locale;&lt;br /&gt;&lt;br /&gt;import javax.faces.context.ExternalContext;&lt;br /&gt;import javax.faces.context.FacesContext;&lt;br /&gt;&lt;br /&gt;import javax.servlet.http.HttpServletResponse;&lt;br /&gt;&lt;br /&gt;import oracle.adf.model.binding.DCIteratorBinding;&lt;br /&gt;&lt;br /&gt;import oracle.jbo.AttributeDef;&lt;br /&gt;import oracle.jbo.AttributeHints;&lt;br /&gt;import oracle.jbo.LocaleContext;&lt;br /&gt;import oracle.jbo.Row;&lt;br /&gt;import oracle.jbo.RowSetIterator;&lt;br /&gt;&lt;br /&gt;import oracle.jbo.common.DefLocaleContext;&lt;br /&gt;&lt;br /&gt;public class ExportDataClass {&lt;br /&gt;    public ExportDataClass() {&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;    public void exportToCSV(DCIteratorBinding tableContent) throws IOException {&lt;br /&gt;&lt;br /&gt;    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();&lt;br /&gt;    HttpServletResponse response = (HttpServletResponse)ectx.getResponse();    &lt;br /&gt;    Date now = Calendar.getInstance().getTime();&lt;br /&gt;    SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd-hhmmss");&lt;br /&gt;    String filename = formatter.format(now.getTime()) + "file.csv";&lt;br /&gt;    String label = "";&lt;br /&gt;    String strBuffer = "";&lt;br /&gt;&lt;br /&gt;   //define the encoding of the returned data. Critical for proper Greek Language exported data.&lt;br /&gt;    String contentType = "text/csv; charset=windows-1253";&lt;br /&gt;    &lt;br /&gt;    try {&lt;br /&gt;         response.setContentType(contentType);&lt;br /&gt;         response.setHeader("Content-disposition", "attachment; filename=" + filename); &lt;br /&gt;         &lt;br /&gt;         &lt;br /&gt;         RowSetIterator rsi = tableContent.getRowSetIterator();        &lt;br /&gt;         String[] attNames = rsi.getRowAtRangeIndex(0).getAttributeNames(); &lt;br /&gt;         AttributeDef[] attr = tableContent.getAttributeDefs(attNames);       &lt;br /&gt;        for(int i=0; i &lt; attr.length; i++){  &lt;br /&gt;            AttributeHints hints = attr[i].getUIHelper();&lt;br /&gt;            label = hints.getLabel(this.getLocaleContext());&lt;br /&gt;            strBuffer = strBuffer + label + ";";   &lt;br /&gt;            &lt;br /&gt;        }       &lt;br /&gt;         strBuffer = strBuffer + "\n";&lt;br /&gt;            &lt;br /&gt;        rsi.first();&lt;br /&gt;        &lt;br /&gt;        for (int i = 0; i &lt; rsi.getFetchedRowCount() ; i++)            &lt;br /&gt;        {&lt;br /&gt;        Row currentRow = rsi.getRowAtRangeIndex(i); &lt;br /&gt;        Object[] attValues = currentRow.getAttributeValues(); &lt;br /&gt;            for (int j = 0; j &lt; attValues.length; j++)&lt;br /&gt;                {                      &lt;br /&gt;&lt;br /&gt;                      strBuffer = strBuffer + attValues[j] + ";";                                     &lt;br /&gt;                } &lt;br /&gt;            strBuffer = strBuffer + "\n";&lt;br /&gt;        }                              &lt;br /&gt;            &lt;br /&gt;    Row[] ArrayRows = rsi.getNextRangeSet() ;&lt;br /&gt;    &lt;br /&gt;    while (ArrayRows.length != 0){    &lt;br /&gt;    &lt;br /&gt;        for (int i = 0; i &lt; ArrayRows.length; i++)&lt;br /&gt;            {&lt;br /&gt;             Row currentRow = ArrayRows[i];              &lt;br /&gt;             Object[] attVals = currentRow.getAttributeValues( );          &lt;br /&gt;             for (int j = 0; j &lt; attVals.length; j++){   &lt;br /&gt;                        strBuffer = strBuffer + attVals[j] + ";";                     &lt;br /&gt;                } &lt;br /&gt;               strBuffer = strBuffer + "\n";&lt;br /&gt;             }&lt;br /&gt;       &lt;br /&gt;            ArrayRows = rsi.getNextRangeSet() ;&lt;br /&gt;      }&lt;br /&gt;      &lt;br /&gt;    PrintWriter out = response.getWriter();   &lt;br /&gt;    response.setContentLength(strBuffer.length() + 1);&lt;br /&gt;    out.write(strBuffer);&lt;br /&gt;    out.flush();    &lt;br /&gt;    out.close();   &lt;br /&gt;      if (response.isCommitted() == false){&lt;br /&gt;          response.reset();&lt;br /&gt;       }&lt;br /&gt;     }&lt;br /&gt;     catch(IOException ex){ &lt;br /&gt;           ex.printStackTrace(); &lt;br /&gt;           throw ex;&lt;br /&gt;      }&lt;br /&gt;      finally {&lt;br /&gt;          FacesContext.getCurrentInstance().responseComplete();          &lt;br /&gt;      }&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;    private LocaleContext getLocaleContext(){&lt;br /&gt;        Locale locale = FacesContext.getCurrentInstance().getViewRoot().getLocale();&lt;br /&gt;        LocaleContext myLocale = new DefLocaleContext(locale);    &lt;br /&gt;     return myLocale;&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-4755764671215953526?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/4755764671215953526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=4755764671215953526' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/4755764671215953526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/4755764671215953526'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2008/01/java-server-faces-export-any.html' title='Java Server Faces - Export any IteratorBinding to a CSV format file'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-7205623472377038627</id><published>2007-12-11T10:03:00.001+02:00</published><updated>2007-12-11T10:03:23.742+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='virtual'/><category scheme='http://www.blogger.com/atom/ns#' term='firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Single Sign-On'/><category scheme='http://www.blogger.com/atom/ns#' term='host'/><category scheme='http://www.blogger.com/atom/ns#' term='SSO'/><title type='text'>A typo can knock you out</title><content type='html'>While trying to implement Note:270160.1 Single Sign-On Accessibility Through a Firewall&lt;br /&gt;Oracle Application Server 10g (9.0.4), i realized that a simple typo can make your mood for the day.&lt;br /&gt;&lt;br /&gt;To be more specific, in the part where the author of the Note writes :&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;Listen 8001&lt;br /&gt;NameVirtualHost *:8001 # You may prefer IP Address instead of *&lt;br /&gt;&amp;lt;VirtualHost *:8001&amp;gt; # You may prefer IP Address instead of *&lt;br /&gt;ServerName portal.&amp;lt;yourname&amp;gt;.com&lt;br /&gt;# Network entry-point/webcache:&lt;br /&gt;Port 80&lt;br /&gt;# IMPORTANT - Must inherit any Portal rewrites&lt;br /&gt;RewriteEngine on&lt;br /&gt;RewriteOptions inherit&lt;br /&gt;# Other rewrites optional, but may improve functionality&lt;br /&gt;# To send direct requests on this virtual host to Portal&lt;br /&gt;RewriteCond %{HTTP_HOST} !^portal\.&amp;lt;yourname&amp;gt;\.com [NC]&lt;br /&gt;RewriteRule ^/$ http://portal.&amp;lt;yourname&amp;gt;/pls/portal/$1 [L,R]&lt;br /&gt;LogLevel error&lt;br /&gt;ErrorLog "|/path/to/oracle/904mid/Apache/Apache/bin/rotatelogs /path/to/oracle/904mid/Apache/Apache/logs/portal_error_log 43200"&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Did you see it? Me either&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;RewriteRule ^/$ http://portal.&amp;lt;yourname&amp;gt;/pls/portal/$1 [L,R]&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The [R] is after the [L] meaning that the redirection will not occur!&lt;br /&gt;&lt;br /&gt;The line should be&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;RewriteRule ^/$ http://portal.&amp;lt;yourname&amp;gt;/pls/portal/$1 [R,L]&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;I simply lost a server with a k.o.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-7205623472377038627?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/7205623472377038627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=7205623472377038627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/7205623472377038627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/7205623472377038627'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2007/12/typo-can-knock-you-out.html' title='A typo can knock you out'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-3602323924639384267</id><published>2007-05-10T23:39:00.000+03:00</published><updated>2007-05-10T23:54:13.228+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORA-02262'/><title type='text'>Resolution to the ORA-02262 error</title><content type='html'>If you have ever faced this error message&lt;br /&gt;&lt;br /&gt;ORA-02262: ORA-%05d occurs while type-checking column default value expression&lt;br /&gt;&lt;br /&gt;while trying to alter the column definition of a table to NVARCHAR2 with Default Value just remember :&lt;br /&gt;&lt;br /&gt;A 'string' literal is of type VARCHAR2&lt;br /&gt;A N'string' literal is of type NVARCHAR2 !!&lt;br /&gt;&lt;br /&gt;So now, you can correct your syntax and alter your table properly like this :&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;ALTER TABLE mytbl MODIFY mycolumn NVARCHAR2(3) DEFAULT N'A';&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-3602323924639384267?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/3602323924639384267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=3602323924639384267' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/3602323924639384267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/3602323924639384267'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2007/05/resolution-to-ora-02262-error.html' title='Resolution to the ORA-02262 error'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-5856801242010466621</id><published>2007-05-10T22:19:00.000+03:00</published><updated>2007-05-10T23:03:58.179+03:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='character'/><category scheme='http://www.blogger.com/atom/ns#' term='encoding'/><category scheme='http://www.blogger.com/atom/ns#' term='set'/><category scheme='http://www.blogger.com/atom/ns#' term='R3'/><category scheme='http://www.blogger.com/atom/ns#' term='question'/><category scheme='http://www.blogger.com/atom/ns#' term='bug'/><category scheme='http://www.blogger.com/atom/ns#' term='10g'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle Application Server'/><category scheme='http://www.blogger.com/atom/ns#' term='mark'/><title type='text'>Oracle Application Server 10.1.3 Bug when submitting Greek characters the result returns question marks</title><content type='html'>I remember back in the good old days of Oracle Application Server 10g R2 when i faced the same problem while developing in struts with jDeveloper 10g R2. It was indeed very difficult to finaly realize that a simple addition to orion-web.xml of the default-charset="windows-1253" would solve the problem so easily.&lt;br /&gt;&lt;br /&gt;Now with the latest version of Oracle Application Server 10g R3 (10.1.3) i came across the same issue and i thought that i could easily solve the problem by simply doing the same thing.&lt;br /&gt;&lt;br /&gt;I was wrong :-)&lt;br /&gt;&lt;br /&gt;People, unfortunately i must warn you that this workaround doesn't apply to the R3 family.  What you have to do now is to include&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;request.setCharacterEncoding("Windows-1253");&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;in all your JSP pages.&lt;br /&gt;&lt;br /&gt;For those of you still developing in struts, i will show you a smarter way to automatically include this in all your pages without modifying any of these pages at all.&lt;br /&gt;&lt;br /&gt;Have you ever "played" with the RequestProcessor ?  The RequestProcessor has the ability to execute code before it goes to the Action Servlet. What you need to do here is extend the RequestProcessor so that it includes&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;request.setCharacterEncoding("Windows-1253");&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;in every call.&lt;br /&gt;&lt;br /&gt;In jDeveloper 10g R3, create a new java class and write the following code :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;package testgreek.view;  //don't forget to change the name of the package to the &lt;br /&gt;                         //one that you are using&lt;br /&gt;&lt;br /&gt;import  javax.servlet.http.HttpServletRequest;&lt;br /&gt;import  javax.servlet.http.HttpServletResponse;&lt;br /&gt;import  org.apache.struts.action.RequestProcessor;&lt;br /&gt;&lt;br /&gt;public class CustomRequestProcessor extends RequestProcessor {&lt;br /&gt;      protected boolean processPreprocess  (HttpServletRequest request, HttpServletResponse response) {&lt;br /&gt;                &lt;br /&gt;        &lt;br /&gt;      try{&lt;br /&gt;            request.setCharacterEncoding("Windows-1253");&lt;br /&gt;         }&lt;br /&gt;       catch(Exception ex){&lt;br /&gt;          //.....&lt;br /&gt;         }&lt;br /&gt;        &lt;br /&gt;       return true;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  protected void processContent(HttpServletRequest  request,&lt;br /&gt;              HttpServletResponse response) {&lt;br /&gt;      try{&lt;br /&gt;           request.setCharacterEncoding("Windows-1253");&lt;br /&gt;         }&lt;br /&gt;       catch(Exception ex){&lt;br /&gt;          //........&lt;br /&gt;         }&lt;br /&gt;       super.processContent(request, response);&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then, go to your  struts-config.xml and add the following property to your controller :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&amp;lt;controller&amp;gt;&lt;br /&gt;   &amp;lt;set-property property="processorClass" value="testgreek.view.CustomRequestProcessor"&amp;gt;&lt;br /&gt;&amp;lt;/controller&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;That's it.  Now every time you submit a page to the servlet, it includes the character encoding that you have selected. &lt;br /&gt;That means no more ????&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-5856801242010466621?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/5856801242010466621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/5856801242010466621'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2007/05/oracle-application-server-1013-bug-when.html' title='Oracle Application Server 10.1.3 Bug when submitting Greek characters the result returns question marks'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-4039682061942296015</id><published>2007-02-24T09:32:00.001+02:00</published><updated>2008-03-12T17:30:29.743+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='datafile'/><category scheme='http://www.blogger.com/atom/ns#' term='hard disk drive'/><category scheme='http://www.blogger.com/atom/ns#' term='Note 115424'/><category scheme='http://www.blogger.com/atom/ns#' term='move'/><title type='text'>TIP: How to move a datafile from one hard disk to another (quick way)</title><content type='html'>If you want a newer, fresher and quicker method to move a datafile from one disk to another here is the way to do it : Make sure the tablespaces are read-only and then&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;alter tablespace users offline;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;copy c:\mydb\users01.dbf e:\mydb\users01.dbf&lt;/li&gt;&lt;br /&gt;&lt;li&gt;alter database rename file 'c:\mydb\users01.dbf' to 'e:\mydb\users01.dbf';&lt;/li&gt;&lt;br /&gt;&lt;li&gt;alter tablespace users online; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;then make your tablespaces read write again,&lt;br /&gt;and you're done :-)&lt;br /&gt;&lt;br /&gt;More information : Note:115424.1 on Metalink&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-4039682061942296015?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/4039682061942296015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=4039682061942296015' title='33 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/4039682061942296015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/4039682061942296015'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2007/02/tip-how-to-move-datafile-from-one-hard_24.html' title='TIP: How to move a datafile from one hard disk to another (quick way)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>33</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-5387810059343636256</id><published>2007-02-22T13:28:00.000+02:00</published><updated>2007-02-24T09:46:44.554+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='datafile'/><category scheme='http://www.blogger.com/atom/ns#' term='alter'/><category scheme='http://www.blogger.com/atom/ns#' term='rename'/><category scheme='http://www.blogger.com/atom/ns#' term='move'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>TIP: How to move a datafile from one hard disk to another (safe way)</title><content type='html'>I had a test server with 60Gb Hard disk drive. Database was updated thoroughly and space run out quickly. What i did was to install a second hard disk drive and create there another folder to store my moved datafile.&lt;br /&gt;So in order to move c:\mydb\users.dbf to e:\mydb\users.dbf here are the steps to do it safely :&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;open sql worksheet and connect to the database as sysdba with the sys account,&lt;/li&gt;&lt;br /&gt;&lt;li&gt;make sure that all users are out of the database and that no pending transactions are taking place, then run &lt;div class="code"&gt;shutdown immediate;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;execute &lt;div class="code"&gt;start mount;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;copy-paste the datafile you wish to move, to the new location,&lt;/li&gt;&lt;br /&gt;&lt;li&gt;execute &lt;div class="code"&gt;ALTER DATABASE RENAME FILE 'C:\MYDB\USERS.DBF' TO 'E:\MYDB\USERS.DBF';&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;then execute &lt;div class="code"&gt;ALTER DATABASE OPEN;&lt;/div&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;...and you're done.&lt;br /&gt;&lt;br /&gt;Easy, isn't it? :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-5387810059343636256?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/5387810059343636256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=5387810059343636256' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/5387810059343636256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/5387810059343636256'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2007/02/tip-how-to-move-datafile-from-one-hard.html' title='TIP: How to move a datafile from one hard disk to another (safe way)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-117075581019475567</id><published>2007-02-06T11:50:00.000+02:00</published><updated>2007-02-22T13:55:23.961+02:00</updated><title type='text'>Get the SSO user id in Oracle Forms and JSP - JSF</title><content type='html'>If you use SSO authentication for your applications and you need to grab the SSO User from your applications here is how you do it:&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;strong&gt;Oracle Forms&lt;/strong&gt;&lt;br&gt;&lt;/br&gt;&lt;div class='code'&gt;&lt;br&gt;&lt;/br&gt;GET_APPLICATION_PROPERTY(SSO_USERID);&lt;br&gt;&lt;/br&gt;&lt;/div&gt;&lt;br&gt;&lt;/br&gt;&lt;strong&gt;jDeveloper project that uses JSP and java beans&lt;/strong&gt;&lt;br&gt;&lt;/br&gt;&lt;div class='code'&gt;&lt;br&gt;&lt;/br&gt;request.getHeader("OSSO_SUBSCRIBER")&lt;br&gt;&lt;/br&gt;or&lt;br&gt;&lt;/br&gt;request.getRemoteUser();&lt;br&gt;&lt;/br&gt;&lt;/div&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;strong&gt;jDeveloper that uses Java Server Faces (JSF)&lt;/strong&gt;&lt;br&gt;&lt;/br&gt;In your AppModuleImpl.java you can get the SSO user by calling&lt;br&gt;&lt;/br&gt;&lt;div class='code'&gt;&lt;br&gt;&lt;/br&gt;this.getUserPrincipalName();&lt;/div&gt;&lt;br&gt;&lt;/br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-117075581019475567?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/117075581019475567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=117075581019475567' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/117075581019475567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/117075581019475567'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2007/02/get-sso-user-id-in-oracle-forms-and.html' title='Get the SSO user id in Oracle Forms and JSP - JSF'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-117026402273016863</id><published>2007-01-31T19:15:00.000+02:00</published><updated>2007-02-23T00:59:56.361+02:00</updated><title type='text'>Can and Could be accessed</title><content type='html'>Just another funny little spot of Oracle's help file.&lt;br /&gt;&lt;br /&gt;This one was located on Oracle Application Server 10.1.3 help file while digging for some information on how to connect Oracle SSO 10g R2 with a 10.1.3 middle-tier installation.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/x/blogger/7125/3183/1600/656419/oraerr.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/x/blogger/7125/3183/400/270487/oraerr.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-117026402273016863?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/117026402273016863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=117026402273016863' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/117026402273016863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/117026402273016863'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2007/01/can-and-could-be-accessed.html' title='Can and Could be accessed'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116692982747779908</id><published>2006-12-24T05:10:00.000+02:00</published><updated>2007-02-24T08:05:41.685+02:00</updated><title type='text'>Honey, you missed a spot</title><content type='html'>Just a humourous mood here... something that catched my attention ;-)&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;a onblur='try {parent.deselectBloggerImageGracefully();} catch(e) {}' href='http://photos1.blogger.com/x/blogger/7125/3183/1600/749160/err.jpg'&gt;&lt;img style='margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;' src='http://photos1.blogger.com/x/blogger/7125/3183/320/78229/err.jpg' alt='' border='0'&gt;&lt;/img&gt;&lt;/a&gt;The above, was retrieved from the help file of jDeveloper 10g R2. This error was corrected on jDeveloper 10.1.3 as you can see below:&lt;a onblur='try {parent.deselectBloggerImageGracefully();} catch(e) {}' href='http://photos1.blogger.com/x/blogger/7125/3183/1600/677485/err1.jpg'&gt;&lt;img style='margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;' src='http://photos1.blogger.com/x/blogger/7125/3183/320/927268/err1.jpg' alt='' border='0'&gt;&lt;/img&gt;&lt;/a&gt;&lt;br&gt;&lt;/br&gt;A funny little break; now get back to work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116692982747779908?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116692982747779908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116692982747779908' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116692982747779908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116692982747779908'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/12/honey-you-missed-spot.html' title='Honey, you missed a spot'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116569186141910414</id><published>2006-12-09T21:04:00.000+02:00</published><updated>2006-12-10T18:37:34.240+02:00</updated><title type='text'>TIP: Use exp.exe to export specific rows from a table, with command-line SQL</title><content type='html'>If you ever need to export specific records from your table to a .dmp file using exp.exe here is an example :&lt;br /&gt;&lt;br /&gt;Suppose we have a table Orders and we want to export that table to a dmp file - not the whole table but today's orders.&lt;br /&gt;&lt;br /&gt;from the prompt you write :&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;exp.exe 'sys/mypass@mydb as sysdba' file=c:\orders.dmp log=c:\orders.log tables=(ORDERS) QUERY=\" WHERE ORDER_DATE = '11/08/2006'\"&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;strong&gt;Remember&lt;/strong&gt;&lt;/u&gt; :&lt;br /&gt;query=\" \" or else you get an error !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116569186141910414?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116569186141910414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116569186141910414' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116569186141910414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116569186141910414'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/12/tip-use-expexe-to-export-specific-rows.html' title='TIP: Use exp.exe to export specific rows from a table, with command-line SQL'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116567404059044369</id><published>2006-12-09T16:14:00.000+02:00</published><updated>2006-12-09T16:20:40.670+02:00</updated><title type='text'>INFO : Aggregator for Oracle jDeveloper</title><content type='html'>There is an  an aggregator for all Oracle JDeveloper related blogs. Visit &lt;a href="http://thepeninsulasedge.com/adfblog/"&gt;http://thepeninsulasedge.com/adfblog/&lt;/a&gt; . This blog has every recent post found on blogs about Oracle JDeveloper issues.&lt;br /&gt;You can find a related link in the [Oracle Blogs of Interest] in this blog as well :-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116567404059044369?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116567404059044369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116567404059044369' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116567404059044369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116567404059044369'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/12/info-aggregator-for-oracle-jdeveloper.html' title='INFO : Aggregator for Oracle jDeveloper'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116543800879427480</id><published>2006-12-06T22:42:00.000+02:00</published><updated>2006-12-06T23:11:40.356+02:00</updated><title type='text'>TIP: Upload a file using struts (includes jdeveloper 10g complete example)</title><content type='html'>Struts simplify the file uploading process really easy.&lt;br /&gt;You dont need third party stuff; just a few lines of code and a couple of tricks&lt;br /&gt;will do the job :)&lt;br /&gt;&lt;br /&gt;I have included a sample project for you to download and experiment with.&lt;br /&gt;&lt;br /&gt;Key parts are :&lt;br /&gt;&lt;br /&gt;1. Your form that will include the &amp;lt;html:file&amp;gt; tag, must be configured to handle multipart/form-data and to POST the data to the server, eg :&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&amp;lt;html:form enctype="multipart/form-data" method="POST" action="upload.do"&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;2. The form bean that will handle the uploading, must have a property for the file been uploaded set like this :&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&amp;lt;form-property name="filename" type="org.apache.struts.upload.FormFile"&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After that, coding is really simple. I have included a complete project for uploads at the end of this post.&lt;br /&gt;Here follows the java source part for the upload file process:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;package fileuploader.view;&lt;br /&gt;import java.io.File;&lt;br /&gt;import java.io.FileOutputStream;&lt;br /&gt;import java.io.IOException;&lt;br /&gt;&lt;br /&gt;import java.text.DecimalFormat;&lt;br /&gt;&lt;br /&gt;import javax.servlet.ServletException;&lt;br /&gt;import javax.servlet.http.HttpServletRequest;&lt;br /&gt;import javax.servlet.http.HttpServletResponse;&lt;br /&gt;&lt;br /&gt;import org.apache.struts.action.Action;&lt;br /&gt;import org.apache.struts.action.ActionForm;&lt;br /&gt;import org.apache.struts.action.ActionForward;&lt;br /&gt;import org.apache.struts.action.ActionMapping;&lt;br /&gt;import org.apache.struts.action.DynaActionForm;&lt;br /&gt;import org.apache.struts.upload.FormFile;&lt;br /&gt;&lt;br /&gt;public class UploadAction extends Action&lt;br /&gt;{&lt;br /&gt;/**&lt;br /&gt;* This is the main action called from the Struts framework.&lt;br /&gt;* @param mapping The ActionMapping used to select this instance.&lt;br /&gt;* @param form The optional ActionForm bean for this request.&lt;br /&gt;* @param request The HTTP Request we are processing.&lt;br /&gt;* @param response The HTTP Response we are processing.&lt;br /&gt;* @throws javax.servlet.ServletException&lt;br /&gt;* @throws java.io.IOException&lt;br /&gt;* @return&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException, Exception&lt;br /&gt;{&lt;br /&gt;String toPage = "";&lt;br /&gt;DynaActionForm df = null;&lt;br /&gt;FormFile webFile = null;&lt;br /&gt;FileOutputStream ServerFileStream = null;&lt;br /&gt;File SaveToFile = null;&lt;br /&gt;int FILE_SIZE_LIMIT = 5000000;&lt;br /&gt;double filesize = 0 ;&lt;br /&gt;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;//convert to a DynaActionForm&lt;br /&gt;df = (DynaActionForm) form;&lt;br /&gt;//class cast to a struts type FormFile filename&lt;br /&gt;webFile = (FormFile) df.get("filename");&lt;br /&gt;&lt;br /&gt;//get the size of the file that user wants to upload&lt;br /&gt;filesize = webFile.getFileSize();&lt;br /&gt;&lt;br /&gt;//i have included a file size limitation in this version&lt;br /&gt;if (filesize &gt; FILE_SIZE_LIMIT )&lt;br /&gt;{&lt;br /&gt;//format the size of the file to return two decimals&lt;br /&gt;String pattern = "####.##";&lt;br /&gt;DecimalFormat dblFormat = new DecimalFormat(pattern);&lt;br /&gt;//file size returned to megabytes&lt;br /&gt;String strFileSize = dblFormat.format((filesize / 1024) / 1024);&lt;br /&gt;&lt;br /&gt;//redirect to the page that informs the user that there is a&lt;br /&gt;//file size limitation&lt;br /&gt;toPage = "filesizepage";&lt;br /&gt;request.setAttribute("fsize", strFileSize);&lt;br /&gt;return mapping.findForward(toPage);&lt;br /&gt;}&lt;br /&gt;//get the real path of the project&lt;br /&gt;String strFilePath = getServlet().getServletContext().getRealPath("/");&lt;br /&gt;//we want to upload to UploadedFiles directory&lt;br /&gt;strFilePath = strFilePath + "UploadedFiles";&lt;br /&gt;&lt;br /&gt;//initialize a file to write to&lt;br /&gt;SaveToFile = new File(strFilePath, webFile.getFileName());&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//in this version, if the file to upload already exists on the server&lt;br /&gt;//i delete the server-side one and reupload it&lt;br /&gt;if(SaveToFile.exists())&lt;br /&gt;{&lt;br /&gt;//delete the file&lt;br /&gt;SaveToFile.delete();&lt;br /&gt;}&lt;br /&gt;//save the file to server&lt;br /&gt;ServerFileStream = new FileOutputStream(SaveToFile);&lt;br /&gt;ServerFileStream.write(webFile.getFileData());&lt;br /&gt;ServerFileStream.flush();&lt;br /&gt;ServerFileStream.close();&lt;br /&gt;ServerFileStream = null;&lt;br /&gt;&lt;br /&gt;toPage="success";&lt;br /&gt;}&lt;br /&gt;catch(Exception e)&lt;br /&gt;{&lt;br /&gt;//just print the trace&lt;br /&gt;e.printStackTrace();&lt;br /&gt;//and redirect to an error page&lt;br /&gt;toPage = "error";&lt;br /&gt;}&lt;br /&gt;finally&lt;br /&gt;{&lt;br /&gt;//release resources&lt;br /&gt;df = null;&lt;br /&gt;webFile = null;&lt;br /&gt;ServerFileStream = null;&lt;br /&gt;SaveToFile = null;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;return mapping.findForward(toPage);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/x/blogger/7125/3183/320/263647/renameit.jpg"&gt;&lt;br /&gt;Download the full jdeveloper sample project &lt;br /&gt;(right-click and select "save target as")&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;just remember to rename it to .rar&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116543800879427480?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116543800879427480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116543800879427480' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116543800879427480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116543800879427480'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/12/tip-upload-file-using-struts-includes.html' title='TIP: Upload a file using struts (includes jdeveloper 10g complete example)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116525092112843109</id><published>2006-12-04T18:47:00.000+02:00</published><updated>2006-12-10T18:39:53.956+02:00</updated><title type='text'>TIP: Grant select on all user tables to another user</title><content type='html'>&lt;span style="font-family:lucida grande;"&gt;This is one of the number one issues for a DBA. Well, the good news is that it has become really easy to do this.&lt;br /&gt;&lt;br /&gt;My methodology is to create public synonyms for the user tables and grant access to the user tables underlying those synonyms.&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;User : Tom&lt;br /&gt;Table : Products, PriceList&lt;br /&gt;Purpose : Grant access to user Bob&lt;br /&gt;&lt;br /&gt;Here is how to do it:&lt;br /&gt;&lt;br /&gt;Create public synonyms for tables Products, PriceList&lt;br /&gt;Normally User Tom sees them as Products and PriceList. Even if you grant access to those tables to user Bob, he still gonna access them as Tom.Products and Tom.PriceList&lt;br /&gt;To allow user Bob to access those tables as Products and PriceList, you must create public synonyms. Public synonyms can be created under SYS so log in to your SQL Worksheet as SYS and type the following:&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;SET SERVEROUTPUT ON&lt;br /&gt;begin&lt;br /&gt;dbms_output.enable(1000000);&lt;br /&gt;for x in ( select table_name from DBA_ALL_TABLES where owner='TOM' )&lt;br /&gt;loop&lt;br /&gt;dbms_output.put_line('CREATE OR REPLACE PUBLIC SYNONYM ' x.table_name ' FOR Tom.' x.table_name);&lt;br /&gt;EXECUTE IMMEDIATE ('CREATE OR REPLACE PUBLIC SYNONYM ' x.table_name ' FOR Tom.' x.table_name);&lt;br /&gt;end loop;&lt;br /&gt;end;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;You will find this piece of source code really useful when you will apply it in a production system with hundreds or thousands of tables.&lt;br /&gt;What it does is apply for every table belonging to user Tom a public synonym which is the name of the table (but ommiting the Tom. part).&lt;br /&gt;&lt;br /&gt;Now what you must do is grant access to user Bob on those tables&lt;br /&gt;&lt;br /&gt;In the following piece of code i will grant select on a role. It's better to work with roles because they can be easily implemented to a user and then you can customize user rights independently&lt;br /&gt;&lt;br /&gt;Here is the source :&lt;br /&gt;&lt;br /&gt;&lt;div class="code"&gt;&lt;br /&gt;SET SERVEROUTPUT ON&lt;br /&gt;begin&lt;br /&gt;dbms_output.enable(1000000);&lt;br /&gt;for x in ( select table_name from DBA_ALL_TABLES where owner='Tom' )&lt;br /&gt;loop&lt;br /&gt;dbms_output.put_line('grant select on ' x.table_name ' to myrole');&lt;br /&gt;execute immediate 'grant select on ' x.table_name ' to myrole';&lt;br /&gt;end loop;&lt;br /&gt;end;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After that, you will assign the role to your user(s) and that's it.&lt;br /&gt;&lt;br /&gt;You have granted access to those tables to your second user with a few lines of code. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116525092112843109?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116525092112843109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116525092112843109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116525092112843109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116525092112843109'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/12/tip-grant-select-on-all-user-tables-to.html' title='TIP: Grant select on all user tables to another user'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116435663864285059</id><published>2006-11-24T10:02:00.000+02:00</published><updated>2006-11-24T10:26:33.933+02:00</updated><title type='text'>Info: Oracle DBA Toolbar (wishlist)</title><content type='html'>&lt;span style="font-family:lucida grande;font-size:85%;"&gt;Oracle released a tool for the DBA. It's a cool freebie where you can download &lt;/span&gt;&lt;a href="http://www.oracle.com/technology/toolbar/OracleDBAToolbarSetup.exe"&gt;&lt;span style="font-family:lucida grande;font-size:85%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:lucida grande;font-size:85%;"&gt;.&lt;br /&gt;It features :&lt;br /&gt;- Pop-up Blocker&lt;br /&gt;- Integrated RSS Manager&lt;br /&gt;- OTN Search&lt;br /&gt;- One-click access to SQL*Plus install, Downloads, MetaLink, and more&lt;br /&gt;- Online Support FAQ&lt;br /&gt;&lt;br /&gt;It's available for Microsoft Windows Platforms and Internet Explorer.&lt;br /&gt;&lt;br /&gt;The Oracle DBA Toolbar Wishlist:&lt;br /&gt;I wish it had a few more buttons like :&lt;br /&gt;- Oracle Enterprise Manager&lt;br /&gt;- Performance Manager&lt;br /&gt;- Top Sessions&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116435663864285059?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116435663864285059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116435663864285059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116435663864285059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116435663864285059'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/11/info-oracle-dba-toolbar-wishlist.html' title='Info: Oracle DBA Toolbar (wishlist)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116404895632722583</id><published>2006-11-20T20:55:00.000+02:00</published><updated>2006-11-23T00:04:16.713+02:00</updated><title type='text'>Tip : recovering from problems after performing remote deployment from jDeveloper to Oracle Application Server</title><content type='html'>&lt;div align="justify"&gt;Those of you who develop on Oracle jDeveloper 10.x.x and deploy on Oracle Application Server 10g might face the following situation :&lt;br /&gt;&lt;br /&gt;During remote deployment, a power failure occurs or something else goes wrong and the deployment interrupts leaving you with an incomplete process and a bunch of files - other deployed and other not deployed.&lt;br /&gt;&lt;br /&gt;If, God forbids, you come across to such a situation, you cannot even perform a backup/restore of your Oracle Application Server (using it's internal backup/restore facility) leaving you with an error message that says that you cannot proceed with backup while another process is performing file operations.&lt;br /&gt;&lt;br /&gt;You cannot deploy your project again either. Oracle AS thinks that another deployment is actually taking place and cannot perform another task.&lt;br /&gt;&lt;br /&gt;To overcome this situation perform the following steps:&lt;br /&gt;&lt;br /&gt;1. go to your oracle directory where the bi (business intelligence) is located (eg : c:\oracle\bi)&lt;br /&gt;2. find the folder dcm\bin (eg: c:\oracle\bi\dcm\bin )&lt;br /&gt;3. execute the following command : dcmctl resetFileTransaction&lt;br /&gt;&lt;br /&gt;The file operations will reset and you will be able to perform deployments or any other operation under your Oracle Application Server.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116404895632722583?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116404895632722583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116404895632722583' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116404895632722583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116404895632722583'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/11/tip-recovering-from-problems-after.html' title='Tip : recovering from problems after performing remote deployment from jDeveloper to Oracle Application Server'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-116336678076173327</id><published>2006-11-12T23:17:00.000+02:00</published><updated>2006-11-23T21:06:32.773+02:00</updated><title type='text'>TIP : request.getRemoteAddr() and request.getRemoteHost() return the Server names, not the client's host name and ip (on Oracle Application Server)</title><content type='html'>&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Well, this is a known issue since Oracle Application Server 9i. I have found a solution in Oracle Application Server 10g release 2. I know it applies to the 10g product family but i didn't test it on 9i. If anyone knows if this also applies on 9i, don't hesitate to leave a comment here :-)&lt;br /&gt;&lt;br /&gt;Goto your Oracle Business Intelligence platform (not infrastructure) and click on Http Server-&gt; Administration-&gt; Advanced Server Properties-&gt; httpd.conf &lt;/div&gt;&lt;p align="justify"&gt;&lt;img style="FLOAT: left; MARGIN: 0px 0px 10px 10px; CURSOR: hand" height="160" alt="Oracle Application Server 10g bug request.getRemoteAddr request.getRemoteHost" src="http://photos1.blogger.com/blogger/7125/3183/200/application_server_hardware.jpg" width="210" border="0" /&gt;&lt;/p&gt;&lt;/span&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;   and uncomment the line :&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;strong&gt;   UseWebCacheIp On&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:lucida grande;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When webcache is forwarding requests to OHS, the clientIP becomes the IP of the originating webcache server and the real client IP is stored in the ClientIP header.&lt;br /&gt;Instead of modifying the header with more java source code, just uncomment the UseWebCacheIp and you will have the Client's IP recorded in the log files and also your source code : request.getRemoteAddr() request.getRemoteHost() will work properly. &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-116336678076173327?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/116336678076173327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=116336678076173327' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116336678076173327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/116336678076173327'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/11/tip-requestgetremoteaddr-and.html' title='TIP : request.getRemoteAddr() and request.getRemoteHost() return the Server names, not the client&apos;s host name and ip (on Oracle Application Server)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115503045303779718</id><published>2006-08-08T12:47:00.000+03:00</published><updated>2006-08-08T14:02:44.870+03:00</updated><title type='text'>TIP : Collection of tips and tricks from Oracle Magazine (2003 - 2006)</title><content type='html'>There is a huge amount of tips and tricks from many Oracle DBAs out there which can help DBA's everyday burden more easier to beary.&lt;br /&gt;These were selected and posted by Oracle magazine for all of us to use.&lt;br /&gt;You can view and save this valuable information at these links.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/oramag/code/tips2003" target="_blank"&gt;Year 2003&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/oramag/code/tips2004" target="_blank"&gt;Year 2004&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/oramag/code/tips2005" target="_blank"&gt;Year 2005&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/oramag/code/tips2006" target="_blank"&gt;Year 2006&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115503045303779718?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115503045303779718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115503045303779718' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115503045303779718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115503045303779718'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/tip-collection-of-tips-and-tricks-from_08.html' title='TIP : Collection of tips and tricks from Oracle Magazine (2003 - 2006)'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115493354145815280</id><published>2006-08-07T09:39:00.000+03:00</published><updated>2006-08-07T10:05:01.636+03:00</updated><title type='text'>INFO : Oracle TimesTen 6.04</title><content type='html'>Having an Indiana Jones mood for the weekend, i downloaded Oracle TimesTen 6.04 to take a look at what it has to offer to a developer and a DBA. Is this another database system? What it means by going in-memory?&lt;br /&gt;Well the results might be surprising:&lt;br /&gt;Oracle TimesTen can be used as a primary DBMS for storing data by applications that want to do it real time.&lt;br /&gt;It can be used for storing data from multiple data sources playing a role of the central repository, combining multiple data sources together. &lt;br /&gt;It can accelerate stuff by providing a memory-persistant data model.&lt;br /&gt;Collaboration between in-memory tasks with disk-based RDBMS.&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/software/products/timesten/index.html" target="_blank"&gt;Downloaded it here.&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/documentation/timesten_doc.html" target="_blank"&gt;Download the documentation here.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115493354145815280?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115493354145815280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115493354145815280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115493354145815280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115493354145815280'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/info-oracle-timesten-604.html' title='INFO : Oracle TimesTen 6.04'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115467900760979773</id><published>2006-08-04T11:09:00.000+03:00</published><updated>2006-08-04T11:10:08.250+03:00</updated><title type='text'>INFO : Oracle Application Server Security</title><content type='html'>Security, Security, Security! This word is in everyone's mouth either a developer or a dba or a user; this word dominates the internet world. &lt;br /&gt;&lt;br /&gt;Servers hosting internet applications need to be very well maintained and tested for intrusions and hacking attempts. &lt;br /&gt;&lt;br /&gt;Oracle Application server 10g is a good solution for a corporate web server.  It combines a powerful user interface through Oracle Enterprise Manager that allows admins to control the entire farm remotely with minimum effort.&lt;br /&gt;If you already have such an installation in your servers, i recommend spending a little more time on security.&lt;br /&gt;&lt;br /&gt;If you seek guidance on that matter, take a look at &lt;a href="http://www.spidynamics.com/assets/documents/Securing%20Oracle%20Application%20Server.pdf" target="_blank"&gt;SPI Dynamic's : Securing Oracle Application Server&lt;/a&gt;&lt;br&gt; and &lt;a href="http://www.ngssoftware.com/papers/hpoas.pdf" target="_blank"&gt;NGSSoftware:Hackproofing Oracle Application Server&lt;/a&gt; where you can also find a very usefull list with all &lt;b&gt;default Oracle UserIDs and Passwords!!&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115467900760979773?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115467900760979773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115467900760979773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115467900760979773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115467900760979773'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/info-oracle-application-server.html' title='INFO : Oracle Application Server Security'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115460315051716482</id><published>2006-08-02T23:45:00.003+03:00</published><updated>2006-08-04T10:19:19.613+03:00</updated><title type='text'>INFO : Oracle Database XE</title><content type='html'>Those of you that build retail applications and seek for a database storage solution that is free to distribute, might want to take a look at Oracle Database 10g Release 2 (10.2.0.1)Express Edition for Microsoft Windows or Linux.&lt;br /&gt;&lt;br /&gt;Now, hold your horses there because Oracle database XE comes with some limitations :&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;it can utilize only 1GB of RAM&lt;/li&gt;&lt;br /&gt;&lt;li&gt;it can utilize only one CPU&lt;/li&gt;&lt;br /&gt;&lt;li&gt;it can utilize only 4GB disk space&lt;/li&gt;&lt;br /&gt;&lt;li&gt;no more than one installations may exist in a computer&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;It is ment to be for the DBA who wishes to create some testcase for the production database, and for the developer who builts small scale applications that do not demand a tera of disk capacity to store data.&lt;br /&gt;&lt;br /&gt;Its free to use and distribute.&lt;br /&gt;&lt;br /&gt;Version available for&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/software/products/database/xe/htdocs/102xelinsoft.html" target="_blank"&gt;Linux fans&lt;/a&gt;&lt;br /&gt;and&lt;br&gt;&lt;a href="http://www.oracle.com/technology/software/products/database/xe/htdocs/102xewinsoft.html" target="_blank"&gt;Windows fans.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115460315051716482?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115460315051716482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115460315051716482' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115460315051716482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115460315051716482'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/info-oracle-database-xe.html' title='INFO : Oracle Database XE'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115459567176562648</id><published>2006-08-02T23:45:00.002+03:00</published><updated>2006-08-03T12:01:11.766+03:00</updated><title type='text'>TIP: ORA-01843 Not a valid month error</title><content type='html'>Those of you developing applications that utilize Oracle Databases, might have face the ORA-01843 Not a valid month error. This is a major problem because most of us develop applications that use dates as part of their WHERE clause.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution : &lt;/strong&gt;Before executing any SQL statement though code, you must execute the following SQL statement :&lt;br /&gt;&lt;div align="center"&gt;&lt;em&gt;&lt;span style="color:#336666;"&gt;ALTER SESSION SET NLS_DATE_FORMAT = 'DD/MM/YYYY'&lt;/span&gt;&lt;/em&gt;&lt;/div&gt;Note that date format may vary depending on your location. This directive for example is used in Greece.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115459567176562648?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115459567176562648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115459567176562648' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115459567176562648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115459567176562648'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/tip-ora-01843-not-valid-month-error.html' title='TIP: ORA-01843 Not a valid month error'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115459458037722524</id><published>2006-08-02T23:45:00.001+03:00</published><updated>2006-08-03T11:43:00.383+03:00</updated><title type='text'>TIP: Beware of the HOME</title><content type='html'>I recently faced an issue regarding a Visual Basic application trying to connect to an Oracle Database 9i through an ODBC DSN.  While everything seemed to work fine, applications could not connect to the Oracle Database and the error referred to some dlls that were missing from the installation.&lt;br /&gt;&lt;br /&gt;After a little reseach i did, i found out that the default home (which was of Oracle Client 9i) has changed because of a recent installation of Oracle Discoverer Desktop 9.0.4&lt;br /&gt;&lt;br /&gt;The default home changed and due to the incompatibility of the libraries the application couldn't connect to the database.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution :&lt;/strong&gt; Go to Start-&gt;Programs-&gt; Oracle Installation products-&gt; Home Selector and switch back to your Oracle Client home.  This will solve the problem and Oracle Discoverer will continue to function.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115459458037722524?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115459458037722524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115459458037722524' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115459458037722524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115459458037722524'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/tip-beware-of-home.html' title='TIP: Beware of the HOME'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115459332998973115</id><published>2006-08-02T23:45:00.000+03:00</published><updated>2006-08-03T11:28:06.906+03:00</updated><title type='text'>Oracle Critical Patch Update July 2006</title><content type='html'>Oracle has sent an email regarding a new update for some of its products like Oracle Database 9i release 1, Oracle Application Server 9i and 10g, Oracle Database 10g etc.&lt;br /&gt;&lt;br /&gt;Those of you who didn't receive this email should take action a.s.a.p. as this patch includes security updates and fixes as well.&lt;br /&gt;&lt;br /&gt;Next date of Patch update would propably be October 17, 2006&lt;br /&gt;&lt;br /&gt;More information &lt;a href="http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpujul2006.html" target="_blank"&gt;here.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115459332998973115?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115459332998973115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115459332998973115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115459332998973115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115459332998973115'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/oracle-critical-patch-update-july-2006.html' title='Oracle Critical Patch Update July 2006'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32107367.post-115458855411319070</id><published>2006-08-02T21:45:00.000+03:00</published><updated>2007-02-22T13:28:09.883+02:00</updated><title type='text'>~~ Let there be blog</title><content type='html'>Hello all! I welcome each an everyone of you in this small effort of sharing thoughts and experience about Oracle tools.&lt;br /&gt;&lt;br /&gt;In the company i work for, i am a DBA in an Oracle 9i database.&lt;br /&gt;I also do web development using Oracle jDeveloper 10.1.2 and i use Oracle Application Server 10g R2.&lt;br /&gt;&lt;br /&gt;Feel free to post your thoughts, any tips or solutions to problems that may have arise during work. Share your experience for the benefit of all of us.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32107367-115458855411319070?l=aboutoracle.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aboutoracle.blogspot.com/feeds/115458855411319070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32107367&amp;postID=115458855411319070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115458855411319070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32107367/posts/default/115458855411319070'/><link rel='alternate' type='text/html' href='http://aboutoracle.blogspot.com/2006/08/let-there-be-blog.html' title='~~ Let there be blog'/><author><name>Admin</name><uri>http://www.blogger.com/profile/06500767688441008998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://photos1.blogger.com/blogger/7125/3183/200/eye.0.jpg'/></author><thr:total>0</thr:total></entry></feed>
