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,

Similar Messages

  • 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

  • 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

  • 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

  • About jdbc connector

    Hi guys:
    I encounter a strange problem. I  use netweaver's jdbc to manage DB Source.but the DB is null every morning,so i should click the "excute" button on the jabc connector'runtime through visual admin.If you come across the same problem with me or know why ,please inform me as soon as prossible.thanks a million!

    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE data-sources SYSTEM 'data-sources.dtd'>
    <data-sources>
      <application-name>sap.com/ASE</application-name>
      <data-source>
        <data-source-name>ASE_DATA_SOURCE</data-source-name>
        <driver-name>MysqlDriver</driver-name>
        <init-connections>2</init-connections>
        <max-connections>10</max-connections>
        <max-time-to-wait-connection>60</max-time-to-wait-connection>
        <sql-engine>vendor_sql</sql-engine>
        <jdbc-1.x>
          <driver-class-name>org.gjt.mm.mysql.Driver</driver-class-name>
          <url>jdbc:mysql://localhost:3306/ase?characterEncoding=UTF-8</url>
          <user-name>root</user-name>
          <password>**********</password>
        </jdbc-1.x>
      </data-source>
    </data-sources>
    mysql version :mysql-5.1.19-beta    driver version:mysql-connector-java-5.1.6-bin

  • 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

  • About JDBC

    Hi, I am a fresher studying about JDBC. I wanted to know about the basics of JDBC. i wanted to know for what purpose JDBC is used..

    hi
    there r diffrent types of jdbc connection.hope u kmow jdbc is use to connect to database.if u need jdbc -mysql connection
    1.download a mysql connector from apache site
    2.edit .bash profile and add patf of connector to classpath
    3.follow this link http://www.kitebird.com/articles/jdbc.html#TOC_1

  • 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

Maybe you are looking for

  • Itunes wont update, uninstall or reinstall

    so everything was fine, i had my iphone 4s and my sony vaoi laptop and then one day it tells me to update my itunes. so thats what i did, it was running the install and then a error came up saying that 'The feature you are trying to use is on a netwo

  • Users and inherited permissions

    hello all... quick question. Let's say there are 3 users and they all inherit some permissions from user PUBLIC. How can I REMOVE thos inherited permissions. db: 9.2 sorry about my english, ask for more info if needed. thanks all in advance!

  • How does one put text on the spine?

    I'm a little confused about the difference between the version I'm creating and the template I start with. I start with a template, then resize and mess with the arrangement of the pictures. I move text boxes. All seems okay. I put a colored backgrou

  • Order management & After market

    Hi, Can anyone explain me about the modules Order Management and after market??? Thanks in Advance.

  • Reinstall of CS3 keeps asking for after effects cs4

    i'm trying to reinstall CS3 and midway through the installation process, it asks me for after effects cs4. i don't own after effects cs4. i've installed trial versions and then uninstalled them using the uninstaller. please help -- adobe tech support