Database connection Hangs - Urgent

Hello
I installed 9i db on one machine and I was able to connect from clients, then I installed 9ias on the same machine and now sqlplus hangs on the client when i try to connect. however tnsping is going thru.
Please , where/what do i need to do?. Such a configuration already exists on another machine and works fine (development).
Please help. my client getting impatient

Hi Thanks for the response.
Below are the listener configs for both infra and db, and also the status of the db listener.
NB. My application is able to connect via the middle tier(application server) !
Listener Status at DB Home:
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.4.0 - Produc
tion
Start Date 11-MAR-2004 12:26:41
Uptime 3 days 20 hr. 20 min. 6 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora92\network\admin\listener.ora
Listener Log File C:\oracle\ora92\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pProd)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "pProdhru.pProd.com" has 1 instance(s).
Instance "pProdhru", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Listener Config at DB Home:
# LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = pProd)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora92)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = pProdhru.pProd.com)
(ORACLE_HOME = C:\oracle\ora92)
(SID_NAME = pProdhru)
Listener at Infrastructure Home:
# LISTENER.ORA Network Configuration File: c:\ProdINFRA\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = pProd)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = c:\ProdINFRA)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = iasdb.pProdhru.pProd.com)
(ORACLE_HOME = c:\ProdINFRA)
(SID_NAME = iasdb)
Any Thing I'm Missing ?

