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

Similar Messages

  • Portege M200 Upgraded from 1GB to 3GB memory - pc won't start

    Hi,
    I bought a Toshiba M200 with 1GB memory. I had a problem with slow and freezing applications so I decided to add 2GB more of RAM.
    The vendor where I bought my laptop told me that it's max capacity is upto 4GB. I just would like to ask if that's true?
    Another is, what could be the reason why it won't start up if it can be upgraded to upto 4GB? Would I need a BIOS update or is it the RAM I bought which has compatibility issue.
    Another point though, the 2GB that I bought works perfect when inserted but when it is inserted together with the 1GB RAM, that's the time when my laptop won't start up.
    Both are KVR667D2S5 Kingston. Don't know if that would help.
    Thanks in advance!

    Thanks. I can't find the specs for PSMC0L-02100C in google so I can't determine the Max RAM capacity.
    You should try contacting Toshiba Singapore for the max amount of RAM that model can handle - it may only be 2GB max.
    Sometimes 3GB can work in a 2GB-max laptop (when the 2GB module is in slot 1), but it may be unstable or cause problems.

  • Mozilla on Solaris 10 won't start...

    hi
    I installed a couple of mozilla plugins (google bar etc) from mozdev and now my mozilla won't start. Is there a way to restore Mozilla to factory standards ? Unfortunately an uninstall have several dependencies.
    OS : SunOS XXXXX 5.10 Generic_118822-11 sun4u sparc SUNW,Sun-Blade-1000
    1. how can reset mozilla to original installation binary set ?
    2. can any one please help me with the below truss... It's been doing this for a while now...
    # truss /usr/sfw/lib/mozilla/./mozilla-bin
    /2: pollsys(0xFADCFC38, 1, 0x00000000, 0x00000000) = 1
    /1: write(8, " 8", 1) = 1
    /2: read(7, " 8", 1024) = 1
    /1: lwp_unpark(3) = 0
    /3: lwp_park(0x00000000, 0) = 0
    /1: read(5, "FA", 1) = 1
    /1: ioctl(4, FIONREAD, 0xFFBFE9C4) = 0
    /2: pollsys(0xFADCFC38, 1, 0x00000000, 0x00000000) (sleeping...)
    /1: pollsys(0x002C7B38, 9, 0x00000000, 0x00000000) (sleeping...)
    /3: lwp_park(0xF8E3FD38, 0) (sleeping...)
    /3: lwp_park(0xF8E3FD38, 0) Err#62 ETIME
    /1: pollsys(0x002C7B38, 9, 0x00000000, 0x00000000) = 1
    /3: write(6, "FA", 1) = 1
    /3: lwp_unpark(1) = 0
    /1: lwp_park(0x00000000, 0) = 0
    /1: write(8, " 8", 1) = 1
    /1: lwp_unpark(3) = 0
    /1: read(5, "FA", 1) = 1
    /1: ioctl(4, FIONREAD, 0xFFBFE9C4) = 0
    /3: lwp_park(0x00000000, 0) = 0
    /2: pollsys(0xFADCFC38, 1, 0x00000000, 0x00000000) = 1
    /2: read(7, " 8", 1024) = 1
    /3: lwp_park(0xF8E3FD38, 0) (sleeping...)
    /1: pollsys(0x002C7B38, 9, 0x00000000, 0x00000000) (sleeping...)
    /2: pollsys(0xFADCFC38, 1, 0x00000000, 0x00000000) (sleeping...)
    /3: lwp_park(0xF8E3FD38, 0) Err#62 ETIME
    /3: write(6, "FA", 1) = 1
    /1: pollsys(0x002C7B38, 9, 0x00000000, 0x00000000) = 1
    /2: pollsys(0xFADCFC38, 1, 0x00000000, 0x00000000) = 1
    /2: read(7, " 8", 1024) = 1
    /1: write(8, " 8", 1) = 1
    /1: lwp_unpark(2) = 0
    /1: lwp_unpark(3) = 0
    /1: read(5, "FA", 1) = 1
    /1: ioctl(4, FIONREAD, 0xFFBFE9C4) = 0
    /3: lwp_park(0x00000000, 0) = 0
    /2: lwp_park(0x00000000, 0) = 0
    /1: pollsys(0x002C7B38, 9, 0x00000000, 0x00000000) (sleeping...)
    /3: lwp_park(0xF8E3FD38, 0) (sleeping...)
    /2: pollsys(0xFADCFC38, 1, 0x00000000, 0x00000000) (sleeping...)
    thanks
    Sriram

    Did you tried removing/restoring files under plugins directory " /<install directory>/.mozilla/plugins".
    -Dakshin.

  • IPod touch won't start at all!

    Hi all,
    My iPod touch is a 2nd gen. version3.1.2 . I did a restore from iTunes and now my iTouch won't start at all. I think it's dead, someone please help me!

    First ? would be is it charged sorry got to ask. Did you try and hold the button on top and the one on the front at the same time and keep holding it even when the turn power slide shows don't let go until you see the apple than let go. than try to turn it on. Sometimes they freeze it happen to me when I first got it.

  • K8N Neo3 won't start

    I've just installed a new MSI K8N Neo3 with an AMD Sempron 3100+, and at first everything seemed just fine.  The assembled computer started just fine, and I started installing Windows XP.  After having formatted the hard drive the installation suddenly stopped and the computer went dead.  And after that it hasn't started again.
    I've tried to disconnect everything except the CPU and the power switch from the motherboard, and it still won't start when I connect the power cords and press the power switch.  I can see both the mother board fan and the CPU fan "jerking" for a second, but then everything is dead again.
    When I disconnect the power cord that powers the CPU from JPW1 and try to power up, the fan on the motherboard starts, or at least the motherboard fan and the chassis fan start.  If I power down and reattach the cord to JPW1 and the power up again, I get the same "jerking" of the fans and then nothing.
    Does anybody know what can be wrong? 
    El Cubo
    Norway

        Before anyone can help you..........   we need your system components. Go into your 'Profile' and list  ALL your components, including the exact model power supply with voltage/current specs.
         You may just have a poor quality power supply...... like many others here.
                                                  welcome aboard.....                   

  • Dynamic JDBC credentials example application from Steve Muench

    Apologies for this newbie question...but I'm trying to understand the Dynamic JDBC credentials example application from Steve Muench:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#14
    I think I understand most of it but the one bit I dont understand is why it customizes the ADF Page Lifecycle (DynamicJDBCADFPhaseListener, DynamicJDBCPageLifecycle, DynamicJDBCPageLifecycleContext).
    Can anyone explain to an ex-forms developer why this code is there?
    I'm also trying to work out a way for the session to be invalidated when the user logins again
    e.g. a user logins, he doesnt use the logout function but uses the back button to go back to the login page. when he logs in with another set of credentials, would a new session start or as i supsect, it would use the original login credentials?
    Thanks

    You can ignore those three classes in the example. They are not related to the dynamic credential solution, and must have been left over from some other example I evolved into what you see. Sorry to have cluttered up the implementation with stuff that isn't really contributing to the actual solution. DOH!

  • Dynamic JDBC Credentials: Example 14 from  Steve Muench

    Hi,
    Im trying example from Steve Muench, it's working fine.
    But I have some questions about it.
    If I want to connect to the db with a wrong username/password I see that it tries 5 times to connect to the database, Where Can I change this number of retries?
    Before the password should be used, it must be encrypted. I have two encryption methods, wich one should be used varies.
    If the first encryption gives a wrong result(no login) the second encryption should be used.
    What is a good place to encrypt the password?
    I was thinking of DynamicJDBCSessionCookieFactory because that is called more than 1 time if login fails.

    I placed my code to encrypt now in the DynamicJDBCBindingFilter.
    This how I try to connect twice
    catch (Exception e) {
                        if (isFailedLoginException(e)) {
                            System.out.println("Poging="+poging);
                            attemt+=1;
                            if (attemt<3){
                                FacesContext    fctx = FacesContext.getCurrentInstance();
                                ExternalContext ectx = fctx.getExternalContext();
                                HttpSession session2 = (HttpSession)ectx.getSession(false);
                                if (session2 != null) {
                                  session2.invalidate();
                                this.doFilter(request,response,chain);
                            }else{
                                signalFailedLoginAttempt(svrRequest);
                                redirectToLoginPageOnLogonError(request, response);
                        }As you can see I invalidate the session and then I call doFilter again.
    This is almost working, but when I'm forwarded to main.jsp with the table I see access denied istead of the table, I also get this error on the Jdev console:
    08/03/25 15:09:14 java.lang.IllegalStateException: Session was invalidated
    08/03/25 15:09:14      at com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:151)
    08/03/25 15:09:14      at test.DynamicJDBCBindingFilter.doFilter(DynamicJDBCBindingFilter.java:84)
    08/03/25 15:09:14      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    08/03/25 15:09:14      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    08/03/25 15:09:14      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    08/03/25 15:09:14      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    08/03/25 15:09:14      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    08/03/25 15:09:14      at java.lang.Thread.run(Thread.java:595)
    The session is invalidated, but If I don't to that it looks like that the new login credentials are not used. Because then I go back to the login page and see the message that the login\password was not correct.
    Someone who knows what I do wrong? I realy need to know this!!
    Message was edited by:
    KdeGraaf

  • 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.

  • Problem using JDBC Connector

    Hi,
    I have problem connecting to MS SQL Server using the JDBC Connector. I have 2 main questions, one is on the DQE and the other is on user mapping.
    I have a created a JDBC System Landscape using the portal component com.sap.portal.systems.jdbc.
    Following are the properties I have set and also I have listed where I am finding propblems.
    - User Management
    User MApping Type : Admin, User
    - Connection Properties
    Connection Timeout: 1000
    Connection URL: jdbc:microsoft:sqlserver://10.7.1.5:1433;DatabaseName=SAPEP
    Driver Class Name: com.sap.portals.jdbc.sqlserver.SQLServerDriver
    (Here I do not know whihc driver to use. Do I have to use the above one or this one com.microsoft.jdbc.sqlserver.SQLServerDriver. Anyway, both of them Did not work)
    - Distributed Query Engine (DQE) (What is this, and what Parameters I need to pass here)
    Also, While doing the user mapping, we need to provide the username and password. What username and password is that? Is it the DB user name and Password?
    Any help will be well appriciated.
    Thanks and regards,
    Babu

    Hi Babu,
    Here's what's needed in the system (examples are from my system):
    CONNECTION PROPERTIES:
       -- Connection URL: jdbc:sap:sqlserver://p031617:1433;DatabaseName=pubs
       -- DRIVER CLASS NAME: com.sap.portals.jdbc.sqlserver.SQLServerDriver
       -- VALIDATE CONNECTION: yes
    USER MANAGEMENT:
       -- USER MAPPING TYPE: admin, user
    DQE: Put in admin user/password (DQE is for distributed queries between multiple, heterogeneous databases, but you still need to use it for simple queries)
    Create an alias
    Go to User Administration and set user mapping for the admin user
    Test connection
    Each user that access the system will need user mapping.
    Hope this helps.
    Daniel

  • 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

  • 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

  • FAST JDBC Connector with documents/attachments

    Hi, we are using FAST database connector for crawling/indexing a Oracle database, from the docs we didn't find sample of crawling documents stored in Oracle. We created a Python script to do that but the problem is, only one document can be crawled/indexed
    to FAST, and we are using DATA property to store.
    I'd like to know is how to crawl documents/attachments in JDBC connector by leveraging document processor and how we map to FAST managed properties?
    Thank you.

    Hi JOSHUA,
    According to your description, my understanding is that you want to use FAST JDBC connector for crawling/indexing documents/attachments stored in an Oracle database.
    You can use the following string to connect to the Oracle database:
    jdbc:oracle:thin:@<YourServerHere>:1521:<YourDataBaseNameHere>
    Where:
     •<YourServerHere> is the Oracle server host name
     •<YourDatabaseNameHere> is the name of the source database that you are connecting to
    More information, please refer to the link below:
    http://technet.microsoft.com/en-us/library/ff383302(v=office.14).aspx
    Here are some articles for you to take a look at:
    http://www.sharepointboco.com/fast-search-for-sharepoint-2010-and-jdbc-connector/
    http://www.youtube.com/watch?v=wWCF66hhSXo
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • 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

Maybe you are looking for

  • How do I move a contact from one group to another?

    On my device, or in iCloud on the web, how do I move a contact from one group to another.  This should be as easy as it is with calender items, but the only solution I've found is to change your default contact group, and email the contact to yoursel

  • Premiere CS6 does not remember some settings when saving custom export presets.

    When I save a custom export preset in the export window, some settings are not remembered, and I need to change them every time again and again! The settings so far I found to not be saved are: Key frame every ... frames Limit data rate to ...

  • Cl_gui_alv_grid onf4 event handler

    Has anyone got a nice, tight, example of an ONF4 event handler using CL_GUI_ALV_GRID that they'd be willing to share? I'm trying to figure out the example in BCALV_EDIT_08. But, it's very difficult to follow. If BCALV_EDIT_08 is indicative of how muc

  • After updating to IOS 7.0.2,I cant able to install any application.

    Hi All,    Thanks in advance.       After updating my iPhone 5 with ios 7.0.2, I can't able to install any new application. After issuing the Apple ID & password it is showing a pop-up as " iTunes Terms & conditions Have Changed" if press  ok it is t

  • New field in Cj20n getting populated but not in cj01.

    Hello All, I need to enhance a standard transaction CJ01, CJ02, CJ03, CJ20N by adding certain new fields to that. I also need to add these fields to master tables PRPS and PROJ. I also need to ensure that the new fields get populated in tables PRPS a