Tool to debug stuck database connections

Hi,
Is there a tool available to trace stuck database connections in 81sp3? I'm noticing that during peak usage, some connections are not getting released to the pool properly and they are appearing in the server logs as inactive connections after sometime. I need to get some stats on these connections (preferably what activity the connections are doing).
Best Regards,
Prithwish

the below stack trace is also appearing sometimes in the logs:
<Mar 24, 2007 10:15:05 AM GMT> <Error> <JDBC> <BEA-001035> <The following error has occured: XA operation failed : oracle.jdbc.xa.OracleXAException
     at oracle.jdbc.xa.client.OracleXAResource.prepare(Ljavax.transaction.xa.Xid;)I(OracleXAResource.java:763)
     at weblogic.jdbc.wrapper.VendorXAResource.prepare(Ljavax.transaction.xa.Xid;)I(VendorXAResource.java:70)
     at weblogic.jdbc.jta.DataSource.prepare(Ljavax.transaction.xa.Xid;)I(DataSource.java:881)
     at weblogic.transaction.internal.XAServerResourceInfo.prepare(Lweblogic.transaction.internal.ServerTransactionImpl;Ljavax.transaction.xa.Xid;)I(XAServerResourceInfo.java:1195)
     at weblogic.transaction.internal.XAServerResourceInfo.prepare(Lweblogic.transaction.internal.ServerTransactionImpl;)I(XAServerResourceInfo.java:411)
     at weblogic.transaction.internal.ServerSCInfo$1.execute(Lweblogic.kernel.ExecuteThread;)V(ServerSCInfo.java:253)
     at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
     at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
.>
<Mar 24, 2007 10:15:05 AM GMT> <Debug> <JDBC> <BEA-001036> <Connection weblogic.jdbc.common.internal.ConnectionEnv@94affd2 previously reserved from Pool nexus_connection_pool by:
java.lang.Throwable
     at weblogic.jdbc.common.internal.ConnectionPool.release(Lweblogic.jdbc.common.internal.ConnectionEnv;)V(ConnectionPool.java:549)
     at weblogic.jdbc.common.internal.ConnectionPoolManager.release(Lweblogic.jdbc.common.internal.ConnectionEnv;)V(ConnectionPoolManager.java:105)
     at weblogic.jdbc.wrapper.XAConnection.releaseToPool()V(XAConnection.java:318)
     at weblogic.jdbc.jta.DataSource.removeTxAssoc(Lweblogic.transaction.Transaction;)V(DataSource.java:1464)
     at weblogic.jdbc.jta.DataSource.commit(Ljavax.transaction.xa.Xid;Z)V(DataSource.java:998)
     at weblogic.transaction.internal.XAServerResourceInfo.commit(Lweblogic.transaction.internal.ServerTransactionImpl;Ljavax.transaction.xa.Xid;ZZ)V(XAServerResourceInfo.java:1251)
     at weblogic.transaction.internal.XAServerResourceInfo.commit(Lweblogic.transaction.internal.ServerTransactionImpl;ZZZ)Z(XAServerResourceInfo.java:482)
     at weblogic.transaction.internal.ServerSCInfo.startCommit(Lweblogic.transaction.internal.ServerTransactionImpl;ZZ)V(ServerSCInfo.java:421)
     at weblogic.transaction.internal.ServerTransactionImpl.localCommit(ZZ)V(ServerTransactionImpl.java:1803)
     at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(II)V(ServerTransactionImpl.java:2434)
     at weblogic.transaction.internal.ServerTransactionImpl.globalCommit()V(ServerTransactionImpl.java:2365)
     at weblogic.transaction.internal.ServerTransactionImpl.internalCommit()V(ServerTransactionImpl.java:278)
     at weblogic.transaction.internal.ServerTransactionImpl.commit()V(ServerTransactionImpl.java:244)
     at weblogic.ejb20.internal.BaseEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBObject.java:299)
     at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(StatelessEJBObject.java:140)
     at com.db.staging.processors.InboundProcessor_s2z8ea_EOImpl.processMessage(Ljava.lang.String;)V(InboundProcessor_s2z8ea_EOImpl.java:56)
     at com.db.staging.mdb.InboundMessageListener.onMessage(Ljavax.jms.Message;)V(InboundMessageListener.java:205)
     at weblogic.ejb20.internal.MDListener.execute(Lweblogic.kernel.ExecuteThread;)V(MDListener.java:370)
     at weblogic.ejb20.internal.MDListener.onMessage(Ljavax.jms.Message;)V(MDListener.java:262)
     at weblogic.ejb20.internal.ContinuousJMSMessagePoller.processOneMessage(Z)Z(ContinuousJMSMessagePoller.java:130)
     at weblogic.ejb20.internal.JMSMessagePoller.pollContinuously()V(JMSMessagePoller.java:334)
     at weblogic.ejb20.internal.ContinuousJMSMessagePoller.pollForParent()V(ContinuousJMSMessagePoller.java:211)
     at weblogic.ejb20.internal.JMSMessagePoller.execute(Lweblogic.kernel.ExecuteThread;)V(JMSMessagePoller.java:466)
     at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
     at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
     at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)