Similar Messages

  • Database Connection Hangs - getConnection()

    Dear Friends,
    i have a serious problem with a database connectivity,
    now the issue is,i have written the code to connect to the databaseserver which is in some remote place,it loads the driver,that's the oracle driver,but when it comes to DriverManager.getConnection,that's the connectivity with the database it hangs.Now first i thought their might be a network problem but then it should give a networkexception,and also i put some dummy userid,password and also the IPAddresse,port number ,and it gave me a SQLException,so i assume that their is no network problem.then my question is why does it get hangs when the control comes to the getConnection method,
    what might be the problem?
    Is there any problem with the database server? Plz Help Me!

    Jeba,
    Fill in the blank: Assumption is the mother of all .... ups. :P
    I'm not an Oracle expert or even Oracle novice, but some simple principles should apply.
    First up, can you reach the database server with simple stuff like ping.
    If you can, can you then see shared folders etc from your browser?
    If the answer to these is yes, you should not have a network problem.
    As a suggestion, try to ensure that you have a user name / password combination with the highest access rights possible - On at least one other database there are issues to do with rights associated with different usernames.
    Finally, do you have something like dbVisualiser?
    Google it and download it. You already have the jdbc drivers which it needs, so just configure it as needed and see if it can connect. If it can, you may have a problem with your connection string.

  • Database Connection Hanging!

    Hi,
    We are using oracle 10g(10.1.0.3) on solaris 5.9.We are facing a new problem since couple of weeks.The problem is ,when try to connect to database , it is hanging and unable to connect.
    When I check ps -ef | grep gdwd (where gdwd is the listener name), this is result.
    glgldvdb01[export/home/oracle]ps -ef | grep gdwd
    oracle 11400 1 0 Apr 05 ? 67:08 /u00/oracle/product/gdwd/db_1/bin/tnslsnr gdwd -inherit
    oracle 15638 15633 0 09:00:29 ? 0:00 /u00/oracle/product/gdwd/db_1/bin/tnsping (ADDRESS=(PROTOCOL=TCP)(HOST=glgldvdb
    oracle 29007 29003 0 19:34:29 ? 0:00 /u00/oracle/product/gdwd/db_1/bin/lsnrctl
    oracle 10073 1 0 19:40:29 ? 0:00 sh -c /u00/oracle/product/gdwd/db_1/bin/tnsping "(ADDRESS=(PROTOCOL=TCP)(HOST=g
    oracle 10077 10073 0 19:40:29 ? 0:00 /u00/oracle/product/gdwd/db_1/bin/tnsping (ADDRESS=(PROTOCOL=TCP)(HOST=glgldvdb
    oracle 12273 12270 0 19:25:29 ? 0:00 /u00/oracle/product/gdwd/db_1/bin/tnsping (ADDRESS=(PROTOCOL=TCP)(HOST=glgldvdb
    oracle 12270 1 0 19:25:29 ? 0:00 sh -c /u00/oracle/product/gdwd/db_1/bin/tnsping "(ADDRESS=(PROTOCOL=TCP)(HOST=g
    oracle 18352 16849 0 09:01:40 pts/4 0:00 grep gdwd
    oracle 11319 11400 0 19:24:36 ? 0:00 /u00/oracle/product/gdwd/db_1/bin/tnslsnr gdwd -inherit
    oracle 15633 15590 0 09:00:29 ? 0:00 sh -c /u00/oracle/product/gdwd/db_1/bin/tnsping "(ADDRESS=(PROTOCOL=TCP)(HOST=g
    oracle 29003 1 0 19:34:29 ? 0:00 sh -c /u00/oracle/product/gdwd/db_1/bin/lsnrctl > /tmp/DJwjCbRvFF
    If I killed all the processes and start the listener (gdwd) again, then no issue.But this problem is coming almost frequently.Could anyone can explain about this with solution?
    Note : We are in two node RAC environment.
    Thanks in advance,
    Rajesh Marath
    Message was edited by:
    Rajesh Marath

    Pls check listener.log, is there any error. ?
    Also search metalink/open tar, this might be a known issue.
    Cheer,
    Virag Sharma
    Message was edited by:
    virag_sh

  • Database connection in a WebDynpro Application - urgent

    Hi
    I am facing a problem with database connection. I am trying to develop a normal webdynpro application.
    I want to retrieve data from a table and show it.
    But my query is not giving the expected output. It is not even raising errors.
    Please give me an answer
    Thanks & regards
    Aparnna

    Connection con=null;
      Statement st=null;
      ResultSet rs=null;
    public void wdDoInit()
        //@@begin wdDoInit()
    try
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      con = DriverManager.getConnection("jdbc:odbc:erdsn","root","enteg123");
      st=con.createStatement();
        catch(Exception e){
        //@@end
    public void onActiononClickLogin(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActiononClickLogin(ServerEvent)
         String desig=null;
    try{
    rs = st.executeQuery("select *  from Login where Empid like uid and Pword like pw");
        if(rs.next()){
               desig=rs.getString("Designation");
         wdComponentAPI.getComponent().getMessageManager().reportSuccess(desig);
        if(desig.equalsIgnoreCase("Employee")){
              wdThis.wdFirePlugEmpOutPlug();
         else
         wdComponentAPI.getComponent().getMessageManager().reportWarning("Invalid input!");
          }catch(Exception e){

  • Database connection to MS SQL 2005 (URGENT Help Needed)

    Hi all,
    Does anyone know how to connect my adobe form to MS SQL 2005?
    I have this code:
    try {
         InitialContext initialContext = new InitialContext ();
         DataSource dataSource = (DataSource) initialContext.lookup ("jdbc/MyAlias");
          java.sql.Connection connection = dataSource.getConnection ();
    } catch (SQLException e) {
         // handle exception
    } catch (NamingException e) {
    // handle exception
    Other than these, what else do i need to do inorder to get my database connection up?
    And after my database connection is up, how do i test to check if my database connection is up or not?
    How do i extract the information from the database and put them onto the textfields/dropdownlists on my form?
    Thanks In Advance

    Hi Mel,
    After implementing the codes and modifying them, some of them are underlined, why is this so? =X
    Or are u willing to exchange msn so i could send u the screenshot instead?
    Thanks In Advance
    (Sorry im not that good in this)
    (I shall underline the areas which represents the red underline in my web dynpro)
         //Code for database connection.
           InitialContext ctx = new InitialContext();
           DataSource ds = (DataSource)_ctx.lookup("jdbc/JXDataSource");_
           Connection conn = ds.getConnection();
           Statement st = null;
           ResultSet rs = null;
           IPrivateDetailed_Claims_FormView.IFillDataElement dataEle = null;
           st = conn.createStatement();
         //     Execute the appropriate SQL query
           rs = st.executeQuery("SELECT NAME WHERE VENDORCODE='9000116L' ");_     
           while (rs.next())       {
         //     Code that will populate your VN based on the data obtained in the ResultSet.
           dataEle = wdContext.createFillDataElement();
           dataEle.setName(_rs.getString(1)_);
          // dataEle.setAge(rs.getInt(2));
          // dataEle.setAddress(rs.getString(3));
           //wdContext.nodeFillData.addElement(dataEle);
           //  Close the connections
           rs.close();
           st.close();
                      conn.close();
    Edited by: JingXuan Lim on Jan 25, 2008 4:59 AM
    Edited by: JingXuan Lim on Jan 25, 2008 5:00 AM

  • Database is hang during shutdown abort (Urgent Production Issue)

    Hi Gurus
    In my production system while shutdown immediate , database was hang.
    When we logged in system and gave shutdown abort its again hang.
    Pls suggest me what could be the reason and how it can be solved
    Thanks

    Tue Oct 21 05:01:09 2008
    Shutting down instance: further logons disabled
    Tue Oct 21 05:45:19 2008
    ksvcreate: Process(q005) creation failed
    Tue Oct 21 05:45:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:45:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:45:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:46:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:47:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:30 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:42 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:48:54 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:06 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:18 2008
    ksvcreate: Process(q000) creation failed
    Tue Oct 21 05:49:24 2008
    Shutting down instance (abort)
    License high water mark = 26
    Termination issued to instance processes. Waiting for the processes to exit
    Tue Oct 21 05:49:35 2008
    Instance termination failed to kill one or more processes
    Tue Oct 21 06:06:43 2008
    Instance terminated by USER, pid = 20613

  • JCAP512 and JCAP6 conflict with concurrent database connectivity

    So here is the situation:
    Environment:
    - We have a production JCAP6 appserver (AIX server 1) running a project pulling data from database A
    - We have 4 JCAP512 domains on AIX Servers 2,3,4 running 4 distinct projects pulling data from server A
    - All project run on a schedule of 5 minutes and login to the server with the same login
    - Database A is SQL Server
    - repository based code
    Scenario:
    - All 5 above processes run concurrently in the greater JCAPS environment.
    - When all 5 processes are running, the JCAP6 process runs fine with no issue but at the same time the 4 JCAP512 processes hang on the database side waiting for a resultset with a wait status of ASYNC_NETWORK_IO
    - As soon as the JCAP6 process completes, all 4 JCAP512 processes start running with no errors. Once the JCAP6 process starts again, same result.
    - We shut off the JCAP6 process and all 4 JCAP512 processes run with no issue
    So after my high-school proof setup above my question comes to what is going on??? All of these processes run on their own isolated physical and application servers. Their only commonaliy is the login to the database. Are there any known database connectivity settings that would limit user transactions if another (same) user connection currently exists?
    Has anybody seen anything like this? Ay assistance would be greatly appreciated.
    Bryan
    Edited by: bgrant88 on Jan 29, 2010 2:15 PM

    I've never worked with the old version of the toolkit, so I don't know how it did things, but looking inside the SQL prep VI, it only generates a command, and the the column name VI wants a recordset. I'm not super familiar with all the internals of ADO, but my understanding is that is standard - you only have the columns after you execute the command and get the recordset back. What you can apparently do here is insert the Execute Prepared SQL VI in the middle and that will return what you need.
    I'm not sure why it worked before. Maybe the execute was hidden inside the prep VI or maybe you can get the column names out of the command object before execution. In general, I would recommend considering switching to the newer VIs.
    Try to take over the world!

  • JDBC Connection Hangs

    I'm using the connection pooling system from Jakarta commons. My database access works fine most of the time, but for some reason sometimes the database hangs. I will try to access the web-app and the login screen will come up fine, but when I try to log in the app will just sit there trying to access the database forever, and from that point on no database access will work. Here is the code I use to get the connections and access the database. Is there anything I am doing wrong that could be causing this?
    import java.sql.DriverManager;
    import java.sql.Connection;
    import javax.sql.DataSource;
    import java.io.PrintWriter;
    import org.apache.commons.pool.ObjectPool;
    import org.apache.commons.pool.impl.GenericObjectPool;
    import org.apache.commons.dbcp.ConnectionFactory;
    import org.apache.commons.dbcp.PoolingDataSource;
    import org.apache.commons.dbcp.PoolableConnectionFactory;
    import org.apache.commons.dbcp.DriverManagerConnectionFactory;
    public class ConnectionManager {
         private static final ConnectionManager INSTANCE = new ConnectionManager();
         //Name of SQL Driver to load
         private static final String DRIVERNAME = "com.mysql.jdbc.Driver";
         private static final String CONNECTSTRING = "jdbc:mysql:///mysite:admin:mypasswd?autoReconnect=true";
         //The actual pool of Database Connections
         private static DataSource dataSource;
         private static ObjectPool connectionPool;
         // Private constructor supresses
         // default public constructor
         private ConnectionManager( ) {
              // Load the Database SQL Driver
              try{
                   Class.forName(DRIVERNAME);
              } catch (java.lang.ClassNotFoundException e) {System.out.println ("Database SQL Driver not found!");}
              try {
                   // First, we'll need a ObjectPool that serves as the
                   // actual pool of connections.
                   // We'll use a GenericObjectPool instance, although
                   // any ObjectPool implementation will suffice.
                   connectionPool = new GenericObjectPool(null);
                   // Next, we'll create a ConnectionFactory that the
                   // pool will use to create Connections.
                   // We'll use the DriverManagerConnectionFactory,
                   // using the connect string passed in the command line
                   // arguments.
                   ConnectionFactory connectionFactory = new DriverManagerConnectionFactory(CONNECTSTRING,null);
                   // Now we'll create the PoolableConnectionFactory, which wraps
                   // the "real" Connections created by the ConnectionFactory with
                   // the classes that implement the pooling functionality.
                   PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(connectionFactory,connectionPool,null,null,false,true);
                   // Finally, we create the PoolingDriver itself,
                   // passing in the object pool we created.
                   // We then save the datasource object to the class for later use in getting connections
                   dataSource = new PoolingDataSource(connectionPool);
                   //System.out.println("Idle: " + connectionPool.getNumIdle() + " - Active: " + connectionPool.getNumActive());
                   } catch (Exception e){}
         //Returns and Instance of the ConnectionManager object (not really necessary)
         public static ConnectionManager getInstance( ) {
              return INSTANCE;
         //Returns a database connection object
         public static Connection getConnection(){
              Connection conn = null;
              try{
                   conn = dataSource.getConnection();
                   } catch(java.sql.SQLException e){
                       System.err.print (e.getStackTrace());
              //System.out.println("Idle: " + connectionPool.getNumIdle() + " - Active: " + connectionPool.getNumActive());
              return conn;
    And here is my database code:
    import java.sql.*;
    import com.mysite.ConnectionManager;
    import java.util.HashMap;
    import java.util.Iterator;
    Manages a database after getting a database connection from a {@url ConnectionManager} object.
    Can do queries and database updates, as well open and close connections.
    public class DatabaseManager {
         private Connection con = null;
         private Statement st;
         private ResultSet rs;
         //The Structure of the Table, used for query operations
         private String[] tableStruct;
         Constructor
         public DatabaseManager(){
         Retrieves a database connection from a {@url ConnectionManager} object.
         @param
         @return
         @see
         public void connect(){
              con = ConnectionManager.getConnection();
         Identifies whether this database connection is still open
         @param
         @return
         @see
         public boolean isClosed() throws java.sql.SQLException{
              return con.isClosed();
         Execute a query on a database connection and get the resultset for that query
         @param queryString A String representing the database query
         @return The results of the query to the database
         @see Statement, ResultSet
         public ResultSet query(String queryString) throws java.sql.SQLException{
              if (con != null){
                   st = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
                   st.executeQuery (queryString);
                   rs = st.getResultSet();
                   return rs;
              else {
                   throw new java.sql.SQLException ("Error has occurred in Datamanager, no Database Connection has been Established.");
         Returns the Number of Rows the last query has executed.
         @return Number of Rows
         public int getRows() throws java.sql.SQLException{
              int count = 0;
              if (rs != null){
                   //get the current row number in case were in the middle of a read and want the size
                   int rowNumber = rs.getRow();
                   rs.beforeFirst();
                   while (rs.next()){
                        count = count + 1;
                   if (rowNumber == 0){
                        rs.beforeFirst();     
                   else {
                        rs.absolute(rowNumber);     
                   return count;
              else {
                   return 0;
         Does a record in a particular table exist.
         @param tableName name of Table to look in
         @param idName Name if Table ID
         @param id value of ID
         @return True if record exists
         @see
         public boolean doesExist(String tableName, String idName, String id) throws java.sql.SQLException{
              query ("SELECT " + idName + " FROM " + tableName + " WHERE " + idName + "='" + id + "';");
              if (getRows() == 1){
                   return true;
              else {
                   return false;
         Update a line (or multiple lines) in the database.
         @param updateString The Update Query String to use to update the database
         @return
         public int update(String updateString) throws SQLException{
              int j = 0;
              try {
                   st = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
                   j = st.executeUpdate (updateString);     
              catch (SQLException e) {
                   throw new SQLException (updateString);
              st.close();
              return j;
         Update a line in the database.
         @param  tableName Name of table to update the line
         @param  items The data to be updated in the table
         @return
         public int update(String tableName, HashMap items, String idname) throws SQLException{
              // UPDATE <tablename> SET name1="value1", name2="value2" WHERE id="idvalue"
              String updateString;
              Iterator keys = items.keySet().iterator();
              Iterator values = items.values().iterator();
              String optionsString = "";
              //Combine the keys into Strings with ,'s separating.
              while (keys.hasNext()){
                   optionsString = optionsString + (String)keys.next() + "=\"" + (String)values.next() + "\",";
              //Chop off the last , in the Strings
              optionsString = optionsString.substring (0, optionsString.length()-1);
              updateString = "UPDATE " + tableName + " SET " + optionsString + " WHERE " + idname + "=" + items.get(idname) + ";";
              return insert (updateString);
         Delete a Record or Records from the database
         @param table Name of the Table to delete data from
         @param whereClause what to delete from the table
         @see
         public void delete(String table, String whereClause) throws SQLException{
              String deleteString;
              deleteString = "DELETE FROM " + table;
              if (whereClause != null) {
                   if (!whereClause.equals("")){
                        deleteString += (" WHERE " + whereClause);
              deleteString += ";";
              st = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
              st.execute (deleteString);
              st.close();
         Inserts a line of data into a database connection under a given table
         @param insertString String Containing the query to send with the Insert Data
         @return Number of Rows Affected
         public int insert(String insertString) throws SQLException{
              int j = 0;
              try {
                   st = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
                   j = st.executeUpdate (insertString);     
              catch (SQLException e){
                   throw new SQLException (insertString);
              st.close();
              return j;
         Inserts a line of data into a database connection under a given table
         @param  tableName Name of table to update the line
         @param  items The data to be updated in the table
         @return Number of Rows Affected
         public int insert(String tableName, HashMap items) throws SQLException{
              // REPLACE INTO <tablename> (itemname1, itemname2) VALUES ("value1", "value2");
              String insertString;
              Iterator keys = items.keySet().iterator();
              Iterator values = items.values().iterator();
              String keysString = "";
              String valuesString = "";
              //Combine the keys into Strings with ,'s separating.
              while (keys.hasNext()){
                   keysString = keysString + (String)keys.next() + ",";
                   valuesString = valuesString + "\"" + (String)values.next() + "\",";
              //Chop off the last , in the Strings
              keysString = keysString.substring (0, keysString.length()-1);
              valuesString = valuesString.substring (0, valuesString.length()-1);
              insertString = "REPLACE INTO " + tableName + " (" + keysString + ") VALUES (" + valuesString + ");";
              return insert (insertString);
         Sets the table structure for subsequent operations.
         @param An array of names that represent a table in a database.
         @return
         @see
         public void setStructure(String[] struc){
              tableStruct = struc;
         Flushes the Statement and ResultSet object
         in case any resources are being used when they
         shouldn't be.
         public void flushSources() throws java.sql.SQLException{
              if (rs != null){
                   rs.close();
                   rs = null;
              if (st != null){
                   st.close();
                   st = null;
         Kills the database connection in this object
         public void close() throws java.sql.SQLException{
              flushSources();
              if (con != null){
                   con.close();     
              con = null;     
         }

    How do I do that, it doesn't even report an error. I could try sticking log traces all over the place, but it may not tell me anything about why the problem is happening.

  • Help! My database connection from BMP Entity bean dies after a while!!!

    Hi all!
    I posted a related post about this lately How do I use connection pooling from BMP Entity Beans in OC4J 10.1.2? but it didn't solve my problems.
    I have some entity beans coded with BMP, so I handle all database stuff myself. I have set up datasources.xml like this:
        <data-source
            class="com.evermind.sql.DriverManagerDataSource"
            name="OracleDS"
            location="jdbc/OracleCoreDS"
            xa-location="jdbc/xa/OracleXADS"
            ejb-location="jdbc/OracleDS"
            connection-driver="oracle.jdbc.driver.OracleDriver"
            username="scott"
            password="tiger"
            url="jdbc:oracle:thin:@//URL TO DB:SID"
            inactivity-timeout="30"
            min-connections="10"
            max-connections="50"
        />All JNDI connection lookup is done through the ejb-location as I should. I have been through all my try {} catch {} finally {} blocks, so ensure that I close all objects after use.
    After a few hours of inactivity, my program dies. I have inserted a lot of debug statements (System.out.println()), and it seems like the program hangs when it's trying to execute a PreparedStatement.
    I.e. it dies when I do ps.ExecuteQuery in the code below (NOTE: to make things easier to read, I have stripped out all error handling here):
        Context ic = new InitialContext();
        DataSource ds = (DataSource)ic.lookup("jdbc/OracleDS");
        c = ds.getConnection();
        System.out.println("DEBUG: Got database connection.");
        PreparedStatement ps = c.prepareStatement("SELECT foobar FROM footable WHERE foo=?");
        System.out.println("DEBUG: Prepared SQL statement.");
        ps.setString(1,"foo");
        ResultSet rs = ps.executeQuery();
        // Close all objects (rs, ps, c) here.My database is on another physical server, so I wonder if this is caused by an unstable network, or?
    Please help!
    ~Morten

    Hi again!
    Sorry for the delay, but I have been busy lately.
    Anyway: Our application server is 10.1.2, so I don't think patch 4307303 is relevant here. Database server is Oracle 9.2.0.6. Everything runs on Linux (of course) ;-).
    Here's a thread dump:
    Full thread dump Java HotSpot(TM) Server VM (1.4.2_04-b05 mixed mode):
    "ApplicationServerThread-8" prio=1 tid=0x089a9448 nid=0x5902 in Object.wait() [885e6000..885e687c]
         at java.lang.Object.wait(Native Method)
         at EDU.oswego.cs.dl.util.concurrent.SynchronousChannel.poll(SynchronousChannel.java:353)
         - locked <0x91a31e60> (a EDU.oswego.cs.dl.util.concurrent.LinkedNode)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask(PooledExecutor.java:767)
         at com.evermind.util.ReleasableResourcePooledExecutor.myGetTask(ReleasableResourcePooledExecutor.java:151)
         at com.evermind.util.ReleasableResourcePooledExecutor.access$000(ReleasableResourcePooledExecutor.java:33)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:190)
         at java.lang.Thread.run(Thread.java:534)
    "AJPRequestHandler-ApplicationServerThread-7" prio=1 tid=0x08d78a58 nid=0x5902 runnable [8b2f4000..8b2f587c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at oracle.net.ns.Packet.receive(Unknown Source)
         at oracle.net.ns.DataPacket.receive(Unknown Source)
         at oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.net.ns.NetInputStream.read(Unknown Source)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:978)
         at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:950)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:434)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:661)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:959)
         at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:693)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1065)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2901)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2942)
         - locked <0x914cad08> (a oracle.jdbc.driver.T4CPreparedStatement)
         - locked <0x920256c0> (a oracle.jdbc.driver.T4CConnection)
         at com.evermind.sql.FilterPreparedStatement.executeQuery(FilterPreparedStatement.java:270)
         at com.evermind.sql.FilterPreparedStatement.executeQuery(FilterPreparedStatement.java:270)
         at com.evermind.sql.PreparedStatementBCELProxy.executeQuery(PreparedStatementBCELProxy.java:31)
         at com.brunata.servicerapport.ejb.CustomerBean.ejbCreate(Unknown Source)
         at CustomerLocalHome_EntityHomeWrapper2.create(CustomerLocalHome_EntityHomeWrapper2.java:420)
         at com.brunata.servicerapport.BeanFactory.getCustomerBean(Unknown Source)
         at com.brunata.servicerapport.CustomerOpenAction.execute(Unknown Source)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at com.brunata.servicerapport.CustomerAuthorizationFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:649)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-23" daemon prio=1 tid=0x092ebb18 nid=0x5902 in Object.wait() [88565000..8856587c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x920000f0> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x920000f0> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "Thread-22" daemon prio=1 tid=0x092eb988 nid=0x5902 in Object.wait() [8dfa0000..8dfa087c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92000188> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x92000188> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "AJPRequestHandler-ApplicationServerThread-6" prio=1 tid=0x08c03240 nid=0x5902 runnable [8b0f1000..8b0f187c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at com.evermind.io.SingleReadBufferInputStream.readChunk(SingleReadBufferInputStream.java:116)
         at com.evermind.io.SingleReadBufferInputStream.read(SingleReadBufferInputStream.java:35)
         at com.evermind.server.http.AJPRequestHandler.readAJPPackets(AJPRequestHandler.java:462)
         at com.evermind.server.http.AJPRequestHandler.initRequest(AJPRequestHandler.java:396)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:185)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    "DestroyJavaVM" prio=1 tid=0x08053278 nid=0x5902 waiting on condition [0..bfffcac4]
    "OC4JMonitorThread" daemon prio=1 tid=0x08d7a5a0 nid=0x5902 in Object.wait() [88667000..8866787c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92aed1f8> (a java.lang.Object)
         at oracle.ons.NotificationQueue.internalDequeue(NotificationQueue.java:253)
         - locked <0x92aed1f8> (a java.lang.Object)
         at oracle.ons.NotificationQueue.dequeue(NotificationQueue.java:226)
         at oracle.ons.Subscriber.receive(Subscriber.java:136)
         at com.evermind.server.OC4JMonitorThread.run(OC4JMonitorThread.java:315)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-6" daemon prio=1 tid=0x087f9f98 nid=0x5902 in Object.wait() [886e8000..886e887c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92aed368> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:429)
         at oracle.ons.NotificationQueue.internalDequeue(NotificationQueue.java:255)
         - locked <0x92aed368> (a java.lang.Object)
         at oracle.ons.NotificationQueue.dequeue(NotificationQueue.java:215)
         at oracle.ons.SenderThread.run(SenderThread.java:81)
    "Thread-5" daemon prio=1 tid=0x087f9d10 nid=0x5902 runnable [88769000..8876987c]
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at oracle.ons.InputBuffer.readMoreData(InputBuffer.java:267)
         at oracle.ons.InputBuffer.getNextString(InputBuffer.java:222)
         at oracle.ons.ReceiverThread.run(ReceiverThread.java:228)
    "TaskManager" prio=1 tid=0x087f9b30 nid=0x5902 waiting on condition [887ea000..887ea87c]
         at java.lang.Thread.sleep(Native Method)
         at com.evermind.util.TaskManager.run(TaskManager.java:247)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "Thread-4" prio=1 tid=0x08ca2fb8 nid=0x5902 in Object.wait() [891e2000..891e287c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0x92aee258> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:429)
         - locked <0x92aee258> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)
    "AJPConnectionListener [0.0.0.0/0.0.0.0:3302]" prio=1 tid=0x086f1668 nid=0x5902 runnable [8a7ca000..8a7ca87c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x927a0390> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at com.evermind.server.http.AJPConnectionListener.run(AJPConnectionListener.java:60)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "RMIServer [0.0.0.0:3202] count:2" prio=1 tid=0x086cbff0 nid=0x5902 runnable [8b172000..8b17287c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x927a0850> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at com.evermind.server.rmi.RMIServer.run(RMIServer.java:464)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "JMSServer[webprod:3702]" prio=1 tid=0x0879aff0 nid=0x5902 runnable [8b1f3000..8b1f387c]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
         - locked <0x92746aa0> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:448)
         at java.net.ServerSocket.accept(ServerSocket.java:419)
         at com.evermind.server.jms.JMSServer.run(JMSServer.java:516)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    "LogFlusher" daemon prio=1 tid=0x081b91a0 nid=0x5902 waiting on condition [8b274000..8b27487c]
         at java.lang.Thread.sleep(Native Method)
         at oracle.core.ojdl.BufferedLogWriter$Flusher.run(BufferedLogWriter.java:354)
    "Signal Dispatcher" daemon prio=1 tid=0x080ba9e0 nid=0x5902 waiting on condition [0..0]
    "Finalizer" daemon prio=1 tid=0x080b61a8 nid=0x5902 in Object.wait() [8e9a7000..8e9a787c]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0x925b0378> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=1 tid=0x080b5dc8 nid=0x5902 in Object.wait() [8ea28000..8ea2887c]
         at java.lang.Object.wait(Native Method)
         at java.lang.Object.wait(Object.java:429)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
         - locked <0x925b02a0> (a java.lang.ref.Reference$Lock)
    "VM Thread" prio=1 tid=0x080b52e0 nid=0x5902 runnable
    "VM Periodic Task Thread" prio=1 tid=0x080bee08 nid=0x5902 waiting on condition
    "Suspend Checker Thread" prio=1 tid=0x080b9fc8 nid=0x5902 runnable As far as I can see, my PreparedStatement (or connection) is locked.... Any ideas?
    ~Morten ;-)

  • Connection Hangs

    Hi All,
    Platform : Oracle - 10.1.0.4.0
    OS - HP-UX B11.23
    PeopleSoft -8.11 P1
    From the People Soft logs we get an error;
    12241/1 WRK:Init Remote Env Token  
    OCI0000141 - Error - ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    HPUX-ia64 Error: 2: No such file or directory
    The connection hangs and we need to re-start the application to get back to normal.
    But this error (0RA-27101) is not reported in database Alert Logs. The oracle is available when we access through sql*plus

    Hi,
    To resolve this issue with ORA-27101, you should be sure that ORACLE_HOME and ORACLE_SID are correct, and ORACLE_HOME should not have trailing slash.
    The error will appear on the client side and not in the alert log.
    Thanks
    Soundappan

  • Jdbc connection hang?

    I used thin JDBC driver 9.0.1 comes with oracle 9i.
    However, the connection hang in heavy load.
    1. I try to check isClosed(), then reopen is more stable but problem is still exist.
    2. It's more stable than 1. when do.. getConnection, do job and Close it. But another application connect more difficult get some error like 'not found oracle realm' or something.
    Anybody has comment?
    Thanks,
    Kittikun Potivanakul
    [email protected]

    Hi to all and sorry for the delay of my reply.
    I am not using RAC. After setting of the system property +"-Djava.security.egd=file:///dev/random"+ it has solved the +"Connection reset"+ problem, but after about one hour I get +"Connection closed"+ from each connection of the pool when the application uses it.
    The pool uses the implicit cache mechanism of Oracle. Follow the properties of cache:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <comment> Oracle connection pool configuration file. </comment>
    <!-- Sets how many connections are created in the cache when it is created or reinitialized -->
    <entry key="InitialLimit">0</entry>
    <!-- Sets the minimum number of connections the cache maintains. -->
    <entry key="MinLimit">0</entry>
    <!-- Sets the maximum number of connection instances the cache can hold. If missing no limit-->
    <entry key="MaxLimit">10</entry>
    <!-- Sets the maximum time a physical connection can remain idle in a connection cache.
    An idle connection is one that is not active and does not have a logical handle associated with it. -->
    <entry key="InactivityTimeout">240</entry>
    <!-- Sets the maximum time that a connection can remain unused before the connection is closed and returned to the cache.
         A connection is considered unused if it has not had SQL database activity. -->
    <entry key="AbandonedConnectionTimeout">240</entry>
    <!-- If no connection is returned to the cache before the timeout elapses, then the connection request returns null. -->
    <entry key="ConnectionWaitTimeout">5</entry>
    <!-- If true causes the connection cache to test every connection it retrieves against the underlying database. If a valid connection cannot be retrieved, then an exception is thrown. -->
    <entry key="ValidateConnection">true</entry>
    </properties>
    Edited by: user12098943 on Aug 24, 2011 10:31 AM

  • "Database Upgrade" hangs at 0% during "Completing the Installation" phase

    I 'm now installing the EGRCM8.6.3.4000 environment.
    "Database Upgrade" hangs at 0% during "Completing the Installation" phase.
    I checked the grc.log, and found the following WARN and DEBUG messages.
    2012-07-20 02:40:05,544 WARN [Thread-35] DBConfigManager:1425 Database is not initialized yet.
    2012-07-20 03:31:10,412 DEBUG [el.Default (self-tuning)'] GrcConfig:2530 Could not get value for key 'grc.sso.enabled' due to data base is not ready.
    The connection to DB is OK, and the status of DB instance is open now.
    I can't figure out why the console said "Database is not initialized yet".
    Does anyone have a clue about it?
    Thanks in advance.
    Kai

    Hi yasir,
    Thanks for your response.
    I haven't finished the installation yet.
    "Completing the Installation" I mentioned in previous thread referred to the final installation phase.
    After I entered GRC URL (http://hostname:port/grc), the "Database Upgrade" screen hanged at 0% and cannot proceed.
    From the grc.log, I can read that the connection seemed OK, and the database also worked well through SQLPLUS.
    I am wondering why it happens.
    Thanks & Regards,
    Kai
    Edited by: 917394 on Aug 1, 2012 7:21 PM

  • Liferay Counter Service database connection timeout

    Hello,
           We are using OEID 2.4 version , the issue is that database connection between studio and the liferay db (SQL Server) was dropped when the SQL Server database is restarted or bounced . After then, users cannot login to Endeca studio application. To resolve the issue we are manually bouncing the Studio to re-establish the connection. Is there any workaround to fix this issue.
    Please could you give your suggestions as early as possible, we are looking for the solution urgently. Any help is highly appreciated.
    Thanks,
    Laxmana

    Please open a support request and quote bug number 18518702.

  • OJMS Database Connection Leak

    We have configured OJMS for JMS persistence in our application, what we have noticed is that application server seems to open 1 database connection for every new JMS connection. But if the JMS connection is closed the database connections seems to be alive. We are facing some random patterns regarding the connections being open, over a period of time the application seems to run out of database connections since all the connections are being acquired by OJMS.
    This is really urgent we are in the post-production phase and this problem is hindering the go-live phase.

    rakeshk wrote:
    Hi Pointer,
    Thank you for the reply, we are using 10.1.3 version of application server. We have tested this both on Windows & Unix flavours and getting the same result. As suggested in the documentation we have configured the datasource connection pool accordingly but no result at all.
    We have around 20 threads running in the application and each thread acquires a independent JMS connection, what we have noticed is that for every thread in the application App Server is acquiring 2 database connection 1 for the JMS connection and the other for the JMS Destination. So whats happening is the moment the application is deployed and the threads are started we noticed around 40 connection being taken by OJMS. For the connection factory we have configured private connection pool. I dont know where we are going wrong.
    -rakeshHi Rakesh,
    I believe you may need to look into your application code and check how many connetions are been opened when a single user logins in to your application.Normally this behaviour is managed by OAS when you set Initial/Min cache parameter;however as a workaround try setting DB profile on the database inorder not to overflow the jdbc connections and from application prespective redcue the initial/min cache parameters and increase the Max connections, in addition set a lower inactivity timeout after monitoring the behaviour and response time of your application pages.
    If you problem still persists , i would recommend to log on an SR with oracle support.
    HTH !!
    Regards,
    ~Pointer

  • 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