EP 6.0 SP2 JDBC iView and Oracle Database

Hi,
I created Oracle system in Portal.
Then I creted JDBC iView for the system.
But iView always display the error:
"No response from the backend application".
And from portal log:
"CGT exception: java.lang.RuntimeException: bad execution, SQL Exception:[SAP_Portals][Oracle JDBC Driver][Oracle]ORA-00904: invalid column name"
Can anybody help me?
Thanks.

Dear Aviad,
Thnx a lot for your guidance, Incidentally we found the problem. For some reason the Portal was not able to resolve the ip address 132.12.33.30, but was able to resolve the host name "newspd".
This is the final url we created :
jdbc:sap:oracle://newspd:1521;SID=SALES
I'm able to create the iviews with the JDBC connection now, but the look is not so great, as there are a couple of problems :
1. The iview's table output has the raw column names showing as column titles. Atleast in SP2 there is no way to create a alternate column name. Ex: the table row name is say "amt_1", the column name in the iview also shows as "AMT_1". Is there a alternative for this problem ??
2. For passing parameters, the iview allows for only static parameters, but is there a way I can create a dynamic parameter allocation. Ex: In the query parameters I have a employee number as a included column, but I wish to show only his records to him, but in the portal environment, we havent a way to find the logged on employee ? Is there a way we can do that ??
Hope you'll be able to help.
Regards,
Neeraj S