Similar Messages

  • Monitoring/debug the database connection process

    Hi,
    I am trying to define a new database connection using the JDBC-ODBC Bridge (trying to connect to a legacy apps), and keep getting an error message from the ODBC driver manager, which work perfectly fine outside the JDev environment.
    Is there a way for me to monitor/debug the database connection process, prior to a successful test connection, in order for me to find out exactly where/what the problem is?
    Thanks for the help,
    Arie.

    Repost

  • 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 ;-)

  • How to read a passward protected excel file with the help of database connectivity tool kit

    hi, i was reading an excel file with the help of database connectivity tool kit in labview 8.0
    i made tabels in the excel file nand made odbc connection and specified the workbbok name.
    now my problem is how to read the same file if i specife a pasword to that excel file ?

    Hi,
    Check out this thread about opening a password-protected Excel file using ActiveX. This should take care of it for you!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Processes 'stuck' after problems with database connection

    First in the production environment, during database failover (MSSQL Server cluster), and later in testing, we encountered processes that are 'stuck' on some random operation. Admin console doesn't show stalled operation or branches, process is running, all operations are completed except last which was in several cases still in status Running, and in one case it was Completed but next operation was not started.
    When operation is still running one would expect to select it and click 'Retry' in hope that process will continue but it seems there exist a bug in "Process Instance Detail" part of the admin console - it gives an error: "This operation cannot be completed without the selection of one or more operations from the list below!"
    We can try using 'Terminate' for this operation and probably several that follow (because they would probably stall without data from first terminated operation) in hope that process which runs in big user loop can arrive at a step where it can recover from all this using existing data but it's messy and doesn't always work.
    When the operation is in status Completed admin cannot do anything at all. This completed operation cannot be retried or terminated because selection box is grayed out. Process and data in it is irrecoverably lost and must be initiated from start.
    I must say we had large problems before if database connection is lost even for few seconds (intentional fail over from one db node to another) - but now, when we filled check-connection-sql in datasource configuration Livecycle is behaving a lot better but still with above problems.
    How can it happen that LC stops executing process workflow and stops on some operation just because it wasn't able to get valid db connection for several seconds? Is it some problem with transactions or what? What can I do? Where to look?
    We are still on LC ES2 SP3. JBoss on Windows Server 2003 and MSSQL 2005.
    Any help is appreciated.

    I would suggest you to contact the Adobe support so they can look further in system as well as LC database.

  • Tables not displayed in ODBC database connection (9.0.3.1035 Prod)

    Hi,
    In 9.0.3 production release, I have created a ODBC connection to a data source. When I open the connection, it shows all the schemas, but when I expand to see the tables, it shows none. I have tested the same in 9.0.2 and it works there. In Tools->Preferences->Database Connection, the two check boxes for "Show all oracle schemas" and "Generate PL/SQL debug " are turned off.
    I ran an SQL select in "SQL worksheet" on one of the tables wihtout any problems, but the tables do not show up under schema.
    Any suggestions?
    Thanks, Raju

    What database/odbc driver are you using? It's possible that the way the driver is returning the metadata that JDev can't figure out where the tables are located.
    Rob

  • Open Database Connections

    I've ported some code over from LabVIEW7.1 to 8.6 which updates a table in a MYSQL database.  The problem is that the new code leaves a database connection open after execution (while the 7.1 code does not).  I would like to know if anyone has seen this behavior and if they know a fix, and if not, how would they go about debugging this problem.
    I am using the MYSQL ODBC connector, version 5.1.
    Some observations:
    1. This vi is part of a TestStand 4.2 sequence, and the sequence writes results at the end of testing using TestStand's built in functionality to do this.  What's notable is that unlike the vi, the database connection used to write the results is closed properly.
    2. I've used the "trace" tool in windows ODBC panel but the information is overwhelming large, cryptic and doesn't  contain recognizable strings.  To reduce the size of the file I tried to start and stop it so that it was tracing only during the execution of the vi.
    This didn't work - the tool did not record any information.
    3. Stepping through the vi...
         a. The database connection problem does not appear.
         b. The error cluster is always empty indicating no errors have ocurred.
    4. No errors happen during normal execution.
    5. I've added delays of 5 seconds between some of the database vi calls and still the database connection is left open.
    The vi that's causing the problem is attached.
    Thanks in advance.
    Attachments:
    Read_Write Cal Data For Badger.vi ‏36 KB

    You have a clean error in the middle, but i dont see how that should cause this. I reacted a little to the Select query using double quotes instead of single ones, NID="***"; instead of NID='***';
    Might that be a reason?
    Unpacking that sequence made it easier to read, i might add.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Database connection with JRC and CR Viewer version

    Hi,
    I'm upgrading Crystalreportviewer11 to Crystalreportviewer115. I know, I need this directories: WEB_INF\Lib, WEB-INF\Classes and Crystalreportviewer115.
    Crystalreportviewer115 I take from C:\Program Files\Business Objects\common\3.5\ Crystalreportsviewer115. There is file CrConfig.xml (CrystalreportEngine.xml) in Program Files\Common Files\Business Objects\3.5\java. This file belongs to WEB-INF\Classes. But I don't know the path to find .jar files (.jar files belong to WEB_INF\Lib).
    My context.xml looks:
    My web.xml looks:
    name_appl
    Zobrazeni reportu
    crystal_image_uri
    crystalreportviewers115
    My CrystalreportEngine.xml looks:
    ../../../E3/Reports_CR11
    10
    B6W64-010S200-000KA2W-8WT1
    In this code I changed version of crystalreportviewer, other is the same. I don't know, if I should change the keycode too. This keycode was used for Crystalreportviewer11. Is it the same for Crystalreportsviewer115 or different?
    I deployed my directory WebReports to Tomcat (by Tomcat Manager). The variables are Context Path= /CRV and Configuration file URL= file:C:\WebReports\context.xml. The deploying was succesful. Then I set in Tomcat administration tool the jdbc connection. (Tomcat Server -> Service (Catalina) -> Host (localhost) -> Context (/CRV) -> Resources -> Environment Entries and Environment Entry Actions on the right tab)
    I set Name= jdbc/INFO, Type= java.lang.String, Value=
    !oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{ password}}@{server}:{port}:{oracle instance name}. I saved changes and commited them.I restarted Apache Tomcat service.
    I run the report. It always open a new database connection. I check user ID and password, click OK. But the report isn't running, i can't see this report in CR Viewer. But I see Database Logon screen again. Where is a problem?
    What can I set up in Tomcat administration tool yet?
    Have you some tips for upgrading CR Viewer11 to 115?
    Regards,
    Veronika

    Thank you for your answer.Please, do you know, where should I search all new .jar files? (for my WEB-INF/lib directory).
    My last logs (after running report and connection) look:
    admin log:
    +30.10.2007 14:36:22 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:36:22 org.apache.catalina.core.ApplicationContext log+
    INFO: action: tree param is null
    +30.10.2007 14:36:22 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Select event on Globally Administer Data Sources
    +30.10.2007 14:37:52 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:37:52 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Tree expand/contract on Catalina:type=Service,serviceName=Catalina
    +30.10.2007 14:37:52 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Found Node: Catalina:type=Service,serviceName=Catalina
    +30.10.2007 14:37:53 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:37:53 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Tree expand/contract on Catalina:type=Host,host=localhost
    +30.10.2007 14:37:53 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Found Node: Catalina:type=Host,host=localhost
    +30.10.2007 14:37:55 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:37:55 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Tree expand/contract on Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
    +30.10.2007 14:37:55 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Found Node: Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
    +30.10.2007 14:38:00 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:38:00 org.apache.catalina.core.ApplicationContext log+
    INFO: action: tree param is null
    +30.10.2007 14:38:00 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Select event on Context Environment Entries Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
    +30.10.2007 14:38:23 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:38:23 org.apache.catalina.core.ApplicationContext log+
    INFO: action: tree param is null
    +30.10.2007 14:38:23 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Select event on Globally Administer Data Sources
    +30.10.2007 14:38:37 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:38:37 org.apache.catalina.core.ApplicationContext log+
    INFO: action: tree param is null
    +30.10.2007 14:38:37 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Select event on Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
    +30.10.2007 14:38:40 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:38:40 org.apache.catalina.core.ApplicationContext log+
    INFO: action: tree param is null
    +30.10.2007 14:38:40 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Select event on Context Environment Entries Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
    +30.10.2007 14:38:50 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:38:50 org.apache.catalina.core.ApplicationContext log+
    INFO: action: tree param is null
    +30.10.2007 14:38:50 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Select event on Context Data Sources Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
    +30.10.2007 14:41:04 org.apache.catalina.core.ApplicationContext log+
    SEVERE: action: Error invoking operation addResource
    javax.management.RuntimeOperationsException: Exception invoking method addResource
    +     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:511)+
    +     at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source)+
    +     at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)+
    +     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)+
    +     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)+
    +     at org.apache.webapp.admin.resources.SaveDataSourceAction.execute(SaveDataSourceAction.java:178)+
    +     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:1192)+
    +     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:430)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
    +     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)+
    +     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
    +     at org.apache.webapp.admin.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:123)+
    +     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)+
    +     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
    +     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)+
    +     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)+
    +     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)+
    +     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)+
    +     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)+
    +     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)+
    +     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)+
    +     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)+
    +     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)+
    +     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)+
    +     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)+
    +     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)+
    +     at java.lang.Thread.run(Unknown Source)+
    Caused by: java.lang.NullPointerException
    +     at org.apache.catalina.mbeans.MBeanUtils.createObjectName(MBeanUtils.java:846)+
    +     at org.apache.catalina.mbeans.NamingResourcesMBean.addResource(NamingResourcesMBean.java:230)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)+
    +     at java.lang.reflect.Method.invoke(Unknown Source)+
    +     at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:501)+
    +     ... 29 more+
    +30.10.2007 14:47:06 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Entered TreeControlTestAction:perform()
    +30.10.2007 14:47:06 org.apache.catalina.core.ApplicationContext log+
    INFO: action: tree param is null
    +30.10.2007 14:47:06 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Select event on Context Environment Entries Catalina:j2eeType=WebModule,name=//localhost/CRV,J2EEApplication=none,J2EEServer=none
    +30.10.2007 14:50:24 org.apache.catalina.core.ApplicationContext log+
    INFO: action: Debugging -- changes saved to conf/server.xml
    catalina log
    +31.10.2007 8:22:31 org.apache.coyote.http11.Http11Protocol init+
    INFO: Initializing Coyote HTTP/1.1 on http-8200
    +31.10.2007 8:22:31 org.apache.catalina.startup.Catalina load+
    INFO: Initialization processed in 1141 ms
    +31.10.2007 8:22:32 org.apache.catalina.core.StandardService start+
    INFO: Starting service Catalina
    +31.10.2007 8:22:32 org.apache.catalina.core.StandardEngine start+
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    +31.10.2007 8:22:32 org.apache.catalina.core.StandardHost start+
    INFO: XML validation disabled
    +31.10.2007 8:22:35 org.apache.coyote.http11.Http11Protocol start+
    INFO: Starting Coyote HTTP/1.1 on http-8200
    +31.10.2007 8:22:35 org.apache.jk.common.ChannelSocket init+
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    +31.10.2007 8:22:35 org.apache.jk.server.JkMain start+
    INFO: Jk running ID=0 time=0/30  config=null
    +31.10.2007 8:22:35 org.apache.catalina.storeconfig.StoreLoader load+
    INFO: Find registry server-registry.xml at classpath resource
    +31.10.2007 8:22:35 org.apache.catalina.startup.Catalina start+
    INFO: Server startup in 3846 ms
    host - manager log is empty
    jacarta service log
    +[2007-10-30 08:32:20] [info] Running Service...+
    +[2007-10-30 08:32:20] [info] Starting service...+
    +[2007-10-30 08:32:22] [info] Service started in 1992 ms.+
    +[2007-10-30 10:29:40] [info] Service STOP signaled+
    +[2007-10-30 10:29:40] [info] Stopping service...+
    +[2007-10-30 10:29:43] [info] Service stopped.+
    +[2007-10-30 10:29:43] [info] Run service finished.+
    +[2007-10-30 10:29:43] [info] Procrun finished.+
    +[2007-10-30 10:29:49] [info] Running Service...+
    +[2007-10-30 10:29:49] [info] Starting service...+
    +[2007-10-30 10:29:50] [info] Service started in 1672 ms.+
    +[2007-10-30 11:10:11] [info] Service STOP signaled+
    +[2007-10-30 11:10:11] [info] Stopping service...+
    +[2007-10-30 11:10:13] [info] Service stopped.+
    +[2007-10-30 11:10:13] [info] Run service finished.+
    +[2007-10-30 11:10:13] [info] Procrun finished.+
    +[2007-10-30 11:10:16] [info] Running Service...+
    +[2007-10-30 11:10:16] [info] Starting service...+
    +[2007-10-30 11:10:17] [info] Service started in 1321 ms.+
    +[2007-10-30 11:23:33] [info] Service STOP signaled+
    +[2007-10-30 11:23:33] [info] Stopping service...+
    +[2007-10-30 11:23:34] [info] Service stopped.+
    +[2007-10-30 11:23:34] [info] Run service finished.+
    +[2007-10-30 11:23:34] [info] Procrun finished.+
    +[2007-10-30 11:23:38] [info] Running Service...+
    +[2007-10-30 11:23:38] [info] Starting service...+
    +[2007-10-30 11:23:39] [info] Service started in 1261 ms.+
    +[2007-10-30 14:50:27] [info] Service STOP signaled+
    +[2007-10-30 14:50:27] [info] Stopping service...+
    +[2007-10-30 14:50:28] [info] Service stopped.+
    +[2007-10-30 14:50:28] [info] Run service finished.+
    +[2007-10-30 14:50:28] [info] Procrun finished.+
    +[2007-10-30 14:50:33] [info] Running Service...+
    +[2007-10-30 14:50:33] [info] Starting service...+
    +[2007-10-30 14:50:34] [info] Service started in 1271 ms.+
    +[2007-10-30 15:11:53] [info] Service STOP signaled+
    +[2007-10-30 15:11:53] [info] Stopping service...+
    +[2007-10-30 15:11:55] [info] Service stopped.+
    +[2007-10-30 15:11:55] [info] Run service finished.+
    +[2007-10-30 15:11:55] [info] Procrun finished.+
    +[2007-10-30 15:12:01] [info] Running Service...+
    +[2007-10-30 15:12:01] [info] Starting service...+
    +[2007-10-30 15:12:02] [info] Service started in 1281 ms.+
    +[2007-10-30 15:13:44] [info] Service STOP signaled+
    +[2007-10-30 15:13:44] [info] Stopping service...+
    +[2007-10-30 15:13:46] [info] Service stopped.+
    +[2007-10-30 15:13:46] [info] Run service finished.+
    +[2007-10-30 15:13:46] [info] Procrun finished.+
    +[2007-10-30 15:13:48] [info] Running Service...+
    +[2007-10-30 15:13:48] [info] Starting service...+
    +[2007-10-30 15:13:50] [info] Service started in 1291 ms.+
    +[2007-10-30 15:57:49] [info] Console SHUTDOWN event signaled+
    +[2007-10-30 15:57:49] [info] Stopping service...+
    +[2007-10-30 15:57:50] [info] Service stopped.+
    +[2007-10-30 15:57:50] [info] Run service finished.+
    +[2007-10-30 15:57:50] [info] Procrun finished.+
    localhost log
    +30.10.2007 8:32:31 org.apache.catalina.core.ApplicationContext log+
    +INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
    +30.10.2007 9:39:30 org.apache.catalina.core.StandardWrapperValve invoke+
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    +     at org.apache.jsp.param_jsp._jspService(org.apache.jsp.param_jsp:61)+
    +     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
    +     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)+
    +     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)+
    +     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
    +     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)+
    +     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
    +     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)+
    +     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)+
    +     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)+
    +     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)+
    +     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)+
    +     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)+
    +     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)+
    +     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)+
    +     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)+
    +     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)+
    +     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)+
    +     at java.lang.Thread.run(Unknown Source)+
    +30.10.2007 10:29:56 org.apache.catalina.core.ApplicationContext log+
    +INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
    +30.10.2007 11:10:20 org.apache.catalina.core.ApplicationContext log+
    +INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
    +30.10.2007 11:23:42 org.apache.catalina.core.ApplicationContext log+
    +INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
    +30.10.2007 14:45:58 org.apache.catalina.core.StandardWrapperValve invoke+
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    +     at org.apache.jsp.param_jsp._jspService(org.apache.jsp.param_jsp:61)+
    +     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
    +     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)+
    +     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)+
    +     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)+
    +     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)+
    +     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)+
    +     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)+
    +     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)+
    +     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)+
    +     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)+
    +     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)+
    +     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)+
    +     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)+
    +     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)+
    +     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)+
    +     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)+
    +     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)+
    +     at java.lang.Thread.run(Unknown Source)+
    +30.10.2007 14:50:40 org.apache.catalina.core.ApplicationContext log+
    +INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
    +30.10.2007 15:12:08 org.apache.catalina.core.ApplicationContext log+
    +INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
    +30.10.2007 15:13:52 org.apache.catalina.core.ApplicationContext log+
    +INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]+
    stderr log
    +30.10.2007 8:32:23 org.apache.coyote.http11.Http11Protocol init+
    INFO: Initializing Coyote HTTP/1.1 on http-8200
    +30.10.2007 8:32:23 org.apache.catalina.startup.Catalina load+
    INFO: Initialization processed in 1392 ms
    +30.10.2007 8:32:23 org.apache.catalina.core.StandardService start+
    INFO: Starting service Catalina
    +30.10.2007 8:32:23 org.apache.catalina.core.StandardEngine start+
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    +30.10.2007 8:32:23 org.apache.catalina.core.StandardHost start+
    INFO: XML validation disabled
    +30.10.2007 8:32:31 org.apache.coyote.http11.Http11Protocol start+
    INFO: Starting Coyote HTTP/1.1 on http-8200
    +30.10.2007 8:32:32 org.apache.jk.common.ChannelSocket init+
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    +30.10.2007 8:32:32 org.apache.jk.server.JkMain start+
    INFO: Jk running ID=0 time=0/210  config=null
    +30.10.2007 8:32:32 org.apache.catalina.storeconfig.StoreLoader load+
    INFO: Find registry server-registry.xml at classpath resource
    +30.10.2007 8:32:32 org.apache.catalina.startup.Catalina start+
    INFO: Server startup in 9113 ms
    +30.10.2007 10:29:40 org.apache.coyote.http11.Http11Protocol pause+
    INFO: Pausing Coyote HTTP/1.1 on http-8200
    +30.10.2007 10:29:41 org.apache.catalina.core.StandardService stop+
    INFO: Stopping service Catalina
    +30.10.2007 10:29:43 org.apache.coyote.http11.Http11Protocol destroy+
    INFO: Stopping Coyote HTTP/1.1 on http-8200
    +30.10.2007 10:29:51 org.apache.coyote.http11.Http11Protocol init+
    INFO: Initializing Coyote HTTP/1.1 on http-8200
    +30.10.2007 10:29:51 org.apache.catalina.startup.Catalina load+
    INFO: Initialization processed in 1281 ms
    +30.10.2007 10:29:51 org.apache.catalina.core.StandardService start+
    INFO: Starting service Catalina
    +30.10.2007 10:29:51 org.apache.catalina.core.StandardEngine start+
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    +30.10.2007 10:29:51 org.apache.catalina.core.StandardHost start+
    INFO: XML validation disabled
    +30.10.2007 10:29:56 org.apache.catalina.session.StandardManager doLoad+
    SEVERE: IOException while loading persisted sessions: java.io.IOException: Unable to recover report source
    java.io.IOException: Unable to recover report source
    +     at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.readExternal(Unknown Source)+
    +     at java.io.ObjectInputStream.readExternalData(Unknown Source)+
    +     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)+
    +     at java.io.ObjectInputStream.readObject0(Unknown Source)+
    +     at java.io.ObjectInputStream.readObject(Unknown Source)+
    +     at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1371)+
    +     at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:903)+
    +     at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)+
    +     at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)+
    +     at org.apache.catalina.session.StandardManager.start(StandardManager.java:634)+
    +     at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)+
    +     at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:391)+
    +     at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1042)+
    +     at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)+
    +     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
    +     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)+
    +     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)+
    +     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)+
    +     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)+
    +     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)+
    +     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)+
    +     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)+
    +     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)+
    +     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)+
    +     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
    +     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)+
    +     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)+
    +     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)+
    +     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)+
    +     at org.apache.catalina.core.StandardService.start(StandardService.java:450)+
    +     at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)+
    +     at org.apache.catalina.startup.Catalina.start(Catalina.java:537)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)+
    +     at java.lang.reflect.Method.invoke(Unknown Source)+
    +     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)+
    +     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)+
    +30.10.2007 10:29:56 org.apache.catalina.session.StandardManager start+
    SEVERE: Exception loading sessions from persistent storage
    java.io.IOException: Unable to recover report source
    +     at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.readExternal(Unknown Source)+
    +     at java.io.ObjectInputStream.readExternalData(Unknown Source)+
    +     at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)+
    +     at java.io.ObjectInputStream.readObject0(Unknown Source)+
    +     at java.io.ObjectInputStream.readObject(Unknown Source)+
    +     at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1371)+
    +     at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:903)+
    +     at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:393)+
    +     at org.apache.catalina.session.StandardManager.load(StandardManager.java:320)+
    +     at org.apache.catalina.session.StandardManager.start(StandardManager.java:634)+
    +     at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:431)+
    +     at org.apache.catalina.startup.ContextConfig.managerConfig(ContextConfig.java:391)+
    +     at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1042)+
    +     at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)+
    +     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
    +     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)+
    +     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)+
    +     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)+
    +     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)+
    +     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)+
    +     at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)+
    +     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)+
    +     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)+
    +     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)+
    +     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)+
    +     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)+
    +     at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)+
    +     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)+
    +     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)+
    +     at org.apache.catalina.core.StandardService.start(StandardService.java:450)+
    +     at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)+
    +     at org.apache.catalina.startup.Catalina.start(Catalina.java:537)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)+
    +     at java.lang.reflect.Method.invoke(Unknown Source)+
    +     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)+
    +     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)+
    +30.10.2007 10:29:57 org.apache.coyote.http11.Http11Protocol start+
    INFO: Starting Coyote HTTP/1.1 on http-8200
    +30.10.2007 10:29:57 org.apache.jk.common.ChannelSocket init+
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    +30.10.2007 10:29:57 org.apache.jk.server.JkMain start+
    INFO: Jk running ID=0 time=0/60  config=null
    +30.10.2007 10:29:57 org.apache.catalina.storeconfig.StoreLoader load+
    INFO: Find registry server-registry.xml at classpath resource
    +30.10.2007 10:29:57 org.apache.catalina.startup.Catalina start+
    INFO: Server startup in 5979 ms
    +30.10.2007 11:10:03 org.apache.catalina.core.StandardContext reload+
    INFO: Reloading this Context has started
    +30.10.2007 11:10:11 org.apache.coyote.http11.Http11Protocol pause+
    INFO: Pausing Coyote HTTP/1.1 on http-8200
    +30.10.2007 11:10:13 org.apache.catalina.core.StandardService stop+
    INFO: Stopping service Catalina
    +30.10.2007 11:10:13 org.apache.coyote.http11.Http11Protocol destroy+
    INFO: Stopping Coyote HTTP/1.1 on http-8200
    +30.10.2007 11:10:18 org.apache.coyote.http11.Http11Protocol init+
    INFO: Initializing Coyote HTTP/1.1 on http-8200
    +30.10.2007 11:10:18 org.apache.catalina.startup.Catalina load+
    INFO: Initialization processed in 1162 ms
    +30.10.2007 11:10:18 org.apache.catalina.core.StandardService start+
    INFO: Starting service Catalina
    +30.10.2007 11:10:18 org.apache.catalina.core.StandardEngine start+
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    +30.10.2007 11:10:18 org.apache.catalina.core.StandardHost start+
    INFO: XML validation disabled
    +30.10.2007 11:10:20 org.apache.coyote.http11.Http11Protocol start+
    INFO: Starting Coyote HTTP/1.1 on http-8200
    +30.10.2007 11:10:21 org.apache.jk.common.ChannelSocket init+
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    +30.10.2007 11:10:21 org.apache.jk.server.JkMain start+
    INFO: Jk running ID=0 time=0/80  config=null
    +30.10.2007 11:10:21 org.apache.catalina.storeconfig.StoreLoader load+
    INFO: Find registry server-registry.xml at classpath resource
    +30.10.2007 11:10:21 org.a

  • 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

  • Problem with having several database connection registered in JDEVElOPER

    Hi
    Thank you for reading my post
    I have several AS registered in my Jdeveloper environemtn and several database connections.
    unfortunately some times Jdeveloper can not deploy an application into a server beacause it say that "I failed to create the connection pool", the project has no database stuff at all but Jdeveloper try to register and create connection pools for those connection that i hace registered in the Databse coonnection node.
    It fails because in that particular server which i want to deploy the application i have not add all databases JDBC driver.
    is there any solution for it?
    thanks

    Hi,
    see Tools --> Preferences --> Deployment
    Uncheck the "Bundle default data-sources.xml during deployment
    Frank

  • Creating new Data Source Error - Database connection Failed

    Successfully installed and configured 11.1.1.3.0. Planning and Essbase dev.
    Went to Workspace > Administer > Classing Planning Administration > Manage Data Sources > Create Data Source.
    Entered all info about the application database , etc. Getting error "The database connection failed" (I was able to connect with no problem during the install)
    SQL server 2005 is on the same physical server.
    The diagnostic tool shows database connection passed for planning. A new database was created for the new application.
    The server event viewer shows these errors.
    "Login failed for user 'xxx-hyperion'. The user is not associated with a trusted SQL Server connection."
    Group Policy Error "The client-side extension could not apply computer policy settings for 'Default Domain Policy {xxx}' because it failed with error code '0x80070003 The system cannot find the path specified.' See trace file for more details. "
    The Group Policy client-side extension Group Policy Services failed to execute. Please look for any errors reported earlier by that extension.
    Any help is appreciated.

    Datasource for the application.
    I have created a sql db for this planning application (my datasource). See my first message for more details.
    When you create a new planning application, you need to associate it with a data source. Since this is a new install, I don't have any data sources available yet.
    So, "To create, edit or delete data sources, click Manage Data Source."
    This page lets you validate your connection to the database and essbase server. My essbase server connection validates! The database connection does not validate after I enter all the relevant information.
    SCREEN INFO BELOW
    Fields displayed with an asterisk (*) are mandatory.
    Data Source Name *:
    Data Source Description:
    Select Database Platform
    Microsoft SQL Server
    Application Database
    Server * :
    Port * :
    Database *:
    User *:
    Password *:
    Click "Validate Database Connection"
    ERROR ---> Database connection failed.
    So it does not let me create a data source for my new planning application, so I cannot create a new planning application.
    Thanks in advance.

  • New database connection failed with oepe

    Hi everybody,
    @http://docs.oracle.com/cd/E27086_02/help/oracle.eclipse.tools.common.doc/html/install.html#install_oepe
    Oracle Enterprise Pack for Eclipse Installation Guide says:
    "You can install OEPE using any of the following ways:
    Download, and then unzip OEPE plugins directly into the Eclipse dropins folder and restart Eclipse."
    This is what I have done,
    then when I create a new database connection, and I press the button "test connection" i got a pop up saying "Ping failed" giving details:
    java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConn(OracleJDBCConnection.java:198)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnection.createConnection(OracleJDBCConnection.java:149)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
         at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
         at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:73)
         at oracle.eclipse.tools.database.connectivity.db.OracleJDBCConnectionFactory.createConnection(OracleJDBCConnectionFactory.java:26)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Did I miss something?

    The documentation is out of date. The unzip to dropins method is no longer supported. The OEPE zip you downloaded is actually an archived repository. You can follow the instruction for installing using Eclipse Update Manager and point to the downloaded zip instead of the online repository.
    I will follow up to get the docs updated.
    - Konstantin

  • Performance with MySQL and Database connectivity toolbox

    Hi!
    I'm having quite some problems with the performance of MySQL and Database connectivity toolbox. However, I'm very happy with the ease of using database connectivity toolbox. The background is:
    I have 61 variables (ints and floats) which I would like to save in the MySQL-database. This is no problem, however, the loop time increases from 8ms to 50ms when using the database. I have concluded that it has to do with the DB Tools Insert Data.vi and I think that I have some kind of performance issue with this VI. The CPU never reach more the 15% of its maximum performance. I use a default setup and connect through ODBC.
    My questions are:
    1. I would like to save 61 variables each 8-10ms, is this impossible using this solution?
    2. Is there any way of increasing the performance of the DB Tools Insert Data.vi or use any other VI?
    3. Is there any way of adjusting the MySQL setup to achieve better performance?
    Thank you very much for your time.
    Regards,
    Mattias

    First of all, thank you very much for your time. All of you have been really good support to me.
    >> Is your database on a different computer?  Does your loop execute 61 times? 
    Database is on the same computer as the MySQL server.
    The loop saves 61 values at once to the database, in one SQL-statement.
    I have now added the front panel and block diagram for my test-VI. I have implemented the queue system and separate loops for producer and consumer. However, since the queue is building up faster then the consumer loop consumes values, the queue is building up quite fast and the disc starts working.
    The test database table that I add data to is created by a simple:
    create table test(aa int, bb char(15));
    ...I'm sure that this can be improved in some way.
    I always open and close the connection to the database "outside the loop". However, it still takes some 40-50 ms to save the data to the database table - so, unfortunatly no progress to far. I currently just want to save the data.
    Any more advise will be gratefully accepted.
    Regards,
    Mattias
    Message Edited by mattias@hv on 10-23-2007 07:50 AM
    Attachments:
    front panel 2.JPG ‏101 KB
    block diagram.JPG ‏135 KB

  • Database connection error in Weblogic 11g

    Hello Everyone,
    I am new to this forum and Weblogic. I am in the process of migrating a big application from Weblogic 8.1 to Weblogic 11g. I am facing a issue with JDBC Commit. I am getting following exception while trying to commit
    ####<Feb 18, 2010 1:11:51 PM EST> <Debug> <JTAPropagate> <PPXP2CE951B506> <AdminServer> <ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <3de6adeed2d219bd:-1c9bd9a6:126e245ecb6:-7fff-0000000000000010> <1266516711438> <BEA-000000> <java.lang.Exception: DEBUG: receiveRequest, tx=Xid=BEA1-0000957A69A07E5F133C(16499456),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=300,XAServerResourceInfo[demoPool_cashlinkdomain]=(ServerResourceInfo[demoPool_cashlinkdomain]=(state=ended,assigned=none),xar=demoPool,re-Registered = false),SCInfo[cashlinkdomain+AdminServer]=(state=active),properties=({}),local properties=({weblogic.jdbc.jta.demoPool=[autoCommit=false,enabled=true,isXA=true,isJTS=false,vendorID=0,connUsed=true,doInit=false,'null',destroyed=false,poolname=demoPool,appname=null,moduleName=null,connectTime=187,dirtyIsolationLevel=false,initialIsolationLevel=2,infected=false,lastSuccessfulConnectionUse=1266516711423,secondsToTrustAnIdlePoolConnection=10,currentUser=java.lang.Exception
    at weblogic.jdbc.common.internal.ConnectionEnv.setup(ConnectionEnv.java:310)
    at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:344)
    at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:433)
    at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:316)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:93)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:61)
    at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:1584)
    at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1357)
    at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:438)
    at weblogic.jdbc.jta.DataSource.connect(DataSource.java:395)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:355)
    at com.mycompany.res.services.util.DatabaseHelper.getConnection(DatabaseHelper.java:109)
    at com.mycompany.res.services.util.DatabaseHelper.getConnection(DatabaseHelper.java:46)
    at com.mycompany.res.services.security.ejb.LoginManagerEJB.login(LoginManagerEJB.java:64)
    at com.mycompany.res.services.security.ejb.LoginManagerEJB_z7om1c_EOImpl.login(LoginManagerEJB_z7om1c_EOImpl.java:573)
    at com.mycompany.res.services.security.ejb.LoginManagerEJB_z7om1c_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ,currentThread=Thread[[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)',5,Pooled Threads],lastUser=null,currentError=null,currentErrorTimestamp=null,JDBC4Runtime=true,supportStatementPoolable=true,needRestoreClientInfo=false,defaultClientInfo={},supportIsValid=true]}),CoordinatorURL=AdminServer+10.240.15.248:7001+cashlinkdomain+t3+)
    at weblogic.transaction.internal.TxDebug.debugStack(TxDebug.java:60)
    at weblogic.transaction.internal.TransactionManagerImpl.receiveRequest(TransactionManagerImpl.java:1366)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:287)
    at weblogic.rmi.cluster.ClusterableServerRef.dispatch(ClusterableServerRef.java:242)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1138)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1020)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:240)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:882)
    at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:453)
    at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:322)
    at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:298)
    at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    What is going wrong with this?
    I get the following error every time Weblogic is trying to do database connection check
    ####<Feb 18, 2010 1:35:40 PM EST> <Debug> <JTA2PC> <PPXP2CE951B506> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <BEA1-028CACE03896> <3de6adeed2d219bd:-1c9bd9a6:126e245ecb6:-7fff-00000000000000c6> <1266518140849> <BEA-000000> <BEA1-028CACE03896: JDBC Internal: TX[BEA1-028CACE03896] committing-->committed
    java.lang.Exception: DEBUG
         at weblogic.transaction.internal.TransactionImpl.setState(TransactionImpl.java:1711)
         at weblogic.transaction.internal.ServerTransactionImpl.setCommitted(ServerTransactionImpl.java:2945)
         at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:2737)
         at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:2657)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:285)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
         at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:286)
         at weblogic.jdbc.common.internal.ConnectionEnv.testInternal(ConnectionEnv.java:734)
         at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:704)
         at weblogic.jdbc.common.internal.ConnectionEnv.test(ConnectionEnv.java:487)
         at weblogic.common.resourcepool.ResourcePoolImpl.testResource(ResourcePoolImpl.java:2260)
         at weblogic.common.resourcepool.ResourcePoolImpl.checkResource(ResourcePoolImpl.java:1601)
         at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1507)
         at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1496)
         at weblogic.common.resourcepool.ResourcePoolImpl.testUnusedResources(ResourcePoolImpl.java:1942)
         at weblogic.common.resourcepool.ResourcePoolImpl.access$800(ResourcePoolImpl.java:40)
         at weblogic.common.resourcepool.ResourcePoolImpl$ResourcePoolMaintanenceTask.timerExpired(ResourcePoolImpl.java:2368)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user12640178 on Feb 18, 2010 10:36 AM
    Edited by: user12640178 on Feb 18, 2010 10:38 AM

    Priya,
    Thank you so much for your response. I did test my database source from console and on the console it reported the test was successful, where in the admin logs has same exception logs. I did try creating a non XA connection and it did not have these errors. But my application did raise same exception while doing transaction.
    The application has around 250 EJB's that are written long ago and they all comply to EJB 1.1 spec. I am in the process of investigating the level of support for EJB 1.1 in Weblogic 11g.
    - Kasi

  • Database connection remains open after close being called

    I am using oracle OC4J as my application server. I am not using connection pool and I am using non-pooled datasource to get connection. The database connection is made at runtime and then closed. I want to test if the users' connection sessions have been killed after they logout the application. But when I checked the table v$session in the database, it shows one connection remaining. I checked my program, the close method has been called. Does anybody know the solution?

    Hi Chen,
    This is just a suggestion for something to try -- only if you haven't
    already tried it, that is!
    Try running OC4J in "debug" mode. Here are details on how to do that:
    http://kb.atlassian.com/content/atlassian/howto/orionproperties.jsp
    Hope this helps you!
    Good Luck,
    Avi.

