Multiple listener on 9i and 11g

Hi all
I have 9i and 11g installation on same oracle user.
3 of db are using 9i and 1 of db is using 11g binaries
my 9i listener is working fine but when i try to do tnsping for 11g db which is upgraded from 9i is not working.... TNS_ADMIN is set 11g.
echo $TNS_ADMIN
/spqa01/app/oracle/product/11.1.0/network/admin
which tnsping
/spqa01/app/oracle/product/11.1.0/bin/tnsping
when i do tnsping SPD1
Attempting to contact (description=(address=(protocol=tcp)(host= qdchudaa)(port=1527))(connect_data=(sid=SPD1)))
TNS-12541: TNS:no listener
listener of the 9i have below entries
LISTENER_SPQA =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.qdx.com)(PORT = 1526))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = SPQA_EXTPROC))
SID_LIST_LISTENER_SPQA =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = SPQA1.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = SPQA1)
(SID_DESC =
(GLOBAL_DBNAME = SPQA2.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = SPQA2)
(SID_DESC =
(GLOBAL_DBNAME = RMANTST.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = RMANTST)
(SID_DESC =
(GLOBAL_DBNAME = SPD2.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = SPD2)
----------tnsnames.ora of 9i
SPD1 =
(DESCRIPTION =
(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1525)))
(CONNECT_DATA =(SERVICE_NAME = SPD1.qdx.com) (INSTANCE_NAME = SPD1)))
SPQA1.QDX.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME=SPQA1.qdx.com)
SPQA1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME = SPQA1.qdx.com)
INSTANCE_NAME = SPQA1)
SPQA1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME=SPQA1.QDX.COM)
SPQA2.QDX.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME=SPQA2.qdx.com)
====================listener.ora of 11g
LISTENER_SP11 =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc1))
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.qdx.com)(PORT = 1527))
SID_LIST_LISTENER_SP11 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME= /spqa01/app/oracle/product/11.1.0 )
(PROGRAM = extproc)
same tnsnames.ora in 9i in 11g
both compatible is set to 11.1.0 and local_listner is set to (ADDRESS =(PROTOCOL=TCP)(HOST=xxx)(PORT=1527))
How to configure listener which can support 11g instances separatly
please help

How to configure listener which can support 11g instances separatly hi in this case you need to put 9i & 11g network files in different locations for example
ORACLE 9i:-
export TNS_ADMIN=/u01/app/oracle/product/9.2.0/db_1/network/admin
ORACLE 11g:-
export TNS_ADMIN=/u02/app/oracle/product/11.1.0/network/admin
then export which listener you wan...
TWO_TASK(tns connection string) & TNS_ADMIN(path of network files $ORACLE_HOME/network/admin) before if you want to use specific listener either 11g or 9i.
HI Sb,
can you correct if im wron. Thanks