Similar Messages

  • EP 6.0 SP4 JDBC iview for Oracle Database

    Hi,
    I have created an Oracle system in Portal. Specified the user mapping as admin,user.
    Using this system created a JDBC iview. In the step of selecting query or existing function, i selected the query option to browse the tables. But its not displaying any tables. It just keep on displaying "Loading...".
    But when i select Existing function,in the next step i am getting the list of functions.
    can anyone help me in getting the list of tables from database in the iview?
    Thanks,
    Mital

    Dear Aviad,
    Thnx a lot for your guidance, Incidentally we found the problem. For some reason the Portal was not able to resolve the ip address 132.12.33.30, but was able to resolve the host name "newspd".
    This is the final url we created :
    jdbc:sap:oracle://newspd:1521;SID=SALES
    I'm able to create the iviews with the JDBC connection now, but the look is not so great, as there are a couple of problems :
    1. The iview's table output has the raw column names showing as column titles. Atleast in SP2 there is no way to create a alternate column name. Ex: the table row name is say "amt_1", the column name in the iview also shows as "AMT_1". Is there a alternative for this problem ??
    2. For passing parameters, the iview allows for only static parameters, but is there a way I can create a dynamic parameter allocation. Ex: In the query parameters I have a employee number as a included column, but I wish to show only his records to him, but in the portal environment, we havent a way to find the logged on employee ? Is there a way we can do that ??
    Hope you'll be able to help.
    Regards,
    Neeraj S

  • Oracle 10.1.0 jdbc driver and 9i Database

    Are there any known issues with using the Oracle 10.1.0 jdbc drivers and 9i Database. I was lead to believe that the Jdbc drivers are backward compatible.
    Thanks

    Sorry for not including my error:
    Hello all,
    I am getting an error "Bigger type length than Maximum" when calling a stored procedure that returns a small result set. I am not working with BLOBs or CLOBs and cannot find anything on the web that addresses my specific situation.
    I would greatly appreciate any help available in solving this problem.
    Here is my data access object:
    package my.app.access;
    import java.sql.CallableStatement;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import oracle.jdbc.OracleTypes;
    import oracle.jdbc.OracleTypes.*;
    import my.app.beans.Person;
    import my.app.util.Database;
    public class PersonAccess {
         public Person getPerson(Person person) throws SQLException, Exception {
              Database db = new Database();
              Connection con = db.connect();
              ResultSet rs;
              CallableStatement cs = con
                        .prepareCall("{call SP_GET_PERSON_BY_USER_ID (?,?)}");
              cs.setString(1, person.getUserId());
              cs.registerOutParameter(2, oracle.jdbc.OracleTypes.CURSOR);
              cs.execute(); // ################### ERROR HAPPENS ON THIS LINE
              rs = (ResultSet) cs.getObject(2);
              if (rs.next() == true) {
                   person.setId(new Integer(rs.getString("id")).intValue());
                   person.setFirstName((String) rs.getString("first_name"));
                   person.setLastname((String) rs.getString("last_name"));
                   person.setPhoneNumber((String) rs.getString("phone_number"));
                   person.setEmailAddress((String) rs.getString("email_addr"));
                   person.setRoleId(new Integer(rs.getInt("role_id")).intValue());
                   //this.roleName = rs.getString("role_name");
                   person.setPassword((String) rs.getString("password"));
                   person.setAgencyId(new Integer(rs.getInt("agency_id")).intValue());
                   if (rs.getString("account_disabled").equals("1"))
                        person.setAccountDisabled(true);
                   if (rs.getString("pwd_change_reqd").equals("0"))
                        person.setPasswordChangeRequired(false);
              return person;
    And here is a test object:
    package my.app.access;
    import my.app.beans.*;
    public class testAccess {
         * @param args
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              PersonAccess pa = new PersonAccess();
              Person person = new Person();
              person.setUserId("jrlaughlin");
              try {
                   pa.getPerson(person);
              } catch (Exception e) {
                   e.printStackTrace();
              System.out.println("done");
    And here is the output from this test app
    java.sql.SQLException: Bigger type length than Maximum
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
         at oracle.jdbc.driver.DatabaseError.check_error(DatabaseError.java:884)
         at oracle.jdbc.driver.T4CMAREngine.buffer2Value(T4CMAREngine.java:2230)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB4(T4CMAREngine.java:1146)
         at oracle.jdbc.driver.T4CTTIoac.unmarshal(T4CTTIoac.java:215)
         at oracle.jdbc.driver.T4C8TTIuds.unmarshal(T4C8TTIuds.java:121)
    done
         at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:125)
         at oracle.jdbc.driver.T4CTTIdcb.receiveFromRefCursor(T4CTTIdcb.java:103)
         at oracle.jdbc.driver.T4CResultSetAccessor.unmarshalOneRow(T4CResultSetAccessor.java:165)
         at oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:787)
         at oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:704)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:526)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:179)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:782)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1027)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2887)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2978)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4102)
         at my.app.access.PersonAccess.getPerson(PersonAccess.java:68)
         at my.app.access.testAccess.main(testAccess.java:17)
    I am only having this problem when using the 10g jdbc driver, 9.2.0.4 and up are fine.
    Thanks again.....

  • Weblogic 5.1 and Oracle Database 10g JDBC Drivers

    I need to know if there are JDBC drivers for Oracle Database 10g compatible with Weblogic Server 5.1.
    Regards,
    Luis

    Hi. You should be able to use any JDBC driver with WebLogic 5.1.
    It may be the JVM that complains, if you use too old a JVM...
    Joe Weinstein at BEA Systems

  • Database locking using JSP and Oracle database

    Dear All
    I am reading about how to do database locking in general and i want to implement these mechanisms using JSP pages and oracle database, but i have the following questions:-
    1.If i write a “select for update” quesry in the JSP page will it locks the record ? or it will not lock the record because the connection between the JSP pages and the server will be stateless in most online systems?
    2.If i write all my jave code in transaction , something like this:-
    • Begin transaction
    • Commit or
    • Rollback
    Then should i be worried about the locking issues or the database manger will handle the locking mechanisms to insure data integrity(and what the default mechanism (if any) that the oracle database manger use to do the locking)?
    3. If the answer for question 2 is no, then how can i handle the optimistic and the pentemistic locking using JSP pages?
    BR

    One way to solve this issue is as follows:
    * You add a new column to each database table called 'version' which is of int type.
    * Each time you alter any field in a record, you increament the version number.
    * When you read a record and display it, you store the version number in your code
    * when you go to update the record, you write your sql something like this:
    update person set firstName=? where personId=? and version=?
    Where the version is whatever you stored locally. If someone altered the record in the database while your
    end user was looking at it, the version numbers will not match and the sql statement will
    return zero as the number of records it altered. If its zero, inform the end user someone altered the record
    while he was looking at it and weather or not he wants to proceed.
    The chances of two people altering the same record in a table while both are logged in and viewing the same set of data is small so such collisions will be few.
    You only need transactions if you are updating more than one record at a time (in the same table or multiple tables).
    You dont need it for reading records if you use a single sql statement to read (for example: to join multiple tables).
    In general, you get a (pooled) connection, use it, and close it as quickly as possible in a try/catch/finally block. You dont hold onto it for the duration of the user's session. A book on JDBC should help clarify this.

  • Error On Attach File in Apex 4.0.2 And Oracle database 10.2.3.0

    hi all
    i using Apex 4.0.2 and Oracle database 10.2.0.3
    i have Blob Item in table and i wanted upload a file to Blob Item .
    when i used Attach file button at the first saving connection failed and the second time successfully
    How can i Fixed this problem?
    Tommy
    Edited by: Tommy on Sep 4, 2011 10:50 AM

    Hi,
    The absolute link works fine, but opening it in IE, I will get the following error message:
    Internet Explorer could not open http://localhost:8080/i as a Web Folder.
    I have troubles with Windows Server 2003, I'm going to install APEX in XP. Thank you.
    Guys, I installed APEX on Windows XP and the borwser seems to give the same message about creating a webfolder. I'm unable to create one, please help will be appreciatied.
    Regards,
    Edited by: 873013 on 17-jul-2011 12:05

  • Using Coherence and Oracle Database as the CacheStore

    We are working on implementing a solution using Coherence and Oracle Database as the CacheStore. We initially implemented the Cache as a distributed-scheme which in turn uses the backing-map-scheme. We are trying to introduce transaction management and I used a scheme-ref in a transactional-scheme to point to an already existing distributed-scheme. However when I bring up the server, my custom coherence-cache-config.xml file is not recognized and Coherence comes up with the default setting. Given below is the snippet of my configuration file.
    1)     I would like to understand why the below configuration doesn’t work and am I doing it the right way? If not, what is the correct way of doing it?
    2)     There are a multiple transaction management options given in the documentation. Which are the ones that will work with a distributed-scheme and read-write-backing-map-scheme?
    3)     If transactional-schemes cannot work with distributed-scheme, what is the best way to have a distributed cache with a oracle database as a cache store?
    <caching-scheme-mapping>
    <cache-mapping>
    <cache-name>id<cache-name>
    <scheme-name>example-transactional<scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <transactional-scheme>
    <scheme-name>example-transactional</scheme-name>
    <scheme-ref>distributedcustomcache</scheme-ref>
    <thread-count>10</thread-count>
    </transactional-scheme>
    <distributed-scheme>
    <scheme-name>distributedcustomcache</scheme-name>
    <service-name>DistributedCache</service-name>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <internal-cache-scheme>
    <local-scheme>
    <!--scheme-ref>categories-eviction</scheme-ref-->
    <scheme-name>inMemory</scheme-name>
    </local-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>spring-bean:coherenceCacheStore</class-name>
    <init-params>
    <init-param>
    <param-name>setEntityName</param-name>
    <param-value>{cache-name}</param-value>
    </init-param>
    </init-params>
    </class-scheme>
    </cachestore-scheme>
    <!--refresh-ahead-factor>0.5</refresh-ahead-factor-->
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>

    Hi,
    If you look at the documentation for transactional-scheme here: http://docs.oracle.com/cd/E24290_01/coh.371/e22837/appendix_cacheconfig.htm#BHCIABHA
    you will see that it says The transactional-scheme element defines a transactional cache, which is a specialized distributed cache. That means that a transactional-scheme is already a distributed-scheme.
    You will see from the same documentation above that there is no way in a transactional-scheme to configure things like cache-stores or listeners or even the backing-map-scheme as these are not supported on a transactional-scheme - so you cannot use a cache store.
    Personally I would not use transactional-scheme unless you have some really big reason to do so - the restrictions far outweigh any perceived advantage of having a transaction. There are better ways to build applications so they do not require transactions, that is what we have been doing for years with Coherence so far, and there is no real reason to change that.
    JK

  • Can i  use Oracle Database Audit Vault and Oracle Database Firewall on Solaris?

    Can i  use Oracle Database Audit Vault and Oracle Database Firewall on Solaris?

    4195bee8-4db0-4799-a674-18f89aa500cb wrote:
    i dont have access to My Oracle Support can u send text or html of document please?
    Moderator Action:
    No they cannot send you a document that is available only to those with access to MOS.
    That would violate the conditions of having such service contract credentials.
    Asking someone to violate such privileges is a serious offense and could get that other person's organization banned from all support and all their support contracts cancelled.
    Your post is locked.
    Your duplicate post that you placed into the Audit Vault forum space has been removed (it had no responses).
    This thread which you had placed in the Solaris 10 forum space is moved to the Audit Vault forum space.
    That's the proper location for Audit Vault questions.

  • Slow Problems with Oracle Forms 10g and Oracle Database 11g

    Hi, I wonder if there is a compatibility problem between Version 10.1.2.0.2 32 Oracle Forms and Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production. This is because my application runs correctly on a version of Oracle Database 10g, and when we migrated the database to an Oracle Database 11g, slowness problems came out.
    Thanks.

    We have the same issue happening with our custom forms and with some of the standard forms in EBSO. So far we have found that the form invoking a view causes ridiculous slowness in opening the form (40 mins). Using a table access has shortened the open time significantly. At this time Oracle DBAs at OOD have no clear idea why it is happening.
    we are on 11.1 database with 11.5 EBSO
    Edited by: user3223867 on Feb 4, 2011 7:55 AM

  • ECC 6.0 installation on HPUX Cluster and oracle database

    Hi,
    I need to install ECC6.0 installation on HPUX Cluster and oracle database. Can anybody plz suggest me or send any document to me ..
    Thanks,
    venkat.

    Hi Venkat,
    Please download installation guide from below link:-
    https://websmp105.sap-ag.de/instguides
    Regards,
    Anil

  • Ajax with Ruby on Rails and Oracle Database

    Ajax may be used with Ruby on Rails and Oracle database.
    http://www.ftponline.com/channels/java/2007_02/dvohra/

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

  • How to conncet mysql database and oracle database 11g2 on linux 5.4

    Hi,
    Can anyone help me to connect mysql server database to Oracle
    database on Linux OS?
    I have done all things, but I am getting a problem in installing dg4odbc
    driver on Oracle database. In a simple word, I don't know how to create
    listener between mysql database and Oracle database.
    If anyone knows that please help me in configuring dg4odbc for Oracle. OS
    -Linux 5.4 and refer any doc or link.
    oracle 11g2 11.2.0.1
    i follow the metalink id - 466228.1 ( but cant successed).
    Thanks and regards,
    pritesh ranjan

    hi pl z clear me it is required to install manully the dg4odbc driver for oracle to connect MySQL server database. because in my $ORACLE_HOME/hs/admin/initdg4odbc.ora is present automatically.
    details of the initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mysql_odbc
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib/libmyodbc5w.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    set LD_LIBRARY_PATH=/usr/lib
    # Environment variables required for the non-Oracle system
    #set HOME=/home/oracle
    ~
    ~
    ~
    "initdg4odbc.ora" 20L, 437C
    details of the listener.ora file
    DG4ODBC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA=(SID=dg4odbc))
    (HS=OK)
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = ORCL)
    ADR_BASE_DG4ODBC = /u01/app/oracle
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pritesh11gprim.oracle.com)(PORT = 1521))
    ADR_BASE_ORCL = /u01/app/oracle
    "listener.ora" [readonly] 37L, 779C 35,0-1 85%
    details of tnsname.ora file
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    DG4ODBC =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=DG4ODBC))
    (HS=OK)
    MYSQL =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=MYSQL))
    (HS=OK)
    when i m going to start the listener it could not be started..
    details of the mysql server database
    [root@pritesh11gprim ~]# mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 2
    Server version: 5.6.10 MySQL Community Server (GPL)
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    mysql>
    mysql> show databases;
    | Database |
    | information_schema |
    | demo |
    | mysql |
    | performance_schema |
    | pritesh |
    | test |
    6 rows in set (0.01 sec)
    if any where i m wrong then plz suggest me......
    thanks & regards
    pritesh ranjan

  • Compatability between Forms 6(Forms 6i also) and Oracle Database 10g

    Hai All,
    I want to know Any Compatible issue between ORACLE FORMS 6 (ORACLE FORMS 6i also ) and Oracle Database 10g .
    Any special patches, parameters needed?
    Any white paper describing this document.
    Please help?
    shiju

    Forms 6i Patches pre 16 and 10g databases - many problems
    Forms 6i Patch 17 - 10g DB Rel.1 - certified
    Forms 6i Patch 18 - 10g DB Rel.2 - certified only for E-Business-Suite-user

  • 32 Bit Installation or Oracle Linux and Oracle Database 10g

    I have an old E-Machine that I wanted to put Oracle Linux and Oracle Database Express 11G on. I was just wanting to do some testing and development on the system. I'm pretty sure the machine is 32bit.
    I just burned a copy of 32 bit Oracle Linux onto a CD. Is there a version of Oracle Database Express that will run on it?
    It seems like there is only a 64 bit version of Oracle Express Database 11g. Is Oracle Database Express 10g installable on Oracle Linux 32 bit?
    Let me know! Thanks in an advance.

    One (or two) caveats with the 10g version, XE can not be patched and the 10.2.0.1 XEs were created before the current daylight savings time rules went into effect.
    If you have access to My Oracle Support there is a method to get updated timezone files for the oracle binaries, you need at least version 4 of the DST files. I've got the MOS docIDs somewhere let us know if needed and I'll dig 'em up.

  • Sharing in Symetrics Array an Oracle datawerehouse and oracle database 9i

    I
    i want to know if someone have an sharing in Symetrics Array an Oracle
    datawerehouse and oracle database 9i, or any array for high
    availability. This because i have to do implement an installation
    datawarehouse and db9i on the same arrary. Just know any comment if
    whichever with share with me your expertise from any situation with
    this, please.
    Thanks

    Thanks for the reply.
    Actually I thought that the OCCI forum was for Object oriented OCI, so while I'm using C++, I'm not using the object oriented side of OCI, just using the normal OCI calls. Guess I should have been a little clearer in my original post.
    But my main question really concerned the version of the client and the version of the database which you answered.
    Thanks,
    Nick

Maybe you are looking for

  • New IPOD - error message trying to use with itunes

    Hi Please can someone help. I just bought an IPod with Video but I cant even get any of the songs in my itunes library synched onto it. When I click on autosync I get the following error message The IPOD "IPOD" cannot be used because it requires itun

  • Logical standby not synced with primary!

    Dear All, I am in a new environment. Oracle 10g database is running on windows 2003 server. This is the primary database and there is a logical database 10gR2 also on windows. Since yesterday all SCN were applied on standby and it was 100% synced wit

  • Refer to instance by text name

    hello, i got instances of movieclips inside another movieclip with the names : item1,item2,item3 ... i want to loop through them and change their properties. in the root i've done something similar using this["item" + i]._x = 100 for example, but it

  • Unique Ipod Recognition Problem

    Hey, Alright, thus far I have found no problem similiar to mine with my Ipod mini. Where others state they get a sad face or Exclamation Folder, I get nothing. My Ipod about 2 months ago stopped being recognized by my main computer. It does not show

  • I Need to add Could hana system in hana studio.

    Hi Experts. I have installed hana studio in my system. and have created a hana could platform accout , but i can't get user details and host, instance no from could. How i will get this all details from could and how i will access from hana studio.pl