Maybe you are looking for

  • Smartform form for Payment remittance advice to Vendor

    Hi Friends, My requirement is i have a sapscript "F110_IN_AVIS" (Driver program:RFF0EDI1 This is a standard sap driver program)and it should be converted to Smartform with all the windows as it was present in sapscript. I have migrated the sapscript

  • Mavericks upgrade, App store Upgrade Pages 5 Failure

    As I try to Upgrade to Pages to Pages 5 on the App Store I get this message: "Failed to verify the preflight file. It is not signed by Apple." Actually I get this message on every app upgrade. All the app's show up on my purchase list but since the u

  • Loosing thumbnails in iphoto

    loosing thumnails in iphoto, Ive got like 30,000 pics in my library all have the same thumbnail. Every time i rebuild the thumnail gallery its fine until i close and restart, then im back to the same universal thumnail. ive tried rebuilding everythin

  • Reg: concept of COUNT and NULLs -

    Hi Experts, I have a simple conceptual doubt regarding COUNT and NULLs. Even I have experimented and can justify the behaviour, just need to confirm once with guru's and experts over here. Workout: CREATE TABLE test_x1 AS SELECT 1 col1, 'a' col2, 'a1

  • Interface Serializable

    Hi, in a class I have a field of type Object. When I enhance this class I get the following warning: WARNING: Field "object" in type "class jspj2ee.verein.Mitglied" is of a class that cannot be persisted. Defaulting to a BLOB mapping. At run-time I g