ADFFaces: returnFromDialog fails to invoke return listener after 5 attempts

I am having an issue populating a text field using a selection from a pop-up dialog.
The dialog is launched like the following:
<af:commandLink action="dialog:search" useWindow="true" returnListener="somelistener"
i have a returnListener defined in my backing bean and an ActionListener called from the dialog.
The action listener method calls AdfFaces.getCurrentInstance().returnFromDialog(obj, null);
This works fine in the beginning but after 5 or 6 attempts, it fails to populate the text field . Using the debugger I found that the return listener is no longer called after 5 attempts. But, it is called in the first few attempts.
Has anyone else seen this behavior?
Paul

Hi Paul,
I have reported this bug to Oracle (bug#6013033). You'll have to wait for the 11.1 release for the fix or ask for a merge on the 10.1.3.x branch through Metalink although support told me it would be very difficult to do so...
You can find a workaround I posted here : [SOLVED] Re: ADFFaces: returnFromDialog fails to invoke return listener aft
Other workarounds given through Metalink :
Workaround steps
~~~~~~~~~~~~~
1) Use a higher number for oracle.adf.view.faces.CLIENT_STATE_MAX_TOKENS
In web.xml add the following
<context-param>
<param-name>oracle.adf.view.faces.CLIENT_STATE_MAX_TOKENS</param-name>
<param-value>30</param-value>
</context-param>
This will not eliminate the issue. But if the dialog could be designed in such a way that we don't need that many requests (say increase range size), we could tackle the issue.
2) Don't use token method.
<context-param>
<param-name>oracle.adf.view.faces.CLIENT_STATE_METHOD</param-name>
<param-value>all</param-value>
</context-param>
This matches the client-side state saving behavior of JSF 1.1 as explained in the link specified above.
3) Use server side state management.
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
Seb.

