Problem with invoking AM Method in task flow

Hi
Can some one help me to fix the issue, I have dragged a Application module method on to my task flow and then .jsff . When first time page gets loaded method is getting executed successfully then page gets displayed without any issue, When i come to the same page again from different navigation, The method is not getting invoked. I want this method to be executed whenever i visit this page.
I have marked the method as default activity.
I am using ADF 11g.
Thanks in advance.

I kept the break points for method call as well as view in the task flow, only first time I can see debug points at respective places, then onwards flow doesn't stop at both the break points.

Similar Messages

  • Problem with JSF page in reused task flow

    Jdev 11.1.1.4
    I have a main JSF page with an af:paneltabbed.
    The paneltabbed has two af:showdetailItem
    In every showdetailitem there's a region.
    In both regions I have the same fragment taskflow.
    In this fragment task flow there's one page fragment (as a view activity).
    If I'm executing the secondary page fragment in both showdetailitems at the same time, they interfere one each other. That's my issue.
    This page fragment has a backing bean that depending on the value of a selectonechoice, shows or hides several fields.
    If in showdetailitem A I make a selection that displays all fields and then I go to showdetailitem B and make a selection that hides all fields, when I go back to showdetailitem all fields are hidden as in B !
    Is there any procedure in order to make indepedent both page fragments ? (in fact they are the same but executed in to different regions) I don't want instructions like "si1.setDisabled(true)" of one page fragment affect the other.
    The page is quite complex and that's my main reason to reuse it.
    The page flow is Transaction "Alway begin new transaction" and "Share data controls" disabled in order to make them as independent as possible but I don't think this can affect my issue.

    The bean, that I know has Backing Bean scope which is the most limited scope that I know.
    It is a standar bean created with: Design->Page Properties->Component Binding->checking Auto Bind. The one that is usually created in order to map a pages field and then be able to deal with the fields showing or hiding them.
    By the way, in wich xml file is this registered ? I haven't found it. The only thing I have found is an XML comment at the end of the page's source code like this:
    +<!--oracle-jdev-comment:auto-binding-backing-bean-name:AluCertIniBB-->+
    but I don't thing JSF is going to map the page to that bean only with this.
    Now I'm working in the line to stop and restart both task flow when changing the tab of the panelbox. Restarting the task flow every time I lick in one tab should avoid this problem, wouldn't it ?

  • Problem with back button when using task flow to navigate through pages

    I am using unbounded task flow to navigate through my pages
    in page2 I added back button so I can back to page1 using the action A2
    task flow 1
    page 1 -----A1-------> page 2
    page2 ----A2--------> page1
    the problem when I used page2 in another task flow
    task flow 2
    page 3 -----A3------> page2
    page 2 -----A4 -----> page3
    here when I click on back button he take me to page1
    how can I back to page3 ???????

    For this you have to know where the user came from when he navigated to page2. You can e.g. store the back target in a variable in the session or pageflow scope (when the user navigates from page1 or page3 to page2), then you bind the back button of page 2 to the stored variable.
    Timo

  • TS3297 Why I can't download a free game I get a message that there's a problem with my payment method but not what it is this is a free app I tried support and got nowhere help

    Why can't I down load a free app  I get a message that there is a problem with my payment method but I gave all information correctly , I did recently change my card no because I lost my old one .i did change the no. On my account      HOPE YOU HAVE SOME SUGGESTIONS  I DON'T SEE WHY THEY HAVE TO CHECKMY PAYMENT METHOD FOR A FREE GAME

    Contact iTunes customer support.
    We're all users like yourself and as such have no access to your account.

  • Getting problem with DOMImplementation classes method getFeature() method

    hi
    getting problem with DOMImplementation classes method getFeature() method
    Error is cannot find symbol getFeature()
    code snippet is like...
    private void saveXml(Document document, String path) throws IOException {
    DOMImplementation implementation = document.getImplementation();
    DOMImplementationLS implementationLS = (DOMImplementationLS) (implementation.getFeature("LS", "3.0"));
    LSSerializer serializer = implementationLS.createLSSerializer();
    LSOutput output = implementationLS.createLSOutput();
    FileOutputStream stream = new FileOutputStream(path);
    output.setByteStream(stream);
    serializer.write(document, output);
    stream.close();
    problem with getFeature() method

    You are probably using an implementation of DOM which does not implement DOM level-3.

  • Problem with the renameTO method in the Linux environment

    Hi
    I got a problem with the renameTO method in the Linux environment. The file is not moving.
    This method is returning false. the same code executed successfully in Windows environment.
    Can anyone give some fix to this one or an alternate solution to move the files in both windows and Linux.
    boolean success;
    File root = new File(tempPath);
                   File f = new File(root, phyFileName);
                   File dest = new File(targetPath);
    success = f.renameTo(new File(dest, actualFileName));actualFileName = 400.doc
    dest = /home/jboss-4.0.3/axsscm_1.0/axsscmDocuments/xchange/fileup/fshare/PO/1786

    JITHENDRA wrote:
    Thanks for the prompt replyNo problem.
    >
    Can u solve the below doubt.
    Will renameTo method wont work in Linux? If so why?Did you not read what I said? I suspect you are trying to rename a file so that it actually has to be moved to a different volume (partition or hard disk) so it won't work. One would have the same problem on Windows trying to rename a file on the c: drive to a name on the d: drive.
    >
    >
    Can u give a sample or good link to do the above work which works fine in all environments.?Just follow the pseudo code I gave. 15 minutes work.

  • Problems with the dispatchEvent-Methode

    Hallo,
    I have a strange problem with above mentioned methode
    I have a JTextField, and I want that only numeric inputs are
    accepted, so I used a KeyListener -Interface in the following way
    public void keyTyped(KeyEvent e)
    JTextField field =(JTextField)e.getSource();
    char c =e.getKeyChar();
    if(c>57 | c<46 |c==47 &&c >31)
    field.dispatchEvent(e);
    the other methodes keyPressed and keyReleased are implemented in the same way.
    So if I type in now in my JTextField an 'a' or whatsoever
    then the following Exception occurs:
    java.lang.StackOverflowError
    at java.awt.Toolkit.getEventQueue(Toolkit.java:1483)
    at java.awt.EventQueue.setCurrentEventAndMostRecentTime(EventQueue.java:731)
    at java.awt.Component.dispatchEventImpl(Component.java:3448)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at ueberstd.ComputeHours.keyTyped(ComputeHours.java:128)
    at java.awt.Component.processKeyEvent(Component.java:5048)
    at javax.swing.JComponent.processKeyEvent(JComponent.java:2385)
    at java.awt.Component.processEvent(Component.java:4902)
    Mmh, and this is not the whole Exception message.
    There are missing a couple of lines.
    But may be one of you knows what my mistake is.
    Thanks advance.

    This is not the best way to validate for numerics. Check out the "Creating a Validated Text Field" section from the Swing tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/components/textfield.html#validation

  • Problem with"Evaluate User Policies"sch task after the upgrade OIM R1 to R2

    Problem with "Evaluate User Policies" scheduled task after the upgrade from OIMg R1 to OIM 11g R2
    After the upgrade process is completed we are having issue with Access policy not triggering if rule is set to custom attribute
    - We had a Rule with custom attribute (Policy='Full-Time') the value gets populated by event handler which triggers the access policy in OIM 11g R1.. which worked fine in OIM R1
    After the upgrade the value is getting populated but even after running "Evaluate User Policy" the Access Policy is not getting triggered.
    We tested creating a rule with other custom attribute,policy does not trigger even after running Evaluate User Policy schedule Task in this case too
    but if we try creating rule with OOTB attributes(Country='US') it works fine the access policy got triggered after running Evalute User Policy
    One more issue we observed is
    - Evaluate User Policy value usr_policy_update is not updated still set to '1' even after the Access policy got triggered (as it worked when rule is set to OOTB attribute)
    I believe after the evaluate user policy gets triggered for a user it should update the value from '1' to '0')
    Please let me know if you have any idea..Thanks!

    well, I overcame the issue by 'fooling' the installer: on second node, change the scan ip address to point to something else (ie, different ip address to the scan in the first node, cleanup then rerun root.sh, it went past the trouble stage, then I still have problem later at the time database creation. I think scan ip address has to be setup correctly (round robin thingy)
    This is how i did the cleanup before rerun root.sh
    /u01/app/11.2.0/grid/crs/install/rootcrs.pl -verbose -deconfig -force

  • Problems with invokeing method

    Hey,
    I'm trying to create an splash screen before my app starts but i have alot of troubles with this. Here is my code:
    package classes;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import clientmanager.Delta;
    * A Splash window.
    *  <p>
    * Usage: MyApplication is your application class. Create a Splasher class which
    * opens the splash window, invokes the main method of your Application class,
    * and disposes the splash window afterwards.
    * Please note that we want to keep the Splasher class and the SplashWindow class
    * as small as possible. The less code and the less classes must be loaded into
    * the JVM to open the splash screen, the faster it will appear.
    * <pre>
    * class Splasher {
    *    public static void main(String[] args) {
    *         SplashWindow.splash(Startup.class.getResource("splash.gif"));
    *         MyApplication.main(args);
    *         SplashWindow.disposeSplash();
    * </pre>
    * @author Werner Randelshofer
    * @version 2.2.1 2006-05-27 Abort when splash image can not be loaded.
    public class SplashWindow extends Window {
         * The current instance of the splash window.
         * (Singleton design pattern).
        private static SplashWindow instance;
         * The splash image which is displayed on the splash window.
        private Image image;
         * This attribute indicates whether the method
         * paint(Graphics) has been called at least once since the
         * construction of this window.<br>
         * This attribute is used to notify method splash(Image)
         * that the window has been drawn at least once
         * by the AWT event dispatcher thread.<br>
         * This attribute acts like a latch. Once set to true,
         * it will never be changed back to false again.
         * @see #paint
         * @see #splash
        private boolean paintCalled = false;
         * Creates a new instance.
         * @param parent the parent of the window.
         * @param image the splash image.
        private SplashWindow(Frame parent, Image image) {
            super(parent);
            this.image = image;
            // Load the image
            MediaTracker mt = new MediaTracker(this);
            mt.addImage(image,0);
            try {
                mt.waitForID(0);
            } catch(InterruptedException ie){}
            // Abort on failure
            if (mt.isErrorID(0)) {
                setSize(0,0);
                System.err.println("Warning: SplashWindow couldn't load splash image.");
                synchronized(this) {
                    paintCalled = true;
                    notifyAll();
                return;
            // Center the window on the screen
            int imgWidth = image.getWidth(this);
            int imgHeight = image.getHeight(this);
            setSize(imgWidth, imgHeight);
            Dimension screenDim = Toolkit.getDefaultToolkit().getScreenSize();
            setLocation(
            (screenDim.width - imgWidth) / 2,
            (screenDim.height - imgHeight) / 2
            // Users shall be able to close the splash window by
            // clicking on its display area. This mouse listener
            // listens for mouse clicks and disposes the splash window.
            MouseAdapter disposeOnClick = new MouseAdapter() {
                public void mouseClicked(MouseEvent evt) {
                    // Note: To avoid that method splash hangs, we
                    // must set paintCalled to true and call notifyAll.
                    // This is necessary because the mouse click may
                    // occur before the contents of the window
                    // has been painted.
                    synchronized(SplashWindow.this) {
                        SplashWindow.this.paintCalled = true;
                        SplashWindow.this.notifyAll();
                    dispose();
            addMouseListener(disposeOnClick);
         * Updates the display area of the window.
        public void update(Graphics g) {
            // Note: Since the paint method is going to draw an
            // image that covers the complete area of the component we
            // do not fill the component with its background color
            // here. This avoids flickering.
            paint(g);
         * Paints the image on the window.
        public void paint(Graphics g) {
            g.drawImage(image, 0, 0, this);
            // Notify method splash that the window
            // has been painted.
            // Note: To improve performance we do not enter
            // the synchronized block unless we have to.
            if (! paintCalled) {
                paintCalled = true;
                synchronized (this) { notifyAll(); }
         * Open's a splash window using the specified image.
         * @param image The splash image.
        public static void splash(Image image) {
            if (instance == null && image != null) {
                Frame f = new Frame();
                // Create the splash image
                instance = new SplashWindow(f, image);
                instance.setVisible(true);
                // Note: To make sure the user gets a chance to see the
                // splash window we wait until its paint method has been
                // called at least once by the AWT event dispatcher thread.
                // If more than one processor is available, we don't wait,
                // and maximize CPU throughput instead.
                if (! EventQueue.isDispatchThread()
                && Runtime.getRuntime().availableProcessors() == 1) {
                    synchronized (instance) {
                        while (! instance.paintCalled) {
                            try { instance.wait(); } catch (InterruptedException e) {}
         * Open's a splash window using the specified image.
         * @param imageURL The url of the splash image.
        public static void splash(URL imageURL) {
            if (imageURL != null) {
                splash(Toolkit.getDefaultToolkit().createImage(imageURL));
         * Closes the splash window.
        public static void disposeSplash() {
            if (instance != null) {
                instance.getOwner().dispose();
                instance = null;
         * Invokes the main method of the provided class name.
         * @param args the command line arguments
        public static void invokeMain(String className, String[] args) {
            try {
                //Class.forName(className).getMethod("main", new Class[] {String[].class}).invoke(null, new Object[] {args});
            } catch (Exception e) {
                InternalError error = new InternalError("Failed to invoke main method");
                error.initCause(e);
                throw error;
    }But when i run my application i get this:
    Exception in thread "main" java.lang.InternalError: Failed to invoke main method
            at classes.SplashWindow.invokeMain(SplashWindow.java:199)
            at clientmanager.Main.main(Main.java:14)
    Caused by: java.lang.ClassNotFoundException: Delta
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:169)
            at classes.SplashWindow.invokeMain(SplashWindow.java:197)
            ... 1 moreAnd i don't know why i get that error. Can anybody help me?
    Thanks alot!
    Sincerely,
    NightFox

    this i have created in java 2d
    the code: -
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    public class Draw2 extends Frame
         Shape s[] = new Shape[5];
         public static void main(String args[])
              Draw2 app = new Draw2();
         public Draw2()
              super("Draw2");
              add("Center", new MyCanvas());
              setSize(600, 400);
              show();
         class MyCanvas extends Canvas
              public void paint(Graphics graphics)
                   Graphics2D g = (Graphics2D) graphics;
                   for (int i=0; i<=5; i++)
                        g.draw(new Ellipse2D.Double(20+(60*i), 50.0, 50, 50));
                   for (int i=0; i<=5; i++)
                        g.draw(new Ellipse2D.Double(20+(50*i), 100.0, 50, 50));
                   for (int i=0; i<=5; i++)
                        g.draw(new Ellipse2D.Double(20+(40*i), 150.0, 50, 50));
                   for (int i=0; i<=5; i++)
                        g.draw(new Ellipse2D.Double(20+(30*i), 200.0, 50, 50));
                   for (int i=0; i<=5; i++)
                        g.draw(new Ellipse2D.Double(20+(20*i), 250.0, 50, 50));
    }hope this helps
    thanks
    Pradyut
    http://pradyut.tk

  • Problems with invoke call in browser (SAP Business Connector)

    Hallo,
    I have a problem with the invoke call in a browser to test a build flow in the SAP Business Connector:
    I build a flow which receives a XML file, converts it into a record, then adds some mandatory data to the segment "EDI_DC40", then reconverts it into XML. After that, the XML gets converted into SAP IDOC format. Then I send it via ALE service to the connected SAP System.
    The flow works so far if I test it with the "send XML file" function in "Test" menu. But when I test it via a call in the browser, it doesn´t work. The mandatory data in "EDI_DC40" is there, but the Business connector does not recognize the data which comes with the XML for this segment ("MESTYP" and "SNDPRN") - so it can not be transfered to the SAP system. It causes a routing rule error, because sender and message type is unknown.
    Does anybody has experiences with that? Is there a difference between browser call and the test function "send xml file"?
    Thanks in advance for your help!
    Kai

    Hi,
    Just debug your SAP BC service in which you are calling the RFC and check if proper values are getting mappend to your input variables of RFC.
    If that is correct than there wont be much chances of problem in BC.
    \[removed by moderator\]
    Regards,
    Siddhesh S.Tawate
    Edited by: Jan Stallkamp on Jul 1, 2008 4:32 PM

  • How to invoke different pages/bounded task flows from Radio Group faces control ?

    Hi,
    I am quite new to JDeveloper and Java. Trying to call three different pages/bounded taskflows depending upon the each selection of radio buttons in Radio Group of 3 Radio buttons.
    Advance appreciation for hints/guide line for doing the same.

    Hi,
    I can't code it for you, but the way it works is that you create navigation cases to the pages and task flows. Then you set autosubmit=true for the radio group component and define a value change listener. The value change listener then would do the navigation following the navigation case names determined by the radio settings.
    To implement this I suggest to
    1. create a hidden command button with its action property pointing to the same managed bean handling the value change event (just double click the button to create the managed bean method)
    2. In the value change listener, change the navigation case returned by the action method
    3. In the value change listener you call
      ActionEvent ae = new ActionEvent(   (RichCommandButton)valueChangeEvent.getUIComponent().findComponent("button_id"));
      ae.queue()
    Frank

  • Solved: InDesign CC: Problems with text in text box: text flows around invisible object

    I just upgraded from CS4 to CC. I have two problems with text in some text boxes:
    The text seems to flow around invisible object that I cannot find or delete. It's as if there is a photo or other object behind the text box; but when I press COMMAND-a to select all, I don't see any such object.
    When I move this text box, the layout of the text within changes. For example, when the box is high on my spread, the text flows correctly within the box; but when I move it down, it flows around that hidden other object. For another example, when the box is low on the page, the text starts at the top of the box; but when I move the text box up, the text starts somewhere in the middle of the box.
    I have checked margins of the text box and the paragraph options of the text paragraphs (margins, indents, alignments). They all look OK.
    If I modify the text box, checking the box "Ignore text wrap", then the problem goes away; but then the text also will not flow around a real object that I want it to flow around.
    Solution:
    There were objects in a hidden layer on that one spread. It seems that in CS4 when you "select all" you would also select objects in hidden layers; but in CC it doesn't.

    Arthur, Garry
    Would be great if you could send the files as attachment in an email to [email protected]
    Else, you may post here using these steps: http://forums.adobe.com/message/3994281
    Thanks!
    - Neeraj

  • Problem with follow-up transaction from task

    Hello,
    I have a problem with creating follow-up transaction from tasks. Here is the problem,
    I've defined two new transaction types Z010/Z020 with business transaction category BUS2000125 TASK and I want to be able to create follow-up transaction from them. After defining them I've mapped the copying control so that I'm able to create opportunities, tasks and leads from those transaction types. However, when I'm testing there is a problem. Here are the steps I'm performing:
    1: I'm creating a new Task from any of those two transaction types (Z010/Z020)
    2: I'm saving the transaction and then I save it.
    3: Open the transaction More -> Create follow up
    4: A pop-up window appears with the possible follow-up transactions (in this case task/opportunity or lead).
    5: I click on any of those but nothing happens - no indication of error or whatsoever the screen just stays the same and I'm able to click on More -> Create follow up and choose any of the possible entries. However, there is no result.
    I have a requirement for follow up transactions from opportunities and everything works just fine there, the problem is only with Tasks. I've tested this from the backend (CRMD_ORDER) and I'm able to create a follow-up from this transaction types (Z010/Z020), so the problem seems to be something with the CRM UI. If any of you have an idea why is this happening and how to fix it, please tell.
    Thanks in advance!

    Hi John,
    Please refer as well to note 661305:
    this part:
    Note:
    As of CRM 7.0, this modification is no longer required because the IMG
    activity "Activate Copying Control for Activities" is provided (maintaining the
    table/view CRMC_ACT_COPY_SW in transaction SM30). Here you can decide whether
    the copying control for activities and tasks (BUS2000126 and BUS2000125) is
    active or inactive depending on the specific client.
    IMG path
    (transaction SPRO):
    Customer Relationship Management
    -->
    Transactions
    --> Settings for Activities
    --> Activate Copying
    Control for Activities
    In the standard system, the copying control for
    tasks and activities remains inactive.
    ========================================================
    Best regards - Christophe

  • Problem while invoking webservice-method in client-code

    Hi,
    I had written webservice-client-code (using uddi-ext.jar, as i am using uddi for publishing webservices.) which is invoking webservice method successfully with complex datatypes(both for return type and input paramters).
    But while calling following webservice-method from my client-code:
    public ComplexType[] getData(String[] p_str1, String[] p_str2)
    it is throwing exception
    The Exception is:
    [ERROR] - 27 Mar 2007 12:34:38 -failed to invoke operation 'getData' due to an error in the soap layer (SAAJ); nested exception is: Message[failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: mapping lookup failure. type=['java:language_builtins.lang']:ArrayOfString schema context=TypedSchemaContext{javaType=[Ljava.lang.String;}]
    Although I had done correct registration of mapping of ArrayOfString in client-code:
    registry = m_Service.getTypeMappingRegistry();
                   m_TypeMapping = registry.getTypeMapping(SOAPConstants.URI_NS_SOAP_ENCODING );
                   m_TypeMapping.register( ArrayOfStringHolder.class,
    new QName( "java:language_builtins.lang", "ArrayOfString" ),
    new ArrayOfStringCodec(),
    new ArrayOfStringCodec());
    But some how it doesnt works.
    I had searched on google as well but didnt find any reliable solutions.
    Please advice.
    Edited by meetmrdeepak at 03/27/2007 2:43 AM
    Edited by meetmrdeepak at 03/27/2007 2:45 AM

    See item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].

  • Problem with a template method in JDialog

    Hi friends,
    I'm experiencing a problem with JDialog. I have a base abstract class ChooseLocationDialog<E> to let a client choose a location for database. This is an abstract class with two abstract methods:
    protected abstract E prepareLocation();
    protected abstract JPanel prepareForm();Method prepareForm is used in the constructor of ChooseLocationDialog to get a JPanel and add it to content pane.
    Method prepareLocation is used to prepare location of a database. I have to options - local file and networking.
    There are two subclasses ChooseRemoteLocationDialog and ChooseLocalFileDialog.
    When I start a local version, ChooseLocalFileDialog with one input field for local file, everything works fine and my local client version starts execution.
    The problem arises when I start a network version of my client. Dialog appears and I can enter host and port into the input fields. But when I click Select, I get NullPointerException. During debugging I noticed that the values I entered into these fields ("localhost" for host and "10999" for port) were not set for corresponding JTextFields and when my code executes getText() method for these input fields it returns empty strings. This happens only for one of these dialogs - for the ChooseRemoteLocationDialog.
    The code for ChooseLocationDialog class:
    public abstract class ChooseLocationDialog<E> extends JDialog {
         private E databaseLocation;
         private static final long serialVersionUID = -1630416811077468527L;
         public ChooseLocationDialog() {
              setTitle("Choose database location");
              setAlwaysOnTop(true);
              setModal(true);
              Container container = getContentPane();
              JPanel mainPanel = new JPanel();
              //retrieving a form of a concrete implementation
              JPanel formPanel = prepareForm();
              mainPanel.add(formPanel, BorderLayout.CENTER);
              JPanel buttonPanel = new JPanel(new GridLayout(1, 2));
              JButton okButton = new JButton(new SelectLocationAction());
              JButton cancelButton = new JButton(new CancelSelectAction());
              buttonPanel.add(okButton);
              buttonPanel.add(cancelButton);
              mainPanel.add(buttonPanel, BorderLayout.SOUTH);
              container.add(mainPanel);
              pack();
              Toolkit toolkit = Toolkit.getDefaultToolkit();
              Dimension screenSize = toolkit.getScreenSize();
              int x = (screenSize.width - getWidth()) / 2;
              int y = (screenSize.height - getHeight()) / 2;
              setLocation(x, y);
              addWindowListener(new WindowAdapter() {
                   @Override
                   public void windowClosing(WindowEvent e) {
                        super.windowClosing(e);
                        System.exit(0);
         public E getDatabaseLocation() {
                return databaseLocation;
         protected abstract E prepareLocation();
         protected abstract JPanel prepareForm();
          * Action for selecting location.
          * @author spyboost
         private class SelectLocationAction extends AbstractAction {
              private static final long serialVersionUID = 6242940810223013690L;
              public SelectLocationAction() {
                   putValue(Action.NAME, "Select");
              @Override
              public void actionPerformed(ActionEvent e) {
                   databaseLocation = prepareLocation();
                   setVisible(false);
         private class CancelSelectAction extends AbstractAction {
              private static final long serialVersionUID = -1025433106273231228L;
              public CancelSelectAction() {
                   putValue(Action.NAME, "Cancel");
              @Override
              public void actionPerformed(ActionEvent e) {
                   System.exit(0);
    }Code for ChooseLocalFileDialog
    public class ChooseLocalFileDialog extends ChooseLocationDialog<String> {
         private JTextField fileTextField;
         private static final long serialVersionUID = 2232230394481975840L;
         @Override
         protected JPanel prepareForm() {
              JPanel panel = new JPanel();
              panel.add(new JLabel("File"));
              fileTextField = new JTextField(15);
              panel.add(fileTextField);
              return panel;
         @Override
         protected String prepareLocation() {
              String location = fileTextField.getText();
              return location;
    }Code for ChooseRemoteLocationDialog
    public class ChooseRemoteLocationDialog extends
              ChooseLocationDialog<RemoteLocation> {
         private JTextField hostField;
         private JTextField portField;
         private static final long serialVersionUID = -2282249521568378092L;
         @Override
         protected JPanel prepareForm() {
              JPanel panel = new JPanel(new GridLayout(2, 2));
              panel.add(new JLabel("Host"));
              hostField = new JTextField(15);
              panel.add(hostField);
              panel.add(new JLabel("Port"));
              portField = new JTextField(15);
              panel.add(portField);
              return panel;
         @Override
         protected RemoteLocation prepareLocation() {
              String host = hostField.getText();
              int port = 0;
              try {
                   String portText = portField.getText();
                   port = Integer.getInteger(portText);
              } catch (NumberFormatException e) {
                   e.printStackTrace();
              RemoteLocation location = new RemoteLocation(host, port);
              return location;
    }Code for RemoteLocation:
    public class RemoteLocation {
         private String host;
         private int port;
         public RemoteLocation() {
              super();
         public RemoteLocation(String host, int port) {
              super();
              this.host = host;
              this.port = port;
         public String getHost() {
              return host;
         public void setHost(String host) {
              this.host = host;
         public int getPort() {
              return port;
         public void setPort(int port) {
              this.port = port;
    }Code snippet for dialog usage in local client implementation:
    final ChooseLocationDialog<String> dialog = new ChooseLocalFileDialog();
    dialog.setVisible(true);
    location = dialog.getDatabaseLocation();
    String filePath = location;Code snippet for dialog usage in network client implementation:
    final ChooseLocationDialog<RemoteLocation> dialog = new ChooseRemoteLocationDialog();
    dialog.setVisible(true);
    RemoteLocation location = dialog.getDatabaseLocation();Exception that I'm getting:
    Exception occurred during event dispatching:
    java.lang.NullPointerException
         at suncertify.client.gui.dialog.ChooseRemoteLocationDialog.prepareLocation(ChooseRemoteLocationDialog.java:42)
         at suncertify.client.gui.dialog.ChooseRemoteLocationDialog.prepareLocation(ChooseRemoteLocationDialog.java:1)
         at suncertify.client.gui.dialog.ChooseLocationDialog$SelectLocationAction.actionPerformed(ChooseLocationDialog.java:87)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6134)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5899)
         at java.awt.Container.processEvent(Container.java:2023)
         at java.awt.Component.dispatchEventImpl(Component.java:4501)
         at java.awt.Container.dispatchEventImpl(Container.java:2081)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
         at java.awt.Container.dispatchEventImpl(Container.java:2067)
         at java.awt.Window.dispatchEventImpl(Window.java:2458)
         at java.awt.Component.dispatchEvent(Component.java:4331)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)java version "1.6.0"
    OpenJDK Runtime Environment (build 1.6.0-b09)
    OpenJDK Client VM (build 1.6.0-b09, mixed mode, sharing)
    OS: Ubuntu 8.04
    Appreciate any help.
    Thanks.
    Edited by: spyboost on Jul 24, 2008 5:38 PM

    What a silly error! I have to call Integer.parseInt instead of getInt. Integer.getInt tries to find a system property. A small misprint, but a huge amount of time to debug. I always use parseInt method and couldn't even notice that silly misprint. Sometimes it's useful to see the trees instead of whole forest :)
    It works perfectly. Sorry for disturbing.

Maybe you are looking for

  • Can't Print/Connect from Windows 7 to Shared PSC 1315 on XP Machine

    I have an HP PSC 1315 connected to a Windows XP (32 bit) machine.  This printer is shared.  I can access it from other XP machines on my home network.  I cannot access it from my Windows 7 (64 bit) machine.  I can see the printer is shared on the mac

  • What is the best way to reformat my macbook and reinstall?

    I run a Macbook on OS X Lion which I installed via the app store. How can I reformat my Macbook and reinstall OS X Lion without the disc? Secondly, How can I then upload my TimeMachine backup so it was the same as before? Will this repair all disc pe

  • Combine iWeb with Pages and ExcelMac

    I would like to introduce a table with data and some functions in iWeb. The objective is to let the user of the web change the data and let him/her to see the result in the cells where the functions are. I've tried in the easy way: copy-paste and it

  • How to view to the forms Session Id

    Hi, I am working with forms server, ineed to view the session id of the form server.Please give suggestion to view the forms server session id.

  • Adding More Than 2 Internal Hard Drives

    Anyone have any help they can give me on upgrading my power supply? I've read on other threads that this is a power supply issue when adding more drives. G5 Jive mounting kit: http://eshop.macsales.com/item/Sonnet%20Technology/ENCG53HD/ with this Ser