About autostart jdbc connector service

Hi experts,now i want to auto initialize the db in jdbc connector
service not log on to visual admin.how can i get it?thanks

hi,
folow this link where u can find the JDBC Connection with an Example for enabling the connection to the SQL Server and using the methods .
[http://help.sap.com/saphelp_nw04/helpdata/en/14/0b743cdcf47b4ee10000000a11405a/frameset.htm]
thanks and regards
Fistae

Similar Messages

  • JDBC Connector service in visual administrator

    Hi All,
    JDBC Connector service in visual administrator is not getting start or stopped.
    I checked in Visual admiistrator ,then in JDBC Connector. On right click to JDBC Connector, Start or stop options are disabled.
    It may be because of wrong configuration,please provide me the solution for this  or provide me the configuration settings for JDBC Connector, so that i could recheck.Please tell how to start JDBC Connector from visual administrator services.
    Points will be awarded.
    Thanks & Regards,
    Aman.

    Hi Aman,
    > i am also not able to start/stop data sources that i have created manually
    On such datasources, for each one there is one .xml entry (the DS definition file)and below that, the datasource settings can be reached. If you mark the first one - the xml definition file - you get a blank screen right-hand, but at the same time, the "Stop" button (tooltip: "Stop Selected Standalone Application"; or the corresponding "Start" button, depending on the DS state) gets clickable.
    This does not hold for the preconfigured default DS (which also has no xml entry).
    Hope it helps
    Detlev

  • About jdbc connector service

    Hi experts,
    I create a new datasource to connect to the database mysql,when I click the button"Execute" on the DB Initialization tab,everything is OK.But several hours later, an exception occurs"Error occured when ececuting init statement".So I click the button"Execute" again,the above exception disappears.Please tell me why.It's urgent.Thanks

    Hai,
         Check the user password are changed or not in the mysql side which mentioned in the jdbc connector configuration.
    Thanks and Regards,

  • JDBC Connector service - lookup fails

    Hi all,
    We have EP6 SP14 on Linux. I am trying to access some data from external database SQL Server 2000. I tried two different sets of drivers in Visual Admin --> Services --> JDBC Connector  but the context lookup fails.
    <b>Set 1:</b>
    msbase.jar,msutil.jar, mssqlserver.jar
    JDBC 1.x compliant
    Driver class: com.microsoft.jdbc.sqlserver.SQLServerDriver
    also tried com.sap.jdbc.sqlserver.SQLServerDriver
    URL: jdbc:microsoft:sqlserver://sqlser2:1433;databaseName=repdb
    <b>Set 2:</b>
    P9sqlserver.jar, P9base.jar, P9util.jar
    JDBC 1.x compliant
    Driver class:   com.sap.portals.jdbc.sqlserver.SQLServerDriver
    URL:jdbc:sap:sqlserver://sqlser2:1433;databaseName=repdb
    <b>The connection works fine if use the traditional way</b>
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    conn  = DriverManager.getConnection("jdbc:microsoft:sqlserver://dbsql2:1172","<userid>","<passwd>");
    (Note no db name here)
    Can you help me let me know where I am going wrong. Thank you in advance.
    Regards,
    Subu.

    hi,
    The problem is with driver class and the URL.
    pliz check out the link.
    http://www.bwexpertonline.com/downloads/Schroeder0604.doc
    regards
    mujjammil

  • JDBC Connector error in Visual Admin

    Hi
    I am trying to create and DBlookup using the JDBC Connector service in visual admin
    folowing this blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9aedca11-0d01-0010-3b90-9ea04182875f
    when i try to create the data source name in the JDBC connectore service i am getting this following error
    java.rmi.RemoteException: Cannot deploy application com.sap/Oracle..
    Reason: Error while parsing file "E:usrsapCE6DVEBMGS00j2eeclusterserver0.     empdbpoolOracleDBLookup.xml".; nested exception is:
         com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Error while parsing file "E:usrsapCE6DVEBMGS00j2eeclusterserver0.     empdbpoolOracleDBLookup.xml".     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:627)     at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.deploy(DataSourceManagerImpl.java:273)     ... 30 moreCaused by: com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Error while parsing file "E:usrsapCE6DVEBMGS00j2eeclusterserver0.     empdbpoolOracleDBLookup.xml".     at com.sap.engine.services.dbpool.deploy.ContainerImpl.checkDataSources(ContainerImpl.java:1700)     at com.sap.engine.services.dbpool.deploy.ContainerImpl.deploy(ContainerImpl.java:234)     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:606)     at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)     at com.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:307)     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)     at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)     at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)     at com.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:612)     ... 31 moreCaused by: com.sap.engine.services.dbpool.exceptions.BaseIllegalArgumentException: The value of tag <driver-class-name> is not specified
    I have do do DB Lookup to Oracle in 7 different tables in various steps of my intrerface most of them point to functonal error if any lookup is reterving any value...kindly suggest some simple approach for this.

    sloved.....

  • JDBC Connector in NetWeaver Dev Studio WebAS

    Hello,
    I am attempting to deploy a web module that utilizes a WebAS datasource for an external Oracle database. I expect to add a JDBC Connector leveraging the Oracle JDBC driver. I have been unable to deploy the Oracle datasource.
    I receive the stack trace below whenever I attempt to Start the datasource. I find many posts asking about this error but never have I found an answer as to the cause or resolution. OSS Note 751175 describes this as a classloader problem with connectors but it does not offer any repair method that works with this problem (in my case).
    I've had this problem with NetWeaver SP7 and it remains with SP10.
    Does anyone have explanation? Can I expect to test such applications in NetWeaver's standalone WebAS?
    Best regards,
    Gary
    ava.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide exception: server ID 4114150:com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot create DataSource "CMR".
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1836)

    Hello Benny,
    One of my co-workers resolved the problem which boiled down to driver configuration confusion. Here's what we learned:
    No SDA component was required though this was a good exercise for us to go through.
    The driver (JAR or ZIP) file can be added simply using the Visual Administrator JDBC Connector Runtime tab.
    We were not able to activate more than one type of datasource at a time (feature, bug or something else?)
    The following configurations start okay:
    **Starts***
    Driver: Oracle's classes12.zip
    JDBC Version: 1.x
    Driver class: oracle.jdbc.driver.OracleDriver
    Database URL: jdbc:oracle:thin:@host:port:instance
    User&Password specified.
    **Starts***
    Driver: Oracle's 1.4 ojdbc14.jar
    JDBC Version: 2.0
    Driver class: oracle.jdbc.pool.OracleDataSourceFactory
    Datasource type: ConnectionPoolDataSource
    CPDS Classname: oracle.jdbc.pool.OracleConnectionPoolDataSource
    Additional properties:
    URL = jdbc:oracle:thin:@host:port:instance
    User = xxxx
    Password = yyyyy
    **Will not start but the failure is expected***
    Driver: Oracle's classes12.zip
    JDBC Version: 1.x
    Driver class: oracle.jdbc.pool.OracleConnectionPoolDataSource
    Database URL: jdbc:oracle:thin:@host:port:instance
    User&Password specified.
    We do need to run multiple datasources using Oracle and Sybase so I'm hoping the issue we encountered is simply configuration issues again.
    I appreciate your time and feedback Benny!
    Best regards,
    Gary

  • Can't connect to external Oracle DB with JDBC connector

    Hello guys,
    I had failed to connect to connect external Oracle  via JDBC connector .
    Could you please help me to resolve the problem ?
    Backgroud:
    We need to connect the external Oracle DB with JDBC connector, because BI need to connect to the target Oracle. If the JDBC connector suceed, BI will create a UD which use the datasource
    we create in Visual admin to connect to the external Oracle DB.
    Environment:
    Our EP version is NW04S SP17 , OS is AIX .
    The target Oracle DB version is 10g(10.1.0.2.0, 64bi).
    Configuration procedure :
    1. Import Oracle driver "ojdbc14.jar" and create new driver which named "Oracle "  under
    JDBC Connector ->Run time ->Driver  in Visual Admin.
    2. Create datasource "Mydatasource" under JDBC Connector ->Run time ->Data Source,
    Name : Mydatasource
    Driver Name : Oracle
    JDBC version: 2.0(with XA support)
    JDBC compliant:
    Object Factory :oracle.jdbc.pool.OracleDataSourceFactory
    DataSource Type: ConnectionPoolDataSource
    *CPDS class name :oracle.jdbc.pool.OracleConnectionPoolDataSource
    Additional:
    Additional Properties:
    DatabaseName:LPAR8TEST
    DriverName:oracle.jdbc.OracleDriver
    Password: *****
    PortNumber:1521
    ServerName: 10.1.16.208
    URL :jdbc:oracel:[email protected]:1521:LPAR8TEST
    User:IMPL
    Connectoin Pool:
    Initial Connectons: 1                                         Expiration:  (check)
    Maximum Connections: 25                                  Connection Lifetime :600
    Maximum time wait of connection : 60                  Cleanup Thread : 200
    Default Connectoin Isolaton :Default
    SQL Engine:
    Open SQL
    3.Create Connector :
       Copy the standard connector :SDK_JDBC to SDK_JDBC_Oracle,
      Resource Adopter:
      Loader References:
      Add "libray:Oracle" .
    Managed Connection Factory:
    Configuration Property:
    DriverName:oracle.jdbc.OracleDriver
    Password: ****
    User:IMPL
    URL: jdbc:oracle:[email protected]:1521:LPAR8TEST
    All fo my configuration had been listed.
    And I had created JCO RFC : JT-BIDEV_PORTAL_BD1 , and created RFC connection with SM59 in BI.
    Please give me some suggesiton.
    Thanks.
    Louis

    When I try to start datasoure "Mydatasource" , it display error, error detail:
    java.rmi.RemoteException: com.sap.engine.services.dbpool.exceptions.BaseRemoteException: Error during start of application "sap.com/Mydatasource". [id = StartupError]
         at com.sap.engine.services.dbpool.deploy.DataSourceManagerImpl.startApplication(DataSourceManagerImpl.java:608)
    Caused by: java.rmi.RemoteException: Error occurred while starting application in whole cluster and wait.; nested exception is:
         com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide exception: server ID 3128050:com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot start DataSource "CGNPC".
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSource(ContainerImpl.java:1549)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
         at com.sap.engine.services.dbpool.spi.CPManagedConnectionFactoryImpl.createManagedConnection(CPManagedConnectionFactoryImpl.java:198)
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Clusterwide exception: server ID 3128050:com.sap.engine.services.dbpool.exceptions.BaseDeploymentException: Cannot start DataSource "Mydatasource".
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSource(ContainerImpl.java:1549)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
         at com.sap.engine.services.dbpool.spi.CPManagedConnectionFactoryImpl.createManagedConnection(CPManagedConnectionFactoryImpl.java:198)
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
              u2026.
    When I try to test JDBC with URL : http://jt-pldev:50000/TestJDBC_Web/TestJDBCPage.jsp,
    First I choose connection name "SDK_JDBC_Oracle" .
    If I click "Check Connectons", it display :
    500   Internal Server Error
    SAP J2EE Engine/7.00
      Application error occurred during request processing.
      Details:
      java.lang.NoClassDefFoundError: com.sap.ip.bi.sdk.dac.connector.odbo.impl.Connection (initialization failure)
    Exception id: [001A64A86F2C006B000004C40010302A000469C74E86A096]
    If I click "Slecton Connection", it display:
    500   Internal Server Error
    SAP J2EE Engine/7.00
      Application error occurred during request processing.
      Details:
      com.sap.engine.frame.core.load.SAPNoClassDefFoundError: javax.resource.Referenceable
    Exception id: [001A64A86F2C0063000004C00010302A000469C74FA2BB59]

  • Portal Test Connection Failed for JDBC Connector

    Hi,
    We are trying to create a JDBC system in EP to connect SQL Server 2005 database. Our aim is to build a model in VC using data services from SQL Server 2005.
    We deployed the Driver file sqljdbc.jar  and connection was successful when tested by creating a data source  in Visual Administrator-> JDBC Connector
    We have created a system in EP with user mapping type (admin,user) and user mapping also done for system alias with the SQL Server administrator user id and password. UME is maintained in ABAP Stack. When we try for test connection with the system created in EP for JDBC connection, the system throws an error message like “Connection failed. Make sure user mapping is set correctly and all connection properties are correct“
    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
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    The following are the URL and driver class name:
    URL: jdbc:sqlserver://<host_name>:1433;DatabaseName=”db_ name”
    Driver class name: com.microsoft.sqlserver.jdbc.SQLServerDriver
    Is there any other setting to be maintained in the Visual Administrator or in the Portal?
    Kindly let us know any clue to overcome this issue.
    Quick response highly appreciated.
    Regards
    Saravanan.r

    Hi Saravanan and Sathish,
    not sure how far you got with this. I had the same problem or at least a very similar one with access to MS SQL Server 2005 and solved it. I followed essentially very similar steps with a couple of minor twists:
    1) copied the sqljdbc.jar file to the storyboard server and  set the classpath environment variable to point to it.
    2) I did not create a data source, just created a new driver "SQLServer".
    3) Under Connector Container I cloned SDK_JDBC as "SDK_SSQL".
    4) The Visual Composer property vc.bi.sqlEditor Enabled should be set to true for you to be able the SQL Editor in the Data Service in VC.
    In the portal I created a system of type BI_JDBC from a template.
    The connection url and driver class were as in the thread:
    URL: jdbc:sqlserver:ipaddress:1433;DatabaseName=name
    Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    ConnectionFActoryClass as above under 3.
    User rights: admin,user
    The user mapping to the system alias should be as described.
    This should allow you to use the data service in VC to access SQL Server tables. If access to stored procedures (sometimes quite useful) is required, this would need to utilise the p9sqlserver.jar file already on the server.
    Best Regards
    Felix Logemann

  • JDBC Connector : pool gets depleted

    Hi,
    we are currently working with SAP EP 6.0 SP2 and trying out some development work with the connector framework.
    We are writing a component which uses the CF to retrieve information from a Microsoft SQL Server 2000.
    The portal component works, we are able to retrieve the information from the DB, but after some time the request times out.
    We monitored the connections for a while both on the J2EE platform and on the backend database and came to this conclusion : apparently each request - even by the very same user looking at the very same component, just but pressing the refresh button in the browser window - creates a new connection in the pool managed by the connector framework.
    - result : the number of successful views of the components is equal to the number of Maximum Connections defined for the JDBC connector on the J2EE platform.
    In our code we are using the close() method on the IConnection interface as indicated in the documentation that comes with the PDK.
    Is this a known problem OR are we doing something wrong here ?
    We suspect that there is something wrong in the implementation of the JDBC connector, which isn't handling the close method correctly.

    In more general terms this issue raises the following questions :
    - how does the Connector framework manage the pool of JDBC connections ?
    - the fact that our component at each request (even after a refresh in the browser) causes  the CF to create a new connection, does that mean we are writing our code incorrectly so that each request is indeed considered to be a unique and in need of its own database connection ?
    We have tried to avoid as much reason as possible for the CF to generate a new connection : e.g. we have set up user mapping so that all users access the database with the same account. This should already eliminate the requirement to have a separate for each user. => in general : what are the different ways by which to control the generation of connections by the Connector Framework, for the JDBC Connector in particular ?
    - So far we are writing the code accessing the SQL server straight into a JSPDynpage. Am I wrong in thinking that this is allowed. Although we intend to write a portal service as a wrapper for all database interaction in a later stage, for the simple exercises now we are directly using the CF service API in the portal components.
    - by what algorithms does CF determine whether to take a connection from the pool or to create a new connection to the back-end system.
    - Am I wrong in thinking that connection pool management is no longer the task of the developer when using CF ?

  • Please Help me on BI Java SDK using BI JDBC Connector

    Hi, I'm new to sap BI Java SDK. I'm not getting how to get the primarykey columns, using BI JDBC Connector (for relational data sources). If anybody knows, please let me know. its very very urgent task to be done in my project. In the below following code.... I have written a code to connect to the database through resource bundle, reading table names, once user select table name, i need to show the primary key columns of that table to the user. here i'm not getting how to get the primary key columns . Please send me the code if there is any method to find out the primarykey columns or a logic to get them. I will be greatful to you.... if you can do this favour. Please check out the following code ........
    ManagedConnectionFactory mcf;
    IConnectionFactory cf;
    IConnectionSpec cs;
    mcf = new JdbcManagedConnectionFactory();
    cf = (IConnectionFactory) mcf.createConnectionFactory();
    cs = cf.getConnectionSpec();
    ResourceBundle rbLocal = ResourceBundle.getBundle( "xxxx");
    Enumeration propnames = rbLocal.getKeys();
    while (propnames.hasMoreElements())
    String key = (String) propnames.nextElement(); //out.print(key); //out.println("="rbLocal.getString(key)"");
    cs.setPropertyValue(key, rbLocal.getString(key));
    // Establishing the connection. // The IBIRelational interface provides an entrypoint to access // metadata and execute queries.
    IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs);
    IBIRelational rel = connection.getRelational();
    IBIQuery query = rel.createQuery();
    String sqlStatement = "SELECT * FROM " + "BICQPERSON where type='pk'"; ResultSet rs = IBIDataSet dataset = query.execute();
    Thanks SreeKanth

    Well, I added two lines in OC4J.cmd
    set ORACLE_HOME=C:\OC4J\oc4j_extended_101350
    set JAVA_HOME=C:\JAVA\JDK7u7
    before
    set J2EE_HOME=%ORACLE_HOME%\j2ee\home
    and I restarted the windows. It looks try to run OC4J but failed, as I open services window, it shows OC4J is "stopping". When I try to run it manually, I got the same problem again. is there anything I missed? What is your OC4J, JDK and javaservice version?
    Sam

  • Connection Properties for the BI JDBC Connector

    Hi
    I am trying to configure BW 3.5 java component. In the Connection Properties for the BI JDBC Connector, there are four required properties. (UserName, Password, URL and DRIVERNAME) What should I enter for the URL and DRIVERNAME? I am using Oracle920.
    Please help,
    JW

    I found this info at
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm
    Oracle is replacing the SID mechanism for identifying databases with a new services approach. This has been available in the database since 8.1.7. JDBC now supports services in the connect URL. 
    The basic format of a service URL is:
    jdbc:oracle:thin:[<user>/<password>]@//<host>[:<port>]/<service>
    jdbc:oracle:oci:[<user>/<password>]@//<host>[:<port>]/<service>
    Examples:
    jdbc:oracle:thin:@//myserver.com/customer_db
    jdbc:oracle:oci:scott/tiger@//myserver.com:5521/customer_db

  • JDBC Connector - Datasource issue

    Hi,
    We have a datasource created in JDBC Connector in Visual Admin Services. The issue is whenever there is a connection failure due to network or the database system is restarted the JDBC datasource doesn't work and we get invalid connection in our application.We have to stop and restart the datasource through Visual Admin to make it work.
    Is there any resolution that we dont have to restart the datasource manually in case of connection failure.
    Appreciate your support

    Hi,
    I had same problems!
    I only know of a workaround for JMS adapter which showed same issues after a MQ restart. There an option got introduced to "ping" the source / target to recreate the connection by a parameter to be set in the channel itself. I'm not sure this option is also available for JDBC channels...
    Does anybody got news here?
    Thanks,
    Kai

  • From Steve Zeng: collector/jdbc connector won't start

    Hi,
    when i develop a database collector to collect bussiness database
    logs about oracle for our customer , i use JDBC to connect to remote
    oracle database, after i add database collector / jdbc connector /
    database event source in SCC, i found i can not startup any of these
    plugins, why? can database collector debug? the following codes is my
    collector codes, additions, can anyone provide me a detail step by step
    guide for database collector?
    sqlquery.base
    SELECT TOP %d * FROM ts_querybillsigned_log WHERE REQUEST_TM > %s
    release.js
    Collector.prototype.initialize = function() {
    this.PARSER.getOffsetData = function(input) {
    if (typeof input.RXMap != "undefined") {
    return input.RXMap.REQUEST_TM;
    conn.addParser(this.PARSER.getOffsetData);
    return true;
    Collector.prototype.cleanup = function() {
    return true;
    Connector.prototype.sendQuery = function() {
    return true;
    Record.prototype.preParse = function(e) {
    if (this.CONNECTION_ERROR != null || typeof this.RXMap == "undefined")
    { return false; }
    if (this.CONNECTION_METHOD == "DATABASE") {
    for (var field in this.RXMap) {
    this[field] = this.RXMap[field];
    return true;
    Record.prototype.parse = function(e) {
    this.iuid = this.LOG_ID;
    this.cv30 = this.METHODNAME;
    this.cv31 = this.CLIENTNAME;
    this.cv32 = this.CLIENTMAC;
    this.cv33 = this.CLIENTIP;
    this.cv34 = this.QUERYTYPE;
    this.cv35 = this.SIGNEDTYPE;
    var detstring =
    this.RXMap.REQUEST_TM.replace(/(\d+)\/(\d+)\/(\d{4})\s(\S+)/, "$1/$2/$3
    $4 GMT");
    var dt = new Date(detstring);
    e.setDeviceEventTime(dt);
    return true;
    Record.prototype.normalize = function(e) {
    instance.SEND_EVENT =true;
    return true;
    Record.prototype.postParse = function(e) {
    return true;
    Record.prototype.reply = function(e) {
    return true;
    DCorlette
    DCorlette's Profile: https://forums.netiq.com/member.php?userid=323
    View this thread: https://forums.netiq.com/showthread.php?t=50302

    Hi Steve,
    I believe you've gotten closer to tracking down your issue, but there
    are a couple style issues here I thought I'd comment on for general
    consumption.
    1) Your Collector will issue a query against the database, then it will
    return a Record object. Each column in the database is mapped to the
    RXMap object within that Record, in the form 'rec.RXMap.METHODNAME',
    'rec.RXMap.CLIENTIP', etc. Since 'parse()' is a member function of
    Record, 'rec' in this case is simply 'this'.
    2) You then proceed to copy all of those fields from
    this.RXMap.something to this.something, and then you proceed to copy
    several fields from this.something to
    this.somethingelsethatlookslikeasentinelfield. All of this is completely
    unnecessary.
    3) As long as you don't have to do any further processing on the values
    in the source data (as with REQUEST_TM), you can skip everything in
    preParse() and all of the this.* = this.* stuff in parse(), and simply
    put entries like this in Rec2Evt.map:
    iuid,RXMap.LOG_ID
    cv30,RXMap.METHODNAME
    cv31,RXMAP.CLIENTNAME
    The Collector will automatically copy the information from the fields on
    the RHS of Rec2Evt.map into the Sentinel Event fields on the LHS of
    Rec2Evt.map.
    Thus your entire Collector can be boiled down to this:
    Collector.prototype.initialize = function() {
    this.PARSER.getOffsetData = function(input) {
    if (typeof input.RXMap != "undefined") {
    return input.RXMap.REQUEST_TM;
    conn.addParser(this.PARSER.getOffsetData);
    return true;
    Record.prototype.parse = function(e) {
    var dt = new Date(this.RXMap.REQUEST_TM.substr(0,
    this.RXMap.REQUEST_TM.length-2));
    e.setDeviceEventTime(dt);
    return true;
    DCorlette
    DCorlette's Profile: https://forums.netiq.com/member.php?userid=323
    View this thread: https://forums.netiq.com/showthread.php?t=50302

  • JDBC Connector and pooling problems.  Should be ConnectionPoolDataSource ?

    Ciao all,
    I am testing the JDBC Connector by Sun.
    As you know, such JDBC connector is a JCA connector which can be used to
    wrap a JDBC Driver or a JDBC Data Source or a JDBC
    ConnectionPoolDataSource into a JCA connector.
    Such JDBC Connector exposes to the client component the usual DataSource
    interface, so that an application that was developed using a DataSource
    can be easily migrated to a JCA enabled application: the application in fact will use the JDBC connector as if it was a DataSource, without
    knowing that actually it is a JCA connector.
    Here is my problem: the JCA architecture provides a pool. Therefore, I'd like the JDBC Connector to appear to the client as a
    ConnectionPoolDataSource rather than a simple DataSource.
    In fact, I have an application that performs a JNDI lookup to retrieve a JDBC data source. Then, if the obtained data source is instance of ConnectionPoolDataSource then the applications will use the SQL Connection and will closes it to release it back to the pool.
    But if the data source is instance of DataSource, then the application
    will retrieve a SQL connection, will use it, and will keep it in its own pool in order to reuse the SQL connection for better performance.
    Now, if such application works with either a DataSource or a ConnectionPoolDataSource everything works properly, but when it works
    with the JDBC Connector it fails: the JDBC Connector in fact appears as
    a simple DataSource without pooling, so the application keeps the
    obtained SQL connections in its own pool. But actually, the JDBC
    Connector is a JCA connector which has a pool too, so the SQL connection
    is kept in two pools and as a consequence, the JDBC Connector pool invalidates or destroy the connection in its pool, and the application, which is unaware, keeps in its pool a reference to an invalid connection, which leads to a SQLException at runtime.
    So my question is: don't you think that the JDBC Connector should implement ConnectionPoolDataSource rather then DataSource, since it is a
    JCA connector that offers pool services ?
    And if so, is there a way to submit this question to someone working for Sun ?
    Thank you for your time.
    Gian Maria Romanato.

    You can send your comments and feedbacks to [email protected]

  • BI - JDBC connector for remote database.

    Hi,
    I am trying to use my portal oracle database in VC applications. I have successfully connected to the database using JDBC connector as well as BI-JDBC connector. However when I try to use this BI-JDBC system in SQL editor I cannot see any tables. I have created JDBC and BI-JDBC system objects in the portal and the connection test is successful for both the systems.
    I am using BI-JDBC connector so that I can see the tables and write select queries which I can use in VC applications. Using JDBC connector I can see only the stored procedures. So tried using BI-JDBC connector.
    Is there anyway I can see the tables and views in the oracle database in the VC applications.
    Thanks in advance.
    Aamod.

    Hi,
    The DB user which I am using, can query the database from SQL PLUS. So he can see the tables and everything. But when the same user is used for mapping with portal user the tables cannot be seen.
    When I select the system in VC and click on "Browse Table Catalog" I get the following structure.
    BI-JDBC
       |- 0
          |- 1.
    And below 1 theres nothing. When I select "Tables" and search *, it says "Search returned no result".
    Please advice.
    Regards,
    Aamod.

Maybe you are looking for

  • Switch statement with enumerated types

    Hello, I'm currently having problems (error in eclipse) using enums in a switch block. Eclipse says: "The enum constant Constants.AnalysisType.<each case> reference cannot be qualified in a case label. for each of the cases that I try to use the enum

  • How can I best add, most easily use, another operating system like Whonix to my mac laptop?

    I am hoping I can go to an added user. But I think I need to understand what Parallels are as that may be what I need to add. Thanks, J

  • Is VMware supported for use with the Windows Azure Pack for Windows Server?

    We are exploring the possibility of WAP as the front-end for a VMware cloud, and wondering if 1) this is supported 2) what limitations we may encounter and 3) what happens if we add Hyper-V to the mix alongside VMware. Any thoughts or links to offici

  • How can I stop Facebook renaming my contacts?

    I have a Mac running Mountain Lion, an iPhone 4 running iOS 6 and an original iPad running iOS 5. iOS 6 and Mountain Lion brought Facebook integration, which among other things, lets me link the Facebook information of my contacts, with the iCloud en

  • Array of PDF Pages

    Hello, I want to edit a special format of PDF document (map of town). This document is very large and long, and i want to divided the document in pages. But i don't want only put these pages up and under (page 1.2.3.4.5...) In fact i want two dimensi