SKProductsRequest delagate methods never called

SKProductsRequest delagate methods never called.

..what could it mean, if these both methods are never called?
- (void)requestDidFinish:(SKRequest *)request {
NSLog(@"purchase request finished");
- (void)request:(SKRequest *)request didFailWithError:(NSError *)error {
NSLog(@"%@", [error description]);
EDIT
it seems, that i could identify the error.. its wired..
The following snippet DOES NOT WORK
- (void) requestProductData {
NSString *p1 = @"at.hypercms.airwriting.product_airfeature";
NSString *p2 = @"at.hypercms.airwriting.product_airfeatures";
SKProductsRequest *request = [[SKProductsRequest alloc]
initWithProductIdentifiers:
[NSSet setWithObjects: p1, p2, nil]];
[request autorelease];
request.delegate = self;
[request start];
The following snippet DOES WORK
- (void) requestProductData {
NSString *p1 = @"at.hypercms.airwriting.product_airfeature";
NSString *p2 = @"at.hypercms.airwriting.product_airfeatures";
request = [[SKProductsRequest alloc]
initWithProductIdentifiers:
[NSSet setWithObjects: p1, p2, nil]];
request.delegate = self;
[request start];
so making SKProductsRequest a GLOBAL variable is the solution. is this a bug?! (using 3.1.3)
Message was edited by: sommeralex

Similar Messages

  • Action method never called

    Hello,
    I have identified a problem with my app which really puzzles me:
    When I specify programmatically whether a command button should be rendered, the action method never gets called whereas the button does get rendered. See below:
    <h:commandButton action="#{ContractManagedBean.updateContractAction}" image="images/update.png" rendered="#{ContractManagedBean.contractForUpdate}"/>When I specify declaratively whether the button should be rendered, the action method does get called. See below:
    <h:commandButton action="#{ContractManagedBean.updateContractAction}" image="images/update.png" rendered="true"/>What I am missing?
    Thanks in advance,
    Julien.
    pS. I have no error messages displayed by the h:messages and when I click the button the whole of the lifecycle run through all phases without problems.

    Hello BalusC,
    Thanks for your reply!!
    On a different note, I would greatly appreciate your advice on a different topic but was not able to find you email address nor was I able to register on your forum as I don't speak Dutch so I take the liberty to post my question here:
    Which ajax framework would you advice to go with jsf???
    Thanks in advance,
    Julien.

  • SKProductsRequest never called

    Hi,
    My app is close to be finished, and I want to thank everybody who helped me realizing my project - there is just one thing missing: the app in purchase functionality - which doesn't work.
    My AppID has In App Purchase enabled. ok.
    My Provisioning Profile is using this AppID. ok.
    I have registered two products:
    Airfeatures
    at.hypercms.airwriting.product_airfeatures
    Approved By Developer
    Airlounge Scope 1
    at.hypercms.airwriting.product_airscope1
    Approved By Developer
    I have created a Test User Account, but i am not sure how to "use" it. The documentation says that i should now login in with my test account in the store settings. right?
    With my standard-account (my own iTunes Store/Connect Account) i am running the APP on my iPad.
    - (void) requestProductData {
    NSString *p1 = @"at.hypercms.airwriting.product_airfeatures";
    NSString *p2 = @"at.hypercms.airwriting.product_airscope1";
    SKProductsRequest *request= [[SKProductsRequest alloc]
    initWithProductIdentifiers:
    [NSSet setWithObjects: p1, p2, nil]];
    [request autorelease];
    request.delegate = self; [request start];
    but productsRequest:(SKProductsRequest *)request didReceiveResponse is never called.

    ..what could it mean, if these both methods are never called?
    - (void)requestDidFinish:(SKRequest *)request {
    NSLog(@"purchase request finished");
    - (void)request:(SKRequest *)request didFailWithError:(NSError *)error {
    NSLog(@"%@", [error description]);
    EDIT
    it seems, that i could identify the error.. its wired..
    The following snippet DOES NOT WORK
    - (void) requestProductData {
    NSString *p1 = @"at.hypercms.airwriting.product_airfeature";
    NSString *p2 = @"at.hypercms.airwriting.product_airfeatures";
    SKProductsRequest *request = [[SKProductsRequest alloc]
    initWithProductIdentifiers:
    [NSSet setWithObjects: p1, p2, nil]];
    [request autorelease];
    request.delegate = self;
    [request start];
    The following snippet DOES WORK
    - (void) requestProductData {
    NSString *p1 = @"at.hypercms.airwriting.product_airfeature";
    NSString *p2 = @"at.hypercms.airwriting.product_airfeatures";
    request = [[SKProductsRequest alloc]
    initWithProductIdentifiers:
    [NSSet setWithObjects: p1, p2, nil]];
    request.delegate = self;
    [request start];
    so making SKProductsRequest a GLOBAL variable is the solution. is this a bug?! (using 3.1.3)
    Message was edited by: sommeralex

  • GetGroupMembersInternal method never been called

    Hello,
    Regard to my custom realm, I notice that my getGroupMembersInternal method
    has never been called although I set weblogic.security.groupCacheTTL=1.
    I'm sure I implemented my group by subclassing from FlatGroup and implement
    necessary methods for it and it works fine for authentication and
    authorization. But it can't use group member refresh feature 'cos
    getGroupMembersInternal method never been called.
    Could you tell me what I've done wrong ?
    I uses WLS 5.1 with service pack 3 on Win2K. Do I need the new patch ??
    Thanks in advance,
    Siros

    "Benny" <[email protected]> wrote:
    I have resolved my problem , It was a spelling mistake for the method name !!!!
    Now the method is getting called and all the group members are loading , I use
    secure way as my ldap security store .
    Benny
    >
    Hi ,
    I have similar problem , I am using weblogic server6.0sp1
    , wrote a customRealm as per documentation provided in weblogic site
    , I can see
    users and groups in the console , because
    getGroupmembersInternal never been executed group members are not loading
    with
    the group name , could any one post an explanation
    Thanks
    Benny
    "Siros Supavita" <[email protected]> wrote:
    Hello,
    Regard to my custom realm, I notice that my getGroupMembersInternalmethod
    has never been called although I set weblogic.security.groupCacheTTL=1.
    I'm sure I implemented my group by subclassing from FlatGroup and implement
    necessary methods for it and it works fine for authentication and
    authorization. But it can't use group member refresh feature 'cos
    getGroupMembersInternal method never been called.
    Could you tell me what I've done wrong ?
    I uses WLS 5.1 with service pack 3 on Win2K. Do I need the new patch
    Thanks in advance,
    Siros

  • NamespaceContext.getPrefix() never called

    I am a newbie in the Java XML world.
    Here is my issue and the snippet of code is used to explain the problem:
    XPathVariableResolver jxvr = new JSTLXPathVariableResolver(pageContext);
    Node contextNode = adaptParamsForXalan(n, xpathString.trim(), jxvr);
    XPath xpath = XPathFactory.newInstance().newXPath();
    xpath.setNamespaceContext(jstlXPathNamespaceContext); //jstlXPathNamespaceContext is
    // initialized somewhere else
    xpath.setXPathVariableResolver(jxvr);
    Now when the xpath is evaluated using:
    xpath.evaluate(xpathString, contextNode);
    Under the debugger I can see that this call eventually calls the getNamespaceURI() method
    of JSTLXPathNamespaceContext (class for jstlXPathNamespaceContext) and then after that
    I land up at the resolveVariable(QName qname) call of JSTLXPathVariableResolver.
    What I notice in resolveVariable() call is that qname.getPrefix() is always an empty string. However, qname.getNamespaceURI() returns the proper URI string. In addition, prior to reaching resolveVariable() in JSTLXPathVariableResolver, I do see that the getNamespaceURI() method
    is being called in JSTLXPathNamespaceContext class. However, getPrefix() method of this
    class is never called. My instinct says that if this was called before resolveVariable() method is
    reached (during the creation of QName) I would get a valid prefix instead of an empty string.
    Could someone help with this. Is there something that I am doing wrong. Where does QName
    get created in resolveVariable() and why does it not call getPrefix()
    Please let me know if I can provide more info
    Thanks in advance
    -Dhiru

    The installer extension isn't removed with the application. It still can be found in Java Cache Viewer. When you remove this extension using Java Cache Viewer the uninstall method will be called.
    Is there a way to force the extension uninstallation when the main application is being removed? Removing the very application is user-friendly, you can do it from the Control Panel in Windows. It looks like JWS is missing a very important feature.
    I'm using Java 1.6.0_03 right now.

  • Java.sql.SQLException: execute() never called java.sql.SQLException: execut

    Hi,
    I am having problem in with depolying application developed using creator on Tomcat5.0. I am using sybase for connection
    MY JNDI settigns are correct. I have tried using
    1. Sun creator drvier class
    or
    2. JConnection6_0
    But am having no luck so far.
    Here is the stack trace
    java.sql.SQLException: execute() never called
    at com.sun.sql.rowset.CachedRowSetXImpl.checkExecuted(CachedRowSetXImpl.java:269)
    at com.sun.sql.rowset.CachedRowSetXImpl.next(CachedRowSetXImpl.java:1423)
    at webreporting.security.LoginValidator.authorizeUser(LoginValidator.java:61)
    at webreporting.Page1.button1_action(Page1.java:308)
    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.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
    at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.
    at javax.faces.component.UICommand.broadcast(UICommand.java:312)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
    at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChai
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:1

    java.sql.SQLException: execute() never called
    at com.sun.sql.rowset.CachedRowSetXImpl.checkExecuted(CachedRowSetXImpl.java:269)
    at com.sun.sql.rowset.CachedRowSetXImpl.next(CachedRowSetXImpl.java:1423)
    at webreporting.security.LoginValidator.authorizeUser(LoginValidator.java:61)You can't call cachedRowSet.next() until after you've executed your query. That's what the stack trace seems to say.
    cachedRowSet.execute() retrieves the rows from the database.
    next() lets you interate through the retrieved rows (aka the ResultSet).

  • GetMethods from AuthoringScope is never called

    There are two threads on the theme:
    "I'm working on MPF package containing the language service. I need to implement MethodTips feature.
    I've created the class inherited from the AuthoringScope class from MPF and override following methods:
    GetDataTipText, GetDeclarations, GetMethods, Goto.
    All of these except GetMethods are called ok but GetMethods is never called. "
    I did as described in these threads (call the 4 methods StartName, ...) but it did not work until...
    ProvideLanguageService(typeof(PRLangServ),
    "PR Language",
                                 106,            
    // resource ID of localized language name
                                 CodeSense =
    true,            
    // Supports IntelliSense
                                 RequestStockColors =
    true,  
    // Supplies custom colors
                                 EnableCommenting =
    true,     
    // Supports commenting out code
                                 EnableAsyncCompletion =
    false, 
    // Supports background parsing
                                 AutoOutlining=
    true
    If I put EnableAsyncCompletion to true, GetMethods will never be called, if I put it as false, then it will be called.
    Why ??? Can it be considered like a bug?

    Hi philoroussel2,
    I'm not sure how this method works, I'm going to involve someone else into your case. At the same time, you can submit a feedback here for the VS product team, they might give you a good explanation about this problem.
    https://connect.microsoft.com/VisualStudio
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ReadObject() and writeObjectO never called

    I have classes to transfer images through RMI. ImageDescriptor interface provides basic method to override:
    public interface ImageDescriptor extends Serializable
      public void paint(java.awt.Graphics g, int x, int y, int width, int height);
    }BinaryImageDescriptor is used for transferring binary data. It worked but byte[]->Image transform took some time (done once in the paint method, which caused a delay while painting for the first time) so I decided to move this routine to a method and call it when object is deserialized:
    import java.awt.*;
    import javax.imageio.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.io.*;
    import java.awt.image.*;
    public class BinaryImageDescriptor
        implements ImageDescriptor, Serializable {
      private byte[] imageData = null;
      private transient Image image = null;
      private transient boolean updated = false;
      private transient ImageObserver observer = null;
      public BinaryImageDescriptor(byte[] imageData) {
        this.imageData = imageData;
        updated = false;
      public BinaryImageDescriptor(String fileLocation) {
        try {
          File file = new File(fileLocation);
          FileInputStream fis = new FileInputStream(file);
          FileChannel fc = fis.getChannel();
          int filelength = (int) file.length();
          MappedByteBuffer mbb = fc.map(FileChannel.MapMode.READ_ONLY, 0,
                                        filelength);
          this.imageData = new byte[filelength];
          mbb.get(this.imageData);
          System.out.println("Binary Image Success: " + fileLocation);
        catch (IOException ex) {
          System.out.println("Binary Image error: " + fileLocation);
          this.imageData = null;
      public void updateBinaryImage() {
        System.out.println("Update Binary");
        try {
          image = javax.imageio.ImageIO.read(new ByteArrayInputStream(imageData));
        catch (Exception ex) {
          image = null;
          ex.printStackTrace();
      public void paint(Graphics g, int x, int y, int width, int height) {
        // Previously I used to read Image here by calling updateBinaryImage() once
        if (image != null) {
          g.drawImage(image, x, y, width, height, null);
      public void setObserver(ImageObserver observer) {
        this.observer = observer;
      private void writeObject(java.io.ObjectOutputStream oos) throws IOException {
        //This method is never called
        System.out.println("Inside write Object");
        oos.defaultWriteObject();
      private void readObject(java.io.ObjectInputStream ois) throws
          ClassNotFoundException, IOException {
        //This method is never called too
        System.out.println("Inside readObject");
        ois.defaultReadObject();
        updateBinaryImage();
      public byte[] getImageData() {
        return imageData;
    }But the problem is, the readObject() and writeObject() (on the server side) are never called. So the Image remains null and nothing is painted.
    Could you help?
    ps: I do not obsfucate the code. Some package definitions are removed (due to propriarity) but the code compiles fine.

    silly mistake of me, fixed. error outside the code.
    ---CLOSED---

  • DSHandler::GetLogo never called in DocSign

    Hello everyone,
    I've noticed a small problem with the DocSign plugin sample from the 9.1 SDK: The custom signature logos (respectively the green check mark, the red X and the yellow question mark) are never shown and are instead replaced with... a yellow question mark. I first though it was the question mark from the "unknown" signature state, but after investigation, it seems that the DSHandler::GetLogo method is, in fact, never called at all.
    Since I didn't change anything to the DocSign source code, and since it worked fine with other users, i guess it should be a kind of bug from the current version of adobe acrobat.
    I build the plugin on Windows XP with VS9, and i tested it on Windows Vista with up-to-date trial versions of both Adobe Acrobat Pro and Adobe Acrobat Pro Extended.
    Does anyone knows a workaround?
    Thanks,
    M.H.

    Okay, I ran accross this document which made things a bit clearer:
    http://www.adobe.com/devnet/acrobat/pdfs/acrobat_digital_signature_appearances_v9.pdf
    I misunderstood the concept of "status logo", which is in fact only a small part of the signature appearance, builded using the signature AP dictionnary.
    What I really wanted was in fact (using the correct terminology) to add a watermark to the signature appearance. I successfuly managed to do so by injecting the given logo into the n2 layer of the signature AP dictionnary via the PSSigCreateAPNXObj procedure.
    This doesn't explain why the GetLogo method is never called (if i'm not wrong, GetLogo is supposed to set a default watermark when none are present). Maybe because GetLogo is used to inject a watermark in layers n1, n3, or n4, which are dependant of the signature status and are now deprecated for security reason...
    Anyway, thanks for the help,
    M. H.

  • "getIndexOfChild" never called !!!   IMHO

    Hi guys,
    I want to override DefaultTreeModel so it would show root's child in ascending order, like following(In model they are saved in random order)
    ROOT
    +
    |
    ---+ AAA
    |
    ---+ BBBBB
    |
    ---+ CCCC
    I'm trying to reach it by overriding getIndexOfChild method of DefaultTreeModel class, but overrided method never being colled !!!
    Please explain this situtaion
    thanks, Ashot

    its hard to say why getIndexOfChild is not being called, I guess that this is used by other parts than the rendering part (maybe editing??)
    but the TreeModel interface has other important methods which are probably more important to the JTree
    Object getChild(Object parent, int index)
    int getChildCount(Object parent)
    asjf

  • What method is called only once in the life cycle?

    Hello,
    What method is called only once in the life cycle of an Entity Bean and Session Bean?
    Is it ejbRemove()?
    Thanks

    hi,
    ejbCreate() and setSessionContext() are called once by the container after the bean instace is created.when the bean instance goes to pool and again return to ready state to handle client requests these methods r never called .only bussiness methods r called.this is in case of stateless session bean.
    in case of stateful session bean, each bean instance is associated with client.so,when new client requests, new bean instance is created and above 2 methods are called. no pool terminology in case of stateful session bean.
    ejbRemove() is called by the container when it is abt to remove bean instance,so it its obvious tht it is called only once.

  • JTable custom renderer never calls getTableCellRendererComponent()

    I have a custom renderer for Dates in my JTable. I've set it as the renderer on Date columns and I've also tried setting it as the table default for the Date type. In both cases the getTableCellRendererComponent() method never gets called.
    I've also tried right-justifying String columns with
              DefaultTableCellRenderer renderer = (DefaultTableCellRenderer)table.getDefaultRenderer(String.class);
              renderer.setHorizontalAlignment(JLabel.RIGHT);
    but the Strings are always left-justified. Same with integers.
    I verify that the new renderer / alignments are actually set immediately after setting them. A few method calls later I notice that the alignments have changed back. My custom date renderer is still set, however.
    My code calls fireTableStructureChanged(). I set/reset all renderers after the call to fireTableStructureChanged(). I wonder if fireTableStructureChanged() rebuilds the table some teim later wiping out the renderer / alignments that I've set and replacing them with the defaults.
    Is there a callback or some method that I need to override after calling fireTableStructureChanged() in order to get my renderer / alignments to remain in effect?

    I can't post the code because it is proprietary and the application itself is large.
    The trouble seems to start when I call fireTableStructureChanged(). None of the toy examples in books that I've seen address fireTableStructureChanged(). The JavaDocs for Swing don't tell you about all of the side effects of fireTableSTructureChanged().
    You're comment about overriding getColumnClass() got my custom data renderer working. The Javadocs for DefaultTableModel and JTable don't mention when you need to override getColumnClass(). Overriding getColumnClass() in the TableModel seems to apply to JTable as well. I don't understand why, but it seems to work.
    I am able to justify my columns be creating a default renderer and calling setHorizontalAlignment() on it and setting it as the default for the JTable. The code below doesn't work, however:
    DefaultTableCellRenderer renderer = (DefaultTableCellRenderer)table.getDefaultRenderer(int.class);
    renderer.setHorizontalAlignment(JLabel.RIGHT);
    It seems that the default renderers reset themselves back to their default state. I have no idea why, but that is what I am seeing.
    There is also a big difference in the way that primitives and wrappers are handled (i.e. int compared to Integer).
    One of the other posters here said that if I call setModel() that I would have to reset the renderers. The Javadocs don't say anything about that. (I only call setModel during initialization. I do update the actual data in the TableModel which can change the structure of the table. That is when I call fireTableStructureChanged() and all the difficulties start.)
    This whole episode has shown that the Swing Javadocs are next-to-worthless for writing real-world Swing applications. I've written several Swing applications over the years, and once they get beyond the simple level they become difficult to write and maintain due to the lack of documentation. For my next Java GUI I'm going to check out JavaFX (as soon as it is available on Linux). I don't see how it could be worse than Swing.
    Thanks for all of your help. You got me on the path to getting this solved.

  • ServletException from init() but destroy() never called

    Hello,
    During init() an essential resource was unavailable so a ServletException was thrown:
    StandardWrapperValve[myservlet]: Allocate exception for servlet myservlet
    javax.servlet.ServletException: MyServlet: Connection refused to host
    However before this, connections to other resources (database) were established.
    My destroy() method would clean up all these connections to resources but this was never called.
    On subsequent requests to this servlet, the container kept trying to initialise the servlet, each time creating more database connections which were never released.
    Is this correct behaviour? Should destroy() be treated like finally() i.e. never rely on it being called? Or, should it have been called by the container when init() threw an exception?
    The servlet engine was Tomcat 4.1.24.
    Thanks.

    Nevermind, I had a look at the Tomcat source and have seen what is needed. To stop the servlets init() being called again I should have marked it as unavailable by throwing an UnavailableException (which extends ServletException) and it looks as though I should also have cleaned up the resources first too.

  • ExecuteUpdat methode never returns

    I m using OCI Driver with Connection Poolig..Weblogic 11g,Oracle 11g . I found that the executeUpdate method never returns, every 1 out of 100 times, approximately.
    I m calling a procedur from Java,which only inser the insert data,in procedure for tracking I m inserting in one table and that procedure is "PRAGMA AUTONOMOUS_TRANSACTION".Please help me.
    And the thead stack is below
    "[STUCK] ExecuteThread: '81' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE native
         oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
         oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:482)
         oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:727)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
         oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3657)
         oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4739)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.InterfaceDAO.saveForLogging(InterfaceDAO.java:460)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CommonResponseHandler.processCommonResponse(Simah_CommonResponseHandler.java:93)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CreditReportHandler.mainProcessing(Simah_CreditReportHandler.java:1188)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CreditReportHandler.processRequest(Simah_CreditReportHandler.java:92)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CreditReportHandler.startHandler(Simah_CreditReportHandler.java:74)
         com.infotech.kastle.lending.interfaces.core.InterfaceManager.executeServices(InterfaceManager.java:314)
         com.infotech.kastle.lending.interfaces.core.InterfaceManager.executeServices(InterfaceManager.java:288)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.DBUtils.callingSimahCreditReport(DBUtils.java:1367)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.DBUtils.InterfaceTrigger(DBUtils.java:2004)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.DBUtils.checkInterfaceFiringForCust(DBUtils.java:1823)
         com.infotech.kastle.lending.action.corporate.BasicInfoISAction.execute(BasicInfoISAction.java:581)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         com.infotech.kastle.lending.filter.UTF8EncodingFilter.doFilter(UTF8EncodingFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

    I m using OCI Driver with Connection Poolig..Weblogic 11g,Oracle 11g . I found that the executeUpdate method never returns, every 1 out of 100 times, approximately.
    I m calling a procedur from Java,which only inser the insert data,in procedure for tracking I m inserting in one table and that procedure is "PRAGMA AUTONOMOUS_TRANSACTION".Please help me.
    And the thead stack is below
    "[STUCK] ExecuteThread: '81' for queue: 'weblogic.kernel.Default (self-tuning)'" RUNNABLE native
         oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
         oracle.jdbc.driver.T2CCallableStatement.executeForDescribe(T2CCallableStatement.java:482)
         oracle.jdbc.driver.T2CCallableStatement.executeForRows(T2CCallableStatement.java:727)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
         oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3657)
         oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:4739)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:172)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.InterfaceDAO.saveForLogging(InterfaceDAO.java:460)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CommonResponseHandler.processCommonResponse(Simah_CommonResponseHandler.java:93)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CreditReportHandler.mainProcessing(Simah_CreditReportHandler.java:1188)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CreditReportHandler.processRequest(Simah_CreditReportHandler.java:92)
         com.infotech.kastle.lending.interfaces.handlers.externalSystems.Simah_CreditReportHandler.startHandler(Simah_CreditReportHandler.java:74)
         com.infotech.kastle.lending.interfaces.core.InterfaceManager.executeServices(InterfaceManager.java:314)
         com.infotech.kastle.lending.interfaces.core.InterfaceManager.executeServices(InterfaceManager.java:288)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.DBUtils.callingSimahCreditReport(DBUtils.java:1367)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.DBUtils.InterfaceTrigger(DBUtils.java:2004)
         com.infotech.kastle.lending.interfaces.core.databaseUtils.DBUtils.checkInterfaceFiringForCust(DBUtils.java:1823)
         com.infotech.kastle.lending.action.corporate.BasicInfoISAction.execute(BasicInfoISAction.java:581)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         com.infotech.kastle.lending.filter.UTF8EncodingFilter.doFilter(UTF8EncodingFilter.java:70)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

Maybe you are looking for

  • Any ideas of what service to go with for a laptop that I want to be able to use anywhere

    I just bought a lap top and it will be my main source of internet use now.  I am over whelmed with all the stuff on the internet about wireless internet.    I need to be able to play games on pogo along with browsing the net   e-mail and photos.  I u

  • Error while deploying EJB

    Hey Folks I am getting following error while deploying my ear file Auto-deploying sample-ejb.jar (No previous deployment found)... Error compiling D:\J2EE\SAMPLE\bin\SAMPLE/SAMPLE-ejb.jar: Syntax error in source can anybody plz tell me why it is comi

  • Output determination for PO

    Hi, I don't have much knowledge,waht are the steps and settings  required to maintain output determination for purchase order and material document. Thank you.

  • Need a phone with enlarging fonts ability!

    Please I need the following information! What Nokia series phones, or special phones have the ability in software to enlarge fonts??? I had problem with E65 and I sold it because of this (it was an excellent phone)!! Please help me out in this!!

  • What's the diff betweeen Direct & Indirect Activity All

    Hello Experts, please lemme know the diff between Direct Activity Allocation & Indirect Activity Allocation.