Hi i am newbie to Database connectting technology

Hi i am using SQL server instead of Oracle,but i have lack of experience in making database connection to SQL Server from Java.Could you anybody please help me,and give me a best example with code.

There are some examples in the help files that come with the jdbc driver: [http://msdn.microsoft.com/data/jdbc/]

Similar Messages

  • Brand newbie question on database connection

    I'm brand new to Oracle databasing and am having trouble figuring out how to set up a connection to an existing database. Specifically, I'm not clear at all about the use of the tnsname.ora file. What I'm trying to do is set up a connection using an .asp page to connect to this database. I'm using :
         objConnect.Open ("Provider=MSDASQL;DRIVER={Microsoft ODBC for Oracle};Server=F12_PROD_MARS.WORLD;UID=FLGI;PWD=FLGI")
    [/CODE]
    Which gives me the "ORA-12154: TNS:could not resolve service name" error. I know the information that I need in my tnsname.ora file is:F12_PROD_MARS =
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=
    (PROTOCOL=TCP)
    (Host=172.31.xx.xx)
    (Port=1521)
    (ADDRESS=
    (PROTOCOL=TCP)
    (Host=172.31.xx.xx)
    (Port=1526)
    (CONNECT_DATA=
    (SID=MARS)
    I don't know where the tnsname.ora file is supposed to be located or how to reference it from .asp or anything like that though. The only database connection experience I have is with my own access databases, but none trying to connect to someone elses oracle db. Any help at all or a link to some kind of starters guide would be much appreciated. Also, I downloaded pl/sql developer, but I cannot log on to that either. I don't know if its the same connection issue here, but I know my user/pass for the server is correct, what do I enter for database, so that the application knows where to go? Thanks again... -ST

    objConnect.Open ("Provider=MSDASQL;DRIVER={Microsoft
    t ODBC for
    Oracle};Server=F12_PROD_MARS.WORLD;UID=FLGI;PWD=FLGI")I take it you have the Oracle Client installed on the web app server i.e. where the MS ODBC driver lives
    ODBC now looks for tns name "f12_prod_mars.world" ...
    Which gives me the "ORA-12154: TNS:could not resolve service name" error.
    I know the information that I need in my tnsname.ora file is:
    F12_PROD_MARS =
    ... because it looks for that name, including .world, and cant find it. Name "f12_prod_mars" is not the same name, obviously. (like test.com and test.se are different)
    I don't know where the tnsname.ora file is supposed
    to be located or how to reference it from .asp orWhere is it located now? If you search the harddrives for tnsnames.ora, what do you get?
    connection issue here, but I know my user/pass for
    the server is correct, what do I enter for database,
    so that the application knows where to go? ThanksIf an app, like sql*plus, is asking for "Database:" it often means you give the tns name (=the alias for the tns connect descriptor, which is the thing with lots of ('s and )'s) :)
    Message was edited by:
    orafad

  • [Bug] Or feature? Database connection closed if given a name after first op

    I am not sure if this is a bug or a feature.
    oracle.javatools.db.Database db = oracle.javatools.db.DatabaseFactory.findOrCreateDatabase("sample", conn);
    If I supply a name for the database as the above line using "sample", the database connection is closed after the first op, i.e., you can call
    db.listObjects once, but the second time, it will fail with StackOverFlowException. But the culprit is the database connection is closed after the first op.
    However, if I don't give it a name, using null,
    oracle.javatools.db.Database db = oracle.javatools.db.DatabaseFactory.findOrCreateDatabase(null, conn);
    There's no problem at all.
    Is this a bug or a feature?
    If a feature, the JavaDoc made it worse, by using the following example:
    http://www.oracle.com/technology/products/jdev/esdk/api1013/oracle/javatools/db/DatabaseFactory.html
    The DatabaseFactory should be used over the DBObjectProviderFactory when a Database specifically is required, and the name and Connection of that Database are available.
    e.g.
    java.sql.Connection conn = // the Connection to the db
    DatabaseFactory.findOrCreateDatabase( "ora10g", conn );
    The example sure sounds like a name is mandatory. Or perhaps the name is not some random name, but TNSName? If so, the Doc should certainly mention that.

    I am not sure if this is a bug or a feature.
    oracle.javatools.db.Database db = oracle.javatools.db.DatabaseFactory.findOrCreateDatabase("sample", conn);
    If I supply a name for the database as the above line using "sample", the database connection is closed after the first op, i.e., you can call
    db.listObjects once, but the second time, it will fail with StackOverFlowException. But the culprit is the database connection is closed after the first op.
    However, if I don't give it a name, using null,
    oracle.javatools.db.Database db = oracle.javatools.db.DatabaseFactory.findOrCreateDatabase(null, conn);
    There's no problem at all.
    Is this a bug or a feature?
    If a feature, the JavaDoc made it worse, by using the following example:
    http://www.oracle.com/technology/products/jdev/esdk/api1013/oracle/javatools/db/DatabaseFactory.html
    The DatabaseFactory should be used over the DBObjectProviderFactory when a Database specifically is required, and the name and Connection of that Database are available.
    e.g.
    java.sql.Connection conn = // the Connection to the db
    DatabaseFactory.findOrCreateDatabase( "ora10g", conn );
    The example sure sounds like a name is mandatory. Or perhaps the name is not some random name, but TNSName? If so, the Doc should certainly mention that.

  • XSQL-007 Database connection error.

    I got following message when click sample heloworld.xsql:
    Oracle XSQL Servlet Page Processor 0.9.9.1 (Technology Preview)
    XSQL-007: Cannot acquire a database connection to process page.
    Invalid Oracle URL specified: OracleDriver.connect
    We're using RH Linux 6.1, Apache Tomcat 3.1 Beta and XSQL 0.9.9.1. The database connection string in XSQLConfig.xml is:
    <connection name="demo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:jdbc:@home:1521:home</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    null

    <dburl> as posted is incorrect.
    A sample that is correct for the JDBC thin
    driver is:
    <connection name="demo">
    <username>scott</username>
    <password>tiger</password>
    <dburl>jdbc:oracle:thin:@localhost:1521:xml</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    Note "jdbc:oracle:thin" and not "jdbc:oracle:jdbc"
    hope this helps.

  • How to use sql request with Jdev and database connection

    Hello,
    I have a login page with simple username and password inputsecret text and a button validate! I would like, when the user click on the validate button, to check in the database that the user and password matches. I've done the "Method BIndind..." with the commandButton_action and the database connection works fine.
    How can I use an already existing procedure, say authenticate, wich is stored in the database to authenticate my user ?
    Do I have to create a jdbc connection in java even if I've done the connection with the "create new database connection" wizard ?
    String s1 = "jdbc:oracle:thin:@address:1521:ORCL";
    System.out.println( "Connecting with: " );
    System.out.println( s1 );
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    this.conn = DriverManager.getConnection( s1,"user","pass");
    thanks for your help

    Creating a connection to the DB in JDeveloper doesn't mean that your application is now connected to the DB - so yes you do need to create a connection to the database using JDBC.
    One note - if you are trying to do a database user authentication the following is probably the better way to go about it:
    http://www.oracle.com/technology/products/jdev/howtos/1013/oc4jjaas/oc4j_jaas_login_module.htm

  • Delete a record from a table in a Database with Database Connectivity

    I can't find the function from the Database Connectivity library that allows me to delete a record from a table of the database. I tried to use DB Tools Free Object.vi function but this one deletes only the table created with a query.
    Thankyou

    I have used the sql query as described above and it works fine with access DB and the DB toolkit, the free object vi only deallocated a recordset's references this will noty alter the database since the record is a copy of the databases information.  The SQL delete function is very versatile and you should be able to delete records with no problem.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Sample code - cytoscape plugin - specifying database connection parameters?

    Hey all-
    I'm trying to get the Spatial plugin for cytoscape working (http://www.oracle.com/technology/industries/life_sciences/code/ndm_cyto11.zip). Anyone know where you specify the database connection info?
    Thanks
    Rob

    Hey all-
    I'm trying to get the Spatial plugin for cytoscape working (http://www.oracle.com/technology/industries/life_sciences/code/ndm_cyto11.zip). Anyone know where you specify the database connection info?
    Thanks
    Rob

  • Database connection + punnk = never going to happen

    I downloaded Tomcat 4.1 and the JSTL 1.0.6 tags(myApp/web-inf/lib) - everything seems to be in
    place and working. I have my commons in the common/lib(for now). I added a system DSN.
    Evendale.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <Context
         path="/Evendale" docBase="Evendale.war"   
         debug="1"           
         reloadable="true"            
         crossContext="true"          
         useNaming="true"> 
    <Logger
         className="org.apache.catalina.logger.FileLogger" 
            prefix="localhost-Evendale-log."  
            suffix=".txt"         
         timestamp="true"/> 
    <Resource  
         name="jdbc/DSN"              
         auth="Container"              
         type="javax.sql.DataSource"/>
    <!-- data source --> 
    <ResourceParams name="jdbc/DSN">
         <parameter>       
              <name>factory</name>     
              <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>    
         </parameter>
         <parameter>
              <name>driverClassName</name>     
              <value>sun.jdbc.odbc.JdbcOdbcDriver</value>     
         </parameter>   
         <parameter>      
              <name>url</name>      
              <value>jdbc:odbc:DSN</value>  
         </parameter>   
         <parameter>      
              <name>username</name>    
              <value>edited</value>    
         </parameter>    
         <parameter>        
              <name>password</name>       
              <value>edited</value>   
         </parameter>    
         <parameter>
                  <name>maxActive</name>    
              <value>20</value>  
         </parameter>   
         <parameter>  
              <name>maxIdle</name> 
              <value>0</value>  
         </parameter>      
         <parameter>        
              <name>maxWait</name>     
              <value>60000</value>   
         </parameter>       
         <parameter>          
              <name>removeAbandoned</name>  
              <value>true</value> 
         </parameter>     
         <parameter>       
              <name>logAbandoned</name>  
              <value>true</value> 
         </parameter>    
         <parameter>      
              <name>removeAbandonedTimeout</name>    
              <value>300</value>     
         </parameter> 
    </ResourceParams>
    </Context>
    web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
        "http://java.sun.com/dtd/web-app_2_2.dtd">
    <web-app>
         <resource-ref>
              <description>DB Connection - Evendale</description>
                   <res-ref-name>jdbc/DSN</res-ref-name>
                   <res-type>javax.sql.DataSource</res-type>
                   <res-auth>Container</res-auth>
         </resource-ref>
    </web-app>
    test.jsp
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <sql:query var="rs">
    select * from MT.EVENDALE_WEB_HEADERS
    </sql:query>
    <html>
      <head>
        <title>DB Test</title>
      </head>
      <body>
      <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
        Foo ${row.foo}<br/>
        Bar ${row.bar}<br/>
    </c:forEach>
      </body>
    </html>I created a war file(jarring the web-inf and web.xml files) and put the Evendale.xml and Evendale.war
    in Tomcat_Home/webapps directory and deployed it through Tomcat manager and finally
    bounced server.
    When I go to http://localhost:8080/Evendale/test.jsp - I see this error:
    org.apache.jasper.JasperException: Unable to get connection, DataSource invalid: "null"
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)This was in the localhost_log
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "null"
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)
    at org.apache.jsp.test_jsp._jspService(test_jsp.java:103)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)and this is in my localhost_admin_log
    2004-08-30 12:08:08 action: Entered TreeControlTestAction:perform()
    2004-08-30 12:08:08 action: tree param is null
    2004-08-30 12:08:08 action: Select event on Globally Administer Data Sources
    2004-08-30 12:08:15 action: Entered TreeControlTestAction:perform()
    2004-08-30 12:08:15 action: tree param is null
    2004-08-30 12:08:15 action: Select event on Catalina:type=Server
    2004-08-30 12:08:16 action: Entered TreeControlTestAction:perform()
    2004-08-30 12:08:16 action: tree param is null
    2004-08-30 12:08:16 action: Select event on Catalina:type=Service,name=Tomcat-Standalone
    2004-08-30 12:08:17 action: Entered TreeControlTestAction:perform()
    2004-08-30 12:08:17 action: tree param is null
    2004-08-30 12:08:17 action: Select event on Globally Administer UserDatabase Entries
    2004-08-30 12:08:19 action: Entered TreeControlTestAction:perform()
    2004-08-30 12:08:19 action: tree param is null
    2004-08-30 12:08:19 action: Select event on Globally Administer Environment Entriesduffymo - what could possibly be going wrong here? Do you think it could be something other then my fault? It's probably my fault but I have no idea what to do - I have followed the instructions time and time again and it doesnt work for me.

    sci - Yikes? Really what about that didnt you expect?
    I dont appreciate you demeaning all the hard work that
    I have put into this project with the snide comments
    you made. I am not a student expecting you to do my
    homework for me nor do I expect anyone to do my work
    for me.I didn't demean anything.
    I certainly did not demean your efforts or duffy's efforts to help you.
    I did state a couple of facts.
    1) You seem to be over your head in places and this is probably 99% of the problem. This is NOT demeaning to you or anyone else. No one expects you to learn everything about everything in one week. It is not realistic though to put expectations like that on yourself or count on help from others when you are still struggling with some basics.
    2) Both you and duffy seem to have some frustration on this. What I said about duffy going to you and fixing this in person in this time is true.
    I am also aware that this has been frustrating you though... your subject line for example database connection + punnk = never going to happen certainly seems clear about this.
    >
    If I jump around in my questions its because I am
    trying to figure out what I am doing myself. No I dont
    know what I am doing yet - but I am learning. Give me
    a break, huh?And what I am suggesting is to give yourself a break too.
    Chunk your learning into pieces more realistic for you at this point.
    Not because you are annoying me, which you are not, but even if you were it wouldn't be relevant.
    Because you don't seem to be making progress so maybe it's time for a step back and taking a different tack. You may disagree with the route I suggest but I think it behooves you to at least consider it.
    >
    I dont know much about java but I do still know how to
    read. And if you are this frusterated with me asking
    questions perhaps you should think of how I feel. ItsAs stated above your frustration is why I am suggesting you try to be realistic in your learning and development.
    my ass on the line here not yours.
    Okay. That's your problem though. Why would your ass be on the line about this? No company can realistically expect someone to deploy something using technology new to them in a matter of days. I suppose it happens but it isn't realistic.

  • Database connectivity toolkit problem with WINDOWS VISTA and Microsoft jet 4.0 provider

    Hi again,
    I'm experiencing a problem with Database connectivity toolkit and Microsoft Jet 4.0 provider (MS ACCESS mdb database).
    I was able to get my application to work properly on my PC: WINDOWS XP PROFESSIONAL, VERSION 2002, SERVICE PACK 3 and Msjet40.dll ver. 4.0.9511.0 (Windows XP SP3 and Security Bullettin MS08-028).
    The same connectivity toolkit seems to have problems (although I didn't get any error dialog) on a laptop with WINDOWS VISTA ULTIMATE, SERVICE PACK 2 and Msjet40.dll ver. 4.0.9755.0.
    Does anyone have an idea whether it is a sort of compatibility issue or a different thing?
    Would it be possible to include my DLLs into the installer in such a way LabVIEW application calls those DLLs instead of the ones it finds on the host PC?
    Thanks a lot. Any suggestion or advice very welcome and appreciated.

    I ran into this with Windows7 64 but, could not get the jet 4.0 to work.  Endnd up dumping access and used sql server express, its free, and all my code worked fine, just used a different UDL to connect.  I wasted lots of time trying to find a way of getting the jet4.0 to work with 64bit windows.
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • LabView 5.1 and Database Connectivity Toolkit Compatibility?

    I am looking to serve some data from a LabView 5.1 application up to an Oracle 8i database. I have looked at the current Database Connectivity Toolkit (which uses ADO technology), but am not sure if this will be compatible with LabView 5.1... is it? If not, what are my alternatives? Are older versions of this toolkit available?
    Thanks!

    Also, could someone touch on how forward compatible LabView applications are? In this scenario, I have the same 5.1 application which now requires some database connectivity. Since the SQL Toolkit is no longer supported, I would be left with upgrading LabView to 7.0 and using the Database Connectivity Toolkit. How well (in general) do earlier LabView applications convert to newer versions?
    Thanks again!

  • Create database connection  once.

    a newbie's Question. I want to create a database connection in a jsp file just once so that when a user hits the same jsp, the connection is not needed to be recreate until he/she leaves the page or shut it down. thanks.

    bad design.
    connections don't belong in jsps. they should be checked in and out of a container-managed connection pool by a java bean that interacts with the database on behalf of the client. not the right way to do it.
    %

  • How to make new database connection using Oracle BI Interactive Dashboards

    Hi,
    I install Oracle BI Intelligence on my system.
    I am using Oracle BI Interactive Dashboard. Here we have default database connection.
    but now i want to use it for my own database. Can any body give me guideline how to
    make a new data base connection using this s/w or how to connect to my database so
    that i can make my own reports.
    I am using
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
    this link.
    i make odbc connection which is fine.
    but
    Restoring the Business Intelligence Presentation Catalog and Updating Metadata
    The third point blow above heading is not clear.
    Thanks

    Umesh - in order to build Answers and Dashboard content you must first setup a Physical model, then a Business model, followed by a Presentation Catalog/Subject Area.
    All these tasks are carried out using the Repository Administration Utility.
    1) Import your physical tables using OCI/ODBC into the physical layer.
    2) Build your model
    3) Deploy
    Then you're ready to start building answers/dashboards.
    Good Luck.

  • Database connectivity timeout

    Hello,
       I'm using the database connectivity toolkit to connect to a MySQL database. If the database isn't there or there is a mistake in an SQL query after I have connected my program takes 15s (the default) to realise. I've tried wiring different values to the connection timeout node but this doesn't seem to make any difference whatsoever. I've hacked the first problem by pinging the machine with the DB on before trying to connect as suggested in another post, but this doesn't help if I screw up my INSERT syntax... any ideas what could be wrong?
           Cheers,
                  Tim

    Hi Tim,
    You should be able to use the command timeout (s) parameter of the DB Tools Set Properties VI of the Database Connectivity Toolkit to set the maximum time to wait for a command to execute, in seconds.
    Regards,
    Imtiaz Chowdhury
    Head of Digital Technologies
    Brand786

  • MI Client & database connectivity

    Hi,
        I'm developing an MI based demo application and want to connect to database db2 on the mobile device. In the cilent APIs I could not find anything where I can specify the database or option for using serialization for that matter. Has anybody tried to connect with database? Please guide.
    Regards,
    Ravi Sharma
    HCL Technologies
    SAP Netweaver COE

    You can't do it from the API.
    MobileInfrastructure (former MobileEngine) is a <i>framework</i> used for <b>connecting to</b> and <b>extracting data from</b> R/3 backend. There are just two ways to do it - Generic Sync or Smart Sync.
    If you want to do direct database connection, you have to use the Java Platform features, JDBC or what driver you have on the mobile device. Howsoever, this is little wrongly.
    Just curious, what for mobile device you bear in mind? SAPDB and MobileEngine are not designed for PocketPC. )
    Anyway, this is a funny problem, please share your experience about it, when you establish the connection.
    Good luck,
    Todor

  • Installation problem with NW'04 SR1: database connection failed

    Hi all,
    while installing NW '04 SR1 on Windows Server 2003 SP1 and MS SQL Server 2000 SP4 I ran into an error related to the database connection. While performing the step "Load Java Database content" SAPinst crashes with the message
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    The connection to the SLQ Server with e.g. the Query Analyzer is OK. I had a problem with this installation setup before (have a look at the corresponding <a href="https://forums.sdn.sap.com/thread.jspa?threadID=338638&tstart=0">thread</a> ), the JDBC drivers where missing on the installation master but after copying them in the right direction the installation went on with no problem up to this point...
    Has anybody an idea what could have happened here? Is this maybe a problem connected to the one I recently had
    Below I attached the sapinst.log and jload.log with more detailed messages.
    sapinst.log ###########
    INFO 2007-03-12 22:06:24
    Working directory changed to C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST.
    INFO 2007-03-12 22:06:24
    Output of D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' is written to the logfile C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_~1\ONE_HOST/jload.java.log.
    WARNING 2007-03-12 22:06:26
    Execution of the command "D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'" finished with return code 1. Output:
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    12.03.2007 22:06:25 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.2007 22:06:26 com.sap.inst.jload.Jload main
    SCHWERWIEGEND: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    ERROR 2007-03-12 22:06:26
    CJS-20065  Execution of JLoad tool 'D:\Java/bin/java.exe '-classpath' './sharedlib/antlr.jar;./sharedlib/exception.jar;./sharedlib/jddi.jar;./sharedlib/jload.jar;./sharedlib/logging.jar;./sharedlib/offlineconfiguration.jar;./sharedlib/opensqlsta.jar;./sharedlib/tc_sec_secstorefs.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\base.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\util.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\sqlserver.jar;D:\usr\sap/WPT/JC10/j2ee\jdbc\spy.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jce_export.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_jsse.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_smime.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/iaik_ssl.jar;D:/usr/sap/WPT/SYS/global/security/lib/tools/w3c_http.jar' '-showversion' '-Xmx512m' 'com.sap.inst.jload.Jload' '-sec' 'WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key' '-dataDir' 'S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP' '-job' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML' '-log' 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log'' aborts with returncode 1. Check 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log' and 'C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.java.log' for more information.
    jload.log ###########
    12.03.07 22:06 com.sap.inst.jload.Jload main
    INFO: Jload -sec WPT,jdbc/pool/WPT,D:\usr\sap\WPT\SYS\global/security/data/SecStore.properties,D:\usr\sap\WPT\SYS\global/security/data/SecStore.key -dataDir S:/D51030724\J2EE_OSINDEP\J2EE-ENG/JDMP -job C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/IMPORT.XML -log C:\PROGRA1\SAPINS1\NW04SR1\WEBAS_1\ONE_HOST/jload.log
    12.03.07 22:06 com.sap.inst.jload.Jload main
    SEVERE: couldn't connect to DB
    com.sap.sql.log.OpenSQLException: Could not load class com.ddtek.jdbc.sqlserver.SQLServerDriver.
    Best regards,
    Bernd

    Hello Kairat,
    Please follow the below mentioned guide to install it.
    Check all the parameters to set and run pre requisite checker before starting installation.
    Keep in mind that before starting any SAP installation you should always run prerequisite checker.
    https://websmp205.sap-ag.de/instguides --> SAP Netweaver -->SAP Netweaver 7.0 -- > Installations --> EHP2
    Regards,
    Amit Barnawal

Maybe you are looking for