Trying to get my java program connected to MySQL

This works perfectly in the Eclipse IDE area that I have but when I run the same program on the Net Beans 3.6 IDE area it gives me a 'not suitable driver' error. To note these are both on the same computer. I would really like to get the Net Beans 3.6 IDE working because that is what I am most familiar with using. If you know of the problem why one IDE area recognizes the driver where the next does not I would sure like to know. Somebody passed the idea that when the 3.6 area is executed there are multiple instances running and it resets the ClassPath(I think they where shooting in the dark but it is a lead none the less). Anyway if anybody has had this problem please enlighten me, Thank-You.
The ClassPath is set to the following:
ClassPath = C:\Program Files\Java\jdk1.5.0_02\lib;C:\unzipped\mysql-connector- java-3.1.7\mysql-connector-java-3.1.7;C:\Program Files
\Java\jdk1.5.0_02\jre\lib\ext;
This is the code:
import java.sql.*;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class Connect2 {
     public static void main(String[] args) {
          try {
               // The newInstance() call is a work around for some
               // broken Java implementations
               Class.forName("com.mysql.jdbc.Driver");
          } catch (Exception ex) {
               System.out.println("HERE");
          try {
               String url = "jdbc:mysql://localhost/test";
               String username = "root";
               String password = "password";
               Connection conn = DriverManager.getConnection(
                         "jdbc:mysql://localhost/test", "root", "password");
               Statement c = conn.createStatement();
               c.execute("insert into green values('richmond')");
               c.execute("select * from green");
               ResultSet rs = c.getResultSet();
               while (rs.next()) {
                    System.out.println(rs.getString(1));
               // Do something with the Connection
          } catch (SQLException ex) {
               // handle any errors
               System.out.println("SQLException: " + ex.getMessage());
               System.out.println("SQLState: " + ex.getSQLState());
               System.out.println("VendorError: " + ex.getErrorCode());
}

There are some oddities with the DriverManager when it comes to registering drivers taken from a different ClassLoader, though I don't see how that would apply here, unless the IDE itself is loading one of the classes.
There's a facility in DriverManager to enumerate the registered drivers. It might be worth doing that and seeing their class names.

Similar Messages

  • I am trying to get this java program to work

    I need your help, I am trying to get this java program to work. The program is long and massive, but I got stuck in the last point where the program checks if there are a double quotes or a comma in a string.
    The string is an URL retrieved from XML files (this is already done).
    There are 4 conditions:
    Case 1
    =====
    The URL string is of invalid format and contains no commas (,) and no double quotes (").
    Make no changes to the URL string.
    Case 2
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") but no commas.
    Make no changes to the URL string.
    Case 3
    =====
    The URL string is of invalid format and contains 1 or more commas (,) but no double quotes.
    Modify the URL string so that it starts and ends with a double quote (").
    Case 4
    =====
    The URL string is of invalid format and contains 1 or more double quotes (") and one or more commas (,).
    Modify the URL string so that every double quote (") becomes a double double quote (""), and so that it starts and ends with a double quote (").
    ======
    then write the modified URL string to the CSV file.
    ======
    Examples:
    1. hello ---> hello
    2. hello "big" world ---> hello "big" world
    3. hello, world ---> "hello, world"
    4. hello "big,big" world ---> "hello ""big,big"" world"

    You can do the searching with String.indexOf() and then you can make replacements (like " with "") with String.replaceAll().
    As for adding leading and trailing ", that could be done with simple concatenation.

  • Blocked trying to get lock: java.io.PrintStream

    hello,everybody
    i have a problem with ejb deployed in weblogic 9.2
    sometimes it throws exceptions as follows:
    Blocked trying to get lock: java.io.PrintStream
    is this io deadlock?
    which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-169 "[STUCK] ExecuteThread: '84' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, blocked, priority=1, DAEMON> {
        -- Blocked trying to get lock: java.io.PrintStream@23f1a60[fat lock]
        org.hibernate.exception.NestableDelegate.printStackTrace(NestableDelegate.java:303)
        org.hibernate.exception.NestableDelegate.printStackTrace(NestableDelegate.java:292)
        org.hibernate.exception.NestableRuntimeException.printStackTrace(NestableRuntimeException.java:187)
        com.test.bean.testBusinessBean.getInforByid(testBusinessBean.java:1628)
        com.test.bean.testBusinessBean_cdq3cw_EOImpl.getInforByid(testBusinessBean_cdq3cw_EOImpl.java:2422)
        com.test.bean.testBusinessBean_cdq3cw_EOImpl_WLSkel.invoke(Unknown Source)
        weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:526)
        weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:210)
        weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:438)
        weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:350)
        weblogic.security.service.SecurityManager.runAs(SecurityManager.java:143)
        weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:386)
        weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:57)
        weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:964)
        weblogic.work.ExecuteThread.execute(ExecuteThread.java:206)
        weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    }thanks

    I'm getting the same problem. What happens on my server is that sometimes when a thread tries to print a stack trace, it gets stuck at "FileOutputStream.writeBytes". All other threads will then stop at "printStackTrace" when they try to synchronize on the System.err, like yours. I have no idea why this is happening. However, I don't use weblogic or ejb, so it seems to be a more basic issue. As a workaround, I'm considering to set a custom System.err that writes all its output to a queue which then in turn gets written to the real System.err by a separate thread. That way, the worst that can happen is that that separate thread gets stuck.
    This is quite annoying but I'm not sure if we have enough information yet to file a bug. I can't reproduce it yet. My server sometimes runs for weeks without this problem happening...
    If anyone has updates on this, that would be much appreciated.
    My system:
    Java: Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)
    OS: Debian 4.0
    Processor: AMD Athlon 64 X2 5600+ Dual Core

  • Blocked trying to get lock: java.lang.Class@[fat lock]

    Joe,
      Can you please help me understand what is going on with this thread dump? There is no dead lock; but I have stuck thread. Is it waiting an Oracle prepared statement?
    ===== FULL THREAD DUMP ===============
                Wed Sep  4 16:12:27 2013
                Oracle JRockit(R) R28.0.1-21-133393-1.6.0_20-20100512-2126-linux-x86_64
                "Main Thread" id=1 idx=0x4 tid=26484 prio=5 alive, waiting, native_blocked
                    -- Waiting for notification on: weblogic/t3/srvr/T3Srvr@0x1398a8228[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/lang/Object.wait(Object.java:485)
                    at weblogic/t3/srvr/T3Srvr.waitForDeath(T3Srvr.java:902)
                    ^-- Lock released while waiting: weblogic/t3/srvr/T3Srvr@0x1398a8228[fat lock]
                    at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:465)
                    at weblogic/Server.main(Server.java:67)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "(OC Main Thread)" id=2 idx=0x8 tid=26487 prio=5 alive, native_waiting, daemon
                "(GC Worker Thread 1)" id=? idx=0xc tid=26488 prio=5 alive, daemon
                "(GC Worker Thread 2)" id=? idx=0x10 tid=26489 prio=5 alive, daemon
                "(GC Worker Thread 3)" id=? idx=0x14 tid=26490 prio=5 alive, daemon
                "(GC Worker Thread 4)" id=? idx=0x18 tid=26491 prio=5 alive, daemon
                "(Code Generation Thread 1)" id=3 idx=0x1c tid=26494 prio=5 alive, native_waiting, daemon
                "(Code Optimization Thread 1)" id=4 idx=0x20 tid=26495 prio=5 alive, native_waiting, daemon
                "(VM Periodic Task)" id=5 idx=0x24 tid=26496 prio=10 alive, native_blocked, daemon
                "(Attach Listener)" id=6 idx=0x28 tid=26497 prio=5 alive, native_blocked, daemon
                "Finalizer" id=7 idx=0x2c tid=26498 prio=8 alive, native_waiting, daemon
                    at jrockit/memory/Finalizer.waitForFinalizees(J[Ljava/lang/Object;)I(Native Method)
                    at jrockit/memory/Finalizer.access$700(Finalizer.java:12)
                    at jrockit/memory/Finalizer$4.run(Finalizer.java:189)
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "Reference Handler" id=8 idx=0x30 tid=26499 prio=10 alive, native_waiting, daemon
                    at java/lang/ref/Reference.waitForActivatedQueue(J)Ljava/lang/ref/Reference;(Native Method)
                    at java/lang/ref/Reference.access$100(Reference.java:11)
                    at java/lang/ref/Reference$ReferenceHandler.run(Reference.java:82)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "(Sensor Event Thread)" id=9 idx=0x34 tid=26500 prio=5 alive, native_blocked, daemon
                "VM JFR Buffer Thread" id=10 idx=0x38 tid=26501 prio=5 alive, in native, daemon
                "Timer-0" id=13 idx=0x3c tid=26502 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: java/util/TaskQueue@0x1399c29d0[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/lang/Object.wait(Object.java:485)
                    at java/util/TimerThread.mainLoop(Timer.java:483)
                    ^-- Lock released while waiting: java/util/TaskQueue@0x1399c29d0[fat lock]
                    at java/util/TimerThread.run(Timer.java:462)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "Timer-1" id=14 idx=0x40 tid=26504 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: java/util/TaskQueue@0x1399c2a58[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/util/TimerThread.mainLoop(Timer.java:509)
                    ^-- Lock released while waiting: java/util/TaskQueue@0x1399c2a58[fat lock]
                    at java/util/TimerThread.run(Timer.java:462)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'" id=15 idx=0x44 tid=26505 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: weblogic/work/ExecuteThread@0x1399c3848[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at jrockit/vm/Locks.wait(Locks.java:1964)[inlined]
                    at java/lang/Object.wait(Object.java:485)[inlined]
                    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:157)[optimized]
                    ^-- Lock released while waiting: weblogic/work/ExecuteThread@0x1399c3848[fat lock]
                    at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "JFR request timer" id=16 idx=0x48 tid=26506 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: java/util/TaskQueue@0x1399c2ae0[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/lang/Object.wait(Object.java:485)
                    at java/util/TimerThread.mainLoop(Timer.java:483)
                    ^-- Lock released while waiting: java/util/TaskQueue@0x1399c2ae0[fat lock]
                    at java/util/TimerThread.run(Timer.java:462)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "weblogic.time.TimeEventGenerator" id=18 idx=0x4c tid=26507 prio=9 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: weblogic/time/common/internal/TimeTable@0x1399c5070[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at weblogic/time/common/internal/TimeTable.snooze(TimeTable.java:286)
                    ^-- Lock released while waiting: weblogic/time/common/internal/TimeTable@0x1399c5070[fat lock]
                    at weblogic/time/common/internal/TimeEventGenerator.run(TimeEventGenerator.java:117)
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "JMAPI event thread" id=19 idx=0x50 tid=26508 prio=5 alive, in native, daemon
                "weblogic.timers.TimerThread" id=20 idx=0x54 tid=26509 prio=9 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: weblogic/timers/internal/TimerThread@0x1399c2c08[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at weblogic/timers/internal/TimerThread$Thread.run(TimerThread.java:262)
                    ^-- Lock released while waiting: weblogic/timers/internal/TimerThread@0x1399c2c08[fat lock]
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" id=21 idx=0x58 tid=26510 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: weblogic/work/ExecuteThread@0x1399c3930[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at jrockit/vm/Locks.wait(Locks.java:1964)[inlined]
                    at java/lang/Object.wait(Object.java:485)[inlined]
                    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:157)[optimized]
                    ^-- Lock released while waiting: weblogic/work/ExecuteThread@0x1399c3930[fat lock]
                    at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "NM Reaper" id=24 idx=0x5c tid=26512 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: java/util/TaskQueue@0x1399c5938[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/util/TimerThread.mainLoop(Timer.java:509)
                    ^-- Lock released while waiting: java/util/TaskQueue@0x1399c5938[fat lock]
                    at java/util/TimerThread.run(Timer.java:462)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" id=25 idx=0x60 tid=26514 prio=5 alive, blocked, native_blocked, daemon
                    -- Blocked trying to get lock: java/lang/String@0x13898d7f0[fat lock]
                    at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
                    at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1402)[optimized]
                    at jrockit/vm/Locks.lockFat(Locks.java:1503)[optimized]
                    at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1045)[optimized]
                    at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:996)[optimized]
                    at jrockit/vm/Locks.monitorEnter(Locks.java:2170)[optimized]
                    at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
                    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)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" id=26 idx=0x64 tid=26515 prio=5 alive, in native, daemon
                    at jrockit/ext/epoll/EPoll.epollWait0(ILjava/nio/ByteBuffer;II)I(Native Method)
                    at jrockit/ext/epoll/EPoll.epollWait(EPoll.java:115)
                    at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:156)
                    ^-- Holding lock: java/lang/String@0x13898d7f0[fat lock]
                    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)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" id=27 idx=0x68 tid=26516 prio=5 alive, blocked, native_blocked, daemon
                    -- Blocked trying to get lock: java/lang/String@0x13898d7f0[fat lock]
                    at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
                    at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1402)[optimized]
                    at jrockit/vm/Locks.lockFat(Locks.java:1503)[optimized]
                    at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1045)[optimized]
                    at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:996)[optimized]
                    at jrockit/vm/Locks.monitorEnter(Locks.java:2170)[optimized]
                    at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
                    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)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'" id=28 idx=0x6c tid=26517 prio=5 alive, blocked, native_blocked, daemon
                    -- Blocked trying to get lock: java/lang/String@0x13898d7f0[fat lock]
                    at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
                    at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1402)[inlined]
                    at jrockit/vm/Locks.fatLockReacquire(Locks.java:1640)[optimized]
                    at jrockit/vm/Locks.lockFat(Locks.java:1508)[optimized]
                    at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1045)[optimized]
                    at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:996)[optimized]
                    at jrockit/vm/Locks.monitorEnter(Locks.java:2170)[optimized]
                    at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
                    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)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "VDE Transaction Processor Thread" id=31 idx=0x70 tid=26559 prio=2 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: com/octetstring/vde/backend/standard/TransactionProcessor@0x1399c3ab8[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/lang/Object.wait(Object.java:485)
                    at com/octetstring/vde/backend/standard/TransactionProcessor.waitChange(TransactionProcessor.java:367)
                    ^-- Lock released while waiting: com/octetstring/vde/backend/standard/TransactionProcessor@0x1399c3ab8[fat lock]
                    at com/octetstring/vde/backend/standard/TransactionProcessor.run(TransactionProcessor.java:212)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "UCP-worker-thread-16" id=485 idx=0x74 tid=1649 prio=5 alive, parked, native_blocked, daemon
                    -- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x106f68908
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
                    at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
                    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
                    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "DoSManager" id=34 idx=0x78 tid=26561 prio=6 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at com/octetstring/vde/DoSManager.run(DoSManager.java:433)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "Timer-2" id=35 idx=0x7c tid=26562 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: java/util/TaskQueue@0x1399c5df8[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/util/TimerThread.mainLoop(Timer.java:509)
                    ^-- Lock released while waiting: java/util/TaskQueue@0x1399c5df8[fat lock]
                    at java/util/TimerThread.run(Timer.java:462)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "OracleTimeoutPollingThread" id=36 idx=0x80 tid=26585 prio=10 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/jdbc/driver/OracleTimeoutPollingThread.run(OracleTimeoutPollingThread.java:155)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "Thread-14" id=37 idx=0x84 tid=26586 prio=5 alive, parked, native_blocked, daemon
                    -- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x1399c6018
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
                    at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
                    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
                    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
                    at weblogic/utils/concurrent/JDK15ConcurrentBlockingQueue.take(JDK15ConcurrentBlockingQueue.java:89)
                    at weblogic/store/internal/PersistentStoreImpl.getOutstandingWork(PersistentStoreImpl.java:650)
                    at weblogic/store/internal/PersistentStoreImpl.run(PersistentStoreImpl.java:707)
                    at weblogic/store/internal/PersistentStoreImpl$2.run(PersistentStoreImpl.java:464)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "JPS FileChangeNotifier<clean-only>" id=38 idx=0x88 tid=26587 prio=5 alive, parked, native_blocked, daemon
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)
                    at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
                    at java/util/concurrent/locks/LockSupport.parkNanos(LockSupport.java:198)[inlined]
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)[optimized]
                    at java/util/concurrent/DelayQueue.take(DelayQueue.java:164)[optimized]
                    at java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)[inlined]
                    at java/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "LogFlusher" id=39 idx=0x8c tid=26588 prio=5 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "LogFlusher" id=40 idx=0x90 tid=26589 prio=5 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "LogFlusher" id=41 idx=0x94 tid=26590 prio=5 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'" id=265 idx=0x98 tid=28296 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: weblogic/work/ExecuteThread@0x106f29288[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at jrockit/vm/Locks.wait(Locks.java:1964)[inlined]
                    at java/lang/Object.wait(Object.java:485)[inlined]
                    at weblogic/work/ExecuteThread.waitForRequest(ExecuteThread.java:157)[optimized]
                    ^-- Lock released while waiting: weblogic/work/ExecuteThread@0x106f29288[fat lock]
                    at weblogic/work/ExecuteThread.run(ExecuteThread.java:178)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "Thread-71" id=266 idx=0x9c tid=28297 prio=10 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/wsm/policyaccess/impl/cache/PolicyCacheImpl$BackTracingSynchronizationThread.run(PolicyCacheImpl.java:759)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "Thread-70" id=264 idx=0xa0 tid=28295 prio=10 alive, parked, native_blocked, daemon
                    -- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x106f3df50
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)
                    at sun/misc/Unsafe.park(ZJ)V(Native Method)
                    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
                    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)
                    at oracle/mds/internal/notifications/EventDispatcherThread.run(EventDispatcherThread.java:54)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "oracle.dfw.impl.incident - ADR Executor (created: Fri Aug 30 01:12:40 GMT 2013)" id=45 idx=0xa4 tid=26601 prio=5 alive, parked, native_blocked, daemon
                    -- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x1399c6698
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
                    at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
                    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
                    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37a58fc8" id=394 idx=0xa8 tid=28767 prio=10 alive, in native, daemon
                    at jrockit/net/SocketNativeIO.readBytesPinned(Ljava/io/FileDescriptor;[BIII)I(Native Method)
                    at jrockit/net/SocketNativeIO.socketRead(SocketNativeIO.java:32)[inlined]
                    at java/net/SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java)[inlined]
                    at java/net/SocketInputStream.read(SocketInputStream.java:129)[optimized]
                    at oracle/net/nt/MetricsEnabledInputStream.read(TcpNTAdapter.java:564)[optimized]
                    at oracle/net/ns/Packet.receive(Packet.java:295)[inlined]
                    at oracle/net/ns/DataPacket.receive(DataPacket.java:94)[optimized]
                    at oracle/net/ns/NetInputStream.getNextPacket(NetInputStream.java:176)[optimized]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:121)[inlined]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:96)[inlined]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:81)[optimized]
                    at oracle/jdbc/driver/T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)[optimized]
                    at oracle/jdbc/driver/T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)[inlined]
                    at oracle/jdbc/driver/T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1087)[optimized]
                    at oracle/jdbc/driver/T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1062)[inlined]
                    at oracle/jdbc/driver/T4C8Oall.receive(T4C8Oall.java:625)[optimized]
                    at oracle/jdbc/driver/T4CCallableStatement.doOall8(T4CCallableStatement.java:201)[inlined]
                    at oracle/jdbc/driver/T4CCallableStatement.executeForRows(T4CCallableStatement.java:1036)[optimized]
                    at oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)[optimized]
                    at oracle/jdbc/driver/OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)[optimized]
                    at oracle/jdbc/driver/OraclePreparedStatement.execute(OraclePreparedStatement.java:3739)[optimized]
                    ^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a827f8[recursive]
                    at oracle/jdbc/driver/OracleCallableStatement.execute(OracleCallableStatement.java:8150)[optimized]
                    ^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a827f8[thin lock]
                    at oracle/jdbc/driver/OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)[optimized]
                    at weblogic/jdbc/wrapper/PreparedStatement.execute(PreparedStatement.java:99)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.readEvent(SAQBusinessEventBus.java:1232)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleSingleQueueEvent(SAQBusinessEventBus.java:687)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:660)
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:71)
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:319)
                    at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
                    at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
                    at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "oracle.dfw.incident.IncidentCreatorThread" id=47 idx=0xac tid=26603 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: java/util/ArrayList@0x1399c6780[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at java/lang/Object.wait(Object.java:485)
                    at oracle/dfw/impl/incident/DiagnosticsDataExtractorImpl$IncidentCreatorThread.run(DiagnosticsDataExtractorImpl.java:1597)
                    ^-- Lock released while waiting: java/util/ArrayList@0x1399c6780[fat lock]
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "oracle.dfw.incident.FloodController" id=49 idx=0xb4 tid=26606 prio=5 alive, waiting, native_blocked, daemon
                    -- Waiting for notification on: java/lang/Object@0x1399c6868[fat lock]
                    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
                    at java/lang/Object.wait(J)V(Native Method)
                    at oracle/dfw/impl/incident/FloodController.run(FloodController.java:136)
                    ^-- Lock released while waiting: java/lang/Object@0x1399c6868[fat lock]
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "UCP-worker-thread-16" id=487 idx=0xb8 tid=1681 prio=5 alive, parked, native_blocked, daemon
                    -- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x106f89660
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
                    at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
                    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
                    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "Thread-72" id=267 idx=0xbc tid=28298 prio=10 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/wsm/policyaccess/impl/cache/PolicyCacheImpl$PolicyCacheRefreshThread.run(PolicyCacheImpl.java:915)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37a58d77" id=393 idx=0xc0 tid=28766 prio=10 alive, in native, daemon
                    at jrockit/net/SocketNativeIO.readBytesPinned(Ljava/io/FileDescriptor;[BIII)I(Native Method)
                    at jrockit/net/SocketNativeIO.socketRead(SocketNativeIO.java:32)[inlined]
                    at java/net/SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java)[inlined]
                    at java/net/SocketInputStream.read(SocketInputStream.java:129)[optimized]
                    at oracle/net/nt/MetricsEnabledInputStream.read(TcpNTAdapter.java:564)[optimized]
                    at oracle/net/ns/Packet.receive(Packet.java:295)[inlined]
                    at oracle/net/ns/DataPacket.receive(DataPacket.java:94)[optimized]
                    at oracle/net/ns/NetInputStream.getNextPacket(NetInputStream.java:176)[optimized]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:121)[inlined]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:96)[inlined]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:81)[optimized]
                    at oracle/jdbc/driver/T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)[optimized]
                    at oracle/jdbc/driver/T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)[inlined]
                    at oracle/jdbc/driver/T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1087)[optimized]
                    at oracle/jdbc/driver/T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1062)[inlined]
                    at oracle/jdbc/driver/T4C8Oall.receive(T4C8Oall.java:625)[optimized]
                    at oracle/jdbc/driver/T4CCallableStatement.doOall8(T4CCallableStatement.java:201)[inlined]
                    at oracle/jdbc/driver/T4CCallableStatement.executeForRows(T4CCallableStatement.java:1036)[optimized]
                    at oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)[optimized]
                    at oracle/jdbc/driver/OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)[optimized]
                    at oracle/jdbc/driver/OraclePreparedStatement.execute(OraclePreparedStatement.java:3739)[optimized]
                    ^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x12e33e6b8[recursive]
                    at oracle/jdbc/driver/OracleCallableStatement.execute(OracleCallableStatement.java:8150)[optimized]
                    ^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x12e33e6b8[thin lock]
                    at oracle/jdbc/driver/OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)[optimized]
                    at weblogic/jdbc/wrapper/PreparedStatement.execute(PreparedStatement.java:99)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.readOAOODelivery(SAQBusinessEventBus.java:1302)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleSingleOAOODelivery(SAQBusinessEventBus.java:750)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:669)
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:71)
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:319)
                    at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
                    at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
                    at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37a4ecb8" id=392 idx=0xc4 tid=28765 prio=10 alive, in native, daemon
                    at jrockit/net/SocketNativeIO.readBytesPinned(Ljava/io/FileDescriptor;[BIII)I(Native Method)
                    at jrockit/net/SocketNativeIO.socketRead(SocketNativeIO.java:32)[inlined]
                    at java/net/SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I(SocketInputStream.java)[inlined]
                    at java/net/SocketInputStream.read(SocketInputStream.java:129)[optimized]
                    at oracle/net/nt/MetricsEnabledInputStream.read(TcpNTAdapter.java:564)[optimized]
                    at oracle/net/ns/Packet.receive(Packet.java:295)[inlined]
                    at oracle/net/ns/DataPacket.receive(DataPacket.java:94)[optimized]
                    at oracle/net/ns/NetInputStream.getNextPacket(NetInputStream.java:176)[optimized]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:121)[inlined]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:96)[inlined]
                    at oracle/net/ns/NetInputStream.read(NetInputStream.java:81)[optimized]
                    at oracle/jdbc/driver/T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124)[optimized]
                    at oracle/jdbc/driver/T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80)[inlined]
                    at oracle/jdbc/driver/T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1087)[optimized]
                    at oracle/jdbc/driver/T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1062)[inlined]
                    at oracle/jdbc/driver/T4C8Oall.receive(T4C8Oall.java:625)[optimized]
                    at oracle/jdbc/driver/T4CCallableStatement.doOall8(T4CCallableStatement.java:201)[inlined]
                    at oracle/jdbc/driver/T4CCallableStatement.executeForRows(T4CCallableStatement.java:1036)[optimized]
                    at oracle/jdbc/driver/OracleStatement.doExecuteWithTimeout(OracleStatement.java:1379)[optimized]
                    at oracle/jdbc/driver/OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)[optimized]
                    at oracle/jdbc/driver/OraclePreparedStatement.execute(OraclePreparedStatement.java:3739)[optimized]
                    ^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a80ae8[recursive]
                    at oracle/jdbc/driver/OracleCallableStatement.execute(OracleCallableStatement.java:8150)[optimized]
                    ^-- Holding lock: oracle/jdbc/driver/T4CConnection@0x125a80ae8[thin lock]
                    at oracle/jdbc/driver/OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)[optimized]
                    at weblogic/jdbc/wrapper/PreparedStatement.execute(PreparedStatement.java:99)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.readEvent(SAQBusinessEventBus.java:1232)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleSingleQueueEvent(SAQBusinessEventBus.java:687)[optimized]
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.handleQueueEvents(SAQBusinessEventBus.java:660)
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus.access$000(SAQBusinessEventBus.java:71)
                    at oracle/integration/platform/blocks/event/saq/SAQBusinessEventBus$1.run(SAQBusinessEventBus.java:319)
                    at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
                    at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
                    at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "UCP-worker-thread-16" id=488 idx=0xc8 tid=1682 prio=5 alive, parked, native_blocked, daemon
                    -- Parking to wait for: java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject@0x102a76870
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)[inlined]
                    at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
                    at java/util/concurrent/locks/LockSupport.park(LockSupport.java:158)[inlined]
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)[optimized]
                    at java/util/concurrent/LinkedBlockingQueue.take(LinkedBlockingQueue.java:399)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)[optimized]
                    at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
                    at java/lang/Thread.run(Thread.java:619)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37afc2f4" id=396 idx=0xcc tid=28769 prio=10 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/tip/mediator/common/listener/DBLocker.enqueueLockedMessages(DBLocker.java:213)[optimized]
                    at oracle/tip/mediator/common/listener/DBLocker.run(DBLocker.java:84)
                    at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
                    at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
                    at weblogic/work/DaemonWorkThread.run(DaemonWorkThread.java:30)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "LogFlusher" id=56 idx=0xd0 tid=26614 prio=5 alive, sleeping, native_waiting, daemon
                    at java/lang/Thread.sleep(J)V(Native Method)
                    at oracle/core/ojdl/BufferedLogWriter$Flusher.run(BufferedLogWriter.java:409)
                    at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)
                    -- end of trace
                "weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37afb4b1" id=395 idx=0xd4 tid=28768 prio=10 alive, parked, native_blocked, daemon
                    at jrockit/vm/Locks.park0(J)V(Native Method)
                    at jrockit/vm/Locks.park(Locks.java:2221)
                    at jrockit/proxy/sun/misc/Unsafe.park(Unsafe.java:592)[inlined]
                    at java/util/concurrent/locks/LockSupport.parkNanos(LockSupport.java:198)[inlined]
                    at java/util/concurrent/locks/AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1963)[optimized]
                    at java/util/concurrent/LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424)[optimized]
                    at oracle/tip/mediator/common/listener/AbstractWorker.run(AbstractWorker.java:64)
                    at oracle/integration/platform/blocks/executor/WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
                    at weblogic/work/j2ee/J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         

    You need to open a support case, and it's for the application, not WebLogic. You have threads deadlocked
    in application code.
    Circular (deadlocked) lock chains
                =================================
                Chain 5:
                "[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'" id=577 idx=0x560 tid=5192 waiting for java/util/concurrent/locks/ReentrantLock$NonfairSync@0x3895ee610 held by:
                "[STUCK] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'" id=433 idx=0x278 tid=30215 waiting for java/util/concurrent/locks/ReentrantLock$NonfairSync@0x38a904880 held by:
                "[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'" id=577 idx=0x560 tid=5192

  • Getting one java program to compile another

    Was wondering if anyone knew if it is possible ot get one java program to compile another .java file and capture any errors.

    public static void RunCommand( String theCommand ) throws Exception
    Runtime runtime = Runtime.getRuntime();
    System.out.println( "Running Command " + theCommand ) ;
    Process process = runtime.exec(theCommand);
    String s = null ;
    BufferedReader stdInput = new BufferedReader(new InputStreamReader(process.getInputStream()));
    BufferedReader stdError = new BufferedReader(new InputStreamReader(process.getErrorStream()));
    // read the output from the command
    System.out.println("Here is the standard output of the command:\n");
    while ((s = stdInput.readLine()) != null) {
         System.out.println(s);
    // read any errors from the attempted command
    System.out.println("Here is the standard error of the command (if any):\n");
    while ((s = stdError.readLine()) != null) {
         System.out.println(s);

  • Keep getting error message when trying out a small java program in terminal

    I've been trying out running java programs in mac os x terminal. I have eclipse as well, but it's too much for me right now. I copied some programs out of the dummies book I have, just to get a feel for things -- so, I went to the desktop where the program was, and compiled it (I saved it with a .java extension). "javac javaprogram.java" to compile, which it did fine, and then 'java javaprogram' to execute it. It's just a simple line that says 'you'll love java!'. Anyway, it wouldn't execute it.
    Here's the program (written in text edit):
    class Displayer {
         public static void main (String args []) {
              System.out.println ("You'll love Java!");
    I got these messages:
    Exception in thread "main" java.lang.NoClassDefFoundError: javaprogram
    Caused by: java.lang.ClassNotFoundException: javaprogram
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    Now, I noticed that the first part of the error is "java.lang.NoClassDefFoundError: javaprogram". When I tried to run the program, it 'created' or put something on the desktop called Displayer.class, so I'm not sure what's going on. I've compared what I entered to what's in the book, and there are no mistakes on my part.
    Can anyone tell me what I'm doing wrong, and is there any book or site I can go to which will instruct me on running programs in terminal?

    For starters, rename javaprogram.java to Displayer.java and dojavac Displayer.java
    java Displayerand since you are new to Java, change your source code to public class Displayer.
    In Java, files containing a Java class named "ClassName" should/have to be named "ClassName.java".

  • Trying to get the default database connection

    I'm trying to use the default database connection that the application server has but when I call this method I get an error :
    Connection conn = (new oracle.jdbc.driver.OracleDriver()).defaultConnection();
    java.sql.SQLException: Invalid Oracle URL specified
    Do I have to do some setup? I don't want to hard code the connection URL in my code.
    Thanks,
    Merced

    Hi Avi,
    Thank you so much. I added the following and I was able to get the connection:
    Context ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/DBConnection1CoreDS");
    Connection c = ds.getConnection();
    Currently I'm running it from JDeveloper and the data-source.xml gets generated automatically. How will it work when I deploy this application to the Oracle Application server? Do I have to update or copy data-source.xml? What does "jdbc/DBConnection1CoreDS" mean? I only know that in data-source.xml I have location="jdbc/DBConnection1CoreDS". I don't understand how Context is able to find this. I also deleted this entry from data-souce.xml but it got generated again. I don't understand that either.
    Your help is appreciated.
    Thanks,
    Merced

  • How To Get A Java Program To Initiate Auto Dial in Windows???

    I have a Java program that opens a connection to a server (another Java program) using sockets and streams. On some windows machines (various versions) with auto dial enabled the connection is made without human intervention. However on some windows machines (even same as others) the autodial doesn't work and all I receive is NoRouteToHostExceptions.
    What I need is some way of initiating the autodial from within Java explicilty rather than assuming that the OS will do it when a request is made to a remote IP address.
    I emplore anyone with some knowledge of this to provide assistance as I am going nuts trying to solve this problems.

    A long time ago I figured out how to create, find, and manipulate items in the DialUp Networking using an InstallShield program. I am sorry I can't remember specifics (I wouldn't have even replied except no one else has either...) but I remember that I did a LOT of hunting on Microsoft's website for how to do this on the various platforms of the day (Win95, Win98, NT4.0).
    I imagine that in order to accomplish this from java, you will probably need to find the system-specific commands (at Microsoft) and exec them from your java program.
    /Mel

  • Method to get working Java program on a PDA

    Hello all,
    I am attempting to create a java program for my PDA. I'm trying to use CrEme to do it but I am having many many problems with it. I've looked on the forums and they all appear to be posts where people have some clue. I have none.
    For example. Can you use any sdk to develop the program. Can you simply develop a desktop app and convert it to use on a PDA?
    Once CrEme is downloaded what do you have to add to the classpath on your desktop to compile with it. Up till now I've simply compiled with the standard java system using %javac my_app.java
    What do you type in the command line to run the emulator?
    In what form should you port the program to your pda? I've tried using .jar files. I load it and nothing happens. What do I have to type in the jRun command? Whats a .lk file and how do I use it?
    So many questions so little time. I am genuinly confused by all this and some help would be appreciated. I have looked around the internet and can find little or nothing to help a pda newbie . Incidently if I have missed anything online and this is all just wasting someones time, could they show me where I've missed it?
    Thanks a lot
    N

    I built a lot of applications to run on my PDA (Sharp Zaurus SL5500). When I first got the PDA I didn't know any Java. What I do, and it may not be useful to you, is to develop on my desktop using as few classes not supported in 1.0 as I can get away with. That seems to make the code runnable on the Zaurus JVM (which is JEODE). I don't use an interactive development environment (I never have gotten the hang of them); I just use a text editor that supports syntax highlighting (CONTEXT). Then I copy the compiled classes to the PDA and run them there.

  • How can you get a java program working on a cell phone?

    I was thinking of making some stuff for cell phones so i was wondering how you get a normal java program to work on cells.

    its all j2me - midlet package....Huh? The jsr-118 MID profile alone has 11 packages, one of which is javax.microedition.midlet. Notj2me - midlet.
    works best on nokia phones.Sez who? You seem to be confusing Java ME with Symbian C.
    you can use net beans midlet packge add-on.Only it's called the NetBeans Mobiliity Pack.
    Its easy to use and has lots of tutorials.Ditto for the Wireless toolkit for CLDC.
    just search on google.Yes, but with which keywords?
    @OP:
    NetBeans mobility pack comes with a short tutorial and several samples, you also need to download the latest WTK as the ver. 2.2 which comes bundled with NetBeans is just too buggy to work with. Then there are the manufacturer-specific SDKs from Nokia, Motorola, Sony Ericsson and (maybe) others.
    If and when you get started in Java ME aka j2me, it will be appropriate to post any questions you might have on the mobility forums, not here.
    Google "j2me tutorial" for many good hits.
    luck, db

  • What is the recommended way to get a java.sql.Connection to the DB  for ADF

    How do I create a standalone database connection based on the datasource setup in ADF?
    I have seen code like this in a method of AppModuleImpl.java but that seems a bit of a hack.
    Connection conn = this.getDBTransaction().createStatement(0).getConnection();
    What I need is a java.sql.Connection to the database used in the application module so I can call PL/SQL code and or work with AQ queues.
    I would prefer a separate connection from the one used by the ADF model so it can have its own transaction control etc.
    But I would like to get the connection created authenticated based on regular datasource setup.

    http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html#8c
    https://blogs.oracle.com/jdevotnharvest/entry/accessing_weblogic_jdbc_datasource_from

  • Connecting a Local Java Program with a Mysql Database Hosted on the Interne

    I need help. I want to connect a java program running on local user computers to read and write to a mysql database hosted in my domain by an internet service provider.
    What code do i use?
    How do i connect?

    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html
    You'll ned to downloda the JDBC driver file from MySQL, and check their docs for the format of the connection URL.

  • Calling FND_VAULT.get from Java program

    Hi,
    I am creating a Java Concurrent Program in EBS and from my Java program I want to invoke "FND_VAULT.get" procedure.
    Can someone please guide me on how to do that.
    Thanks

    Actually I am having 4 Shell Scripts which I want to
    call at a time.
    1)run_graph.sh
    2)run_report.sh
    3)web_report.sh
    4)mktg_report.sh
    Now I want to call all the four from a Java Program at
    the same timeWell... if you truly want to run them at the same time, you'll need to look into multithreading.
    What I suspect you really want is to run them in the above order within the same Java program.
    String pathToScripts = "/etc/path/to/your/scripts/";
    String[] scripts = {"run_graph.sh", "run_report.sh", "web_report.sh", "mktg_report.sh"};
    Process p = null;
    for (int i=0; i<scripts.length; i++){
        p = Runtime.getRuntime().exec(pathToScripts + scripts);
    p.waitFor();
    System.out.println(scripts[i] + " completed with exit code " + p.exitValue());
    If you want to capture output or send input for the above processes, see the java.lang.Process and java.lang.Runtime API docs:
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html
    http://java.sun.com/j2se/1.3/docs/api/java/lang/Process.html
    Hope this helps,
    -Scott

  • Two years trying to get Toshiba Laptop Wireless Connection to work

    I've been trying for the last two years to try and get the wireless connection on my Toshiba Laptop to work without much sucess. I did for a short time manage to establish an ad-hoc wireless connection from the Laptop to a Desktop and share the internet connection that way but then that stopped working.
    I have a Toshiba Satellite Pro U400-15L model no PSU45E-00J005EN. It's the one with the 12.1" screen and running Windows XP Pro sp3.
    My Wireless switch on the front of the laptop is turned on. It is also enabled in the software FN F5 Wireless enabled, bluetooth disabled. I don't have Intel ProSet.
    Previously when I managed to establish an ad-hoc connection that was using microsofts software. I had to manually enable the Wireless Zero Configuation (WZC) each time though as it always started disabled or stopped even if I set it to start automatically. It was a monumental PITA.
    When I try and connect to the home ADSL Wireless Router (Belkin N150) using the Toshiba software I get the error message "another vendor's application is controlling the wireless adaptor".
    I get this all the time even if I have disabled Microsofts Wireless Zero Configuration (WZC).
    I was thinking Windows was still somehow controlling this even though I have disabled WZC so having read solutions in other posts I have tried going to...
    contol panel -> network connections -> wireless connection -> properties -> wireless networks tab -> uncheck "Use Windows to configure...".
    But unfortunately there is no "wireless networks tab" in there, all I have is the other two tabs. And since trying to use Toshibas software to establish the wireless connection using their Radar thing, now when I click into the wireless network connection it has the message "Windows cannot configure this wireless connection. If you have enabled another program to configure this wireless connection, use that software."
    Can anyone on the forum or at Toshiba help please?
    Thanks,
    John

    Two years? Sorry but I cannot believe it.
    If everything is Ok and I mean if there is no hardware problem you dont need longer than two minutes for WLAN configuration.
    At first you must be sure the WLAN card is installed properly (device manager).
    WLAN card must also be enabled properly (switch > check FN+F8 > check ConfigFree tool).
    When he WLAN card is enabled properly (check status in ConfigFree) scan the area using option RADAR in ConfigFree.
    Can you find this option?
    Can you scan the area?
    Is some WLAN visible for your notebook?

  • Trying to get assistance for a connection problem ...

    First, let's get this straight. No, restarting the router has no effect on the connection (as the 'technical' help desk advised me 3 times in a row). 
    Please see previous thread for when the problems started occuring:
    http://community.bt.com/t5/BT-Infinity/Service-has-been-great-for-a-week-ping-loss-after-big-disconn...
    Since then I have been in pretty much regular contact with someone from this forum called Stuart. I must commend his commitment to trying to solve the problem, including one engineer visit a few months ago which I wasn't charged for, but still the problem persists.
    Tonight the line is atrocious, unusable. 
    tracert to one of the new FFXIV servers: http://i.imgur.com/Wx3sWgp.png (packet loss exhibited on hop 3 and 4 a few minutes after i uploaded the screenshot)
    TBB to my IP: http://i.imgur.com/rlilqpr.png
    The random disconnects, the packet loss, the random latency... it's disgraceful. BT have had enough time to sort this out (I reported it in April), and still I'm being charged full price for this line. The problem doesn't appear to be with the connection to my house specifically, but anything past the local exchange. Who can I speak to so I can get some sort of a refund on this...I'm well within my rights to terminate the contract with this kind of service, and I'm seriously considering doing so.

    I would suggest you continue with mod help as they are only bt employees on the forum and from your posts you need bt assistance
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

Maybe you are looking for

  • Interpret Footage Jitter

    Recently shot a project on the C500.  Loads of interviews shot MXF, 23.976, then B Roll was shot 4K to the Odyssey at 59.94 FPS.  We brought the MXF footage straight into the project using the Canon XF MPEG2 1080i/p Timebase: 23.976fps preset.  The 4

  • Getting electric shock while charging my i touch

    hi i am getting electric shock while charging my itouch

  • Three-Way Color Correction in Adobe Premiere Elements 13?

    Does Adobe Premiere Elements 13 have the Three-Way Color Correction feature, as found in past versions? Really important.

  • Can't install lightroom cc

    Hi all. creative cloud user, and have downloaded lightroom cc to my iMac running yosemite. crative cloud app says app is up to date but interface only flashes for a split second and then disapears. i have signed out of adobe as instructed, but still

  • IPhone 3Gs: Error (-1) after attemped update to iOS 5

    After attempting to update to iOS 5 on my 3Gs, my iphone becomes bricked and enters recovery mode. The update proceeded as normal without issue untill it asked me to for a restore. Now, after every attempt to restore I receive the message: unknown er