Unable to get the expected results with connection pooling

Hi All,
I have been trying to create JDBC connection pooling provided by the Apache Tomcat 4.0 with MySQL 4.0.16-nt at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html and my configuration is as follows
server.xml
<Context path="/DBTest" docBase="DBTest"
debug="5" reloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_DBTest_log." suffix=".txt"
timestamp="true"/>
<Resource name="jdbc/TestDB"
auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/TestDB">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<!-- Maximum number of dB connections in pool. Make sure you
configure your mysqld max_connections large enough to handle
all of your db connections. Set to 0 for no limit.
-->
<parameter>
<name>maxActive</name>
<value>100</value>
</parameter>
<!-- Maximum number of idle dB connections to retain in pool.
Set to 0 for no limit.
-->
<parameter>
<name>maxIdle</name>
<value>30</value>
</parameter>
<!-- Maximum time to wait for a dB connection to become available
in ms, in this example 10 seconds. An Exception is thrown if
this timeout is exceeded. Set to -1 to wait indefinitely.
-->
<parameter>
<name>maxWait</name>
<value>10000</value>
</parameter>
<!-- MySQL dB username and password for dB connections -->
<parameter>
<name>username</name>
<value>javauser</value>
</parameter>
<parameter>
<name>password</name>
<value>javadude</value>
</parameter>
<!-- Class name for mm.mysql JDBC driver -->
<parameter>
<name>driverClassName</name>
<value>org.gjt.mm.mysql.Driver</value>
</parameter>
<!-- The JDBC connection url for connecting to your MySQL dB.
The autoReconnect=true argument to the url makes sure that the
mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
connection. mysqld by default closes idle connections after 8 hours.
-->
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
</parameter>
</ResourceParams>
</Context>
web.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>MySQL Test App</description>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/TestDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>
test.jsp
<jsp:useBean id="foo" class="foo.DBTest" scope="page" />
<html>
<head>
<title>DB Test</title>
</head>
<body>
<%
foo.DBTest tst = new foo.DBTest();
tst.init();
%>
<h2>Results</h2>
Foo <%= tst.getFoo() %>
Bar <%= tst.getBar() %>
</body>
</html>
DBTest.java package
package foo;
import javax.naming.*;
import javax.sql.*;
import java.sql.*;
public class DBTest {
String foo = "Not Connected";
int bar = -1;
public void init() {
try{
Context ctx = new InitialContext();
if(ctx == null )
throw new Exception("Boom - No Context");
DataSource ds =
(DataSource)ctx.lookup(
"java:comp/env/jdbc/TestDB");
if (ds != null) {
Connection conn = ds.getConnection();
if(conn != null) {
foo = "Got Connection "+conn.toString();
Statement stmt = conn.createStatement();
ResultSet rst =
stmt.executeQuery(
"select id, foo, bar from testdata");
if(rst.next()) {
foo=rst.getString(2);
bar=rst.getInt(3);
conn.close();
}catch(Exception e) {
e.printStackTrace();
public String getFoo() { return foo; }
public int getBar() { return bar;}
Now when I am trying to run this on browser, everything goes fine except it doesn't show the expected results, instead of that it shows following in the browser:-
Results
Foo Not Connected
Bar -1
Can anybody help me out as to why I am getting such result while everything is right from my side. Is the program unable to connect to the database or it is not supporting the JDBC version that I am using.
Thanks in advance
Regards
Vikas

Oh, I think this is not the right place to post this message. I have placed the same in other place of this forum. please ignore this post here!!
MJ, by the way the link that you suggested is not useful to me.
Thank you

Similar Messages

  • I am also unable to get the 551L working with Windows 8 Beta 1. Any advice?

    I am also unable to get the 551L working with Windows 8 Beta 1 and Mac OS X 10.8 Mountain Lion Developer Preview 2. Any Advice?

    It should be noted that I was previously in those Windows Beta's and I am also a member of both Microsoft Technet (Retail Subscription), and all 3 Apple Developer Programs (IOS, Mac and Safari), which is the reason why I am running Microsoft Windows 8 Beta 1 on 2 of my 3 Dell's (the oldest one has Microsoft Windows XP Service Pack 3 and Microsoft Office 2003 on it, which is the PC that I am using the 551L on), and the Mid Year 2010 Apple Mac Mini has Mac OS X 10.8 Mountain Lion Server Edition on it (something that I am technically am NOT supposed to be talking about here due to my NDA so this will be the last time I mention it here (as you can see I am known for being the type of  Computer Nerd that loves Alpha and Beta Testing)! :-)

  • Running report and get the report result with coding

    Hi all,
    In our R/3 system, there is a custom sales report.
    My question is: is there possibility to get data by running this report and grab it the result with code and store it in internal table?
    Sorry if my question too basic because I am not abaper
    I am just wondering to find new solution for my project.
    Regards,
    Steph

    My requirement is: I want to get the result from this report
    (rather than try to get the data from SAP original table, because this report is very complicated with a lot of selection data) and use it this result into my new program.
    The mechanism that I want is pull the result from the current report, not to add some code in current report to push into new program, to avoid changed the report.
    Btw, the output of this report not only the excel file, we can also run this report on foreground mode and see the result.
    The report is not ALV report.
    Regards,
    Steph

  • How to get the Survey result with a External Provider

    Hi all
    We have an scenario where we create a Survey and it's executed for a third party, and then they send to us the results for example in a excel sheet.
    Some know how we can upload the survey results per each client into CRM,
    Best Regards.

    Go for ELM processing.....create mapping and ELM the file in the system....In the BADI enhancement for processing steps, define the logic for processing the response through an activity....
    Create Activity
    Attach the questionaire to the Activity...
    ELM the file that you received
    Process the file filling up answers on the activity questionaire...
    Hope it helps...
    Thanks
    Nikhil

  • I run this query to get  the result like below, but even though my query is running fine I dont get the expected result.

    I am looking for only column compare for making my target table same as source table.
    My query:
    select case when column_name_s is null and column_name_t is not null
                then 'alter table GRADE_CONVERSION drop ' || column_name_t || ';'
                when column_name_s is not null and column_name_t is null
                then 'alter table GRADE_CONVERSION add ' || column_name_s || ' ' || data_type_s ||';'
                else 'alter table GRADE_CONVERSION modify ' || column_name_t || ' ' || data_type_t ||';'
           end alterations
      from (select s.column_name column_name_s,t.column_name column_name_t,
                   s.data_type data_type_s,t.data_type data_type_t
              from (select column_id,column_name,data_type
                      from all_tab_cols@database
                     where owner = 'erhan'
                       and table_name = 'GRADE_CONVERSION'
                   ) s
                   full outer join
                   (select column_id,column_name,data_type
                      from all_tab_cols@database
                     where owner = 'sarigul'
                       and table_name = 'GRADE_CONVERSION'
                   ) t
                on s.column_name = t.column_name
    Tables:
    Target table:         GRADE_CONVERSION table in sarigul@database
    LETTER_GRADE
    VARCHAR2(2)
    GRADE_POINT
    NUMBER(3,2)
    MAX_GRADE
    NUMBER(3)
    MIN_GRADE
    NUMBER(3)
    Source table:       GRADE_CONVERSION table in erhan@database
    LETTER_GRADE
    VARCHAR2(2)
    GRADE_POINT
    NUMBER(3,2)
    MAX_GRADE
    NUMBER(3)
    MIN_GRADE
    NUMBER(3)
    CREATED_BY
    VARCHAR2(30)
    CREATED_DATE
    DATE
    MODIFIED_BY
    VARCHAR2(30)
    MODIFIED_DATE
    DATE
    want to see the result similar to this *(please ignore the column names here this is just a plain exemple:)
    Alter table Target_table modify BOOK_ID Varchar2 (4);
    Alter table Target_table add ISBN_10 Varchar2(13), null;
    Alter table Target_table drop TITLE;

    I am looking for only column compare for making my target table same as source table.
    My query:
    select case when column_name_s is null and column_name_t is not null
                then 'alter table GRADE_CONVERSION drop ' || column_name_t || ';'
                when column_name_s is not null and column_name_t is null
                then 'alter table GRADE_CONVERSION add ' || column_name_s || ' ' || data_type_s ||';'
                else 'alter table GRADE_CONVERSION modify ' || column_name_t || ' ' || data_type_t ||';'
           end alterations
      from (select s.column_name column_name_s,t.column_name column_name_t,
                   s.data_type data_type_s,t.data_type data_type_t
              from (select column_id,column_name,data_type
                      from all_tab_cols@database
                     where owner = 'erhan'
                       and table_name = 'GRADE_CONVERSION'
                   ) s
                   full outer join
                   (select column_id,column_name,data_type
                      from all_tab_cols@database
                     where owner = 'sarigul'
                       and table_name = 'GRADE_CONVERSION'
                   ) t
                on s.column_name = t.column_name
    Tables:
    Target table:         GRADE_CONVERSION table in sarigul@database
    LETTER_GRADE
    VARCHAR2(2)
    GRADE_POINT
    NUMBER(3,2)
    MAX_GRADE
    NUMBER(3)
    MIN_GRADE
    NUMBER(3)
    Source table:       GRADE_CONVERSION table in erhan@database
    LETTER_GRADE
    VARCHAR2(2)
    GRADE_POINT
    NUMBER(3,2)
    MAX_GRADE
    NUMBER(3)
    MIN_GRADE
    NUMBER(3)
    CREATED_BY
    VARCHAR2(30)
    CREATED_DATE
    DATE
    MODIFIED_BY
    VARCHAR2(30)
    MODIFIED_DATE
    DATE
    want to see the result similar to this *(please ignore the column names here this is just a plain exemple:)
    Alter table Target_table modify BOOK_ID Varchar2 (4);
    Alter table Target_table add ISBN_10 Varchar2(13), null;
    Alter table Target_table drop TITLE;

  • Changing pages, I often get the counterrevolving circle with "connecting". Would go on forever if .....

    ...I didn't force-quit FF, which then locks up the Mac. Current version of FF, Mac Pro running 10.6.8.

    What web pages does this happen? A few sites, many all?
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Type '''about:preferences#advanced'''<Enter> in the address bar.
    Under '''Advanced,''' Select '''General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?

  • Help me to get the expected output for this procedure

    Hi
    i wrote a procedure in this way
    create or replace PROCEDURE compare_data(tabname in varchar2 default 'VARE_PPP',current_version in integer default 258,previous_version in integer default 253)
    is
    TYPE table_type IS TABLE OF varchar2(4000)
    INDEX BY BINARY_INTEGER;
    t1 table_type ;
    SUBTYPE max_varchar2_t IS VARCHAR2 (32767);
    stmt_col_list max_varchar2_t;
    stmt_row_val max_varchar2_t;
    col_select_list max_varchar2_t := NULL;
    col_list_tab1 max_varchar2_t := NULL;
    col_list_tab2 max_varchar2_t := NULL;
    col_list max_varchar2_t := NULL;
    select_list_ver1 max_varchar2_t :=NULL;
    select_list_ver2 max_varchar2_t := NULL;
    type t_crs is ref cursor;
    c_get_diff t_crs;
    procedure get_header(tabname in varchar2) is
    col_name varchar2(100);
    cursor c_column_list is
    select COLUMN_NAME from all_tab_columns WHERE table_name = tabname and column_name not in('VERSION','LAST_MODIFIED_TIMESTAMP','LAST_MODIFIED_USER') order by COLUMN_ID asc;
    --stmt_col_list := 'select COLUMN_NAME from all_tab_columns WHERE table_name = '||tabname||' and column_name not like != '||temp1||' and column_name != '||temp2||' and column_name != '||temp3||' order by COLUMN_ID asc' ;
    begin
    col_select_list := 'tab1.version';
    htp.tableheader('Version');
    open c_column_list ; --for stmt_col_list;
    loop
    fetch c_column_list into col_name;
    exit when c_column_list%notfound;
    htp.tableheader(col_name);
    if col_name not like 'LAST_MODIFIED_TIMESTAMP' or col_name not like 'LAST_MODIFIED_USER' then
    if col_list_tab1 is null then
    col_list_tab1 :='tab1.'||col_name;
    col_list_tab2 :='tab2.'||col_name;
    col_list := col_name;
    elsif col_name not like '%END%' then
    --dbms_output.put_line('deepak:'||g_columns (l_index).column_name);
    col_list_tab1 :=
    col_list_tab1 || '||' ||'tab1.'||col_name;
    col_list_tab2 :=
    col_list_tab2 || '||' ||'tab2.'||col_name;
    col_list :=
    col_list || ',' ||col_name;
    end if;
    col_select_list :=
    col_select_list || ', ' ||'tab1.'||col_name;
    end if;
    end loop;
    DBMS_OUTPUT.put_line('col_select_list:'||col_select_list);
    DBMS_OUTPUT.put_line('col_list_tab1:'||col_list_tab1);
    DBMS_OUTPUT.put_line('col_list_tab2:'||col_list_tab2);
    DBMS_OUTPUT.put_line('col_list:'||col_list);
    close c_column_list;
    end get_header;
    procedure get_difference(ver1 in integer,ver2 in integer) is
    name_column varchar2(100) ;
    begin
    select_list_ver1 := 'SELECT '||col_list||' FROM '||tabname||' WHERE VERSION = '||current_version;
    select_list_ver2 := 'SELECT '||col_list||' FROM '||tabname||' WHERE VERSION = '||previous_version;
    stmt_row_val := 'select '||col_select_list||' from '||tabname||' tab1,('||select_list_ver1||' minus '||select_list_ver2||' ) tab2 where '||col_list_tab1||'='||col_list_tab2||' and tab1.version in ('||current_version||','||previous_version||')';
    open c_get_diff for stmt_row_val;
    loop
    fetch c_get_diff bulk collect into t1;
    for cnt in t1.first..t1.last
    loop
    htp.tabledata(t1(cnt));
    dbms_output.put_line(t1(cnt));
    end loop;
    exit when c_get_diff%notfound;
    end loop;
    close c_get_diff;
    end get_difference;
    begin
    htp.htmlopen;
    htp.bodyopen;
    htp.tableopen(cattributes=>'border="2",bordercolor="BLACK",width="60%",align="CENTER"');
    htp.tablerowopen;
    get_header(tabname);
    htp.tableheader('Remark');
    htp.tablerowclose;
    htp.tablerowopen;
    get_difference(current_version,previous_version);
    htp.tabledata('New/Modified');
    htp.tablerowclose;
    htp.tablerowopen;
    get_difference(previous_version,current_version);
    htp.tabledata('Deleted');
    htp.tablerowclose;
    htp.bodyclose;
    htp.htmlclose;
    end compare_data;
    no errors are there but i am not getting the proper result mine expected result is
    253.00 TT Null 11/1/2006 12/31/2099 Y
    258.00 NBK Null 11/1/2006 12/31/2099 Y
    but i am getting
    258
    258
    can anyone help me out,why i am not getting the expected result.
    values which i am using in the query to execute dynamically are
    col_select_list:tab1.version, tab1.PPP_WCC_TYPE, tab1.PPP_WCC_PREFIX_TYPE, tab1.PPP_START_DATE, tab1.PPP_END_DATE, tab1.PPP_INDICATOR
    col_list_tab1:tab1.PPP_WCC_TYPE||tab1.PPP_WCC_PREFIX_TYPE||tab1.PPP_START_DATE||tab1.PPP_INDICATOR
    col_list_tab2:tab2.PPP_WCC_TYPE||tab2.PPP_WCC_PREFIX_TYPE||tab2.PPP_START_DATE||tab2.PPP_INDICATOR
    col_list:PPP_WCC_TYPE,PPP_WCC_PREFIX_TYPE,PPP_START_DATE,PPP_INDICATOR

    I wish I knew your application !!!

  • How can i improve database connectivity with connection pool

    Hi,
    I used to create a connection to DB per session since the application is pretty small. Now i want to improve the db connectrion with connection pool. However, i am still confused since the book i read says that i have to change something in server.xml in the tomcat server while other people in this forum actually implement a connection pool class. Isnt it has been built into the servlet container? if yes, how can i use it? I suppose i only have to open the connection and the connection pool will reclaim the resource when the session is terminated in the same way the gabage collector reclaim resource when no reference is associated to object, am i correct?
    Thai

    the documentation for Tomcat 5 DB pooling can be found at:
    http://jakarta.apache.org/tomcat/tom...les-howto.html
    Here are the Tomcat 4 docs:
    http://jakarta.apache.org/tomcat/tom...les-howto.html
    The administration console can be found at (under default install):
    http:localhost:8080/admin
    But, you have to set up a user and password in your
    <tomcat-install>/conf/tomcat-users.xml file.
    You need to add an "admin" role and a user that will be assigned this
    role like this (obviously you won't be using "tomcat" as your password):
    <?xml version='1.0' encoding='utf-8'?>
    <tomcat-users>
    <role rolename="admin"/>
    <user username="tomcat" password="tomcat" roles="admin"/>
    </tomcat-users>
    So, I can log in as Tomcat and have admin privs.
    Tomcat 5
    http://jakarta.apache.org/tomcat/tom...ger-howto.html
    Tomcat 4
    http://jakarta.apache.org/tomcat/tom...ion%20A ccess
    i'm sure this helps u

  • Do not seem to be able to backup iPad via iTunes on to my PC. Message after connecting is "iTunes was unable to load class information from Sync Services, Reconnect or try later"  Have tried that but get the same result. Can anyone assist?

    Do not seem to be able to backup iPad via iTunes on to my PC.
    Message after connecting is "iTunes was unable to load class information from Sync Services, Reconnect or try later" 
    Have tried that but get the same result.
    Remedies I've tried are:
    wait and try again
    reboot
    reload iTunes
    NB hp is a relatively new machine and has previously backed up quite happily.
    Can anyone assist?

    RHoodnkt-
    Try rebooting the iPad.  Hold down both the Home and Sleep buttons for several seconds until the Apple logo appears.  Ignore the "Slide to power off" arrow.  It takes a minute or two to restart.
    Also be sure your iPad battery is not completely discharged.
    Fred

  • Unable to get Results using Connection Pool

    Hi All,
    I have been trying to create JDBC connection pooling provided by the Apache Tomcat 4.0 with MySQL 4.0.16-nt at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html and my configuration is as follows
    server.xml
    <Context path="/DBTest" docBase="DBTest"
    debug="5" reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_DBTest_log." suffix=".txt"
    timestamp="true"/>
    <Resource name="jdbc/TestDB"
    auth="Container"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/TestDB">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <!-- Maximum number of dB connections in pool. Make sure you
    configure your mysqld max_connections large enough to handle
    all of your db connections. Set to 0 for no limit.
    -->
    <parameter>
    <name>maxActive</name>
    <value>100</value>
    </parameter>
    <!-- Maximum number of idle dB connections to retain in pool.
    Set to 0 for no limit.
    -->
    <parameter>
    <name>maxIdle</name>
    <value>30</value>
    </parameter>
    <!-- Maximum time to wait for a dB connection to become available
    in ms, in this example 10 seconds. An Exception is thrown if
    this timeout is exceeded. Set to -1 to wait indefinitely.
    -->
    <parameter>
    <name>maxWait</name>
    <value>10000</value>
    </parameter>
    <!-- MySQL dB username and password for dB connections -->
    <parameter>
    <name>username</name>
    <value>javauser</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>javadude</value>
    </parameter>
    <!-- Class name for mm.mysql JDBC driver -->
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>
    <!-- The JDBC connection url for connecting to your MySQL dB.
    The autoReconnect=true argument to the url makes sure that the
    mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
    connection. mysqld by default closes idle connections after 8 hours.
    -->
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
    </parameter>
    </ResourceParams>
    </Context>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/TestDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    test.jsp
    <jsp:useBean id="foo" class="foo.DBTest" scope="page" />
    <html>
    <head>
    <title>DB Test</title>
    </head>
    <body>
    <%
    foo.DBTest tst = new foo.DBTest();
    tst.init();
    %>
    <h2>Results</h2>
    Foo <%= tst.getFoo() %>
    Bar <%= tst.getBar() %>
    </body>
    </html>
    DBTest.java package
    package foo;
    import javax.naming.*;
    import javax.sql.*;
    import java.sql.*;
    public class DBTest {
    String foo = "Not Connected";
    int bar = -1;
    public void init() {
    try{
    Context ctx = new InitialContext();
    if(ctx == null )
    throw new Exception("Boom - No Context");
    DataSource ds =
    (DataSource)ctx.lookup(
    "java:comp/env/jdbc/TestDB");
    if (ds != null) {
    Connection conn = ds.getConnection();
    if(conn != null) {
    foo = "Got Connection "+conn.toString();
    Statement stmt = conn.createStatement();
    ResultSet rst =
    stmt.executeQuery(
    "select id, foo, bar from testdata");
    if(rst.next()) {
    foo=rst.getString(2);
    bar=rst.getInt(3);
    conn.close();
    }catch(Exception e) {
    e.printStackTrace();
    public String getFoo() { return foo; }
    public int getBar() { return bar;}
    Now when I am trying to run this on browser, everything goes fine except it doesn't show the expected results, instead of that it shows following in the browser:-
    Results
    Foo Not Connected
    Bar -1
    Can anybody help me out as to why I am getting such result while everything is right from my side. Is the program unable to connect to the database or it is not supporting the JDBC version that I am using.
    Thanks in advance
    Regards
    Vikas

    I've seen cases where NOT using the ResourceParams section, and instead using attributes in the Resource section will fix this. Don't know why.
    i.e.
    Instead of using:
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>use the driver attribute of the Resource tag:
    <Resource name="jdbc/TestDB"
    auth="Container"
    type="javax.sql.DataSource"
    driver="org.gjt.mm.mysql.Driver"/>Also note...I don't use the org.gjt.mm.mysql.Driver class (which is in the distribution), I use com.mysql.jdbc.Driver. Any reason you don't? This could be part of it. I don't really know.

  • Error while applying a patch "Unable to get the database connection"

    Dear Experts,
    A patch which got successfully applied is failing Production and the error is kind of surprising to me.
    Apps version is 11.5.10.2
    db version is 10.2.0.4
    The worker log file shows
    Time when worker restarted job: Thu Nov 24 2011 22:14:52
    Start time for file is: Thu Nov 24 2011 22:14:52
    adjava -ms128m -mx256m -nojit oracle.apps.fnd.odf2.FndXdfCmp &un_apps &pw_apps &un_apps &pw_apps &jdbc_protocol &jdbc_db_addr table &fullpath_pa_patch/115
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
      Temporarily resetting CLASSPATH to:
      "/erp/oracle/prodappl/ad/11.5.0/java/adjri.zip:/usr/java14/jre/lib/charsets.jar:/usr/java14/jre/lib/core.jar:/usr/java14/jre/lib/graphics.jar:/usr/java1
      Calling /usr/java14/bin/java ...
    Exception occured
                  Copyright (c) 2003 Oracle Corporation
                     Redwood Shores, California, USA
             XDF(XML Object Description File) Comparison Utility
                            Version 1
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    Unable to get the database connection using schema username/passwordIo exception: The Network Adapter could not establish the connection
    AD Run Java Command is complete.
                         Copyright (c) 2002 Oracle Corporation
                            Redwood Shores, California, USA
                                        AD Java
                                     Version 11.5.0
    NOTE: You may not use this utility for custom development
          unless you have written permission from Oracle Corporation.
    AD Worker error:
    The above program failed.  See the error messages listed
    above, if any, or see the log and output files for the program.
    Time when worker failed: Thu Nov 24 2011 22:14:53
    {code}
    The error says database connection error.  I am able to connect to the database using sqlplus.  I tried to restart the failed worker, but the same error is repeating. 
    Any help would be appreciated.
    Thanks
    qARS
    Edited by: user7640966 on Nov 24, 2011 9:07 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hussein,
    One thing which I noticed now is in the apps Tier the
    tnsnames.ora under $TNS_ADMIN
    shows entry like this:
    PROD=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<appsServerName>)(PORT=1521))
                    (ADDRESS=(PROTOCOL=tcp)(HOST=<dbServer>)(PORT=1521))
                (CONNECT_DATA=
                    (SID=PROD)
            )Actually *(ADDRESS=(PROTOCOL=tcp)(HOST=<appsIPaddress>)(PORT=1521))* this line in the tnsnames.ora is not correct. In fact the appsServerName should be replaced with dbServerName
    I deleted the tnsnames.ora and reran autoconfig but it is again recreating the same entry.
    Any clue how this can be fixed?
    Thanks
    qARS

  • I am unable to get my iPhone 4s to connect with my JBL Flip speaker via bluetooth anymore. I have been using it for 2 months and now it just wont find device. Any ideas?

    I am unable to get my iPhone 4s to connect with my JBL Flip speaker via bluetooth anymore. I have been using it for 2 months and now it just wont find device. Any ideas?

    Where exactly did you buy this phone?
    Have you tried contacting your phone carrier to activate the phone?
    Do you have a sim card?

  • Has anyone tried to pair the Tzumi bluetooth headphones to their iMac?  My iMac will detect the device, connect to it for about 2 seconds, then shows a status of "not connected".  Multiple attempts get the same result.

    Has anyone tried to pair the Tzumi bluetooth headphones to their iMac?  My iMac will detect the device, connect to it for about 2 seconds, then shows a status of "not connected".  Multiple attempts get the same result.

    Edge has very clear restrictions, one being that you must have 6 months of clean payment history which you don't. Either wait until April 14, or good luck at Sprint.
    I am unsure how it can be determined the payment mix up was the fault of CS, but regardless, the mix up was done. There can be any number of reasons why a payment could be missed without any fault on your part, however you are still the responsible party for the account and must live with the repercussions.

  • Once I connect my iPhone to the computer to sync., the computer crashes.  I unistalled and installed iTunes, still I get the same results.  If I disconnect the iPhone from the computer, iTune will work, I therefore uninstalled the iTune from my computer.

    Once I connect my iPhone to the compjuter to sync., the computer crashes, and continues to reboot as long as the charge cable is connect between the iPhone and the computer, once I disconnect it, then the computer and iTunes will function normally. 
    I had uninstalled and reinstalled the iTunes 3 different times, still I am getting the same results, I therefore had to uninstall the iTune from my computer to be able to do my work, and charge the iPhone at the same time.  Please note that few weeks ago, everything was working fine.
    What can I do to resolve this issue.
    Thank you.
    Magdi

    If you have photos in the Camera Roll on your iPhone and have preferences set to open an image azure application on your pc when a camera is connected, your pc will do just that. That's how one transfers photos taken with the phone to a PC.
    You can do two things to avoid this.
    1. Just quit the image capture application and open iTunes. You do have iTunes 10.7 or higher installed on your pc, right?
    2. You can change the preferences on your pc to do nothing when a camera is connected. And you can set the preference in iTunes to open iTunes when your iPhone is connected.

  • I am trying to download an album from ITUNES and I keep getting a "session has timed out" message with no further option but to try again. I get the same results. Anyone have any ideas?

    I am trying to download and album off ITUNES but when I get to the billing site and attempt to purchase it, it gives me a message saying "Your Session has timed out." It gives me no other option that to try again and I just keep getting the same results. Anyone have any ideas on what I can do?

    Hi, Kenny. 
    Thank you for visiting Apple Support Communities. 
    There are a couple things that I would recommend trying.  Try closing all open applications and power cycle the device.  Next, go through the section labeled Troubleshoot issues on an iPhone, iPad, or iPod touch in the second article below.  If the issue persists, try completely signing out of the iTunes Store on the iOS device and sign back in.  Be sure to test downloading an application after each step. 
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Cheers,
    Jason H. 

Maybe you are looking for

  • JAVA mail API multiple mail address

    Need some help please... I have a file I include in my form info.jsp that has this line String apprteam [] = {"[email protected] [email protected]"}; then in my form.jsp <input type="hidden" name="to" id="to" value="<%=apprtea

  • Just started using illustrator and do not understand why i cannot fill this trace

    alright so i have my image that i have traced, its all chucnked up into groups (hair, eyes, etc...)  but if i try to select say the hair and try to fill it, it does it really bad http://img835.imageshack.us/img835/1310/picture6qs.png and here i use t

  • How can i get login details to a table?

    i am using my sql data base.people who are visiing my web site can log in to the sites restricted areas using their Usernames and Passwords. (the login is based on the "Register" table in the data base) When somebody enteres the site using their User

  • Why is the af:table tag creating a fixed size div.

    When I use the af:table components it seems to always occupy a fixed height no matter how many rows are displayed. This creates a difficulty when laying out pages and making the table scroll in a fixed area. I looked at the HTML and the div that wrap

  • Cloning R12 Linux

    Hi, After cloning my EBS R12 (successfully), I am issuing this command: select profile_option_value from fnd_profile_option_values where profile_option_value like 'http%'; http://orafin.abc.com.ph:8000/pls/DEV http://orafin.abc.com.ph:8000/forms/frms