JDBC operation throws a NullPointerException

Hi all...
It seems that any attempt to perform a jdbc access from a deployed LCA (my process at this point only contains the JDBC 'query multiple to xml' operation) results in the following exception on the LC server (see below). The query and xml generation all seem to work ok from the Workbench. I can mail the lca upon request. Thanks.
[4/28/08 17:10:15:557 EDT] 00000059 SystemOut O [Flex] [ERROR] Root cause: java.lang.NullPointerException
at com.adobe.idp.dsc.jdbc.helper.SqlHelper.executeQuery(SqlHelper.java:85)
at com.adobe.idp.dsc.jdbc.JDBCService.queryMultipleToXml(JDBCService.java:391)
at sun.reflect.GeneratedMethodAccessor1517.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:88)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.idp.taskmanager.dsc.service.TaskManagerServiceImpl.renderForm(TaskManagerServic eImpl.java:3404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
at com.adobe.idp.dsc.trans

I don't see any blank values anywhere. I have a single 'Assign Task' operation with the following config. I can send an lca if you like.
Initial User = 'Assign to Process Creator'
Form Data Mappings => input form variable = /process_data/myXFAForm
output form var = /process_data/myXFAForm
myXFAForm has as its Render Service/Operation = JdbService/queryMultipleToXml with the following settings:
datasourceName(literal)= IDP_DS
sql_info(literal)= select FIRST_NAME, LAST_NAME, CONTACT_INFO, ORACLE_USERID from TVS_TVAS_USER where STATUS='ACTIVE'
xml_info (literal) = root: tvasUsers; element: User; mapping: [{element_name=firstname, column_index=1, column_name=FIRST_NAME}, {element_name=lastname, column_index=2, column_name=LAST_NAME}, {element_name=emailAddress, column_index=3, column_name=CONTACT_INFO}, {element_name=tvasUserID, column_index=4, column_name=ORACLE_USERID}]
service output settings:
document=task/Document

Similar Messages

  • EJB and JDBC operation

              Hi,
              We r using both JDBC and EJB's to perform DB operations.
              We have encountered a problem where operations on the EJB's
              dont apply on JDBC operations done later on in the same txn.
              The same goes the other way (If we perform an insert using JDBC and then try to
              lookup the bean with that ID, it fails).
              We understand the reason for this behaviour, I'm looking for a way to make them
              "see" each other, is that possible somehow ?
              thanks,
              Asher.
              

    You need to run both operations in a JTA transaction and ensure that you
              get your JDBC connections from a TxDataSource.
              -- Rob
              Chuk wrote:
              > Hi,
              > We r using both JDBC and EJB's to perform DB operations.
              > We have encountered a problem where operations on the EJB's
              > dont apply on JDBC operations done later on in the same txn.
              > The same goes the other way (If we perform an insert using JDBC and then try to
              > lookup the bean with that ID, it fails).
              > We understand the reason for this behaviour, I'm looking for a way to make them
              > "see" each other, is that possible somehow ?
              >
              > thanks,
              > Asher.
              >
              

  • Reloading applet in opera throws NullPointerException in SunGraphics2D

    i have an Applet, which checks for Sun JVM. If MS JVM, it aborts. If Sun JVM, it starts new JApplet.
    Everything is working fine, until i tried to reload the html page with the applet tag in it.
    On MS IE, it is working. The Applet is stopped and then restarted.
    On Mozilla, it is working.
    But on Opera, the following Exception is thrown after i have reloaded the page once.
    After reloading, the Exception is also thrown everytime i scroll the page or reload the page.
    java.lang.NullPointerException
         at sun.java2d.SunGraphics2D.<init>(Unknown Source)
         at sun.awt.image.SunVolatileImage.createGraphics(Unknown Source)
         at java.awt.image.VolatileImage.getGraphics(Unknown Source)
         at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
         at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.paint(Unknown Source)
         at sun.awt.RepaintArea.paint(Unknown Source)
         at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    As said, i'm using an Applet class and an JApplet class. the Applet class has only AWT components,
    the JApplet class has swing components (a list and a few JButtons).
    i'm using a thread, but it is not started.
    also, after the reload in opera, the whole applet is started again (as usual), and AFTER the last debug message,
    this exception is thrown. so there is no code of myself after that last debug message.
    i am using java 1.4.2-beta, but users told me they have the same problem with my applet on other computers with
    other jvms.

    i tried a beta-version of opera 7.20 and here are some source code line numbers visible:
    perhaps someone can tell me now, what's happening there and give me a tipp how to solve this problem.
    java.lang.NullPointerException
    at sun.java2d.SunGraphics2D.<init>(SunGraphics2D.java:212)
    at sun.awt.image.SunVolatileImage.createGraphics(SunVolatileImage.java:176)
    at java.awt.image.VolatileImage.getGraphics(VolatileImage.java:223)
    at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4768)
    at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4748)
    at javax.swing.JComponent.paint(JComponent.java:798)
    at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
    at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
    at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
    at java.awt.Container.paint(Container.java:1312)
    at sun.awt.RepaintArea.paint(RepaintArea.java:177)
    at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
    at java.awt.Component.dispatchEventImpl(Component.java:3678)
    at java.awt.Container.dispatchEventImpl(Container.java:1627)
    at java.awt.Component.dispatchEvent(Component.java:3477)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

  • Mac OS X - Printing - PrinterGraphicsConfig.getDefaultTransform() throws a NullPointerException

    Hello guys, I currently try to get our Swing application working on Mac OS X and I found one problem which blocks me. Our application usese the java.awt.print package to generate print-outs.
    One very important information for us is the printers used DPI/PPI setting. We've found a long time ago a tutorial which uses the given Graphics object of the java.awt.Printable.print(Graphics, PageFormat, int) method to get this neseccary information.
    The implementation of our looks like the following:
    * @see java.awt.print.Printable#print(java.awt.Graphics, java.awt.print.PageFormat, int)
    @Override
    public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException
      if (pageIndex != 0)
      return Printable.NO_SUCH_PAGE;
      Graphics2D graphics2D = (Graphics2D) graphics;
      // get the current scale
      AffineTransform defaultDeviceTransform = graphics2D.getDeviceConfiguration().getDefaultTransform();
      double deviceScaleX = defaultDeviceTransform.getScaleX();
      double deviceScaleY = defaultDeviceTransform.getScaleY();
      * this method gets an graphics from the printer which is already scaled to the desired resolution and therefore
      * the dpi can be calculated by the scale of the transformation.
      * -> no other way to determine the dpi were found
      double dpi = deviceScaleX * 72;
      System.out.println("The Printer uses the following DPI setting: " + dpi);
      myPrintingMethod(graphics2D, dpi);
      return Printable.PAGE_EXISTS;
    This way to get the DPI/PPI setting of the printer works perfect if the operating system is Microsoft Windows. But in case of the Mac OS X throws the Line 13. the following NullPointerException:
    java.lang.NullPointerException
    at java.awt.geom.AffineTransform.<init>(AffineTransform.java:488)
    at sun.print.PrinterGraphicsConfig.getDefaultTransform(PrinterGraphicsConfig.java:101)
    at com.intergraph.web.plugin.printing.PrintableDocument.print(PrintableDocument.java:122)
    at sun.lwawt.macosx.CPrinterJob$6.run(CPrinterJob.java:697)
    at sun.lwawt.macosx.CPrinterJob.printAndGetPageFormatArea(CPrinterJob.java:707)
    at sun.lwawt.macosx.CPrinterJob.printLoop(Native Method)
    at sun.lwawt.macosx.CPrinterJob.print(CPrinterJob.java:299)
    at com.intergraph.web.plugin.printing.PrintEngine.print(PrintEngine.java:177)
    at com.intergraph.web.plugin.printing.controller.PrintDocumentJob.run(PrintDocumentJob.java:41)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    I tried to find a workaround but I wasn't sucessful and I only found the following thread from 2008 Simple Printing example that raises many questions .... the result of this thread is not the same but it describes the same problem...
    Does anybody of you know a way to figure out the DPI/PPI setting of a printer?
    I'm tested it with:
    JDK 8u5
    OS X 10.9.4
    Thanks in advance!
    Best Regards,
    Steve

    I tested it with the following printer
    Konica Minolta bizhub C353

  • JDBC Adapter throws error for Null Data

    Hi All,
              I am running a interface Proxy to JDBC. But in case if proxy has no new data, the message which goes to the database is:
    <b>  <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_Material xmlns:ns1="urn:sce-com:xi:fi:UnitEstimateData">
    - <Insert_Material>
    - <dbTableName action="INSERT">
      <table>SCEI_UE_MATERIALS</table>
      </dbTableName>
      </Insert_Material>
      </ns1:MT_Material></b>
    and I get the error in RWB as <b>Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SCEI_UE_MATERIALS' (structure 'Insert_Material'): java.sql.SQLException: FATAL ERROR document format in structure 'Insert_Material': expected 'access' tag(s) not found</b>.
    Is there a way so that the JDBC adapter doesn't throw any error if there is no access node??
    Pls advice...
    XIer

    Xier,
    Why it will create multiple Insert_Material nodes? Use  like this
    Mandatory segment ->Remove context->Collapse Context ---> Exists -
    >insert_material.
    Try the above and let me know if it doesn't helps!!
    raj.

  • Popups throwing a NullPointerException

    I know that I will get jives because I am using awt, and I bet this problem is about Swing being more developed than awt, but anyway:
    I am trying to get a popup to appear when I click on a label. (right-click because I am using Windows). I am using the following code. When I right-click on the labl I get a NullPointerException, because the popup doesn't have a parent. From what I understood, a parent I the Menu from which the popup should appear, but I don't want it that way; I want it to popup from "anywhere" (well, actually, the label).
    May I note that I downloaded the source code from Sun's tutorials and they worked, I added a simple command to check for the popup's parent and discovered it is null, but that was in Swing.
    Can you please advise? Many thanks.
    here's the code:
    import java.awt.*;
    import java.awt.event.*;
    public class MyFrame extends Frame implements ActionListener
         //properties
         private Label lbl;
         private MenuItem miClick;
         private PopupMenu pum;
         //constructor
         public MyFrame()
              setSize(200, 200);
              lbl = new Label("before menu item");
              lbl.addMouseListener(new MyMouseEvent(pum));
              add(lbl);
              pum = new PopupMenu();
              miClick = new MenuItem("Click me");
              miClick.addActionListener(this);
              pum.add(miClick);
              setVisible(true);
         //methods
         public void actionPerformed(ActionEvent ae)
              lbl.setText("After Click");
         //nested class
         public class MyMouseEvent extends MouseAdapter
              //properties
              PopupMenu pum;
              //constructor
              public MyMouseEvent(PopupMenu pop)
                   pum = pop;
              //methods
              public void mousePressed(MouseEvent me)
                   doPopup(me);
              public void mouseReleased(MouseEvent me)
                   doPopup(me);
              public void doPopup(MouseEvent me)
                   if(me.isPopupTrigger())
                        pum.show(me.getComponent(), me.getX(), me.getY());
    }Run it from any where like this:
    MyFrame f = new MyFrame();Right-click on the label named click me, and a NullPointerException should be throw.
    Thanks

    Oh my gosh, I am sooo sorry about that.
    I amended the code, and the constructor now read:
    public MyFrame()
         setSize(200, 200);
         lbl = new Label("before menu item");
         pum = new PopupMenu();
         miClick = new MenuItem("Click me");
         miClick.addActionListener(this);
         pum.add(miClick);
         lbl.addMouseListener(new MyMouseEvent(pum));
         add(lbl);
         setVisible(true);
    }Unfortunately, it's still throwing the same exception: NullPointerException: parent is null
    DarrylBurke wrote:
    And MyMouseEvent is a terrible name for a class that is in fact a MouseListener and not in any way a MouseEvent.
    dbI know, but I wrote that in 2 minutes, and didn't really take notice of naming. =D It's just a SSCCE.
    Thanks for the time,
    Two-eyes %
    PS: the TraceStack shows that the exception is being thrown here:
    public void doPopup(MouseEvent me)
         if(me.isPopupTrigger())
              pum.show(me.getComponent(), me.getX(), me.getY()); //<--here
    }Edited by: two-eyes on Jan 11, 2010 7:09 AM

  • Invoke a FTP "Get File" operation throws java.lang.ClassCastException:

    Hi there,
    I am working on a very simple sample project that will pull the file from a ftp site. I create a partner link with FTP adpater with "Get File" operation.
    When I deploy and run the SIMPLE project, it throws the following exception.
    I am wondering if any of you experienced the same problem and how to resolve the issue. Your help will be greatly appreciated.
    Here is the error message:
    <messages><input><Invoke_1_Get_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Root-Element"><Root-Element xmlns="http://TargetNamespace.com/ftp_service"/>
    </part></Invoke_1_Get_InputVariable></input><fault><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_FTPProcess2_1.0_709914d835a81c407ed668866e080b9e.tmp/ftp_service.wsdl [ Get_ptt::Get(Root-Element) ] - WSIF JCA Execute of operation 'Get' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec</summary>
    </part><part name="detail"><detail>org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.ftp.inbound.FTPActivationSpec due to: oracle.tip.adapter.ftp.inbound.FTPActivationSpec; nested exception is:
         java.lang.ClassCastException: oracle.tip.adapter.ftp.inbound.FTPActivationSpec</detail>
    </part></bindingFault></fault></messages>

    Take a look at the stack trace, it shows you exactly where the error is coming from:
    java.lang.ClassCastException: org.theclass.candidate.view.SearchForm
    org.theclass.candidate.view.CandidateListAction.execute(CandidateListAction.java:41)Line 41 in your CandidateListAction.
    Probably it is failing on a cast of your action form.
    Taking a closer look at your struts-config, you are "chaining" actions.
    Your AddCandidateAction uses the candidateForm, and forwards to CandidateListAction.do
    Your CandidateListAction uses the searchForm.
    That will be the cause of your class cast exception.
    <action path="/Add"
      name="candidateForm"
      type="org.theclass.candidate.view.AddCandidateAction"
      validate ="true"
      input="/jsp/addcandidate.jsp">
      <forward name="success" path="/CandidateList.do"/>
    </action>
    <action path="/CandidateList"
    type="org.theclass.candidate.view.CandidateListAction"
    name="searchForm"
    scope="request" >
    <forward name="failure" path="/jsp/list.jsp"/>
    <forward name="success" path="/jsp/candidatelist.jsp"/>
    </action>Check out: http://struts.apache.org/1.x/faqs/newbie.html#chaining
    Solutions?
    - don't chain actions ;-)
    - use the same action form for both actions (possible?)
    - make the actionForward a "redirect" one. That means a new request, and losing any request parameters/attributes but should prevent this class cast exception.
    Hope this helps,
    evnafets

  • Deadlock while perform JDBC operations?

    Hello,
    We are running Weblogic 7.0SP2 with Oracle 9.2.x as the db.
    We use Oracle for TOPLink as our orm tool for all db access.
    We are encountering strange deadlocks while doing db reads and updates from a
    message-driven EJB (MDB) whose onMessage() method has a "Required" transaction
    attribute.
    I have attached a partial thread-dump below. It seems that multiple threads (3+)
    are waiting to lock the same monitor:
    - waiting to lock <39f68f0> (a oracle.jdbc.driver.OracleConnection)
    This is strange as each thread is running in its own transaction, and so it should
    be using a unique jdbc connection. btw, we use a Weblogic Connection Pool. The
    TOPLink orm tool obtains a connection from the pool by using the DataSource.getConnection()
    method.
    My confusion arises from the fact that some threads are locked while performing
    read operations and for some reason are waiting to lock the same monitor.
    Any help will be greatly appreciated.
    p.s. i also verified that there are more connections available from the pool,
    and idle ExecuteThreads while the deadlock occurs.
    Eventually, the transaction times out and gets rolled-back.
    Partial Thread Dump:
    ================
    "ExecuteThread: '12' for queue: 'default'" daemon prio=5 tid=0x13502c00 nid=0xde8
    waiting for monitor entry [0x145ff000..0x145ffdbc]
         at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:818)
         - waiting to lock <39f68f0> (a oracle.jdbc.driver.OracleConnection)
         at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:191)
         at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:139)
         at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:92)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.prepareStatement(Unknown
    Source)
    <clipped>
    "ExecuteThread: '6' for queue: 'default'" daemon prio=5 tid=0x13549930 nid=0x874
    waiting for monitor entry [0x1447f000..0x1447fdbc]
         at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:818)
         - waiting to lock <39f68f0> (a oracle.jdbc.driver.OracleConnection)
         at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:191)
         at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:139)
         at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:92)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.prepareStatement(Unknown
    Source)
    <clipped>
    "ExecuteThread: '5' for queue: 'default'" daemon prio=5 tid=0x1324e688 nid=0xa58
    waiting for monitor entry [0x1443f000..0x1443fdbc]
         at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:818)
         - waiting to lock <39f68f0> (a oracle.jdbc.driver.OracleConnection)
         at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:191)
         at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:139)
         at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:92)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.prepareStatement(Unknown
    Source)
    <clipped>
    "ExecuteThread: '3' for queue: 'default'" daemon prio=5 tid=0x1353aa38 nid=0xda8
    waiting for monitor entry [0x143bf000..0x143bfdbc]
         at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:818)
         at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:191)
         at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:139)
         at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:92)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.prepareStatement(Unknown
    Source)
         at oracle.toplink.queryframework.SQLCall.prepareStatement(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown
    Source)
    <clipped>
    "ExecuteThread: '1' for queue: 'default'" daemon prio=5 tid=0x13520e10 nid=0xb3c
    waiting on monitor [0x1433f000..0x1433fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3147cb0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3147cb0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: 'default'" daemon prio=5 tid=0x1350bc10 nid=0x98c
    waiting on monitor [0x142ff000..0x142ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3147c30> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3147c30> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)

    I've attached the full thread dump.
    Thanks.
    Full thread dump:
    "ListenThread.Default" prio=5 tid=0x13921e80 nid=0x1198 runnable [0x1533f000..0x1533fdbc]
         at java.net.PlainSocketImpl.socketAccept(Native Method)
         at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:463)
         - locked <4d19ed8> (a java.net.PlainSocketImpl)
         at java.net.ServerSocket.implAccept(ServerSocket.java:238)
         at java.net.ServerSocket.accept(ServerSocket.java:217)
         at weblogic.socket.WeblogicServerSocket.accept(WeblogicServerSocket.java:26)
         at weblogic.t3.srvr.ListenThread.run(ListenThread.java:263)
    "Thread-8" prio=5 tid=0x13865788 nid=0xfc4 waiting on monitor [0x152ff000..0x152ffdbc]
         at java.lang.Thread.sleep(Native Method)
         at weblogic.management.deploy.GenericAppPoller.run(GenericAppPoller.java:139)
    "Thread-7" prio=5 tid=0x136747e0 nid=0x1088 waiting on monitor [0x152bf000..0x152bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <48d0178> (a java.util.TaskQueue)
         at java.lang.Object.wait(Object.java:415)
         at java.util.TimerThread.mainLoop(Timer.java:401)
         - locked <48d0178> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:380)
    "ExecuteThread: '1' for queue: 'JMSStore<null>.ioThreadPool'" daemon prio=5 tid=0x135ddd60
    nid=0x1080 waiting on monitor [0x1527f000..0x1527fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3a1ecd8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3a1ecd8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: 'JMSStore<null>.ioThreadPool'" daemon prio=5 tid=0x136e0c20
    nid=0xdc4 waiting on monitor [0x1523f000..0x1523fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3a1ec58> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3a1ec58> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: 'JMS.TimerTreePool'" daemon prio=5 tid=0x135d5c20
    nid=0x1038 waiting on monitor [0x151ff000..0x151ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3a0c830> (a weblogic.jms.backend.BETimerTree)
         at weblogic.jms.backend.BETimerTree.execute(BETimerTree.java:140)
         - locked <3a0c830> (a weblogic.jms.backend.BETimerTree)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    "ExecuteThread: '3' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x13524de0
    nid=0xd14 waiting on monitor [0x151bf000..0x151bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3995660> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3995660> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '2' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x13524ca8
    nid=0x11b0 waiting on monitor [0x1517f000..0x1517fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <39955e0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <39955e0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '1' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x13525230
    nid=0xd5c waiting on monitor [0x1513f000..0x1513fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3995560> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3995560> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: 'JMS.TimerClientPool'" daemon prio=5 tid=0x13525a60
    nid=0xc00 waiting on monitor [0x150ff000..0x150ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <39954e0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <39954e0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "CoreHealthMonitor" daemon prio=5 tid=0x13558ed0 nid=0xbe0 waiting on monitor
    [0x150bf000..0x150bfdbc]
         at java.lang.Thread.sleep(Native Method)
         at weblogic.t3.srvr.CoreHealthMonitorThread.run(CoreHealthMonitorThread.java:114)
    "ExecuteThread: '14' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1351f3b8
    nid=0xe0c waiting on monitor [0x1507f000..0x1507fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536ca8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536ca8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '13' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1351e7f0
    nid=0xb10 waiting on monitor [0x1503f000..0x1503fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536c28> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536c28> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '12' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1351dc28
    nid=0xc08 waiting on monitor [0x14fff000..0x14fffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536ba8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536ba8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '11' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1351d060
    nid=0x1110 waiting on monitor [0x14fbf000..0x14fbfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536b28> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536b28> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '10' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1351c528
    nid=0x1168 waiting on monitor [0x14f7f000..0x14f7fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536aa8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536aa8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '9' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1351ba90 nid=0x101c
    waiting on monitor [0x14f3f000..0x14f3fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536a28> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536a28> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '8' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1351aff8 nid=0xca8
    waiting on monitor [0x14eff000..0x14effdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <35369a8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <35369a8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '7' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1347e1e8 nid=0xd6c
    waiting on monitor [0x14ebf000..0x14ebfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536928> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536928> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '6' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1347d6c8 nid=0x107c
    waiting on monitor [0x14e7f000..0x14e7fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <35368a8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <35368a8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '5' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1347cc30 nid=0x1120
    waiting on monitor [0x14e3f000..0x14e3fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536828> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536828> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '4' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x1346c680 nid=0xdb8
    waiting on monitor [0x14dff000..0x14dffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <35367a8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <35367a8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '3' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x13516ca8 nid=0x78
    waiting on monitor [0x14dbf000..0x14dbfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536728> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536728> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '2' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x13516ae8 nid=0xc58
    waiting on monitor [0x14d7f000..0x14d7fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <35366a8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <35366a8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '1' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x13475c88 nid=0xe04
    waiting on monitor [0x14d3f000..0x14d3fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3536628> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3536628> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: 'JmsDispatcher'" daemon prio=5 tid=0x13475e38 nid=0xa3c
    waiting on monitor [0x14cff000..0x14cffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <35365a8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <35365a8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '2' for queue: 'weblogic.transaction.AsyncQueue'" daemon prio=5
    tid=0x1355acc0 nid=0x12a8 waiting on monitor [0x14cbf000..0x14cbfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <350df40> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <350df40> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '1' for queue: 'weblogic.transaction.AsyncQueue'" daemon prio=5
    tid=0x13468a68 nid=0x1150 waiting on monitor [0x14c7f000..0x14c7fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <350dec0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <350dec0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: 'weblogic.transaction.AsyncQueue'" daemon prio=5
    tid=0x13468930 nid=0xd20 waiting on monitor [0x14c3f000..0x14c3fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <350de40> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <350de40> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "Thread-5" prio=5 tid=0x135c4d90 nid=0x11cc waiting on monitor [0x14bff000..0x14bffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3508dc0> (a java.util.TaskQueue)
         at java.util.TimerThread.mainLoop(Timer.java:427)
         - locked <3508dc0> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:380)
    "ExecuteThread: '1' for queue: 'DRS'" daemon prio=5 tid=0x1345a408 nid=0x218 waiting
    on monitor [0x14bbf000..0x14bbfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <350dd08> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <350dd08> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: 'DRS'" daemon prio=5 tid=0x13468c18 nid=0xc88 waiting
    on monitor [0x14b7f000..0x14b7fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <350dc88> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <350dc88> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "Thread-4" prio=5 tid=0x1363da58 nid=0x968 waiting on monitor [0x14b3f000..0x14b3fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3504838> (a weblogic.xml.util.cache.entitycache.StatisticsMonitor)
         at weblogic.xml.util.cache.entitycache.StatisticsMonitor.run(EntityCache.java:1579)
         - locked <3504838> (a weblogic.xml.util.cache.entitycache.StatisticsMonitor)
    "VDE Transaction Processor Thread" prio=2 tid=0x135b29b0 nid=0xd90 waiting on
    monitor [0x14aff000..0x14affdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3375f90> (a com.octetstring.vde.backend.standard.TransactionProcessor)
         at java.lang.Object.wait(Object.java:415)
         at com.octetstring.vde.backend.standard.TransactionProcessor.waitChange(TransactionProcessor.java:306)
         - locked <3375f90> (a com.octetstring.vde.backend.standard.TransactionProcessor)
         at com.octetstring.vde.backend.standard.TransactionProcessor.run(TransactionProcessor.java:192)
    "ExecuteThread: '9' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x1358aa70
    nid=0x1194 waiting on monitor [0x14abf000..0x14abfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314b120> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314b120> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '8' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x134ece18
    nid=0x11c0 waiting on monitor [0x14a7f000..0x14a7fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314b0a0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314b0a0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '7' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x134ec700
    nid=0x8a8 waiting on monitor [0x14a3f000..0x14a3fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314b020> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314b020> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '6' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x1328ae18
    nid=0x1e0 waiting on monitor [0x149ff000..0x149ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314afa0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314afa0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '5' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x1328a2f8
    nid=0x10dc waiting on monitor [0x149bf000..0x149bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314af20> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314af20> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '4' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x13742ab0
    nid=0xd68 waiting on monitor [0x1497f000..0x1497fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314aea0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314aea0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '3' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x13296cc8
    nid=0x7dc waiting on monitor [0x1493f000..0x1493fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314ae20> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314ae20> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '2' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x135a98c0
    nid=0x1084 waiting on monitor [0x148ff000..0x148ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314ada0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314ada0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '1' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x1328c548
    nid=0xc48 waiting on monitor [0x148bf000..0x148bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314ad20> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314ad20> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: '__weblogic_admin_rmi_queue'" daemon prio=5 tid=0x136bf818
    nid=0x12a0 waiting on monitor [0x1487f000..0x1487fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <314aca0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <314aca0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'" daemon prio=5 tid=0x134ee818
    nid=0x108c waiting on monitor [0x1483f000..0x1483fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <31486a0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <31486a0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'" daemon prio=5 tid=0x1328c410
    nid=0x1070 waiting on monitor [0x147ff000..0x147ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3148620> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3148620> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "TimeEventGenerator" daemon prio=5 tid=0x136bfaa0 nid=0xe7c waiting on monitor
    [0x147bf000..0x147bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3145058> (a weblogic.time.common.internal.TimeTable)
         at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:272)
         - locked <3145058> (a weblogic.time.common.internal.TimeTable)
         at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:139)
         at java.lang.Thread.run(Thread.java:479)
    "ExecuteThread: '1' for queue: '_weblogic_dgc_queue'" daemon prio=5 tid=0x135f5498
    nid=0x1134 waiting on monitor [0x1477f000..0x1477fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <31484e8> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <31484e8> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '0' for queue: '_weblogic_dgc_queue'" daemon prio=5 tid=0x135f2a90
    nid=0x1158 waiting on monitor [0x1473f000..0x1473fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3148468> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3148468> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "HighPriority TimeEventGenerator" daemon prio=9 tid=0x136c2d10 nid=0xfcc waiting
    on monitor [0x146ff000..0x146ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3147378> (a weblogic.time.common.internal.TimeTable)
         at weblogic.time.common.internal.TimeTable.snooze(TimeTable.java:272)
         - locked <3147378> (a weblogic.time.common.internal.TimeTable)
         at weblogic.time.common.internal.TimeEventGenerator.run(TimeEventGenerator.java:139)
         at java.lang.Thread.run(Thread.java:479)
    "SpinnerRandomSource" daemon prio=5 tid=0x13518d78 nid=0x1074 waiting on monitor
    [0x146bf000..0x146bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3147a68> (a java.lang.Object)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.security.SpinnerRandomBitsSource.run(SpinnerRandomBitsSource.java:60)
         at java.lang.Thread.run(Thread.java:479)
    "ExecuteThread: '14' for queue: 'default'" daemon prio=5 tid=0x13245968 nid=0x1210
    waiting on monitor [0x1467f000..0x1467fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3148330> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3148330> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '13' for queue: 'default'" daemon prio=5 tid=0x135037c8 nid=0x1128
    waiting on monitor [0x1463f000..0x1463fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <31482b0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <31482b0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '12' for queue: 'default'" daemon prio=5 tid=0x13502c00 nid=0xde8
    waiting for monitor entry [0x145ff000..0x145ffdbc]
         at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:818)
         - waiting to lock <39f68f0> (a oracle.jdbc.driver.OracleConnection)
         at weblogic.jdbc.jts.Connection.prepareStatement(Connection.java:191)
         at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:139)
         at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:92)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.prepareStatement(Unknown
    Source)
         at oracle.toplink.queryframework.SQLCall.prepareStatement(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown
    Source)
         at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown
    Source)
         at oracle.toplink.internal.queryframework.CallQueryMechanism.selectOneRow(Unknown
    Source)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRowFromTable(Unknown
    Source)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRow(Unknown
    Source)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
         at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
         at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
         at oracle.toplink.threetier.ClientSession.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
         at cygent.service.da.impl.DataAccessImpl.read(DataAccessImpl.java:1674)
         at cygent.service.da.impl.DataAccessImpl.read(DataAccessImpl.java:1635)
         at cygent.service.frame.TaskActivationEventDispatcher.registerListenerTask(TaskActivationEventDispatcher.java:255)
         at cygent.domain.taskManager.state.TaskNewState.schedule(TaskNewState.java:303)
         at cygent.domain.taskManager.state.TaskNewState.activate(TaskNewState.java:243)
         at cygent.domain.taskManager.TaskInstance.activate(TaskInstance.java:331)
         at cygent.service.frame.TaskManagementMessageBeanHelper.activateTask(TaskManagementMessageBeanHelper.java:317)
         at cygent.service.frame.TaskManagementMessageBeanImpl.onMessage(TaskManagementMessageBeanImpl.java:299)
         at weblogic.ejb20.internal.MDListener.execute(MDListener.java:364)
         at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:298)
         at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:273)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2310)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:2233)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    "ExecuteThread: '11' for queue: 'default'" daemon prio=5 tid=0x1358d630 nid=0x114c
    waiting on monitor [0x145bf000..0x145bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <31481b0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <31481b0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '10' for queue: 'default'" daemon prio=5 tid=0x1358cab8 nid=0xd30
    waiting on monitor [0x1457f000..0x1457fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3148130> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3148130> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '9' for queue: 'default'" daemon prio=5 tid=0x1324efa8 nid=0xcb4
    waiting on monitor [0x1453f000..0x1453fdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <31480b0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <31480b0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '8' for queue: 'default'" daemon prio=5 tid=0x1324ed20 nid=0x10ec
    waiting on monitor [0x144ff000..0x144ffdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3148030> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3148030> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '7' for queue: 'default'" daemon prio=5 tid=0x13549bb8 nid=0x11e4
    waiting on monitor [0x144bf000..0x144bfdbc]
         at java.lang.Object.wait(Native Method)
         - waiting on <3147fb0> (a weblogic.kernel.ExecuteThread)
         at java.lang.Object.wait(Object.java:415)
         at weblogic.kernel.ExecuteThread.waitForRequest(ExecuteThread.java:146)
         - locked <3147fb0> (a weblogic.kernel.ExecuteThread)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:172)
    "ExecuteThread: '6' for queue: 'default'" daemon prio=5 tid=0x13549930 nid=0x874
    waiting for monitor entry [0x1447f000..0x1447fdbc]
         at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:818)
         - waiting to lock <39f68f0> (a oracle.jdbc

  • Excplicitly Including JDBC Operations in Tx

    I have a situation where I have to create a new database connection each
    time (the authentication/authorization happens at the database level). Is
    there a way to include the database operations in an EJB's container-managed
    transaction?
    Thanks,
    Bob

    Bob Lee wrote:
    In my situation, I have to create the connection each time. Do I have to
    dynamically create a pool with a single connection? Or, can I just call
    Driver.connect() and somehow explicitly add this connection to the current
    Tx?I see, you don't know the user ID ahead of time... Yes, you could use the dynamic
    pool API to make a one-connection pool. I suggest configuring the server to
    have a one-connection pool and a TxDataSource for it at startup. Then when
    you want to do a TX in an external client, you would destroy the initial pool and
    recreate it with the DBMS user you want. This will allow you to use the TxDataSource
    to get a connection, which if obtained in the context of a running UserTransaction,
    will get automatically included in the tx.
    Joe
    >
    >
    Thanks,
    Bob
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]..
    Bob Lee wrote:
    I have a situation where I have to create a new database connection each
    time (the authentication/authorization happens at the database level).
    Is
    there a way to include the database operations in an EJB'scontainer-managed
    transaction?Sure. The EJB should be tx-requires, which means it will start one whencalled
    if one is not underway already, or will join the transaction in progressif there
    is one. Your code will use the standard JTS/JTA API to obtain and start aUserTransaction.
    Then you should obtain your JDBC connection fro a TxDataSource, and itwill be included
    in the transaction. If your EJB(s) do any JDBC, it must be to the samepool.
    Joe
    Thanks,
    Bob

  • Jdbc operating system authentication

    Is it only possible to use operating system authentication for jdbc connections (thin/oci) with an oracle11g database ?
    Is it possible to use operating system authentication for jdbc connections with earlier versions of oracle ?
    Thanks, Seb

    Seb,
    As far as I am aware, you cannot use operating system authentication for JDBC connections in all versions up to and including 10g.
    I have not used Oracle 11g, so I don't know about that version.
    Good Luck,
    Avi.

  • SOA WSDL operation throws errors with FlashBuilder4.6...

    hi guys,
    I developed soa cpmposite with bpel process having two operations....
    I successfully deployed it and working fine with vordel soap box and soapUI....
    I am getting error while I am trying to access the same WSDL with Flash Builder 4.6 and getting following error as response....
    Non Recoverable System Fault :
    faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    Error Message: {http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure
    Fault ID     default/LoadMinMax1!1.0*soa_411d1cc2-9788-455d-96e5-3d850f5884d9/LoadMinMax1/120212-BpAss2-BpSeq2.7-1
    Fault Time     Oct 21, 2012 11:05:24 AM
    Non Recoverable System Fault :
    <bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"></selectionFailure></bpelFault>
    FlasBuilder Error
    InvocationTargetException:There was an error while invoking the operation. Check your operation inputs and try invoking the operation again.
    Response Received:
    env:ServerfaultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    i gave proper inputs of complex type in following format
    inputvariable:"inputdata"
    please give some light on this issue...
    Regards,
    jdev

    yes vlad,
    I observed payload difference and Flash builder is changing some namespaces /variable names when it invokes the service..please see both payloads....
    FlashBuilder
    =====
    <inputVariable1>
    <part name="payload">
    <q0:getDailyLoad>
    <q0:todaydatetime>2012-10-22 10:34</q0:todaydatetime>
    </q0:getDailyLoad>
    </part>
    </inputVariable1>
    SoapUI
    =======
    <inputVariable1>
    <part name="payload">
    <load:process1>
    <load:todaydatetime>2012-10-22 10:43</load:todaydatetime>
    </load:process1>
    </part>
    </inputVariable1>
    SoapUI is working fine.....
    How can we clear the payload difference.....
    Regards,
    jdev

  • Oracle JDBC driver throwing java.nio.BufferUnderflowException exception

    Hi,
    We have a an application for which the middleware(SAR file) is running on Jboss.
    We have configured a DCN (data change notification) listener (As part of SAR file) to listen for the databases changes on port 56090.
    A weekly machine security scan has been scheduled. As part of the system scan, it scans the port 56090. Following exception has been thrown by the JDBC driver at the time of scanning.
    2009-05-24 16:29:37,874 INFO [STDOUT] java.nio.BufferUnderflowException
    2009-05-24 16:29:37,874 INFO [STDOUT] at java.nio.Buffer.nextGetIndex(Buffer.java:398)
    2009-05-24 16:29:37,874 INFO [STDOUT] at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117)
    2009-05-24 16:29:37,875 INFO [STDOUT] at oracle.jdbc.driver.NTFConnection.readByte(NTFConnection.java:616)
    2009-05-24 16:29:37,875 INFO [STDOUT] at oracle.jdbc.driver.NTFConnection.readInt(NTFConnection.java:650)
    2009-05-24 16:29:37,875 INFO [STDOUT] at oracle.jdbc.driver.NTFConnection.unmarshalNSDataPacket(NTFConnection.java:498)
    2009-05-24 16:29:37,875 INFO [STDOUT] at oracle.jdbc.driver.NTFConnection.unmarshalOneNSPacket(NTFConnection.java:404)
    2009-05-24 16:29:37,875 INFO [STDOUT] at oracle.jdbc.driver.NTFConnection.run(NTFConnection.java:181)
    And during scanning time very high CPU usage (90%) is encountered. Normal CPU usage of the application server system will be around 20%.
    Can you please give any information on the event/data which is causing the above exception. and how it can be handled, so as to minimize CPU usage back to 20%?
    Please give more information about oracle.jdbc.driver.NTFConnection class.
    Thanks in Advance
    Abdur Rahman
    Edited by: user11269361 on Jun 15, 2009 8:57 AM

    Hi,
    The DCN protocol is synchronous so if the security system scan sends a byte to the port 56090 the protocol will break. I recommend you configure the system scan to not interfere with DCN.
    Regards,
    Jean

  • Why does this select binding throw a NullPointerException?

    This should be pretty simple.  The javadoc for Bindings#selectString says:
    Creates a binding used to get a member, such as a.b.c. The value of the binding will be c, or "" if c could not be reached (due to b not having a c property, b being null, or c not being a String etc.).
    Running this example:
    import javafx.beans.binding.Bindings;
    import javafx.beans.binding.StringBinding;
    import javafx.beans.property.*;
    public class SelectBindingExample {
        public static void main(String[] args) {
            ParentModel parentModel = new ParentModel();
            StringBinding bindingA = createBinding(parentModel);
            String nameA = bindingA.get(); // NPE while evaluating
            System.out.println("Bound value is " + (nameA != null ? nameA : "null") + ".");
            parentModel.setChildModel(new ChildModel());
            StringBinding bindingB = createBinding(parentModel);
            String nameB = bindingB.get();
            System.out.println("Bound value is " + (nameB != null ? nameB : "null") + ".");
        private static StringBinding createBinding(ParentModel parentModel) {
            return Bindings.selectString(parentModel.childModelProperty(), "name");
        public static class ParentModel {
            private final ObjectProperty<ChildModel> childModel = new SimpleObjectProperty<>();
            public final ReadOnlyObjectProperty<ChildModel> childModelProperty() {return childModel;}
            public final ChildModel getChildModel() {return childModel.get();}
            public final void setChildModel(ChildModel childModel) {this.childModel.set(childModel);}
        public static class ChildModel {
            private final StringProperty name = new SimpleStringProperty("Child Model Name");
            public final ReadOnlyStringProperty nameProperty() {return name;}
            public final String getName() {return name.get();}
            protected final void setName(String name) {this.name.set(name);}
    ..causes a NPE while evaluating the binding:
    WARNING: Exception while evaluating select-binding [name]
    Jan 24, 2014 7:10:57 AM com.sun.javafx.binding.SelectBinding$SelectBindingHelper getObservableValue
    INFO: Property 'name' in ReadOnlyObjectProperty [bean: SelectBindingExample$ParentModel@4437c4, name: childModel, value: null] is null
    java.lang.NullPointerException
      at com.sun.javafx.binding.SelectBinding$SelectBindingHelper.getObservableValue(SelectBinding.java:481)
      at com.sun.javafx.binding.SelectBinding$AsString.computeValue(SelectBinding.java:394)
      at javafx.beans.binding.StringBinding.get(StringBinding.java:152)
      at SelectBindingExample.main(SelectBindingExample.java:9)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
    What's going wrong here?  I've updated the example to work with the Bindings#selectString method from Java 7 and things work as expected.  Is this a bug?
    Slight modification to the example so it works with Java 7.

    An additional thought, though.
    This suggests (implies, I think) that Bindings.selectString(...) is using try-catch structures to process the logic of stepping through the properties and evaluating the result. In pseudocode, something like
    public static StringBinding selectString(ObservableValue<?> root, String... steps) {
       try {
        ObservableValue<?> ov = root ;
        for (String step : steps) {
           ov = findObservableValue(ov, step);
        return (String) ov.getValue();
      } catch (NullPointerException | ClassCastException exc) {
       // display horrible warning
       return "" ;
    Apart from the unnecessary warning (because the state that's being warned about is supported, according to the spec), this is a very inefficient implementation, and it wouldn't be too hard, for example, to come up with scenarios where this made table sorting of the order of 100 times slower than it should be. (See this for a similar example, which is now fixed.) It is probably worth verifying this, and filing a JIRA if true.

  • NullPointerException in weblogic.jdbc.rmi.SerialConnection.createStatement()

    Hello,
    we are running WLS 6.1 SP2. The following code sometimes (rather rarely) throws
    a NullPointerException:
    Connection dbConnection = DBUtil.getDBConnection();//here we get the Connection
    stmt = dbConnection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE);//it's
    where NPE happens
    The error report says:
    java.sql.SQLException:
    java.lang.NullPointerException at
    weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:396)
    So, I think, this is something in WebLogic's code... Is this a known issue (I
    couldn't find a similar report in the newsgroup)? Is there a workaround?
    regards,
    Vitaly

    Vitaly Sourikov wrote:
    "Vitaly Sourikov" <[email protected]> wrote:
    The patches that we use with SP2 are
    CR061106_61sp2.jar
    CR072612_61sp2.jar
    CR077919_61sp2.jar
    As far as we know, those fixes (or some of them) were not introduced in SP4. Are
    there new versions of the patches for SP4?I have found that all these bugs are fixed in sp4, so no patches are needed if you
    upgrade to 6.1sp4.
    Joe
    >
    >
    regards,
    Vitaly
    Hi Joseph,
    Thank you for the reply. Unfortunately, we cannot move to SP3 or SP4
    - they have
    conflicts with other patches from WebLogic we use. This error happens
    rather rarely.
    In most of cases this very stuff works. But it would be intresing to
    have this
    patch for diagnostics, in case of future failures. Would you send it
    to me, please?
    Thank you in advance,
    Vitaly
    Joseph Weinstein <[email protected]> wrote:
    Vitaly Sourikov wrote:
    Hello,
    we are running WLS 6.1 SP2. The following code sometimes (rather rarely)throws
    a NullPointerException:
    Connection dbConnection = DBUtil.getDBConnection();//here we get theConnection
    stmt = dbConnection.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE);//it's
    where NPE happens
    The error report says:
    java.sql.SQLException:
    java.lang.NullPointerException at
    weblogic.jdbc.rmi.SerialConnection.createStatement(SerialConnection.java:396)
    So, I think, this is something in WebLogic's code... Is this a knownissue (I
    couldn't find a similar report in the newsgroup)? Is there a workaround?Hi. The NPE is probably happening in the actual DBMS driver. What is
    happening
    is that the rmi driver is having to catch any non-SQLException, andthrow
    a SQLException
    with the message of the original exception. Unfortunately, the fullstacktrace
    of the
    original NPE is lost. If you want, I can send you a small diagnostic
    patch, which will
    just make the rmi object retain the whole original stacktrace in the
    exception it throws,
    and that will help lead to the real problem.
    This may well be a bug that was fixed in sp3 or 4. Is it possible
    for you to upgrade to
    the latest stuff?
    Joe
    regards,
    Vitaly

  • Weblogic throws NullPointerException when using ServiceControl.setTimeout

    We are invoking a SOAP service via a com.bea.control.ServiceControl that was generated from a WSDL (right click WSDL, Generate Service Control) using Weblogic 8.1.6.
    SOAP service execution is successful using an http and https endpoint. However, when setting a timeout via ServiceControl.setTimeout(int millisecods) method, the Weblogic API is throwing a NullPointerException when using an https endpoint. When using an http endpoint with the setTimeout method execution is successful.
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: opening connection to https://[... edit removed ...]
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Response generation exception
    Throwable: java.lang.NullPointerException
    Stack Trace:
    java.lang.NullPointerException
         at weblogic.net.http.HttpsClient.openWrappedSSLSocket(HttpsClient.java:455)
         at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:235)
         at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:389)
         at weblogic.net.http.HttpsClient.<init>(HttpsClient.java:209)
         at weblogic.net.http.HttpClient.New(HttpClient.java:228)
         at weblogic.net.http.HttpsURLConnection.getHttpClient(HttpsURLConnection.java:246)
         at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:217)
         at weblogic.net.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:189)
         at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:179)
         at com.bea.wlw.runtime.jws.call.SoapHttpCall.invoke(SoapHttpCall.java:80)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1288)
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1155)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
         at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
    DEBUG com.bea.wlw.runtime.jws.call.SoapFault [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: SoapFault exception throwable e
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: response code=0, responseMsg=null
    DEBUG com.bea.wlw.runtime.jws.call.SoapHttpCall [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: closed connection to https://[... edit removed ...]
    WARN WLW.INVOKE.[... edit removed ...] [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: Id=[... edit removed id ...] Method=[... edit removed method ...]; Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.NullPointerException
    String:null
    Detail:
    END SERVICE FAULT
    ERROR [... edit removed ...]
    [ExecuteThread: '10' for queue: 'weblogic.kernel.Default']: ServiceControlException
    com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.NullPointerException
    String:null
    Detail:
    END SERVICE FAULT
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
         at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)

    Thanks for the suggestion. But with -DUseSunHttpHandler=true the Weblogic API is throwing a ClassCastException with or without the timeout value set.
    Failure=com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.ClassCastException
    String:null
    Detail:
    END SERVICE FAULT
    ERROR: ServiceControlException
    com.bea.control.ServiceControlException: SERVICE FAULT:
    Code:java.lang.ClassCastException
    String:null
    Detail:
    END SERVICE FAULT
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1268)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:433)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:406)
         at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)

Maybe you are looking for