Similar Messages

  • Problem removing Listener Service in Clusterware 11g

    It appears that I already have a listener service as shown below, and I am having problem removing this service so that I can create another. I know that I can just add a new listener service for each node, though if anyone would share some insight on how I can remove this listener service ofr Oracle 11g Clusterware with two node cluster, I would appreciate your insight. Thanks
    rac1.respecti.com>./crs_resources.sh
    HA Resource Target State
    ora.rac1.gsd ONLINE ONLINE on rac1
    ora.rac1.ons ONLINE ONLINE on rac1
    ora.rac1.rac1.lsnr ONLINE ONLINE on rac1
    ora.rac1.vip ONLINE ONLINE on rac1
    ora.rac2.gsd ONLINE ONLINE on rac2
    ora.rac2.ons ONLINE ONLINE on rac2
    ora.rac2.rac2.lsnr ONLINE ONLINE on rac2
    ora.rac2.vip ONLINE ONLINE on rac2
    rac1.respecti.com>srvctl remove listener -n rac1 -l rac1
    PRKO-2203 : Listener is running on node: rac1
    rac1.respecti.com>srvctl stop listener -n rac1
    CRS-0210: Could not find resource 'ora.rac1.LISTENER_RAC1.lsnr'.
    rac1.respecti.com>

    Hi, Is there any tnslsnr process running on the node. To understand the problem better, enable the debug trace for the .lsnr resource. You can enable trace by executing the following command as root.
    crsctl debug log res "ora.rac1.LISTENER_RAC1.lsnr:5"
    crsctl debug log crs "CRSRTI:1,CRSCOMM:2,OCRSRV:4"
    Try to stop the listener.
    Examine the log files under CRS_HOME/log/$HOST/crsd/* and CRS_HOME/log/$HOST/racg/*
    Thanks & Regards
    -Harish Kalra

  • Oracle 9i and 11g installation on same windows machine

    Hi All,
    I am facing strange problem, I installed 9i and 11g on same machine whiche is runng windows server 2003 service pack 2. I set ORACLE_HOME and PATH of both versions different
    and both are installed properly. But when i try to create new database using oracle 9i DBCA after reaching step 8 DBCA becomes unresponsive whereas i am able to create new database using Oracle 11g DBCA. After searhing the entier net i am not able to trubleshoot the problem.Moreover in both version i am able to access using CMD and i got the connectivity.
    I configure the listener for both on different port but when i run oracle 9i the screen shows first connectivity of oracle 11g sql* plus after that it is going to connect to oracle 9i this is my second issue.
    Please guys take this problem on high priority.
    Thanks in advance.

    Hi,
    Welcome 2 Oracle Forums :)
    Please guys take this problem on high priority.This forum is not for high priority issues. All high priority issues should log S.R at http://support.oracle.com
    I am facing strange problem, I installed 9i and 11g on same machine whiche is runng windows server 2003 service pack 2. I set ORACLE_HOME and PATH of both versions different
    and both are installed properly. But when i try to create new database using oracle 9i DBCA after reaching step 8 DBCA becomes unresponsive whereas i am able to create new database using >Oracle 11g DBCA. After searhing the entier net i am not able to trubleshoot the problem.Moreover in both version i am able to access using CMD and i got the connectivity.
    I configure the listener for both on different port but when i run oracle 9i the screen shows first connectivity of oracle 11g sql* plus after that it is going to connect to oracle 9i this is my second issue.Check the Installation and Database creation logfile for more details.
    thanks,
    X A H E E R

  • Oracle 10g and 11g on the same computer....

    Hi ,
    Just for confirmation.... i 'd like to ask if this is possible.....without migrating the existing Oracle 10g v.2 database to Oracle 11g......
    I want to keep them working both (not of course simultaneously.....)
    Thanks....
    Sim

    Assuming you load everything into separate 10.2 and 11.1 Oracle Homes, sure. You can even have both running at the same time if you'd like.
    Depending on your setup, you may want to spend a bit of time figuring out whether you want to run separate listeners or have one listener for both databases (in which case you'd probably want just the 11g listener running). And whether you want separate tnsnames.ora files or whether you want to use the TNS_ADMIN environment variable to point both Oracle Homes at a single file.
    Justin

  • Switching between 9i and 11g clients in Windows 7

    Is it possible to have both a 9i home and 11g home on Windows 7? I need to connect to a legacy 8i server with the 9i client.
    What I attempted:
    1. I installed 9i, then installed 11g.
    2. My connections to servers using the 11g home worked great. Connection to 8i failed (not supported).
    3. Through OUI, I set 9i as the first home in the environment path.
    4. The connection the 8i server worked. Connection to other servers failed.
    5. Through OUI, switched back to the 11g as the first home in the environment path.
    6. Connections to 8i work, but others do not. The obvious observation is that the path did not switch everything back appropriately.
    I thought that multiple Oracle homes were ok? But I can't seem to switch them from 9i to 11g.
    Any thoughts or ideas?
    thanks.

    I am a bit surprised that you were able to install the Oracle 9i client on Windows 7. I have had trouble making the Oracle 10g R2 client work correctly on Windows 7 - I was able to connect to the database from SQL*Plus but not all database applications. If you are able to make the connection work simply by changing the order of the system path, you can cheat to make the Oracle 9i client appear to be first in the path for just that program. Start up Notepad on the computer and paste the following into the Notepad window:
    SET PATH=C:\Oracle\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\
    START C:\WINDOWS\NOTEPAD.EXE
    EXITThe first line above changes the path environment variable for just the script. The second line starts another copy of Notepad, inheriting the PATH and other variables from the script. The last line makes certain that the script window closes.
    Now, save the file with a .BAT extention, for example with a name like "pathtest.bat", then exit Notepad. If you then double-click the file that was just saved a black screen shoud appear for 1/4 second (or less) and then a copy of Notepad should open.
    If you have a copy of Microsoft's free Process Explorer utility (download from Microsoft.com), start the program, then double-click the notepad.exe file in the list. Switch to the Environment tab and scroll to the Path variable - it should be set to:
    C:\Oracle\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Once you verify that the above works, modify the script file to set the correct path for your Oracle 9i client, and change C:\WINDOWS\NOTEPAD.EXE to start the program that will use the Oracle 9i client. Finally, fix the normal system path variable so that the Oracle 11g client is listed first in the path.
    Option 2, if you have either the Professional or Ultimate editions of Windows 7. Download Microsoft's free Windows XP mode virtual machine and install the Oracle 9i client in that virtual machine. You should be able to create an icon that automatically launches the Windows XP mode virtual machine and then runs a specific program inside the virtual machine (I have not yet tested the auto-launch feature).
    Option 3, if the programs will use an ODBC connection, install one of the Oracle clients, create the ODBC connection that will use that client, install the other Oracle client, and create the ODBC connection that will use that client.
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Configure Enterprise Manager with multiple Listener

    Configure Enterprise Manager with multiple Listener
    I have created 2 listeners and connected my database with both the listeners. If I stop one listener then it automatically uses second listener vice versa. But facing problem in case of enterprise manager. If i stop first listener which is on 1521 port it is not connecting to another listener which is on 1522 port.
    any help ?

    Your potential problem is Enterprise Manager simply doesn't KNOW about that second listener. You can easily verify that when you look at the monitored targets.
    Enterprise Manager also reconstructs automagically it's own tnsnames.ora! So, it doesn't connect to second -completely redundant and useless - listener, because the tnsnames.ora entry on the Management Sever is incorrect.
    Simply because you didn't made sure OEM could discover the second -completely redundant and useless- listener.
    I notice you apparently don't want to read documentation. Yet the only way to work successfully with Oracle, and to become independent, is to read that documention.
    Apart from that you should be able to find agentca.bat on your OS with one command, so, yes, I pointed you to the documentation, yes, you can find agentca.bat.
    Sybrand Bakker
    Senior Oracle DBA

  • ORA-12541: TNS:no listener, (error, in oracle 11g for window 7, 64 bit)

    ORA-12541: TNS:no listener, error, in oracle 11g for window 7, 64 bit
    While connecting as localhost is pretty well.
    but command: sqlplus username@'192.168.52.178:1521/orcl' on the same machine is producing above mentioned error on oracle 11g for window 7, 64 bit.

    user11225434 wrote:
    Thax sir for your kind concern of my problem. Answers of your quaries regarding my question as follows
    lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 05-AUG-2013 09:37
    :21
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                05-AUG-2013 09:31:09
    Uptime                    0 days 0 hr. 6 min. 22 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\eee\product\11.2.0\dbhome_5\network\admin\liste
    ner.ora
    Listener Log File         c:\app\eee\diag\tnslsnr\eee-THINK\listener\alert\log.x
    ml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.52.170)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orclxe" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    Service "orclxeXDB" has 1 instance(s).
      Instance "orclxe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    # listener.ora Network Configuration File: C:\app\eee\product\11.2.0\dbhome_5\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\app\eee\product\11.2.0\dbhome_5)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:C:\app\eee\product\11.2.0\dbhome_5\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.52.170)(PORT = 1521))
    ADR_BASE_LISTENER = C:\app\eee
    3. My ip is static 192.168.52.170 and window 7 prof. is there.
    4. Sir i have tested the remote connection with firewall configuration is off.
    Hopefully this info is useful.
    but command: sqlplus username@'192.168.52.178:1521/orcl'
    NOTE the difference in IP#s above; 192.168.52.170 vs. 192.168.52.178

  • Higher version listener serving new and old DB Versions

    We have 11g Listener serving 2 11g databases and 1 9i database. All 3 databases using default listener with 1521 port. How can I disable 9i database without affecting other 2 databases?
    Listener.ora file has entries for 2 11g databases but none for 9i, so looks like 9i database using dynamic registration. Any suggestions?

    We have 11g Listener serving 2 11g databases and 1 9i database. All 3 databases using default listener with 1521 port. How can I disable 9i database without affecting other 2 databases? You can not disable as such. You have to create separate listener if you want 11g's listener not to be used by 9i database. I do not think you will get any problem connecting through 11g's listener to 9i database.
    Listener.ora file has entries for 2 11g databases but none for 9i, so looks like 9i database using dynamic registration. Any suggestions?If you are facing any problem create additional listener and set the local_listener parameter of 9i database to the new listener with another port say port 1522. You can do it dynamically as
    SQL>alter system set local_listener='(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbsvr)(PORT = 1522)))' scope=BOTH;
    SQL>alter system register;
    Rgds.

  • Diff between 10g AS and 11g AS

    Hi,
    What are major differences between 10g AS and 11g AS? is 11g AS called fusion middleware?

    as application server level oracle 11g WebLogic Server is the new generation of AS10g ,and sure it's the world best application server for building and deploying enterprise Java EE applications with support for new features for lowering cost of operations, improving performance and supporting the Oracle applications portfolio,
    the Oracle Fusion Middleware consists of several software products from Oracle Corporation. OFM spans multiple services, including Java EE and developer tools, integration services, business intelligence, collaboration, and content management. OFM depends on open standards such as BPEL, SOAP, XML and JMS.
    Oracle Fusion Middleware provides software for the development, deployment, and management of service-oriented architecture (SOA). It includes what Oracle calls "hot-pluggable" architecture, designed to facilitate integration with existing applications and systems from other software vendors such as IBM, Microsoft, and SAP AG

  • Difference in select for update of - in Oracle Database 10g and 11g

    Hi, I found out that Oracle Database 10g and 11g treat the following PL/SQL block differently (I am using scott schema for convenience):
    DECLARE
      v_ename bonus.ename%TYPE;
    BEGIN
      SELECT b.ename
        INTO v_ename
        FROM bonus b
        JOIN emp e ON b.ename = e.ename
        JOIN dept d ON d.deptno = e.deptno
       WHERE b.ename = 'Scott'
         FOR UPDATE OF b.ename;
    END;
    /While in 10g (10.2) this code ends successfully (well NO_DATA_FOUND exception is raised but that is expected), in 11g (11.2) it raises exception "column ambiguously defined". And that is definitely not expected. It seems like it does not take into account table alias because I found out that when I change the column in FOR UPDATE OF e.empno (also does not work) to e.mgr (which is unique) it starts working. So is this some error in 11g? Any thoughts?
    Edited by: Libor Nenadál on 29.4.2010 21:46
    It seems that my question was answered here - http://stackoverflow.com/questions/2736426/difference-in-select-for-update-of-in-oracle-database-10g-and-11g

    The behaviour seems like it really is a bug and can be avoided using non-ANSI syntax. (It makes me wonder why Oracle maintains two query languages while dumb me thinks that this is just a preprocessor matter and query engine could be the same).

  • How to retrieve multiple data from table and represent it in jsp page

    Hi
    The below JavaScript code is used to add row in the table when I want to add multiple row data into table for single entry no field.
      <html>  function addRow()
                i++;
                var newRow = document.all("tblGrid").insertRow();
                var oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='srno"+i+"' type='text' id='srno"+i+"' size=10>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='itmcd"+i+"' type='text' id='itmcd"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='itmnm"+i+"' type='text' id='itmnm"+i+"' size='15'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='indentqty"+i+"' type='text' id='indentqty"+i+"' size='10'>";
                oCell = newRow.insertCell();
                    oCell.innerHTML = "<input name='uom"+i+"' type='text' id='uom"+i+"' size='10'><input type='hidden' name='mcode"+i+"'id='mcode"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='packqty"+i+"' type='text' id='packqty"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='packuom"+i+"' type='text' id='packuom"+i+"' size='10'><input type='hidden' name='pack"+i+"' id='pack"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='rate"+i+"' type='text' id='rate"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='dor"+i+"' type='text' id='dor"+i+"' size='0' onClick='"+putdate(this.name)+"'>";           
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='bccode"+i+"' type='text' id='bccode"+i+"' size='10'></td><input type='hidden' name='bcc"+i+"' id='bcc"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='cccode"+i+"' type='text' id='cccode"+i+"' size='10'></td><input type='hidden' name='ccc"+i+"' id='ccc"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='remark2"+i+"' type='text' id='remark2"+i+"' size='20'>";           
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input type='button' value='Delete' onclick='removeRow(this);' />";
               // oCell = newRow.insertCell();
               // oCell.innerHTML = "<input type='button' value='Clear' onclick='clearRow(this);' />";
            }<html>  Then this data are send to the next Servlet for adding into two table.
    My header portion data are added into one table which added only one row in table. while footer section data are added into the no of rows in another table dependent on No. of
    Rows added into jsp page.
    Here is an code for that logic.
    <html>
    ArrayList<String> mucode = new ArrayList<String>();
                                ArrayList<Integer> serials = new ArrayList<Integer>();
                                ArrayList<Integer> apxrate = new ArrayList<Integer>();
                                ArrayList<Integer> srname = new ArrayList<Integer>();
                                ArrayList<String> itcode = new ArrayList<String>();
                                ArrayList<String> itname = new ArrayList<String>();
                                ArrayList<Integer> iqnty = new ArrayList<Integer>();
                                ArrayList<String> iuom = new ArrayList<String>();
                                ArrayList<Integer> pqnty = new ArrayList<Integer>();
                                ArrayList<String> puom1 = new ArrayList<String>();
                               ArrayList<Integer> arate = new ArrayList<Integer>();
                                ArrayList<String> rdate = new ArrayList<String>();
                                ArrayList<String> bcs = new ArrayList<String>();
                                ArrayList<String> ccs = new ArrayList<String>();
                                ArrayList<String> remarkss = new ArrayList<String>();
                                //ArrayList<Integer> qtyrecs = new ArrayList<Integer>();
                                //ArrayList<String> dors = new ArrayList<String>();
                                //ArrayList<String> remarks = new ArrayList<String>();
                     String entryn = request.getParameter("entryno");       
                        String rows = request.getParameter("rows");
                        out.println(rows);  
                        //String Entryno = request.getParameter("entryno");
                       // out.println(Entryno);
                      int entryno = 0,reqqty = 0,srno = 0,deprequest = 0,rowcount = 0;
                                if(!Entryno.equals("")){
                                        entryno = Integer.valueOf(Entryno);
                                if(!rows.equals("")){
                                        rowcount = Integer.valueOf(rows);
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("srno"+i)!=null){
                                                serials.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
                                                out.println(serials.size());
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("srno"+i)!=null){
                                                srname.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
                                out.println(srname.get(0));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("itmcd"+i)!=null){
                                                itcode.add(request.getParameter("itmcd"+i).trim());
                                        } //out.println(itcode.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("itmnm"+i)!=null){
                                                itname.add(request.getParameter("itmnm"+i).trim());
                                        }//out.println(itname.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("indentqty"+i)!=null){
                                                iqnty.add(Integer.valueOf(request.getParameter("indentqty"+i).trim()));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("uom"+i)!=null){
                                                iuom.add(request.getParameter("uom"+i).trim());
                                        }//out.println(iuom.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("mcode"+i)!=null){
                                                mucode.add(request.getParameter("mcode"+i).trim());
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("packqty"+i).equals("")){
                                          pqnty.add(0);
                                        }else
                                            pqnty.add(Integer.valueOf(request.getParameter("packqty"+i).trim()));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("pack"+i)!=null){
                                                puom1.add(request.getParameter("pack"+i).trim());
                                       }else
                                        puom1.add("");
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("rate"+i).equals("")){                                     
                                            arate.add(0);
                                        }else
                                        arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));   
                     /* for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("rate"+i)!=null){
                                                arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));
                              for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("dor"+i)!=null){
                                                try{
                                                        rdate.add(dashdate.format(slashdate.parse(request.getParameter("dor"+i).trim())));
                                                }catch(ParseException p){p.printStackTrace();}
                                        }else
                                           { rdate.add("");}
                                   for(int i=1;i<=rowcount;i++){
                                 if(request.getParameter("bcc"+i)!=null){
                                                bcs.add(request.getParameter("bcc"+i).trim());
                                        }out.println(bcs.get(0));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("ccc"+i)!=null){
                                                ccs.add(request.getParameter("ccc"+i).trim());
                                        }out.println(ccs.get(0));
                                for(int i=1;i<=rowcount;i++){
                                    out.println("remark2");
                                        if(request.getParameter("remark2"+i)!=null){
                                                remarkss.add(request.getParameter("remark2"+i).trim());
                                        }out.println(remarkss.get(0));
                        ArrayList<String> Idate = new ArrayList<String>();
                        for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("dateindent"+i)!=null){
                                                try{
                                                        Idate.add(dashdate.format(dashdate.parse(request.getParameter("dateindent"+i).trim())));
                                                }catch(ParseException p){p.printStackTrace();}
                    String Rdate = dashdate.format(new java.util.Date());
                     String tdate = dashdate.format(new java.util.Date());    
                     // String Indentdate = dashdate.format(new java.util.Date());
                   //  String ApprovedT1 = dashdate.format(new java.util.Date());
                   //  String ApprovedT2 = dashdate.format(new java.util.Date());
                       // String ApprovedT1=" ";
                        //String ApprovedT2="";*/
                    String ApprovedT1= dashdate.format(new java.util.Date());
                   out.println (ApprovedT1);
                      String ApprovedT2=dashdate.format(new java.util.Date());
                       out.println(ApprovedT2);
                    String Indentdate=(dashdate.format(slashdate.parse(request.getParameter("dateindent").trim())));
                       out.println(Indentdate);
                        String Cocode ="BML001";  
                        out.println(Cocode);
                        String Deptcode = request.getParameter("dept1");
                        out.println(Deptcode);
                        String Empcode = request.getParameter("emp");
                        out.println(Empcode);
                        String Refno =request.getParameter("rtype"); 
                         out.println(Refno);
                        String Divcode = request.getParameter("todiv1");
                        out.println(Divcode);
                        String Usercode = "CIRIUS";    
                         String Whcode = request.getParameter("stor");
                        out.println(Whcode);
                        // String Itemgroupcode = request.getParameter("");
                         String Itemgroupcode ="120000";
                         out.println(Itemgroupcode);
                        String Supplytypecode = request.getParameter("stype");
                        out.println(Supplytypecode);
                        String Delcode = request.getParameter("deliverycode");
                        out.println(Delcode);
                        String Itemclass="WS";
                        out.println(Itemclass);
                        // String Itemclass = request.getParameter("iclass");
                       // out.println(Itemclass);
                        String unitcode = request.getParameter("uni");
                        out.println(unitcode);
                         String Todivcode = request.getParameter("todiv1");
                        out.println(Todivcode);
                        String Appxrate = request.getParameter("rate");
                        out.println(Appxrate);
                        String Srno = request.getParameter("srno");
                        out.println(Srno);                
                    /*    String Indqty = request.getParameter("indentqty");
                      out.println(Indqty);*/
                  String Itemcode = request.getParameter("itmcd");
                       out.println(Itemcode);
                       String Othersp = request.getParameter("remark1");
                        out.println(Othersp);
                        String Reqdt = request.getParameter("dor");
                        out.println(Reqdt);
                        String Munitcode = request.getParameter("mcode");
                        out.println(Munitcode);
                        String Packqty = request.getParameter("packqty");
                        out.println(Packqty);               
                        String Packuom = request.getParameter("pack");
                        out.println(Packuom);
                        String Remark2 = request.getParameter("remark2");
                        out.println(Remark2);
                        String BC = request.getParameter("bcc");
                        out.println(BC);
                        String CC = request.getParameter("ccc");
                        out.println(CC);
                        try{
                            st=connection.createStatement();
                            connection.setAutoCommit(false);
                            String sql="INSERT INTO PTXNINDHDR(COCODE,DEPTCODE,EMPCODE,APPROVEDT1,APPROVEDT2,INDDT,ENTRYNO,REFNO,REMARKS,DIVCODE,USERCODE,WHCODE,ITEMGROUPCODE,SUPTYPECODE,DELCODE,UNITCODE,TODIVCODE,ITEMCLASS)VALUES('"+Cocode+"','"+Deptcode+"','"+Empcode+"','"+ApprovedT1+"','"+ApprovedT2+"','"+Indentdate+"',"+Entryno+",'"+Refno+"','"+Othersp+"','"+Divcode+"','"+Usercode+"','"+Whcode+"','"+Itemgroupcode+"','"+Supplytypecode+"','"+Delcode+"','"+unitcode+"','"+Todivcode+"','"+Itemclass+"')";
                            out.println(sql);
                            st.addBatch(sql);
                            for(int i=0;i<serials.size();i++){
                                out.println("Inside the Statement");
                                String query3="test query for u";
                                out.println(query3);
                               String queryx="Insert into PTXNINDDTL(APXRATE,ENTRYNO,BRKNO,INDQTY,ITEMCODE,OTHERSPFCS,MUNITCODE,PACKQTY,PACKUOM,REMARKS,DIMSUBGRPCODE,DIMCODE,REQDT)VALUES("+arate.get(i)+","+entryno+","+srname.get(i)+","+iqnty.get(i)+","+itcode.get(i)+",'"+Othersp+"','"+mucode.get(i)+"',"+pqnty.get(i)+",'"+puom1.get(i)+"','"+remarkss.get(i)+"','"+bcs.get(i)+"','"+ccs.get(i)+"','"+rdate.get(i)+"')";
                               out.println(queryx);
                                st.addBatch(queryx);
                           int[] result=st.executeBatch();
                           connection.commit();
                           for(int k=0;k<result.length;k++)
                           out.println("rows updated by "+(k+1)+"insert sta:"+result[k]+"");
                        catch(BatchUpdateException bue)
                        out.println("error1;"+bue+"");
                        catch(SQLException sql)
                        out.println("error2;"+sql+"");
                        catch(Exception l)
                        out.println("error3;"+l+"");
    </html>
       Now I looking for to retrieve this footer section data available in multiple rows from footer table and present it in jsp page .
    I am finding difficulties in how to show this multiple row data for dynamic no of rows .i.e. variable no. of rows.
    I have able to show the data in Header portions of page in this ways
    here i am adding the part of code which shows the data from header part of table i.e from Header table
      <html>
    <h2 align="center"><b>Indent Preparation</b></h2>
        <div align="left">
            <table width="849" border="0" cellspacing="3" cellpadding="3" align="center">
                <tr>
                    <td ><div align="left"><b>Indent No.</b></div></td>
                    <td ><label>
                            <input name="indentno" type="text" id="indentno" size="15" value="" /><input type="hidden" name="no" id="no">
                    </label></td>
                    <td ><div align="center"><strong>Indent Date</strong></div></td>
                    <td ><label>
                            <div align="center">
                                <input name="dateindent" type="text" id="dateindent"value="<%=date1%>"/><input type="hidden" name="no" id="no">
                            </div>
                    </label></td>
                    <td> </td>
                    <td><div align="right"><strong>Entry No.</strong></div></td>
                     <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
            <td><input type="text" value="<%=hdrcode.get(3)%>" size="10"></td>
    <%}else{%>
                   <td><input type="text" name="entryno" id="entryno" value="<%=entryNo%>"/></td>
                             <%}%>
                            <div align="right"></div>
                </tr>
                <tr>
                    <td><b>Division</b></td>
                    <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
    <td><input type="text" value="<%=hdrdetails.get(9)%>" size="20"</td>
    <td><input type="hidden" name="div1" id="div1" value='<%=hdrcode.get(10)%>'></td>
    <%}else{%>
                   <td><input type="text" name="div" id="div" /></td>
                   <td><input type="hidden" name="div1" id="div1" /> </td>
              <%}%>
                    <td> </td>
                    <td> </td>
                    <td><div align="right"><strong>Unit</strong></div></td>
                   <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
    <td><input type="text" value="<%=hdrdetails.get(14)%>" size="20"</td>
    <td><input type="hidden" name="uni" id="uni" value='<%=hdrcode.get(12)%>'></td>
    <%}else{%>
                   <td><input type="text" name="unit" id="unit" /></td>
                   <td><input type="hidden" name="uni" id="uni" /> </td>
              <%}%>
                </tr>
                <tr>
    </html>
      Any suggestion on any above works is highly appreciated.
    Thanks and regards
    harshal

    Too much code. It's also not well intented nor formatted. I don't see a question either or it got lost in that heap of unformatted code.
    I will only answer the question in the thread's subject:
    How to retrieve multiple data from table and represent it in jsp pageTo retrieve, make use of HttpServletRequest#getParameterValues() and/or #getParameter().
    To display, make use of JSTL's c:forEach.

  • Font difference in 6i and 11g

    Hi,
    We are doing a conversion of oracle reports from 6i to 11g and we see some differences in fonts in the 11g version. For example some reports in 11g dont have the font type Palentino used in 6i. How do I get these font files or which folders do I find these font files. Can somebody let me know where in 6i can I find them and where do I need to copy these files into 11g and if need to make any configuration changes.
    Thanks and Regards

    No problem, can you help me with the font files on the windows machine ... I have both 6i and 11g installed on my local windows machine. Since they are both on the same OS and use same font folders from OS i dont understand why the difference then.
    Thanks and Regards

  • Print Multiple copies of report, and resetting Page number for each copy.

    Dear frnds!
    i am using developer 6i reports i have a problem.
    i want to Print Multiple copies of report, and resetting Page number for each copy" that is 4 copies of an invoice is required
    1 - for user copy
    2- gate copy
    3- accounts office
    4- office copy
    any body please tell me the solution "i am using oracle 9i and developer 6i"
    Thanx
    Ibrar

    Hi,
    I was wondering if you were able to get your multiple copies working? Below is what I have so far, just trying to get it to work before changing the actual template.
    <?for-each-group@section:R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?variable@incontext:G1;R5542520/Pick_Slips_Detail_Lines_S3;PickSlipNumber_ID260?>
    <?for-each@section:xdoxslt:foreach_number($_XDOCTX,1,3,1)?>
    HEADER
    PSN: <?$G1/Pick_Slip_Number_Display_ID54?>
    PSN Detail: <?$G1/PickSlipNumber_ID260?>
    Page 1 of 3
    <?start:body?>
    BODY
    <?$G1/LineNumber_ID6?>
    <?end body?>
    FOOTER
    <?end for-each?>
    <?end for-each-group?>
    XML:
    <R5542520>
    <Pick_Slips_Detail_Lines_S24>
    <Header_Custom_Section_S24>
    <Pick_Slip_Number_Display_ID54>123456</Pick_Slip_Number_Display_ID54>
    <PickSlipNumber_ID260>123456</PickSlipNumber_ID260>

  • Music and Video on Nas in folders but how do i set up itunes on multiple computers to see and use these files and create libraries?

    Music and Video on Nas in folders but how do i set up itunes on multiple computers to see and use these files and create libraries?
    So i have had a itunes set up on my old PC, bought a NAS and copied the folders over to the NAS, i did this incorrectly and so then even when i told the old PC to use that folder it saw all the songs but wasnt able to play the songs as it was looking in the incorrect place.
    So now i want my Mac as well as my PC and others to all use the music, videos etc on the NAS they are in itunes friendly folders (as they were compiled this way by the itunes on the old PC.
    When i tell the mac to use the itunes library.itl file it sees the song list (about 100gb) but cant see any songs, so i have removed this file to another location for now with the hope to set up a new file and then get it to see the songs on the folder from the NAS.
    Can someone tell me how to do this for all the Mac's and PC's on my network as i really want one master library that all use and add too.
    Thanks for your help in advance.

    I have the same question but I am using two pc's

  • Really fed up with multiple apple ID's and email addresses

    I've been an apple product user for the best part of 5 years and I have two apple ID's, multiple iCloud alias's and a number of associated email addresses. Two questions:
    Can all of my ID's be merged in to one account?
    If not:
    Can I create a new apple ID and transfer all my existing purchases from both of the other Apple ID's?
    The way I see it is I paid for the content licence so I should be able to manage it as I see fit. Having multiple ID's seriously screws with my setting in iOS.
    Thanks for the help!

    Welcome to the Apple Community.
    You can't merge accounts or transfer purchases from one account to the other. If you only have one account in use for iTunes, you could with a little effort transfer all your iCloud data from one account to another, so everything became part of the ID you currently use for iTunes.

Maybe you are looking for

  • Having a hard time empyting ext drive trash

    Hello my good fellows from apple discussions. Straight to the point, I've been getting a gray crash screen whenever I try to empty my trash with this 'sc my passport' attached, thus been it`s trash the reason for this to happen. After several hours o

  • Alert for Marketing Attributes

    Hi I am sorry but I donu2019t understand the solution presents in the last questions on this issue. I am using CRM 2007 and I have marketing attributes maintained on the Sold-to party business partner. I want this marketing attribute to be displayed

  • NullPointerException with Default Value

    Hi, We got an int field in a class. On the database this row can contaion null-values. With TopLink 9 everything was ok but with 10 under Java 1.3 it fails with the following exception: Is this a bug in 10? Thanks, Simon Exception [TOPLINK-71] (Oracl

  • How to present datetime objects as separate date and time objects?

    Hello, I store the working times of employees as records containing two datetime fields: - begin: datetime - end: datetime I would like to keep this design, because a working time may cover several days, e. g. beginning at 2015-04-14 22:00 until 2015

  • Safari 6 help   very serious

    when i updaate my macbook pro 13 to mountain lion ,when i was surf in safari ,when i zoom with my finger ,the picture or some otherthings tuen red ,i  don't know why and some web site do not show completely,please help me !!!!!!!!!!!!!!!!!!thanks