JSR-296 SwingApp Framework Question

I learned how to program in Java way back in the 90's by looking at the Java Source Code and seeing how the pro's did it. So, when wanting to learn a little about concurrent programming I looked up the code in the new SwingApp Framework (which at present is open source) and JSR-296.
I have a question about some of the "propertyChange" firing code in the AbstractBean class.
The code is basically a wrapper around the java.beans.PropertyChangeSupport class. They create their own private static subclass called EDTPropertyChangeSupport, instantiate it and create delegates around the PropertyChangeSupport methods.
However, in the EDTPropertyChangeSupport they override the PropertyChangeSupport method "firePropertyChange" in the following way:
    private static class EDTPropertyChangeSupport extends PropertyChangeSupport {
        EDTPropertyChangeSupport(Object source) {
            super(source);
        public void firePropertyChange(final PropertyChangeEvent e) {
            if (SwingUtilities.isEventDispatchThread()) {
                super.firePropertyChange(e);
            } else {
                Runnable doFirePropertyChange = new Runnable() {
                    public void run() {
                        firePropertyChange(e);
                SwingUtilities.invokeLater(doFirePropertyChange);
    }My question is this: I understand checking to see if the event was fired from the "Event Dispatch Thread" but if it isn't, a new runnable is created and the "firePropertyChange(e)" method is executed. Is this "firePropertyChange(e)" method the method from the "PropertyChangeSupport" class OR is it the method from the "EDTPropertyChangeSupport" class. If it is the former, then things are OK, but if it is the latter case, then it will create a recursive infinite (until you run out of stack space) decent condition.
Maybe it's a lack of understanding on my part, but I think it's the latter.
Stephen McConnell

I tried logging in under the old account and it seems to have forgotten me.
I have read those Tutorials. I understand them for the limited uses they
describe. I just wish there was something more expanded and with
more examples on Java Concurrency.
I am reading the tutorials again and some more articles I found on the web:
[Java 5.0 Concurrency API's|http://java.sun.com/j2se/1.5.0/docs/guide/concurrency/overview.html]
And will be ordering a couple of books out there on the subject.
Thanks. For the answer. How does one mark a question answered?
Stephen McConnell
|http://java.sun.com/j2se/1.5.0/docs/guide/concurrency/overview.html]

Similar Messages

  • JSR 296 - How to work with arguments?

    Hi Everyone,
    I am developing an application by using a JSR 296 Swing Application Framework but I don�t make any idea about how I could manage a line-command arguments.
    Should I try through Application.getInstance().getContext().getResourceMap() or something like that?
    My intention is to get access to arguments within the method startup(). However, note that they are not directly available for use unless I create a array member and explicitly assign them to this new member (I suppose it must have a suitable way for doing this instead of I mentioned):
    I am using Netbeans 6.0 beta 1 to create this application, under the option File < New Project < Java Desktop Application
    See below a snippet. As you can see, I would like to get a value of the first argument passed by user from line command.
        * Main method launching the application.
        public static void main(String[] args) {
            launch(MyApplication.class, args);
        @Override protected void startup() {
            // here I would like to access the arguments
            String firstArg = ?
            // show main frame
            show(new MyApplicationView(this));
        }Does anyone know how to make it possible?
    ~Fernando
    Edited by: [email protected] on Oct 17, 2007 10:08 AM
    Edited by: [email protected] on Oct 17, 2007 3:18 PM

    Originally Posted by skoltogyan
    How to work with database in the Teaming ?
    I need create some web-forms and store it in the database on the server.
    Any example - how i can do this with Teaming ?
    Please, Help me.
    Serg
    Hi Serg,
    Not sure what you are looking for and I'm also no dev...
    Maybe this link will help : Episode X: Teaming Templates | Novell User Communities

  • JSR 168 portlets packaging question

    Hello,
    I have a bunch of Java (JSR 168, using Spring MVC) portlets (PortletOne, PortletTwo...PortletN) that I created as individual Portal Web projects and are contained in a Portal EAR project. This portal EAR is my deployment unit and also consists of another Portal Web project (Assembly.war) that holds a app.portal file where I plan to assemble all these Java portlets and use it to create a desktop. The reason for having all the individual portlets in web projects of their own is to be able to export them as a unit and use it elsewhere either as a shared library or package it within another EAR file as the need arises.
    my application.xml looks somewhat like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <application id="Application_ID" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
         <display-name>MyEar</display-name>
         <module id="WebModule_1">
              <web>
                   <web-uri>Assemby.war</web-uri>
                   <context-root>appname</context-root>
              </web>
         </module>
         <module id="WebModule_2">
              <web>
                   <web-uri>PortletOne.war</web-uri>
                   <context-root>PortletOne</context-root>
              </web>
         </module>
         <module id="WebModule_3">
              <web>
                   <web-uri>PortletTwo.war</web-uri>
                   <context-root>PortletTwo</context-root>
              </web>
         </module>
    </application>But since all these WAR files are at the same level I cannot reference the context definitions and the controllers for the portlets defined in each of these portlet WAR files (PortletOne, PortletTwo,...) from the common web project that holds the app.portal file in Assembly.war. I tried to define a custom classloader structure in weblogic-application.xml and put the assembly war file at a lower level but the app even fails to deploy with IllegalAccessError as soon as a context for each of the war files is registered by the hot deploy process. Moreover, when I deploy the EAR file, the portlets defined in each of the WAR files do not appear in the Resources library when viewed from the Portal Administration console.
    Any suggestions how to assemble these individual portlets into a common web project, while still keeping them packaged within the same EAR file? Alternate approaches are welcome too.
    I have already considered deploying these portlet WAR files as Weblogic J2EE shared libraries. But with this approach, the overall application response time is very slow in spite of exhausting all tuning options and also cannot pre-compile JSPs in the shared libraries.
    Is importing the JSR-168 portlets using the import utility as WSRP portlets a viable option? Will I be able to share session variables across portlets, fire and handle events and be able to pre-compile the JSP in idividual portlets?
    Edited by: shyam6190 on Aug 13, 2009 1:25 PM

    Hello,
    Perhaps the multiple nested classloaders involved with the shared libraries approach is slowing it down- if that is the case, it would be hard to fix.
    Using WSRP should work for you; there is a bit more complexity but if you have relatively simple portlets, use the correct JSR168 tags and methods (or the Spring bridge does), it shouldn't be too hard to get to work. The IDE may be able to help you with that; you can create a new portlet of type "remote portlet" in your aggregated webapp, and a wizard will walk you through the steps. If you use local proxy mode, the portlet's individual WSDL URL will be the URL to each portlet's webapp on localhost.
    The WSRP configuration can also be done dynamically in the Portal Admin Tools, and even using a specialized JSR168 import tool, but both of these options would only create database instances of portals and portlets in your aggregating webapp. This would be fine if your aggregated EAR never needs to move to a different deployment environment, but if you require portability of the EAR to another environment it complicates packaging, as database information is also required. If you happen to be using WLP version 10.3, I believe there is a bug which prevents the specialized JSR168 import tool from working, but the tool is documented here:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/prodOps/deployment.html#wp1047337
    Since all the WSDL URLs will point only to the localhost, when you package the aggregated WAR file it should deploy properly to any servers. Information about the local proxy mode, which should improve performance for your configuration, is described here:
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/federation/Chap-Best_Practices.html#wp1010714
    Hope this helps!
    Kevin

  • Alert Framework question

    Hi,
    we have set a generic user with a group email adress in alert categorie definitions as the destination where the alert should be sent.
    What this does is that the alerts are sent to a common mailbox which the group responsible for pi can monitor.
    The problem now is that no one can really log in and terminate these alerts since no particular user has this users password . This is normal because noone should really know generic user passwords and we want to be able to trace who confirms alerts.
    How does the alert framework handle this way of working... it seems like something everyone must need...
    I mean , you don't really want to send alert emails directly to someone in case they are not there. Then again, if you send it to multiple people , how do you know who will handle it...
    How do you do this ?

    Hi,
    You will create one distributed email list (add users mail ids how many you want in that distributed list)  and assign that distributed list to the particular user. when an alert triggered then the mail goes to the distributed list (all people receive that alert who are in the distributed list).
    So based on their shift timings they will handle that alert causes and send a mail.
    Otherwise one person is responsible to assign the alert issues to the users.
    Regards
    Ramesh

  • Contextual Framework Question

    Hi,
    I am following along this tutorial (http://www.youtube.com/watch?v=XIVom59Kq2U) about contextual framework and I seem to have some problem.
    I followed each and every steps but I cant seem to make it work.
    Basically, in the video. Region 1 is composed of a Employee form from the HR data control and Region 2 is just a Region with an output text.
    Changes in the last Name field of Employee Form is propagated to Region 2 when you just tab out of the form.
    But looking at the code, nothing really happens
        <af:inputText value="#{bindings.LastName.inputValue}"
                      label="#{bindings.LastName.hints.label}"
                      required="#{bindings.LastName.hints.mandatory}"
                      columns="#{bindings.LastName.hints.displayWidth}"
                      maximumLength="#{bindings.LastName.hints.precision}"
                      shortDesc="#{bindings.LastName.hints.tooltip}" id="it7">
          <f:validator binding="#{bindings.LastName.validator}"/>
        </af:inputText>For my code to work, I have to add the autoSubmit="true" property.
        <af:inputText value="#{bindings.LastName.inputValue}"
                      label="#{bindings.LastName.hints.label}"
                      required="#{bindings.LastName.hints.mandatory}"
                      columns="#{bindings.LastName.hints.displayWidth}"
                      maximumLength="#{bindings.LastName.hints.precision}"
                      shortDesc="#{bindings.LastName.hints.tooltip}" id="it7"
                      autoSubmit="true">
          <f:validator binding="#{bindings.LastName.validator}"/>
        </af:inputText>Not sure but is this really how it should be done. It was'nt shown in the video though.
    Thanks
    JDEV 11.1.1.6
    Edited by: Neliel on Sep 5, 2012 8:01 PM

    Frank Nimphius wrote:
    Hi,
    you are correct. If you want to issue an event when youtab out of a field, autoSubmit must be set to true for that field
    FrankHi Frank,
    Thanks.. It wasn't mentioned on the video though but thanks for your confirmation.
    Regards

  • ALI Scripting Framework question: PTPortalPage() - I can't find any example

    I can't successfully create an array or portlet objects using the getPortlets() method of the PTPortalPage object in a portlet using the ALI scripting framework.
    The .zip file containing scripting framework samples (https://codesamples.projects.dev2dev.bea.com/servlets/ScarabDownload/resultpos/-1/nbrresults/0/remcurreport/true/template/ViewAttachment.vm/attachid/5124/filename/ALI_Scripting_Framework_Samples.zip) doesn't have any examples.
    var arrPortlets = new Array(PTPortalPage.getPortlets());
    alert(arrPortlets.length);
    This code says I only have one portlet on the page, but I have 3. Also, I'm unable to loop through the one in returned and turn it into PTPortlet object so that I can get the name and id of the portlet.
    Does anyone have a code sample on how to loop through the portlets on a page using the ali scripting framework's PTPortalPage.getPortlets()?

    Got it. I wouldn't particularly call the return value of the getPortlets() method an array of PTPortal objects - but rather it's just an array of ids.
    var arrIDs = PTPortalPage.getPortlets();
    for (var i in arrIDs)
    var portlet = new PTPortlet.getPortletByID(i);
    alert("pid: " + portlet.id + ", name: " + portlet.name);
    }

  • Read me for all OA Framework Questions

    Hi all,
    I'm trying an experiement with this thread posting. Hopefully, when people search the JDeveloper Forum for OA Framework problems, they will find this thread.
    OA Framework, also known as OAF, is a technology that is used in Oracle E-Business Suite (sometimes called EBS, Oracle ERP, Oracle Applications, etc). The tool used to develop OAF pages/customize existing ones is based upon JDeveloper (you can only download OA Framework from Metalink - it's a patch), which is why a lot of people ask about it on the JDeveloper/ADF Forum. However, the technology is so specific, that is really best to:
    ask on the [url http://forums.oracle.com/forums/forum.jspa?forumID=210]OA Framework Forum. You'll get a much better answer over there!
    Best,
    John
    Search terms included below in order to make people find it when they search ;) - I'll update this occasionally as more terms come to mind
    OAF
    OA Framework
    personalization "seeded page" R11 R12 CU2 fnd fnd.framework OAPage OAException OAPageBean DBC iExpense XMLImporter RUP4 RUP5 "advanced table" OA_JAVA OA_HTML JAVA_TOP FND_TOP HRMS "self-service page" RUP6 11.5.10 11.5.10.1 11.5.10.2 ICX_SESSION ICX_SESSION_FAILED "concurrent manager" DFF flexfield OARadioButtonBean jpximport

    push it up again...
    Timo
    Edited by: Timo Hahn on 20.07.2009 11:45
    Edited by: Timo Hahn on 27.07.2009 12:07

  • Scheduling Framework question

    Using the Flex scheduling framework, how do draw a verticle
    line at the current time. Basically, using demo example 6, and
    clicking it's "now" button, i'd like to draw this line when I press
    the "now" button ... subsequent clicking of the button should
    redraw the verticle line at the current time again.
    Any help greatly appriciated.
    A

    Hi,
    Delivery schedule lines are created which specify how much quantity of a material and by what date it should be delivered.
    These delivery schedule line are with reference to the scheduling agreement which is  a like contract between a company and a supplier to supply a list of materials within the specified time frame, at agreed time frame and with the agreed advance notice.
    Regards
    Datta

  • Best use of framework events in application architecture

    Hello,
    I apologize in advance if this is not the appropriate forum to be posting about Flex framework questions.  I considered the Cairngorm forum, but thought the question applied more broadly to all flex frameworks. That, and it seems that the Cairngorm forum isn't really very active.
    My question is about using frameworks for application architecture. Reading the "Introducing Cairngorm" document,  I see that it specifically says that Cairngorm events are just those events that will handle business logic (things like grabbing data from a server, committing data to a server, etc).  So then, how does a view interact with a controller when changing state?
    Let's say I have two or three different views of the same data and I have a buttonbar to switch to the view I want. Is it then typical to dispatch a Cairngorm (or Mate/Swiz/Pure MVC, etc..)  event to the controller to change the view state of the application?  Does this effectively mean that for every button a user can click on, we'll have an event and a command associated with that event to perform some change of state or business logic? With a moderately complicated application, with several different screens, a few forms, a couple of lookups, i.e. lots of buttons for user input, that seems like an awfully huge number of events/commands...? Or do you dispatch a regular old flash Event to handle this? Or does the view data bind to the model to change the view state?
    Obviously there's never any single correct answer to application architecture questions, but I'd like to know if there's any general best practices that I should follow. I don't want to under-architect OR over-architect my app.  I'm new to Flex programming and would like not to code something egregiously ugly.
    Thanks,
    Cory

    Hi,
    Consider this, there is no such thing as an enterprise level RIA, the whole concept behind thin client was to restrict the enterprise requirements to the backend, that being said if we assume that a flex application is specifically for the client end and can maintain its own state and that MVC frameworks are more about enterprise solutions then the whole framework argument becomes what it is, academic BS.
    <start rant>
    Its really simply, in half a century nothing has changed, you have rules and requirements(model), you have access to that(view) and you wrap it up as a program/application(controller) so  why do you need convoluted multilayer abstraction of functionality to make things work ? maybe so those that can't get a real development job can run around and preach at conferences, how else could they feed their adopted kids.
    So all those nice buzzwords, design patterns(the new age terminology for modular architecture), model/view/controller, borg coding(resistance is futile) is all very fine if you want to act smart but producing quality code actually means you are smart. As you may have guessed I am not a strong proponent of MVC frameworks, and I don't even need to get into the argument that everytime a 'framework' expert gets control of a project that isn't done in their MVC  poison of choice it gets a rewrite, clients really love those associated costs and retesting requirements.
    </end rant>
    You only need 1 framework for flex and thats the flex framework.
    Have a read this blog, the section on MVC and Flex is very interesting if not overly polite.
    http://www.herrodius.com/blog/216
    David

  • Finding jsp file for the OA framework

    hi all,
    i working in the OA framework, and i need to do some changes in the application and i need to get the jsp files for the shopping carts, i connected to the server through ftp.
    from the about link in the shopping cart it says that the OA_HTML found in the path /u01/applcrp2/crp2comn/html/ but i coudn't find the jsp files for the shopping cart, i also need to locate the java classes for this files
    any help please, is there any documentation on this issue - the location of the files in the OA framework in the server.
    urgent please any tipes
    Mahdi

    Oracle guys - maybe it's time for a "sticky" post at the top of the forum entitled This is not the right forum for asking OA Framework questions.
    The OA Framework Forum is [url http://forums.oracle.com/forums/forum.jspa?forumID=210]here
    I am going to become the top poster on this forum just responding to these ;)
    John

  • How to give Common Background color for all JPanels in My Swing application

    Hi All,
    I am developing a swing application using The Swing Application Framework(SAF)(JSR 296). I this application i have multiple JPanel's embedded in a JTabbedPane. In this way i have three JTabbedPane embedded in a JFrame.
    Now is there any way to set a common background color for the all the JPanel's available in the application??
    I have tried using UIManager.put("Panel.background",new Color.PINK);. But it did not work.
    Also let me know if SAF has some inbuilt method or way to do this.
    Your inputs are valuable.
    Thanks in Advance,
    Nishanth.C

    It is not the fault of NetBeans' GUI builder, JPanels are opaque by default, I mean whether you use Netbeans or not.Thank you!
    I stand corrected (which is short for +"I jumped red-eyed on my feet and rushed to create an SSCCE to demonstrate that JPanels are... mmm... oh well, they are opaque by default... ;-[]"+)
    NetBeans's definitely innocent then, and indeed using it would be an advantage (ctrl-click all JPanels in a form and edit the common opaque property to false) over manually coding
    To handle this it would be better idea to make a subclass of JPanel and override isOpaque() to return false. Then use this 'Trasparent Panel' for all the panels where ever transparency is required.I beg to differ. From a design standpoint, I'd find it terrible (in the pejorative sense of the word) to design a subclass to inconsistently override a getter whereas the standard API already exposes the property (both get and set) for what it's meant: specify whether the panel is opaque.
    Leveraging this subclass would mean changing all lines where a would-be-transparent JPanel is currently instantiated, and instantiate the subclass instead.
    If you're editing all such lines anyway, you might as well change the explicit new JPanel() for a call to a factory method createTransparentJPanel(); this latter could, at the programmer's discretion, implement transparency whichever way makes the programmer's life easier (subclass if he pleases, although that makes me shudder, or simply call thePanel.setOpaque(false) before returning the panel). That way the "transparency" code is centralized in a single easy to maintain location.
    I had to read the code for that latter's UI classes to find out the keys to use (+Panel.background+, Label.foreground, etc.), as I happened to not find this info in an authoritative document - I see that you seem to know thoses keys, may I ask you where you got them from?
    One of best utilities I got from this forum, written by camickr makes getting these keys and their values very easy. You can get it from his blog [(->link)|http://tips4java.wordpress.com/2008/10/09/uimanager-defaults/]
    Definitely. I bit a pair of knucles off when discovered it monthes after cumbersomely traversing the BasicL&F code...
    Still, it is a matter-of-fact approach (and this time I don't mean that to sound pejorative), that works if you can test the result for a given JDK version and L&F, but doesn't guarantee that these keys are there to stand - an observation, but not a specification.
    Thanks TBM for highlighting this blog entry, that's the best keys list device I have found so far, but the questions still holds as to what specifies the keys.
    Edited by: jduprez on Feb 15, 2010 10:07 AM

  • Painting issue with swing titlebar

    Hi,
    I had already posted this but no body replied so I am posting it again hoping somebody might reply to this now.
    In my swing application I wanted a custom titlebar, so I created my own RootPaneUI by taking most of the code from MetalRootPaneUI to get what I wanted.
    In order to make my titlebar visible I had to call:
    frame.setUndecorated(true);
    frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
    The major issue I am facing now which sounds very weird to me is with the painting of the window. When I start the application sometimes (not always), I see the frame being stuck to the top left corner of the monitor, when I move the mouse over the toolbar/menubar, the frame starts painting the icons of underlying IDE like eclipse or IntelliJ over my application. It seems like a painting issue which is really a very strange behaviour.
    This issue does not happen with windowslookandfeel and also works fine for MetalLookAndFeel when the JFrame is decorated to show window decorations(windows titlebar) not the look and feel one(custom titlebar).
    I wanted to know if its me who is doing something wrong or is it a swing bug. Is there a way to fix this issue. I searched a number of forums but couldn't find an answer to it.
    Thanks in advance.

    Hello @Andre_Uhres:
    In my application, I am using swing application framework (JSR 296) and I have a splash screen(JFrame) which loads some configuration data and then shows a modal login dialog on top of it. On successful login the login dialog and splash is disposed and the main application frame shows up.
    The job of showing splash screen and logging in the application was being done in the main/initial thread. I apolgoize for not being able to provide a sample runnable code because the issue is seen only with my application and not with any other demo programs and it was not quite possible for me to put that huge code here.
    public static void main(String args[])
    SplashFrame.start();
    //Launch the main application
    Application.launch(ApplicationMain.class); // swing application framework would launch the frame in the invokeLater method.
    class SplashFrame
       public void start()
            // create a splash and show it
           // load the configurations
           // show login dialog
           // on successful login dispose splash and login
    }I eventually moved this code into SwingUtilities.invokeLater() but even this didn't help me. I still see the same issue.
    public static void main(String args[])
    // or use invokeAndWait
    SwingUtilities.invokeLater(new Runnable(){
    SplashFrame.start();
    //Launch the main application
    Application.launch(ApplicationMain.class); // swing application framework would launch the frame in the invokeLater method.
    }I also tried doing this:
      RepaintManager.setCurrentManager(new RepaintManager()); as I read in some forums that sometimes RepaintManager might need to be overwritten to resolve some painting issues.
    FYI: I am using JDK 1.6.0_17
    In spite all these, I still see the same issue. Any help much appreciated.
    Thanks

  • How to persist state of JCheckBox component (Swing)?

    I've been hunting all over the place for a simple way to save the state of a JCheckBox item, so that the next time the program is run the state is restored. My window sizes are restored, and tab selections are remembered, but how do I persist the check box state?
    I haven't been able to find any information on this ... can anyone help?
    Cheers,
    Seumas42

    It would have been handy to mention that the app. already uses the [Swing Application Framework (JSR 296)|https://appframework.dev.java.net/]. The blurb of the framework has a series of feature, one of which is.
    - Support for managing and loading resources, like strings, formatted messages, images, colors, fonts, and other types common to desktop applications.
    So it seems the functionality you want is there, but I have not delved into this API yet, so am unable to advise further, but note that is has a dedicated forum.

  • Hi Error while running project

    Good day all,
    When running from testpg.xml under my project workspace from my oracle jdeveloper enviroment i get this error:
    Kindly help out on steps to resolve this error
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdeveloper\OAF\jdevbin\jdk\bin\javaw.exe -client -classpath C:\Jdeveloper\OAF\jdevbin\j2ee\home\oc4j.jar;C:\Jdeveloper\OAF\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\Jdeveloper\OAF\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\Jdeveloper\OAF\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Dhttp.proxyHost=10.0.20.28 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=10.0.4.20|10.0.1.47|crm* -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\Jdeveloper\OAF\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Auto-unpacking C:\Jdeveloper\OAF\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\applications\soap.ear... done.
    Auto-unpacking C:\Jdeveloper\OAF\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\applications\soap\soap.war... done.
    Auto-deploying soap (New server version detected)...
    Auto-unpacking C:\Jdeveloper\OAF\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\applications\bc4j.ear... done.
    Auto-unpacking C:\Jdeveloper\OAF\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\applications\bc4j\webapp.war... done.
    Auto-unpacking C:\Jdeveloper\OAF\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\applications\bc4j\cabo.war... done.
    Auto-deploying bc4j (New server version detected)...
    Auto-deploying file:/C:/Jdeveloper/OAF/jdevhome/jdev/system9.0.3.5.1437/oc4j-config/default-web-app/ (New server version detected)...
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 27343 ms.
    Auto-deploying file:/C:/Jdeveloper/OAF/jdevhome/jdev/system9.0.3.5.1437/oc4j-config/applications/soap/soap/ (New server version detected)...
    Auto-deploying file:/C:/Jdeveloper/OAF/jdevhome/jdev/system9.0.3.5.1437/oc4j-config/applications/bc4j/cabo/ (New server version detected)...
    Auto-deploying file:/C:/Jdeveloper/OAF/jdevhome/jdev/system9.0.3.5.1437/oc4j-config/applications/bc4j/webapp/ (New server version detected)...
    Auto-deploying OA Framework images (New server version detected)...
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    ApplicationServer: appName = APPS_OA
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 1781 ms.
    Error creating the ORB :
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 3500 ms.
    ApplicationServer: appName = APPS_OA
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    Error creating the ORB :

    This is an OA Framework question and should be posted on the OA Framework forum.

  • Data from SOAP response not getting into Flex object

    I'm trying to get data from an ALM application we use(Collabnet TeamForge) using a SOAP webservice, and am running into a problem.  I should mention that I am new to both Flex, and webservices.
    I used the "Import Web Services" option in Flex Builder 3, and had it generate code for all operations in the WSDL.  Some of them work just fine.  However, there are several where the data from the SOAP response does not get into the Flex object. The senario that doesn't work is when the response contains a data type that extends another datatype.  In TeamForge, they have a type called TrackerSoapRow.  It extends FolderSoapRow, adding 3 fields.  The problem seems to be that in the response from TeamForge, the 3 fields defined in TrackerSoapRow are in the middle of the fields defined in FolderSoapRow.  I've debugged into it, and the problem occures in mx.rpc.xml.XMLDecoder.getApplicableValues( starting at line 2204 of XMLDecoded.as).  As I read the code, the only way a match can be found is if the fields in the response are in the exact same order as in the definintion.  When its processing the extended data type(  by a call to XMLDecoder.decodeComplexExtension ) at some point, one of the derived type's fields is encountered, and the process stops.
    I have called the service using soapui and verified that all the data I expect is in the response.
    As I mentioned, I'm new to web services.  So, I suppose its possible that the format of the data being returned from TeamForge is incorrect.  That they are not supposed to intermingle base and derived fields.  If thats the case, then I need to report this as a bug to Collabnet.
    All help is appreciated.
    Marc Robertson

    Not knowing any of the details about how you call a web service from OAF myself - I'd suggest you post on the proper forum for OA Framework questions: {forum:id=210}
    John

Maybe you are looking for

  • ITunes Store on iOS5 doesn't work correctly.

    Ever since upgrading to iOS4 amd every iteration after that, iTunes on my iPhone 4 has been getting slower and slower. I am not talking about the app on my computer, I'm talking about the one on my phone. I didn't mind that it was slow, it was frustr

  • ITunes not detecting iPod Touch

    So I just got the 32GB iPod Touch today. 2nd Gen of course. Already had iTunes in my PC before this. So as how it should go, I plugged the iTouch in, it started to sync my music. Okay so that was normal. Then it asked to update it's firmware to 2.2.

  • Multiple subforms, only 1 of which will load when the PDF is opened.

    I am new to LIvecycle Designer, and have had no problems so far that I could not resolve via Google or trial and error.  Now I have an issue for which I cannot find an answer. I have created a fillable form, 2 pages, that will handle input of various

  • Sharepoint plugin not included in 10.1.8

    I just downloaded and installed 10.1.8 and there's no Sharepoint plugin. According to the following page, it should be there: http://www.oracle.com/technology/products/oses/developer/gallery.html Any idea why it's not? Darryl

  • Oracle PL/SQL best practice

    Hello experts, Is there any place I could find oracle PL/SQL best practice programming advice?  I got a requirement to write a small paper to help new people that come to work for us so I wanted to put some of best practices (or a set of standard tip