Similar Messages

  • Return listener not called for popup invoked from RichCommandToolbarButton

    I have a popup dialog which is shown via the adf framework by specifying <run-as-dialog> on the <task-flow-call>.
    This popup is shown in two different contexts: In one it is shown via RichCommandMenuItem, in the other it is shown via RichCommandToolbarButton. For both I do .setReturnListener via the same function pointing to the same MethodExpression.
    Subsequently in the bean for the popup I do .returnFromDialog.
    However, when the popup is invoked via the menu item, the return listener handler is called. But, when the popup is invoked via the toolbar button the return listener handler is not called.
    Can anyone suggest any reasons why a return listener from a RichCommandToolbarButton might not be called?
    Thank you,
    Ania.

    Yes, they are.
    RichCommandToolbarButton adfButton = new RichCommandToolbarButton();
    adfButton.setUseWindow(true);
    adfButton.setPartialSubmit(true);
    adfButton.setImmediate(true);
    adfButton.setWindowHeight(butDef.getHeight());
    adfButton.setWindowWidth(butDef.getWidth());
    RichCommandMenuItem menuItem = new RichCommandMenuItem();
    menuItem.setUseWindow(true);
    menuItem.setPartialSubmit(true);
    menuItem.setImmediate(true);
    menuItem.setWindowHeight(TableDefinitions.getTxnPropertyEditToolbarButton().getHeight());
    menuItem.setWindowWidth(TableDefinitions.getTxnPropertyEditToolbarButton().getWidth());

  • Failed to invoke startup class "MyStartup Class"

    Hi,
    I configured StartUpClass.java in Weblogic server through Admin Console . Also I set the required jar files in the classpath of the server in WL_HOME\server\bin\startWLS.cmd.
    This StartUPClass is written to initialize and create the minimum number of objects in the pool, needed for URLConnection using ObjectPooling API.
    I am getting Exceptions while starting the server after deployment of the application. I am pasting the full stack trace.
    <Feb 1, 2007 9:49:55 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2_12-b03 from Sun Microsystems Inc.>
    <Feb 1, 2007 9:50:10 AM IST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
    <Feb 1, 2007 9:50:10 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
    WebLogic XMLX Module 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647 >
    <Feb 1, 2007 9:50:11 AM IST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at D:\bea\user_projects\domains\nessdomain\.\config.xml.>
    <Feb 1, 2007 9:50:15 AM IST> <Notice> <Log Management> <BEA-170019> <The server log file D:\bea\user_projects\domains\nessdomain\myserver\myserver.log is opened. All server side log events will be written to this file.>
    <Feb 1, 2007 9:50:18 AM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Feb 1, 2007 9:50:18 AM IST> <Notice> <WebLogicServer> <BEA-000327> <Starting WebLogic Admin Server "myserver" for domain "nessdomain">
    <Feb 1, 2007 9:50:31 AM IST> <Warning> <HTTP> <BEA-101248> <[Application: 'D:\MSM\Workspace\MSM2.0Jan9', Module: 'MSM31']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". (line 96, column 11).>
    <Feb 1, 2007 9:50:31 AM IST> <Warning> <HTTP> <BEA-101248> <[Application: 'D:\MSM\Workspace\MSM2.0Jan9', Module: 'MSM31']: Deployment descriptor "weblogic.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: The content of element type "weblogic-web-app" must match "(description?,weblogic-version?,security-role-assignment*,run-as-role-assignment*,reference-descriptor?,session-descriptor?,jsp-descriptor?,auth-filter?,container-descriptor?,charset-params?,virtual-directory-mapping*,url-match-map?,preprocessor*,preprocessor-mapping*,security-permission?,context-root?,wl-dispatch-policy?,servlet-descriptor*,init-as*,destroy-as*)". (line 23, column 20).>
    <Feb 1, 2007 9:50:35 AM IST> <Critical> <WebLogicServer> <BEA-000286> <Failed to invoke startup class "MyStartup Class", java.lang.ClassNotFoundException: com.helio.msm.ws.util.StartUpClass
    java.lang.ClassNotFoundException: com.helio.msm.ws.util.StartUpClass
         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:141)
         at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:156)
         at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36)
         at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116)
         at weblogic.t3.srvr.PostDeploymentStartupService.resume(PostDeploymentStartupService.java:63)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    >
    <Feb 1, 2007 9:50:36 AM IST> <Error> <Socket> <BEA-000438> <Unable to load performance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'D:\j2sdk1.4.2_12\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\j2sdk1.4.2_12\bin;c:\windows\system32;C:\apache-ant-1.6.5\bin;'
    >
    <Feb 1, 2007 9:50:36 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "myserver" for domain "nessdomain" running in Development Mode>
    <Feb 1, 2007 9:50:36 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Feb 1, 2007 9:50:36 AM IST> <Notice> <WebLogicServer> <BEA-000355> <Thread "ListenThread.Default" listening on port 7001, ip address *.*>
    <Feb 1, 2007 9:50:55 AM IST> <Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.>
    Please help me in resolving this problem. I need it asap
    Thanks,
    Dharani

    I should be more specific and have a bit more to add....
    We have our app in an .ear file. I find that when I put the startup
    classes in a seperate directory which is in the classpath specified in the
    startWeblogic.cmd file they will be run on startup. I don't think I should
    have to do this since these files exist in the ear file. I think this is
    causing other problems too such as an illegalAccessError I get when an EJB
    tries to load a class which was previously accessed by the startup classes.
    Thanks,
    Steve
    Steve Snodgrass wrote:
    Hi,
    I am beggining to upgrade our app from Weblogic 5.1 to 6.0. So far it
    has been progressing nicely and everything works with one exception. I
    can not get the start up classes to run. I get the following exception:
    <Failed to invoke startup class "MyStartup Class",
    java.lang.ClassNotFoundException:
    followed by my fully qualified class name. The class is reference
    elsewhere in the code and works fine. Is a seperate classpath used for
    startup classes? If not why might Weblogic have a hard time finding my
    class?
    Thanks,
    Steve

  • Disabled attribute on link causes Return Listener disfunctioning

    Hello,
    Using JDev 11g Studio Edition Version 11.1.2.1.0
    I have a af:commandImageLink which, when clicked on, opens a Dialog.
    On the af:commandImageLink, a returnListener is defined and there is an EL expression on the disabled attribute.
    When the EL expression for the disabled attribute resolves to true during the LifeCycle processing, the returnListener isn't called, although the commandImageLink was enabled at the start of the LifeCycle processing that initiated the display of the Dialog in the first place.
    Is this expected behaviour, or is this a bug?
    Steven

    Frank,
    I understand that the dialog open and return listener aren't executed in the same request lifecycle.
    It seems that I didn't correctly explained the issue I'm facing.
    Here is a second attempt to describe the problem...
    1. The user clicks on the af:commandImageLink which results in a modal dialog being displayed.
    2. The user makes some changes within the modal dialog. The changes he made will cause the EL expression on the af:commandImageLink disabled attribute to evaluate to true.
    3. The changes are commit and the dialog is closed.
    Problem: The return Listener isn't called, since the disabled attribute on the af:commandImageLink is true.
    This seems like a bug to me.
    I would expect that the returnListener registered on the UI widget that causes the dialog open event, to be called when the dialog is closed. Even if the UI widget is disabled after the dialog is closed.
    The framework should honour the state of the UI widget at the time the dialog open event is raised to decide if the returnListener should be called.
    Does this make any sense?
    Steven.
    Edited by: Steven Janssens on 5-mrt-2012 4:27 - Relaunching question

  • Failed to start HTTP listener.

    Hello, I have changed my ip address and domain of my server(were i have installed enterprise manager 10.2.0.5).after this I try to start de agent and obtain the following error:
    oracle@grid:~/product/agent10g/bin> ./emctl start agent
    Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    Starting agent ....... failed.
    Failed to start HTTP listener.
    Consult the log files in: /opt/oracle/product/agent10g/sysman/log
    When I go to: tail emagent.trc
    2010-01-14 15:41:04,575 Thread-3838446496 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://grid.das.cites:1159/em/upload: retStatus=-1
    2010-01-14 15:41:04,575 Thread-3838446496 ERROR http: nmehl_connect_internal: failed to get host info. Could not resolve name
    problem-> I have change the domain to grid.min2.dtc and he try to connect to the old hostname grid.das.cites.
    Where i can changed this parmeter to the HTTP startup fine?
    How I can fis this? Thanks any help

    I have this same issue but I notice on mine, restarting the agent does not help.
    emagent.trc
    2010-04-12 13:38:51,210 Thread-6324 ERROR http: nmehl_connect_internal: failed to get host info. Could not resolve name
    2010-04-12 13:38:51,210 Thread-6324 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://csdowgrid001.cspas.kp.org:1159/em/upload: retStatus=-1
    EMD_URL=https://CSDOWPDMS003.cs.msds.kp.org:3872/emd/main/
    REPOSITORY_URL=https://csdowgrid001.cspas.kp.org:1159/em/upload
    I notice on this database below that shows correctly on the grid, that the only difference above is that this is on the same domain as the grid while the above is not, is there a way around this??
    EMD_URL=https://CSDOWMSDB202.cspas.kp.org:3872/emd/main/
    REPOSITORY_URL=https://csdowgrid001.cspas.kp.org:1159/em/upload

  • Failed to invoke end componentFailed to invoke methodSQL Exception

    Hi!
    I have upgraded a web service from 8.1 to 9.2.3. However, I have gotten the attached runtime error. Could you please advise me how to resolve it? Thanks a lot.
    Best Regards
    May
    In the Weblogic server 9.2.3, a datasource called JNDIDataSource has been created by using latest JTDS version (i.e. jtds-1.2.4.jar) with the following setting:
    - Database Type = MS SQL Server
    - Database Driver = Other
    - JNDI Name: MSSQLDS
    - DriverName: net.sourceforge.jtds.jdbc.Driver
    In SampleOnlineDB.java
    @org.apache.beehive.controls.api.bean.ControlExtension
    @JdbcControl.ConnectionDataSource(jndiName = "MSSQLDS")
    public interface SampleOnlineDB extends JdbcControl
    // Sample database function. Uncomment to use
    // static public class Customer
    // public int id;
    // public String name;
    // * @jc:sql statement="SELECT ID, NAME FROM CUSTOMERS WHERE ID = {id}"
    // Customer findCustomer(int id);
    // Add "throws SQLException" to request that SQLExeptions be thrown on errors.
    static final long serialVersionUID = 1L;
    * @jc:sql statement::
    * IF (select top 1 rtrim(ltrim(ipaddress)) from ipaddress ) is null
    * BEGIN
    *      SELECT 'Y'
    * END
    * ELSE
    * BEGIN
    *      SELECT 'N'
    * END::
    //Return 'Y' if the table is empty, else return 'N'
    @JdbcControl.SQL(statement = "IF (select top 1 rtrim(ltrim(ipaddress)) from ipaddress ) is null BEGIN \tSELECT 'Y' END ELSE BEGIN \tSELECT 'N' END")
    public String isIPAddressTableEmpty();
    ==========================================================
    Here is the runtime error:
    Failed to invoke end componentFailed to invoke methodSQL Exception while attempting to connect to database. java.sql.SQLException: null. Nested Exception: java.lang.NullPointerException at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:342) at weblogic.jdbc.jts.Driver.connect(Driver.java:181) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359) at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.getConnectionFromDataSource(JdbcControlImpl.java:412) at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.getConnection(JdbcControlImpl.java:164) at org.apache.beehive.controls.system.jdbc.JdbcControlImpl.onAquire(JdbcControlImpl.java:111) at org.apache.beehive.controls.system.jdbc.JdbcControlImplInitializer$_resourceContextResourceEventsEventAdaptor.onAcquire(JdbcControlImplInitializer.java:27) at org.apache.beehive.controls.runtime.bean.ResourceContextImpl.acquire(ResourceContextImpl.java:126) at org.apache.beehive.controls.runtime.bean.ResourceContextImpl.preInvoke(ResourceContextImpl.java:110) at org.apache.beehive.controls.runtime.bean.ControlBean.preInvoke(ControlBean.java:411) at org.apache.beehive.controls.runtime.bean.ControlBean.preInvoke(ControlBean.java:424) at database.SampleOnlineDBBean.isIPAddressTableEmpty(SampleOnlineDBBean.java:125) at webservice.AccessOnline.getCountry(AccessOnline.java:98) 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 weblogic.wsee.component.pojo.JavaClassComponent.invoke(JavaClassComponent.java:99) at weblogic.wsee.ws.dispatch.server.ComponentHandler.handleRequest(ComponentHandler.java:64) at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127) at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85) at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80) at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66) at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44) at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:181) at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)

    This is a very convinient feature of Weblogic startup service - if your class
    does not implement T3StartupDef it will look for (using introspection)
    public static void main(String[] args) in your startup class, and, if it is
    there it will execute it.
    Ricky Wong <[email protected]> wrote:
    It works, many thanks !
    However I still have one more question out of my head - I found that my
    startup class doesn't need to implement the T3StartupDef and it still
    works, however my shutdown class must implement the T3ShutdownDef
    (otherwise I'll get ClassCastException).
    In article <[email protected]>, [email protected] says...
    Most likely the HubDevicePool does not have a public default constructor.
    Ricky Wong <[email protected]> wrote:
    In what situation I'll get the error "Failed to invoke startup/shutdown
    class" as below :
    java.lang.InstantiationException:
    dsb/eBanking/backOffice/connect/HubDevicePool
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Compiled Code)
    at weblogic.t3.srvr.StartupThread.runStartup
    (StartupThread.java:180)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run
    (PropertyExecuteThread.java:62)
    I'm pretty sure that the class HubDevicePool has been coded (e.g.
    implement T3xxxDef interface, with either the startup() or shutdown()
    method) properly as I've another startup classes which work perfectly.
    The class has been compiled without error, but it just cannot run when I
    put it as either a startup or shutdown class for WebLogic.Dimitri
    Dimitri

  • TransportException - OSB 10gR3 Failed to invoke Service

    Hi there,
    We are getting several errors on my OSB environment, OSB is running into problems, ramdomly is shutting down!
    Follow errors below :
    ####<Apr 29, 2011 1:15:25 AM GMT-03:00> <Error> <ALSB Alert Rule Engine> <rjux0087> <AdminServer> <pool-1-thread-1> <<anonymous>> <> <> <13040
    50525306> <BEA-394004> <Failed to invoke action email that is part of alert destination AlertDestination ClaroEnterpriseMonitoring/ClaroAlertD
    estination. Resource: ProxyService ClaroEnterpriseServices/Claro/ListarPacotesDisponiveisAssinante/v1/ListarPacotesDisponiveisAssinantePSv1. A
    lert Rule Name: SLA Response.
    com.bea.wli.sb.transports.TransportException: 501 Syntax error in return path - please go to http://www.xmailserver.test/smtp_errors.html to get more information about this error.
    I didn´t find anything relevant on :
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/transports/TransportException.html
    I was wondering if a specific service may cause the outage !
    The service "ClaroEnterpriseServices/Claro/ListarPacotesDisponiveisAssinante/v1/ListarPacotesDisponiveisAssinantePSv1" is a flow. The service is highlighted in dashboard with alerts, but there is no clue.
    Have you seen this before ?
    I appeciate any help !
    Thanks Edson

    Hi Edson,
    Looks like there is some alert actions+ in the proxy - ClaroEnterpriseServices/Claro/ListarPacotesDisponiveisAssinante/v1/ListarPacotesDisponiveisAssinantePSv1
    And this error is due to the same, looks like the alert destination configurations is having some issues.
    Failed to invoke action email that is part of alert destination AlertDestination ClaroEnterpriseMonitoring/ClaroAlertD
    estination. Resource: ProxyService ClaroEnterpriseServices/Claro/ListarPacotesDisponiveisAssinante/v1/ListarPacotesDisponiveisAssinantePSv1. A
    lert Rule Name: SLA Response.
    To confirm this out, I would suggest you can disable the alerting on the proxy service @ Operational Settings > Monitoring > SLA Alerts & Pipeline Alerts and see if the errors disappear.
    Thanks,
    Patrick

  • Invoking Return button functionality internally

    We are calling a custom page from an existing page. We have added a link to the existing page and have set the Destination URI property to this new page URL. The functionality required on this custom page is that after the user enters the required values and clicks on OK button, the record should be inserted into the database and user should be redirected to the previous screen. The issue is that after we have inserted values into the database and we redirect to the previous screen using setForwardImmediately, it gives an error:
    You cannot complete this task because one of the following events caused a loss of page data:
    Your login session has expired.
    A system failure has occurred.
    I would like to know how to invoke Return functionality internally since it seems to be working fine. If anyone can also tell me why I am getting the above mentioned error, then it would be of great help.

    It would help if you outlined what technologies you are using here? Struts + JSP?, UIX?....

  • [svn:bz-trunk] 23085: Fix test to explicitly remove an event listener after the test is finished .

    Revision: 23085
    Revision: 23085
    Author:   [email protected]
    Date:     2011-10-21 07:49:33 -0700 (Fri, 21 Oct 2011)
    Log Message:
    Fix test to explicitly remove an event listener after the test is finished. Not doing this was causing the test to throw an RTE.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/security/stream ing-amf/MessagingAuthProSendTest.mxml

    Thanks for the ideas regarding beforeInvoke, Ben.  I will try to check that out.  In my situation, here's essentially how my script is working...
    BeforeSave is invoked.
    Script makes a change to the document, which should be captured in the saved file.
    Document saves.
    Document appears saved for a moment, and then appears unsaved (asterisk in the document title).
    My biggest problem is that this behavior isn't consistent.  I have dozens of users, all running the same script, and the problem only occurs with certain users and at random times. I can move a problematic document from a user's machine to a different machine, and the problem doesn't occur there.  It's very difficult to troubleshoot because I can't reproduce it consistently.

  • Failed to open the connection after changing the connection in CMC

    Hi
    Below are our environment details:
    BOXI 3.1 SP3
    Solaris Sparc 10
    Crystal Reports 2008 Sp3
    Weblogic 11g
    Our team is facing the problem as described below:
    We have created Crystal Reports using JDBC connection and it works fine
    in an environment(SIT).
    When we migrate these reports to the another environment(UAT) we get
    the error "Failed to open the connection"
    After migrating we indeed change the connection to Custom Database
    Login Information in CMC.
    So to troubleshoot we installed Crystal Reports in UAT environment and
    had to perform Set DataLocation after which
    the reports starting working fine.
    Now when we are migrating reports to Production we have the same issue.
    We cannot install Crystal Reports on Production this time and hence we
    are stuck.
    Please let us know if any known workaround or solution for the same.
    Thanks
    Kamal
    Edited by: Kamalaksha Shetty on Nov 15, 2011 4:18 AM

    Hi Meenal,
    I am not 100% sure I understood the workaround of having Crystal Designer on the server. Can you connect from UAT designer to production and perform the same operation?
    Check this KBA that describes this problem and a solution:
    https://service.sap.com/sap/support/notes/1445067
    Regards,
    Julian

  • Java 2 runtime Environment setup failed with a return code of -1

    Hi!
    I have tried to install sdk 1_3_1_01 on Windows 2000 with ServicePack 2 and the error "Java 2 runtime Environment setup failed with a return code of -1" occured. As I saw, a lot of people has the problem but couldn't find a solution on this page!
    Please help !
    Me

    I've installed 1.3.1_01 on both W2K Workstation and Server, no problem. There's a bug report, but no workaround or solution.
    http://developer.java.sun.com/developer/bugParade/bugs/4412291.html
    and it's supposedly 'fixed' in 1.4.0 beta.
    http://java.sun.com/j2se/1.4/fixedbugs/fixedbugs-beta2.html
    You might try installing the beta version
    http://java.sun.com/j2se/

  • Failed to invoke end componentFailed to invoke method error

    I am getting this error while invoking a web service in weblogic.
    What is root cause of this error...?
    Error Description:-
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>Server
    </code>
    </part>
    -<part name="summary">
    <summary>Failed to invoke end componentFailed to invoke method
    </summary>
    </part>
    -<part name="detail">
    <detail>
    <detail><bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0"
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"/>java.lang.NullPointerException
         at org.tcs.billingeai.ws.allocateBillCycle.AllocateBillCycle.allocateBillcycle(Unknown Source)
         at org.tcs.billingeai.ws.allocateBillCycle.BillCycleService.invokeAllocateBillCycle(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor496.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at weblogic.wsee.component.pojo.JavaClassComponent.invoke(JavaClassComponent.java:91)
         at weblogic.wsee.ws.dispatch.server.ComponentHandler.handleRequest(ComponentHandler.java:68)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:84)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:60)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
         at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
         at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:124)
         at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    </detail>
    </detail>
    </part>
    </remoteFault>
    </fault
    Edited by: 911694 on Jun 25, 2012 1:02 PM

    This is a very convinient feature of Weblogic startup service - if your class
    does not implement T3StartupDef it will look for (using introspection)
    public static void main(String[] args) in your startup class, and, if it is
    there it will execute it.
    Ricky Wong <[email protected]> wrote:
    It works, many thanks !
    However I still have one more question out of my head - I found that my
    startup class doesn't need to implement the T3StartupDef and it still
    works, however my shutdown class must implement the T3ShutdownDef
    (otherwise I'll get ClassCastException).
    In article <[email protected]>, [email protected] says...
    Most likely the HubDevicePool does not have a public default constructor.
    Ricky Wong <[email protected]> wrote:
    In what situation I'll get the error "Failed to invoke startup/shutdown
    class" as below :
    java.lang.InstantiationException:
    dsb/eBanking/backOffice/connect/HubDevicePool
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Compiled Code)
    at weblogic.t3.srvr.StartupThread.runStartup
    (StartupThread.java:180)
    at weblogic.t3.srvr.StartupThread.doWork(Compiled Code)
    at weblogic.t3.srvr.PropertyExecuteThread.run
    (PropertyExecuteThread.java:62)
    I'm pretty sure that the class HubDevicePool has been coded (e.g.
    implement T3xxxDef interface, with either the startup() or shutdown()
    method) properly as I've another startup classes which work perfectly.
    The class has been compiled without error, but it just cannot run when I
    put it as either a startup or shutdown class for WebLogic.Dimitri
    Dimitri

  • Error while executing root.sh on second node: Failed 3 to bind listening ..

    (root@slpas20)[oracle/crshome/crs11g/css/admin] /oracle/crshome/crs11g/root.sh
    Checking to see if Oracle CRS stack is already configured
    Checking to see if any 9i GSD is up
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    Oracle Cluster Registry configuration upgraded successfully
    clscfg: EXISTING configuration version 4 detected.
    clscfg: version 4 is 11 Release 1.
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 0: slpas04 slpas04_priv slpas04
    node 1: slpas20 slpas20_priv slpas20
    clscfg: Arguments check out successfully.
    NO KEYS WERE WRITTEN. Supply -force parameter to override.
    -force is destructive and will destroy any previous cluster
    configuration.
    Oracle Cluster Registry for cluster has already been initialized
    Failed 3 to bind listening endpoint: (ADDRESS=(PROTOCOL=tcp)(HOST=slpas20_priv))
    CRS daemons not set to start.
    (root@slpas20)[oracle/crshome/crs11g/css/admin]

    Hi Anand
    Can you please control the following points please?
    That on node1 in the /etc/hosts file the name of the private interconnect exist. But on node2 or the failing node it's missing the private interconnect in the /etc/hosts file. That should be the reason why the issue occurs.
    Solution of The Problem might be to :
    1. Add the missing hostnames to /etc/hosts
    2. Stop and start CRS stack
    Please confirm that this solves your issue.
    thanks

  • Sync session failed to start in iTunes after updated to iOS 7

    Sync session failed to start in iTunes after updated to iOS 7

    Restart your computer
    While your computer is restarting, clear all of the applications from the background on your iPhone. You can do this by pushing the home button twice and swiping the programs off the screen by pushing them upwards.
    After you are done doing that, restart your phone.
    Wait about 10 seconds or so and turn your phone back on. By the time you get your phone back on your computer should be completly restarted and ready to go.
    When your phone is back on, plug it into your computer. This should automatically bring up your Itunes, you may get another pop up that says autoplay, you can close that out. That's it. I hope it helps and good luck

  • CC app manager update  failed with error code 50 after reaching about 35%

    Trying to update the CC app manager. The update is always very slow  (I have ATT DSL, lowest level) and I usually terminate it after an hour or so. Today I let it run and it failed with error code 50 after reaching about 35%. Any ideas?

    Update to my original post. I read through some of the suggestions that I found in other threads for fixing this problem, and it appears that this has been an ongoing issue. Numerous fixes have been suggested, some very convoluted, difficult, and involved, including those that came from the customer support folks.  I passed on those as this should be something simple. How Adobe manages to let updating of their own software turn into an ongoing problem is beyond me and sort of defeats the purpose of subscribing. I then noticed that a simple fix had been suggested a few times, so I tried that.
    The user suggested fix that worked for me was:
    1) Restarted computer (Asus Windows 7 i3 machine for me) in Safe Mode with Networking. Logged into my separate Admin account just in case.
    2) Started the creative cloud desktop app.
    3) The app said it needed to be updated. I hit the update button.
    4) Update started and proceeded slowly as it had in many previous failed attempts (I have ATT DSL at the slowest level, but it is not dial-up). Within about 30 min, the update succeeded.
    5) Restarted computer in normal mode.
    6) The creative cloud desktop app now did not say it needs to be updated, and I can update my other apps normally. Have not updated LR or PS yet, but plan to try. If that fails, I may try doing it in the Safe Mode with Networking.
    So, that was relatively painless and much much simpler than many of the other suggestions I saw. Do not know if it will work for everyone, but I wanted to post the fix that worked for me. Thank you very much to the 2 or 3 users who had suggested this fix earlier (sorry, I did not write down your IDs, but the threads can be found by searching for creative cloud desktop update fail error code 50). Hope this saves some people a lot of time.

Maybe you are looking for