JDBC system on EP 6.0.

Hi all,
I have created the jdbc system for oracle database (this is the database of portal) in ep 6 sp 11 . But we are getting connection test result negative . we are giving the following connection parameters in system.
Connection URL = jdbc:oracle:thin:@ep62:1527:SAA
Driver Class Name = oracle.jdbc.OracleDriver.
(above values i have taken from the file DB_connect.properties on portal server)
I have created the system alias and mapped the userid password . But the connection test is negative.
Am i missing something?
rgds
Rajendra

Hi Rajendra,
You have to use the following properties.
Driver: com.sap.portals.jdbc.oracle.OracleDriver
URL: jdbc:sap:oracle://<server>:<port>;SID=<sid>
e.g. jdbc:sap:oracle://myoracleserver:1521;sid=PIL
Please go through the OSS note 773401 for more details.
Thanks,
Ramakrishna

Similar Messages

  • Problem in Creating a JDBC System - SQL Server

    Hi All
    I failed in creating a JDBC System(SQL Server).  I am using SAP EP 7.0 SP 9.  I tried to create the JDBC system with the following properties:
    I am listing them Category wise:
    Connection Properties:
    1. Connection Timeout: 300
    2. Connection URL: jdbc:sap.sqlserver://<server name> : <port name>; DatabaseName=master
    3. Driver Class Name: com.sap.portals.jdbc.sqlserver.SQLServerDriver
    4. Validate Connection: Yes
    UserManagement Properties:
    5. User Mapping Type: admin;user
    Please help me out in making this work. And let me know if any changes to incorporated.
    Regards,
    Vijay.

    Hi vijay,
    I have tried this thing sometime back. But when i create a JDBC system, I never give the <b>Connection Timeout</b> and change the<b> Validate Connection</b> from No to Yes. I just give the <b>Connection URL</b> and the <b>Driver Class Name</b> in the Connection Properties dropdown.
    Try making these changes and check whether the user mapping is done correctly. Also check whether the Connection URL and the Driver Class Name are correct or not. Have a look at the following link:
    <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/VC/JDBC%2bConnection%2bSetup">https://www.sdn.sap.com/irj/sdn/wiki?path=/display/VC/JDBC%2bConnection%2bSetup</a>
    Let me know if this works.
    Bye
    Ankur
    Reward points if it helps!!

  • Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)

    I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
    I get the following error:
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back-end application using the connector defined in this system object
    Results
    Default alias retrieved successfully
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
    Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
    which says that VC7.1 can connect to SAP backend
    and web services only, and there is no direct connection to the db.
    Help needed please.

    Hi Dharmi
    Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
    CE7.1.1 will be released at September 2008 for ramp-up customers.
    There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
    The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
    Many layout & modeling improvements
    Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
    Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
    Regards,
       Shai

  • Error while doing connection test for a jdbc system

    Hi all,
    i created a JDBC system. i gave all the required information for creating it like username, passowrd, connection URL, driver class name.
    i even did the user mapping. But still when i try the connetion test it is giving me an error.
    the error message that is visible in the front end is like follows
    <i>Test Connection with Connector - Jan 1, 1970 2:29:41 PM
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.</i>
    when i c the log files i noticed the following log messages
    <b>
    #1.5#00065BF80BD800660000000000000C6C000414205F93044C#1148029181853#/System/Server#sap.com/irj#com.sap.portal.ivs.semantic.systemLandscape#Administrator#435####cf4424d0e71511da940a00065bf80bd8#D:/Triniti_Deployment_Source/infrastructure/fdt/WEB-INF/classes
    fdtout.log##0#0#Warning#1#com.sap.portal.ivs.semantic.systemLandscape#Java###Failed to retrieve Password##
    #1.5#00065BF80BD800660000000100000C6C000414205F93059D#1148029181853#/System/Server#sap.com/irj#com.sap.portal.ivs.semantic.systemLandscape#Administrator#435####cf4424d0e71511da940a00065bf80bd8#D:/Triniti_Deployment_Source/infrastructure/fdt/WEB-INF/classes
    fdtout.log##0#0#Warning#1#com.sap.portal.ivs.semantic.systemLandscape#Java###Failed to retrieve User##
    #1.5#00065BF80BD800660000000200000C6C000414205F930770#1148029181853#/System/Server#sap.com/irj#com.sap.portal.ivs.connectorService#Administrator#435####cf4424d0e71511da940a00065bf80bd8#D:/Triniti_Deployment_Source/infrastructure/fdt/WEB-INF/classes
    fdtout.log##0#0#Error#1#com.sap.portal.ivs.connectorService#Java###Failed to get connection for system #1#Dummy_JDBC_System#
    </b>
    can any one please tell me where i am going wrong.
    thanks in advance
    Pavan Kumar.

    Hi Pavan
    i see the log file that u provide
    check ur connection properties.
    further also check following might help u
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/acd8403e37762ae10000000a155106/frameset.htm
    also look at sap note 773401
    regards,
    kaushal
    Message was edited by: kaushal malavia

  • How to use a portal jdbc system to delete or insert by IExecution.execute

    hi everyone:
    I create a jdbc system in portal. Then I use following codes to query a table
    IQuery query = client.newQuery();
    query.execute("SELECT * FROM [Categories]");
    It is fine.
    Now, I wanna do insert or delete operation. I can't use the IQuery object. I think it is only for query and it is Deprecated. I find there is a method: IExecution.execute(IOperation). But I don't know how to use that method. Can I insert/delete records using that method? The last question is how to control the sql transaction by that IExecution object.
    thanks
    elliot

    Hi,
    I followed the interface framework to complete a query.
    The code is shown under
    How to Modify DB Records Using JDBC Connector FrameWork
    But I got this exception and I don't know how to go further:
    com.sapportals.connector.execution.ExecutionException: Exception during execution of SQL statement at com.sapportals.jdbcconnector.execution.objects.JDBCExecution.execute(JDBCExecution.java:118) at iview.Simple.doContent(Simple.java:43) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at

  • JDBC System Connection VS BI JDBC System Connection

    Hi All,
    I've created a BI JDBC System which connects to the MS SQL Server 2005, and the connection tested successfully. I am now able to browse for tables.
    But I need to access stored procedure as well, so i created a JDBC System with the same Database URL, Driver Class Name, and User Mapping. But i failed the connection test with the error:
    com.sap.guimachine.portalconnector.commandhandler.CommandException: Failed to connect to backend system. Check your system definition and user privileges.#
    Any idea?
    Thanks & Regards,
    Sarah

    Hi!
    See http://wiki.sdn.sap.com/wiki/display/VC/Step-by-Step%2bguide%2bMaxDB%2bJDBC.
    and notes - 773401
    attention to:  change_ref -m com.sapportals.connectors.database library:MAXDB_DRIVER
    and: user mapping to database user with necessary authorities
    very usefull testing connection through VA-JDBC Connector- create datasource (fill url + user/psw) and "db initialization" - select * from la-la
    Vlad
    Edited by: Skif on May 18, 2010 7:37 AM
    Edited by: Skif on May 18, 2010 9:04 AM

  • BI JDBC system does not appear in a search in Visual Composer of CE7.1

    Hi All,
    I have configured BI JDBC system in CE7.1 but it does not appear in a search in visual composter.
    I have using following connection parameter while configuration of BI JDBC system in CE 7.1.
    Oracle Deriver - classes12.jar / ojdbc14.jar
    Connection URL - jdbc:oracle:thin:@xx.xx.xx.xx:1527:BWI;SYSTEM;xxxx
    Driver Class Name - oracle.jdbc.driver.OracleDriver
    Platform details for BI and CE 7.1
    OS AIX 6.1
    Database Oracle 10.2
    Apart from this I already check SAP Note 1247283,1169625,1138877,773401 but still is not working.
    Please help me on same.
    Thanks,
    Harshal

    Created BI master system and problem is solved.
    Edited by: Harshal Subhash Dusane on Aug 12, 2010 2:03 PM

  • Configure BI JDBC system for VC

    Hello,
    I am new at VC and try to configure a BI JDBC system (BW 3.5) for VC. I have downloaded
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    (How to Configure a BI JDBC System for Visual Composer.pdf) but do not know how to proceed after step 8 where SDK_JDBC is required. In my Visual Admin --> Cluster tab --> Services --> Connector Container --> Runtime tab --> under sap.com/com/sap.ip.bi.sdk.dac.connector.jdbc node SDK_JDBC must be selected. However, such node does not exist, how can I install it? Please help!
    Thank you very much,
    Elias Negrin

    Hello Elias,
    Please see my comments on your last post below:
    > Hi Deep,
    >
    > In step 7 I have to specify location of JDBC JARs
    > provided by RDBMS vendor (<b>Oracle 9i</b> in our case). I
    > have already done step 6 where added <b>MSSQL </b>jar files
    > (JDBC Connector --> Runtime tab --> Datasources -->
    > Drivers). What am I missing?
    >
    > Thanks again,
    > Elias
    I highlighted in bold where the issue is, you went ahead and loaded the JDBC driver for Microsoft's SQL Server on the JAVA WebAS and not the JDBC driver for Oracle 9i, which is the RDBMS you are using. You can download the appropriate JDBC driver from the site below.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    Once you have done this install the Oracle JDBC Driver and you should be fine.
    Good Luck,
    Cheers,
    Scott

  • JDBC system to MS SQL server.

    Hi.
    I am trying to create a connection to a MS SQL server using a JDBC system.
    I have downloaded the jar files for the MS SQL driver and created a new driver in VA under the jdbc connector service.
    How do I add this driver to the JDBCFactory class (com.sapportals.connectors.database)?
    When I try to add the newly created driver libary to the loader references under the Resources tab it does not save the entry.
    Rodney

    Hi,
    To add new JDBC Drivers, check this:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/4f34c587f05048adee640f4c346417/frameset.htm
    Once your JDBC driver is added you should define it:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c7/641f44be9f1e4ebbe807cfbad61d44/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    Also follow my reply here:
    Defining datasource in portal application
    Regards,
    Praveen Gudapati

  • Connection Failure for JDBC system in Session Bean using JCA

    Hi,
    I am trying to write a session bean that runs a query
    against a JDBC system, but I keep seeing the following
    error in the default trace file in the J2EE log folder:
    14##0#0#Path##Java###Throwing
    #1#java.sql.SQLException: Invalid connection string
    attribute: Database name is required but not supplied#
    #1.5#
    This is the code, with the line marked (*) being the point where the exception is thrown:
    public void getConnection(String sURL, String sUser, String sPassword) {
    ManagedConnectionFactory mcf = null;
    IConnectionFactory cf = null;
    IConnectionSpec cs = null;
    try {
    mcf = new JDBCManagedConnectionFactory();
    cf = (IConnectionFactory) mcf.createConnectionFactory();
    cs = cf.getConnectionSpec();
    cs.setPropertyValue("UserName", "sa");
    cs.setPropertyValue("Password", "admin");
    cs.setPropertyValue"driver",
    "com.sap.portals.jdbc.sqlserver.SQLServerDriver");
    cs.setPropertyValue("url",
    "jdbc:sap:sqlserver://localhost:1433;DatabaseName=pubs");
    conn = cf.getConnectionEx(cs);  (*)
    I have tried adding another property value, like so:
    cs.setPropertyValue( "DatabaseName", "pubs");
    (or)  cs.setPropertyValue( "Database", "pubs" );
    but I still get the same exception. What does this
    exception really mean, what is missing from the
    configuration information ?
    Also, in the default trace file of the J2EE engine, the
    configuration information is printed out, but in an
    encrypted format, (see below), is it possible to have it
    print out this information in a readable format ?
    #1.5#005056A41E66006200000092000009AC000406E03C94F3D9#1133460065906#com.sap.portal.connectors.JDBC#sap.com/CFV3#com.sap.portal.connectors.JDBC#Guest#0####71758520629411daacf7005056a41e66#SAPEngine_Application_Thread[impl:3]_14##0#0#Info##Plain###UserName: ????n????????????????????d?????????????????????????????????????????????s???????????????????????????????????????????????0??????????????????????????????????????????????????h?????0??????R???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????s?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????c???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????u??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????c???????????????????????????????????????????c????????????????3?????????3????e??????????????????????????????????????????????????l???????0????????1????1?????????????????????????????????????????????????????????s?????p?????????????????????????????????????????????????????????????????6?????????????3??????????????s????????????????????t???????????s????????????????????????????????????????????????????????????????????????s????????????????????????????????????????????????????????s?????????????????????????????????g????????????????????????????????????????????????????????????????????????? Password: ******** URL: ???????????????n??????????????????????????????????????????????????????????????????????????0?????e??????????????????????????r?????????????s?????????????O??????????????2???????????7????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????:????5???T?????????????????????????l?????????1????????????????????????????????????????????????????????????????????????????2??????????????????????????????????????????????????????????????????????????????????????????????????h???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????a??????????????????????????????????????????????????????????????????????????????????????????????????S??????????????????????????????????????????????????????????????????????????????????2???????????????????????????u???????????????????????????????????????????????????????????????????????s???????????????????????????????????????????????????????????????????????????????????????????????s?????????????????????????????????????????.?????????????????????????????????????????????????????????????????1????????????????????????????????????l????5??????????? Driver: com.sap.portals.jdbc.sqlserver.SQLServerDriver#
    #1.5#0

    Hi Vladimir,
    thanks for your response. The reason I am accessing a
    JDBC source via JCA is to get a feel for how JCA works.
    What I ultimately want to do is construct a bean that can
    give queries to different kinds of sources; JDBC, and SAP
    (R3, CRM), and possibly sources like Siebel. For this, I
    believe I should use the Connector Gateway Service, as
    described in the "Using the JDBC Connector" and "Using
    the SAP Backend System Connector" sections of the SAP
    Portal Developer's Guide. But for now, my first approach
    was to use the approach described in "Connecting via
    J2EE" subsection of "Using the JDBC Connector" (see
    http://help.sap.com/saphelp_nw04/helpdata/en/30/a0f17aacb34b108b39a96acc33da3f/content.htm)
    Thanks,
    Colm.

  • JDBC system in System Landscape

    Hi,
    I'm trying to connect to a Database SQL Server 2000 by creating a JDBC system in System Landscape.
    I'm having some difficulties to configurable the Connection URL and System Alias. Can anyone help me?
    Thanks,
    Daniel Silva.

    Hi Peter,
    you must use the special SAP Oracle JDCBC driver to access your Ora DB:
    URL: jdbc:sap:oracle://<server>:<port>;SID=<sid>
    e.g. jdbc:sap:oracle://myoracleserver:1521;sid=PIL
    see the following thread:
    Re: JDBC system on EP 6.0.
    Best regards,
    Stefan Brauneis

  • Creation of bi jdbc system in Portal.

    Hi all,
    i used following parameters for creating JDBC system in portal and it is working fine
    Connection url= jdbc:sap:oracle://172.25.8.195:1527;sid=SAA
    Driver class = com.sap.portals.jdbc.oracle.OracleDriver
    But when i am trying to create system for BI JDBC using par file com.sap.portal.systems.BIUDI
    and component SAP_BI_JDBC
    and using the same connection url and driver class as above it is giving error.
    thanks
    Rajendra

    Hi Mario details are 
    Test Connection with Connector
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Rajendra

  • How to create a JDBC system

    Hi,
    I am currently trying to create a JDBC system, but i always get an error trying to test the connection.
    I am running Portal EP7 patch12 on Oracle.  I am trying to access a custom table on the oracle portal database.  
    I created a datasouces in the visual admin and it works great when i do my test.
    Does anyone have a step by step procedure to create a JDBC in the portal, that would be great.
    Thanks
    Jean

    I got my connection running successfully.  Here is what i did:
    I am trying to connect to an Oracle 10.2 db, using Portal NetWeaver  7.0 (2004s) patch 14.
    1)
    - Create JDBC system from template
    - Connection timeout=10000 (optional)
    - URL=jdbc:sap:oracle://<server>:<port>;sid=<YourSID>;
    - Driver Class Name=com.sap.portals.jdbc.oracle.OracleDriver
    - User Mapping Type = Admin, user
    2) Create an alias i.e. testconnection
    2) Select permissions and assign the everyone group to your connection, don't forget to check the end user box
    3) User Mapping:  Map your everyone group to a user that have access to the DB.
    Test your connection.
    Please note that this is only to see if your connection is working, in a Prod environment increase your security.
    Please let me know if you have any questions.
    Jean Seguin

  • Create JDBC System in EP

    Dear All,
    I am using EP 7.0 SP6.
    We encountered a problem in creating a jdbc system for us to configure a jdbc stored procedure iView in EP.
    Here is what we have done:
    1 - In System administration> System Configuration, create a new system (from template)
    2 - Select 'jdbc system'
    3 - Provide the system name etc
    4 - Provide the jdbc driver url etc information.  The jdbc driver is already deployed on the J2EE engine via Visual administrator and tested to be ok
    5 - We provided valid username/password via user mapping
    However the creation fail and here the error message on EP screen:
    =============================================
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    ================================================
    Thanks.
    Kelvin

    Hi KL, jdbc system doesn't have any other mistery...
    May be the drivers that you are using aren't the propers.
    for SQL:com.sap.portals.jdbc.sqlserver.SQLServerDriver
    and URL: jdbc:sap:sqlserver://servername:port;DatabaseName=PruebaPortal
    for ORACLE:com.sap.portals.jdbc.oracle.OracleDriver
    and URL:jdbc:sap:oracle://servername:port:1527;SID=PruebaPortal
    Best Regards,
    Nacho

  • Error in Test Connection through the DQE for my JDBC system

    Hi,
    I created a JDBC system and I gave DQE properties to connect to the PUBS database.
    I am getting the below error when I did Test Connection through the DQE.
    Test Details:
    The test consists of the following steps:
    1. Checks the existence of a backend admin user ID/password in the system properties.
    2. Checks the existence of a default alias for the system.
    3. Checks the DQE connection.
    Results
    1. Backend admin user ID and password exist in the system properties.
    2. Default alias of the system exists.
    3. DQE connection failed. The system is currently being loaded. Please wait and try again.
    I re-entered admin id and password in DQE properties as per OSS note 761753.
    Still I am getting the same error.
    Thanks,
    Ramakrishna

    Vadim
    I did all steps mentioned by you.
    Still my issue is not resolved...
    Thanks,
    Ramakrishna

  • SQLite JDBC system

    Hi All
    I am trying to create a BI or SAP JDBC system to a SQLite database. Has anyone done this?
    Thanks
    Jarrod Williams

    Hi,
    1) If your application doesn't run under multi-process scenarios
    This kind of locking issue is usually caused by other progresses/applications, which still opening/writing your database. e.g.: a database shell is opening and writing the target database. So please use tools to find which processes/applications is operating on the target database unexpectedly.
    2) If your application does run under multi-process scenarios
    Your code need to catch and handle such kind of database lock exception, which is a normal event in multi-process scenarios.
    Best regards,
    Rucong Zhao
    Oracle Berkeley DB

Maybe you are looking for