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.

Similar Messages

  • Need help getting this Java app to work on Mac OS X

    Aloha all,
    I am testing this new Java app that was built that is based on th Axis and Allies strategy gaming engine. On the PC the author wrote a .bat file to launch the app and the JVM. But when I try and enter the arguments on the Mac OS X via the terminal window I get the Usage/Options argument options back. The ,bat file goes as follows:
    java -Xincgc -classpath ../classes;../lib/crimson.jar;../lib/jaxp.jar games.strategy.engine.framework.GameRunner
    It looks to me as if OS X if having problems with -Xincgc argument. I checked to see if I needed to download the JVM, but according to Apple it is already built in. Is there another way to enter the arguments to get this app to launch?
    Maui Duck

    Does OS X use ';' as a separator like windows, or does it use ':' like UNIX. that might be the problem.

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

  • Trying to get HelloWorld Java crawler to work

    Hi, here's where I am thus far:
    Set up the web services ContainerProviderSoapBinding, DocumentProviderSoapBinding, SciProviderSoapBinding -- the are up and running fine. I specified in the Document class metaData.setIndexingURL("/edk/testfile.txt") and the same with metaData.setClickThroughURL("/edk/testfile.txt"). But when I set everything up in the portal I get the following search warning in PTSpy:
    Warn Search 6868 6360 PTCrawlerCrawling.cpp(91) CPTCrawlNodeQueue::AddNode - Provider didn't provide a valid location string even though the Provider asked us to check backlinks!Any ideas if this relates to where I'm specifying the testfile.txt should be searched for in the Document class???

    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.

  • Hello ive been trying to get this matter token care of for the past 24 hrs and still no help im getting very upset now I paid 100 plus $$ to have this program that isn't even working I would like to speak to someone about on the phone I got a 1800 number

    hello ive been trying to get this matter token care of for the past 24 hrs and still no help im getting very upset now I paid 100 plus $$ to have this program that isn't even working I would like to speak to someone about on the phone I got a 1800 number for tech but everytime I call it hangs up and says to chat........ ive been doing that all day yesterday its kinda getting old telling the same thing over n over again so I would like some real live help a number I can call or someone can call me 402 802 1211 everytime I try to do something on this it ask for my serial num I put it in and it says invalid number and when I do my pics it has trail across them

    Hi,
    I'm sorry to hear that you are having problems but this is a user to user forum and only occasionally visited by Adobe staff. Depending on your version of Photoshop elements, you may be able to get help through the chat sessions starting here
    https://helpx.adobe.com/uk/contact.html?promoid=KLXNA
    If you give us details like your operating system, Photoshop elements version and the problem you ae having, someone may well be able to help you.
    Brian

  • How can i  use  this  java program to access from  a jsp page?

    import java.io.*;
    import java.util.*;
    public class FileProcessing
      //create a vector container  for the input variables
         Vector variables = new Vector();
      //create a vector container for the constants
         Vector constants = new Vector();
      /*create a string expression container for the equation
         as read from the file */
         String expression = " ";
      //create double result container for the final result
         double result = 0;
         public boolean processFile(String filename,String delim)
          //index for values vector
              int num_values = 0;
          //index for constants vector
              int num_constants = 0;
          //current line being read from the external file.
              String curline = " ";
          //start reading from the external file
              try
                   FileReader fr = new FileReader(filename);
                   BufferedReader br = new BufferedReader(fr);
                   while(true)
                        curline = br.readLine();
                        if(curline == null)
                             break;
                    //determine the type of current interaction
                        boolean variable = curline.startsWith("input");
                        boolean constant = curline.startsWith("constant");
                        boolean equation = curline.startsWith("equation");
                        boolean output = curline.startsWith("result");
                   //on input variables
                        if(variable)
                          StringTokenizer st = new StringTokenizer(curline,delim);
                          int num = st.countTokens();
                          int count=0;
                          while(st.hasMoreTokens())
                               String temp = st.nextToken();
                               if(count==1)
                                    byte b[]= new byte[100];
                                    System.out.println(temp);
                                    System.in.read(b);
                                    String inputval = (new String(b)).trim();
                                    variables.add(num_values,inputval);
                                    num_values++;
                               count++;
                        // on constant values
                        if(constant)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==1)
                                       byte b[]= new byte[100];
                                       System.out.println(temp);
                                       System.in.read(b);
                                       String cons = (new String(b)).trim();
                                       constants.add(num_constants,cons);
                                       num_constants++;
                                  count++;
                        // on equation
                        if(equation)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==2)
                                       this.expression = temp;
                                  count++;
              // now we are ready to evaluate the expression
                       if(output)
                          org.nfunk.jep.JEP  myparser= new org.nfunk.jep.JEP();
                          myparser.setAllowAssignment(true);
                          for(int i=1;i<variables.size()+1;i++)
                             String name = "arg"+Integer.toString(i);
                             myparser.addVariable(name,new Double(variables.get(i-1)
                                                .toString()).doubleValue());
                          for(int i=1;i<constants.size()+1;i++)
                               String name = "arg" +Integer.
                                         toString(i+variables.size());
                               myparser.addConstant(name,new Double(constants.get(i-1).toString()));
                   //output is obtained as follows
                          myparser.parseExpression(expression);
                          result = myparser.getValue();
                          System.out.println("Assay value: "+result);
              catch(Exception e)
                   System.out.println(e.toString());
              return true;
         public static void main(String[] args)
              FileProcessing fp = new FileProcessing();
              fp.processFile("input.eqn",":");
    }here i need to generate the strings like 'enter value1' and respective text boxes dynamically . i should use this java program as business logic and a jsp page for view.
    following given is my text file input.eqn
    input:enter value1:arg1
    input:enter value2:arg2
    input:enter value3:arg3
    constant:enter constant1:arg4
    constant:enter constant2:arg5
    equation:enter equation:(arg1+arg2)*(arg3+arg4)*arg5
    result:

    Why do you double post ? http://forum.java.sun.com/thread.jspa?threadID=646988&tstart=0
    Why dint that answer satisfy you ? And why dint you say so in that thread rather than posting the same question again ?
    ram.

  • 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

  • How can i  apply this  java program for  a jsp page?

    import java.io.*;
    import java.util.*;
    public class FileProcessing
      //create a vector container  for the input variables
         Vector variables = new Vector();
      //create a vector container for the constants
         Vector constants = new Vector();
      /*create a string expression container for the equation
         as read from the file */
         String expression = " ";
      //create double result container for the final result
         double result = 0;
         public boolean processFile(String filename,String delim)
          //index for values vector
              int num_values = 0;
          //index for constants vector
              int num_constants = 0;
          //current line being read from the external file.
              String curline = " ";
          //start reading from the external file
              try
                   FileReader fr = new FileReader(filename);
                   BufferedReader br = new BufferedReader(fr);
                   while(true)
                        curline = br.readLine();
                        if(curline == null)
                             break;
                    //determine the type of current interaction
                        boolean variable = curline.startsWith("input");
                        boolean constant = curline.startsWith("constant");
                        boolean equation = curline.startsWith("equation");
                        boolean output = curline.startsWith("result");
                   //on input variables
                        if(variable)
                          StringTokenizer st = new StringTokenizer(curline,delim);
                          int num = st.countTokens();
                          int count=0;
                          while(st.hasMoreTokens())
                               String temp = st.nextToken();
                               if(count==1)
                                    byte b[]= new byte[100];
                                    System.out.println(temp);
                                    System.in.read(b);
                                    String inputval = (new String(b)).trim();
                                    variables.add(num_values,inputval);
                                    num_values++;
                               count++;
                        // on constant values
                        if(constant)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==1)
                                       byte b[]= new byte[100];
                                       System.out.println(temp);
                                       System.in.read(b);
                                       String cons = (new String(b)).trim();
                                       constants.add(num_constants,cons);
                                       num_constants++;
                                  count++;
                        // on equation
                        if(equation)
                             StringTokenizer st = new StringTokenizer(curline,delim);
                             int num = st.countTokens();
                             int count = 0;
                             while(st.hasMoreTokens())
                                  String temp = st.nextToken();
                                  if(count==2)
                                       this.expression = temp;
                                  count++;
              // now we are ready to evaluate the expression
                       if(output)
                          org.nfunk.jep.JEP  myparser= new org.nfunk.jep.JEP();
                          myparser.setAllowAssignment(true);
                          for(int i=1;i<variables.size()+1;i++)
                             String name = "arg"+Integer.toString(i);
                             myparser.addVariable(name,new Double(variables.get(i-1)
                                                .toString()).doubleValue());
                          for(int i=1;i<constants.size()+1;i++)
                               String name = "arg" +Integer.
                                         toString(i+variables.size());
                               myparser.addConstant(name,new Double(constants.get(i-1).toString()));
                   //output is obtained as follows
                          myparser.parseExpression(expression);
                          result = myparser.getValue();
                          System.out.println("Assay value: "+result);
              catch(Exception e)
                   System.out.println(e.toString());
              return true;
         public static void main(String[] args)
              FileProcessing fp = new FileProcessing();
              fp.processFile("input.eqn",":");
    }//my text file name is: "input.eqn" (given below)
    input:Enter Value1:arg1
    input:Enter Value2:arg2
    input:Enter Value3:arg3
    constant:arg4
    constant:arg5
    Equation:arg1+arg2+arg3
    result:

    how can i apply this java program for a jsp pagewhy do you want to do this ?
    Your program reads from a file on the disk and formats based on a patterm.
    Jsp is not intended for such stuff.
    ram.

  • 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

  • MySQL trying to connect my java program

    I am trying to write a java program that I can connect to a MySQL database on my compter. I have typed out this example that is in a text book I have and I am trying to connect my java program to a MySQL database. The version of MySQL is 4.1 which I have recently downloaded onto my computer and is working fine. The problem I am having is in ther places where it says "WHAT DO I ENTER HERE", basically the 'database.properties' , the 'jdbc.drivers' and the 'jdbc.url' string names. I do not know what I am supposed to enter. If you could give me some help with what I am supposed to enter or an example of a java program that already works with MySQL that would be of great help to me. A working example would be the greatest help to me .
    Thank-you.
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    class TestDB
    public static void main (String args[])
      try
        Connection conn = getConnection();
        Statement stat = conn.createStatement();
        stat.execute("CREATE TABLE Greetings (Name CHAR(20))");
        stat.execute("INSERT INTO Greetings VALUES ('Hello World!')");
        ResultSet result = stat.executeQuery("Select * From Greetings");
        result.next();
        System.out.println(result.getString(1));
        result.close();
        stat.execute("DROP TABLE Greetings");
        stat.close();
        conn.close();
      catch (SQLException ex)
       while (ex != null)
         ex.printStackTrace();
         ex = ex.getNextException();
      catch (IOException ex)
       ex.printStackTrace();   
    public static Connection getConnection() throws SQLException, IOException
       Properties props = new Properties();
       FileInputStream in = new FileInputStream("WHAT DO I ENTER HERE");
       props.load(in);
       in.close();
       String drivers = props.getProperty("WHAT DO I ENTER HERE");
       if(drivers != null)
         System.setProperty("WHAT DO I ENTER HERE", drivers);
       String url = props.getProperty("WHAT DO I ENTER HERE");
       String username = props.getProperty("jdbc.username");
       String password = props.getProperty("jdbc.password");
       return
         DriverManager.getConnection(url, username, password);
    }

    public static Connection getConnection() throws SQLException, IOException {
       Properties props = new Properties();
       // It could be absolute or relative path.
       // If the properties file is in the same dir, use the name as shown below.
       FileInputStream in = new FileInputStream("database.properties");
       props.load(in);
       in.close();
       // It will load the driver String from properties
       String drivers = props.getProperty("jdbc.drivers");
       if(drivers != null)
         System.setProperty("jdbc.drivers", drivers);
         // If drivers are not set in properties, set them now.
       String url = props.getProperty("jdbc.url");
       String username = props.getProperty("jdbc.username");
       String password = props.getProperty("jdbc.password");
       return DriverManager.getConnection(url, username, password);
      }Have a look at the comments I inserted. :)

  • 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

  • I have adobe acrobat pro for windows and it is freezing up when I try to convert a word file to pdf... I have tried to get this done six ways from Sunday but it is just not working... help!  Chris.

    I have adobe acrobat pro for windows and it is freezing up when I try to convert a word file to pdf... I have tried to get this done six ways from Sunday but it is just not working... help!  Chris.

    It would be helpful to know what version of Acrobat, WORD, and operating system.
    Without that info, I would suggest at this point to open your WORD file and then go to the print menu and print to file using the Adobe PDF printer. Open the created file in Distiller and see if you get a PDF. If so, check to see if AcroTray is running in the background.
    You say you tried many ways. It would help to know what you tried and what worked or did not work, and at what point the failure occurs.

  • Itunes wont open get this msg. program can't open MSVCR80.dll missing from your computer

    itunes wont open getting this msg. program can't open MSVCR80.dll is missing from your computer I got this after insatlling a update.

    Hi there Tberg01,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    -Griff W.

  • HT2589 Someone is using itunes with my credit card without permission and I want my card number removed.  Ive been trying to get this fixed for months. Im at the end of my paitience.

    Someone is using iturnes with my credit card without my permission and I want my credit card number removed.  I've been trying to get this matter resolved for months.  I've lost all patients with this matter.  I want my credit card number removed from your business. 
    Virginia Mezger
    <Personal Information Edited by Host>

    Please be aware that you are not communicating with Apple when you post in these forums. The only people who will reply to your posts are we your fellow users.
    Since you don't say what resources and methods you've been attempting to get this matter resolved, it's difficult to offer suggestions. But if your credit card has been used without your permission, your primary recourse should be to your credit card company to report the unauthorized charges and have them issue you a new credit card. If your card has been compromised such as to make unauthorized charges on the iTunes Store, it's highly probably that it can be used elsewhere.
    As to removing the card number from your iTunes Store account,  see:
    http://support.apple.com/kb/HT1918
    You should be able to change or remove the card information there. If not, go here:
    iTunes Support
    and follow the instructions to report the issue to the iTunes Store, if you have not done so already. If you have, please post back with a summary of what they told you and perhaps someone can offer additional suggestions as to how to proceed.
    Regards.
    Regards.

  • Trying to get this "One" sound with Logic pro 8

    Hi everyone i spent like 2 hours last night trying to get this sound with Logic Pro 8 soft synths trying to find a sound exactly like or close to this sound: http://home.comcast.net/~tommykry/Weezer%20-%20Troublemaker.mp3
    The sound can be heard at 00:19 and through out the song, its like a low bass synth kind of sound that drifts down when its hit, like a portamento kind of thing. In live weezer videos the bass player is hitting a pad on a keyboard so i know its a key sound not a bass guitar slide. ive heard this sound in trance and techno songs as well. I have Sonar 8 and pro tools 8 as well and can look there if i have too, also have an Access viress Ti, But im trying to do this all in Logic. Like i said i played around for like more than 2 hours going through most of all the Logic synths, patch after patch trying to find something close i could tweak, so if anyone has more experience with The Soft synths in Logic Pro 8 and can steer me in the right direction i would be greatful.
    Thanks
    Tommy

    In live weezer videos the bass player is hitting a pad on a keyboard so i know its a key sound not a bass guitar slide.
    He could just be triggering a bass slide sample...
    It's some kind of bass sound that bends down, in a similar style to what a bass player might do. Whether it's a real bass or a synth is difficult to say (and probably doesn't matter a great deal), but in any case it's certainly compressed, and grunged up dirty with some amp sim or distortion...
    Try that route...

Maybe you are looking for