Jdev 10g: missing TemplateApplication.xml

Hi,
Just tried jdev 10g - when starting up have two messages:
1) Missing application.xml template file <jdev_home>\mywork\config\TemplateApplication.xml
2)Missing LRAD MMD folder <jdev_home>\mywork\config\jrad
What is it - a welcome type message or something I should take care about?
Thanks everybody.
Anatoliy

Hi,
dialogs are not opened by a GET request, which is what container managed authorization looks at. It basically bypasses this kind of security, which means that developers should check manually on teh command component that launches teh dialog if the authenticated user is allowed to do this. Also note that the default JSfnavigation is by postback which means you have to set all navigation to use the redirect flag to make it work with container managed security
Frank

Similar Messages

  • JDev 10g - Security - web.xml - URL pattern matching

    Hello,
    I use JDeveloper 10.1.3.4. It's 4 hours I try to figure out what is going on:
    I set security constraint in web.xml:
    &lt;security-constraint&gt;
    &lt;web-resource-collection&gt;
    &lt;web-resource-name&gt;books&lt;/web-resource-name&gt;
    &lt;url-pattern&gt;faces/app/books/*&lt;/url-pattern&gt;
    &lt;url-pattern&gt;faces/*/app/books/*&lt;/url-pattern&gt;
    &lt;/web-resource-collection&gt;
    &lt;auth-constraint&gt;
    &lt;role-name&gt;books&lt;/role-name&gt;
    &lt;/auth-constraint&gt;
    &lt;/security-constraint&gt;
    User is logged in with role "books" for sure.
    http://192.168.0.109:8988/lib/faces/app/books/page.jspx can be seen
    but dialogs can't be seen, url is : http://192.168.0.109:8988/lib/faces/__ADFv__?_afPfm=1.5&_t=fred&_vir=/app/books/Search.jspx&loc=en&_rtrnId=2it redirects to login page.
    Another thing, when I set only one url pattern : faces/app/books/*.jspx
    I can't even see faces/app/books/page.jspx page!
    It's very curious, have to be something else somewhere to set, because in SRDemo app this 2 cases don't cause problems.
    Bart
    snowface.net - snowboard equipement reviews

    Hi,
    dialogs are not opened by a GET request, which is what container managed authorization looks at. It basically bypasses this kind of security, which means that developers should check manually on teh command component that launches teh dialog if the authenticated user is allowed to do this. Also note that the default JSfnavigation is by postback which means you have to set all navigation to use the redirect flag to make it work with container managed security
    Frank

  • UIX table tag's attribute VALUE is missing in jdev 10g production

    In JDeveloper 10g preview, I handled my table's navigation manually and need to set the table's tag attribute VALUE in order to keep the record range.
    However, when i convert my project to JDeveloper 10g Production, eventhought the page is still working fine, but in the design windows will show that the uix page is in invalid state and I found that the attribute VALUE is no more supported.
    Could anyone please help me and let me know how do i set back my record range? Thanks!

    It turns out that you're running into a bug that will be fixed in the soon to be released version of JDev 10g. The good news is that it's a design time bug, so your pages will still work at runtime. You can even fix the bug yourself if you want. In JDEV_HOME\jlib there is uix2-schemas.zip. Inside of that is ui/table.xsd.
    Add the below attribute definition inside of the complex type for the table, and you should be all set.
    <attribute name="value" type="ui:unsignedIntExpressionType" default="1"/>
    Hope this helps,
    Ryan Pollock
    UIX Team

  • JDev 10G OSX Issues

    Hi-
    I am starting this thread as a discussion area for bugs and issues with JDev 10G on Apple OSX 10.3. JDev is not officially supported on OSX, however, I am hoping that by providing well defined issue lists we can move that process along. Please add to this list if you are running JDev on OSX and find other issues!
    Thanks Gerard for encouraging me to post these (and sorry for my slow response).
    Eric Everman
    ___Problems in the 10G release that were present in preview release___
    -The Apple LnF has some missing icons and general painting issues in the file browser.
    -com.apple.macos.useScreenMenuBar has been depreciated message on startup (noted other places)
    -(MAJOR) JDev cannot correctly resolve paths using symbolic links. I haven't tried this, but I would suspect this is a problem on Linux as well. If I open a project that uses a symbolic link within its path, JDev seems to think there are two copies each file - one on the linked path and one on the fully resolved path. Somehow out of this, Jdev ends up placing all files into a Miscellaneous package under Web Content and Application Sources.
    -Import... The dialog seems to have a hardcoded background color. When running under OSX with the Apple LnF, the background color is the dark color of the Oracle LnF in portions of the dialog.
    -The sort order for files in the file dialogs is case sensative is a unfriendly way: A-Z sorts as a group before a-z. Preferable would be Aa, Bb, etc, as OSX applications (and windows applications) do. Is this also a problem in Linux?
    -Quiting JDev results in the following error (terminal text from JDev start to JDev Quit):
    ================================
    Exception in thread "Thread-0" java.lang.SecurityException
    at oracle.ide.IdeCore$1.checkExit(IdeCore.java:165)
    at java.lang.Runtime.exit(Runtime.java:88)
    at java.lang.System.exit(System.java:715)
    at com.apple.eawt.Application.handleQuit(Application.java:406)
    JavaAWT: Assertion failure: Java exception thrown
    JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 40
    JavaAWT: Assertion failure: _javaException
    JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 48
    2004-04-30 10:54:36.344 java[2230] See Java exception object
    ================================
    -Dual monitors Issue: (partially fixed) Works great under Apple LnF as long as com.apple.macos.useScreenMenuBar is 'false'. When set to 'true' and working in the non-main window (the window w/o the menubar), context menus pop-up at the edge of the main window instead of at the mouse location.
    -Command-Q will quit JDev, but will not always kill the associated Embedded OC4J instance. I can't always reproduce this - perhaps it happens after I've switched projects, recompiled somethings, etc..
    -Quiting JDev using any method other File|Quit results in the open file list not being saved. (Other methods are Command-Q or the JDev menu item Quit option)
    ___Problems in the preview release that were fixed in the 10G release___
    -Fixed: The close/minimize buttons on tabs and panes now display properly in the Apple LnF.
    -Fixed: Save As... removes the original file from the project list. So it looks as if the file has been renamed - in reality the original file is still on the disc, just no longer part of the project.
    -Fixed: The state of open files is not restored when JDev is resarted. Somewhere along the line I ended up with the JDev Welcome page and a class file as being the open files each time I start JDev, regardless of what files were open when I closed JDev. Tried with OSX LnF and Oracle LnF.
    -Fixed: When running under OSX LnF, editing code will result in the addition of a 'Code' menu to the menu bar, however, all of the other menu items are de-activated (greyed out). When the context changes to something other then code editing, the 'Code' menu item disappears, but all of the other menu items remain de-activated. Also, the Code item is added after the Help item, which is non standard. Under the Oracle LnF, the behaviour is as expected.
    -(Have not replicated in 10G release) After switching from MS Windows to OSX using JDev 10G for both, leading square bracket characters ([) seem to be stripted from JavaScript in JSP pages. Additionally, an extra space is sometimes inserted after a litteral in square braces.  If you see something similar, please submit more details.  I have a more detailed writeup in the Technologies|Apple section - search for 'square bracket characters'.
    -Fixed: Structure pane incorrectly displayed multi-line JSP comments that started with carriage returns.
    ___New Issues in the 10G release (or not before found)___
    -On startup, several errors are listed in the JDev message pane:
    ================================
    /Applications/jdev/jdev/lib/ext/bc4j_installer.jar!/META-INF/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 24, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    /Applications/jdev/jdev/lib/ext/bigraphext.jar!/META-INF/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 17, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    ================================
    After adding the JUnit extension, I also get these messages at startup:
    =================================
    /Applications/jdev/jdev/lib/ext/jdev905_JUnit Folder/bc4j_junit_addin.jar!/meta-inf/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 39, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    /Applications/jdev/jdev/lib/ext/jdev905_JUnit Folder/junit_addin.jar!/meta-inf/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 98, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    ================================
    -The window location and/or size is not restored on startup. I typically run dual monitors with jdev full-screen on the larger of the two. jdev often starts less then full screen size or not in the full screen location.
    -Inner Classes are not properly used by JDev. This chunk of code:
    ================================
    import java.util.Map;
    //code in a method
    Map.Entry entry;
    ================================
    Results in JDev underlining Map.entry with a mouseover note that says 'Access not allowed for class 'java.util.Map.Entry'.
    -Find and Replace with 'prompt' option locks the editor (hard to replicate)
    -JDev will sometimes 'swallow' a keystroke while it is poping up a Code Insight box (hard to replicate)
    ___General Feature Requests___
    -Several of the common File menu options could be added to the context menu in the Application Navigator tab. For instance, Save As, Remove From Project, Delete, and Refactor-> are all common functions that are nice to have 'right there'.
    -When typing import statements, is there some way to have jdev continue showing context lists after a selection is made? For instance, when entering:
    import org.apache.commons.lang.RandomStringUtils;
    I type "org." which allows me to choose apache from the list. Then... nothing - I have to backspace to delete the '.' and retype it in order to get the next code completion popup. In JBuilder there was the option to select an item from the list by pressing the '.' (dot), which would immediately continue with another context selection box.

    Okay, lets see how many of these we can already deal with:
    ** General Look And Feel Issues:
    * Missing icons and redrawing issues in the file browser
    Loged as new bug 3609752
    * ...useScreenMenuBar has been depreciated message
    Can find this, are you sure this is not being confused with the antialiasing messages?
    * Dialog background colors
    Logged as bug 2610818
    * Open dialog sorting
    Logged as new bug 3609768
    * AWT exception on exiting:
    Logged as bug 3525259
    * Multi monitor bug
    Unfortunately we only have a few macs and non of them have more than one monitor at the moment. But from your description this problem seem to lie with Apple rather than us. I will keep an eye on it for you though.
    ** Error messages on startup
    I belive this is a common problem accross all platform.
    ** Inner classs issue
    Again this is a problem with all versions of JDeveloper. Logged as bug 3546309, not currently scheduled to be fixed until the next release. Note that this only seems to affect the highligthing in the editor and nothing else.
    ** Items not being saved, position not being restored.
    If you press Apple-Q the Java virtual machine will kill jdeveloper and not allow it to close down properly. This can be resolve by addin hooks provided by apple. For the 903 preview release we had an addin for this. I will look at providing a drop in for 9.0.5.1
    ** Symbolic links, and other enhancements
    In will invetigate symbolic links and get back to you. I will also look at tracing down ER or log bugs for the other enhancemnts you mention
    Thanks for the details,
    G.

  • JALOPY and JDev 10g 9.0.5.1

    How can I incorporate jalogy in to Jdev 9.0.5.1?
    I followed the instructions on jalopy website and it worked perfectly for Jdev 10g Preview but not 9.0.5.1. All I did before was just copy the jar files into &lt;JDEV&gt;\jdev\lib\ext directory and restart JDev. Now it doesn't work. Thank you in advance.

    Thank you Rob for your fast response. However, it still doesn't work. However, I noticed that in the <JDEV9051>\jdev\lib\ext folder there is README.txt and it has some XML to define external plugins. I have not noticed it in the older release. Do I have to configure the plugins using XML config file now?
    Again thank you in advance.

  • Bug: Jdev 10g - templateDefinition won't allow expressionLanguage setting

    I've been migrating a set of pages from Jdev 10g Preview to Jdev 10g Production. I've got a UIX template (.uit) file with a templateDefinition like this:
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.paslists.com/pas/templates"
    localName="pasPageLayout"
    expressionLanguage="el">
    I get the following in the structure window:
    Errors(1)
    --- Attribute expressionLanguage not defined on element templateDefinition
    Can anyone help with this?

    I've managed to fix this myself, after reading about all the migration issues. It seems that the migration process copied some settings that caused Jdev 10g Production to map to some of the prior Jdev XML schemas and/or libraries. The solution was:
    1) Make sure Jdev is closed.
    2) Rename the <jdev_home>\jdev\system9.0.5.1.1605 to something else (just in case).
    3) Open JDev. Say no to any Migration questions.
    4) Open your workspaces (jws files) using the File->Open dialog
    I'm assuming, of course, that these projects are already JDev 10g Production projects. If they are not, then I think the procedure would be:
    1) Install Jdev 10g Production
    2) Run Jdev 10g Production. Say Yes and migrate settings and projects.
    3) Follow the steps above to fix the migrated settings.
    This should get your projects migrated to the new formats without contaminating them with old libraries/schemas.
    I'll repost if I find something that breaks due to this procedure. I do know that it resolved my error messages.

  • Jdev 10G Custom Tag compilation problems

    Hi,
    I noticed that new tld's are added to "src/META-INF/."
    When i compile my jsp to reference the tld it is not successful b/c it is looking for the tlds within the "public_html" or somewhere within it. I turned off tld and web.xml validation, but jdev 10G still validates the location of the tld. Is there way to configure Jdev to put the tld in another location?
    I know i can work around this by building w/ ant or someother compiler external to Jdev, but would like to remedy this problem so i can use jdeveloper as it is.
    hope someone can shed some light, i've been working on this all day long...
    Thanks in advance,
    Eugene

    i am referenceing the tld via the web.xml alias entry. I found a work around where i copy the tld to somewhere in the public_html location of the project. I guess Jdeveloper doesn't look for the tld within META-INF which is embedded in the src directory structure of the project. For some reason, Jdeveloper doesn't look there for the TLD where it writes the tld to. it's interesting that jdeveloper doesn't look for the tld where it writes to. :)
    from the server side, when i deploy, it works okay. but to get around the compilation problem, i have to copy the tld or softlink it to the META-INF location of the original tld.
    I tried turning off web.xml, tld, and jsp validation of TLDs to get around this problem, but that doesn't seem to "turn it off."
    How do you approach this problem? do you use ant or some other external build process?
    thanks!

  • Jdev 10g - Error instantiating web-application

    Hi All,
    when I try to run an OA page in Jdev 10g, I am getting the following error in the browser:
    Error instantiating web-application
    Application: APPS_HTML has been stopped
    (I am using Mozilla Firefox)
    The error log in Jdev has the following:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\jdev10g\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    D:\jdev10g\jdevbin\jdk\bin\javaw.exe -hotspot -classpath D:\jdev10g\jdevbin\j2ee\home\oc4j.jar;D:\jdev10g\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdev10g\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Feb 27, 2007 11:47:42 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Feb 27, 2007 11:47:42 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\jdev10g\jdevbin\jdev\appslibrt\xml.jar (from <library> in /D:/jdev10g/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdev10g/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdev10g\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdev10g\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /D:/jdev10g/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdev10g/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in D:\jdev10g\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdev10g\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /D:/jdev10g/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /D:/jdev10g/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in D:\jdev10g\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\oracle\lib\xmlparserv2.jar (from manifest of /D:/jdev10g/jdevbin/jdev/appslibrt/jazncore.jar) has the same filename but is not identical to /D:/jdev10g/jdevbin/lib/xmlparserv2.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdev10g\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    07/02/27 11:47:44 WARNING: Application.setConfig Application: datatags is in failed state as initialization failed.
    java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
    Feb 27, 2007 11:47:44 AM com.evermind.server.ServerMessages warningApplicationInitializationFailed
    WARNING: Exception initializing deployed application: datatags. Application: datatags is in failed state as initialization failed
    07/02/27 11:47:44 WARNING: Application.setConfig Application: APPS_OA is in failed state as initialization failed.
    java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
    Feb 27, 2007 11:47:44 AM com.evermind.server.ServerMessages warningApplicationInitializationFailed
    WARNING: Exception initializing deployed application: APPS_OA. Application: APPS_OA is in failed state as initialization failed
    07/02/27 11:47:44 WARNING: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
    java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
    Feb 27, 2007 11:47:44 AM com.evermind.server.ServerMessages warningApplicationInitializationFailed
    WARNING: Exception initializing deployed application: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
    Feb 27, 2007 11:47:45 AM com.evermind.server.http.HttpMessages internalErrorWhileTryingToInstantiate
    SEVERE: Internal error raised tyring to instantiate web-application: webapp defined in web site OC4J 10g (10.1.3) Default Web Site. Application: webapp has been stopped
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 8282 ms.
    Can any one help me?
    Thanks,
    Senthil

    Try posting this on the OAF discussion forum:
    OA Framework

  • JDev 10g r3: Problems with migrationg

    Hi, All!
    There is a situation: i have a project made in JDev 10g R2. By unknown the project file (jpr) cannot be converted to new project format. Because i need to create new project and add all files (web.xml, faces-config.xml, JSPs, .java) to new empty project. But when i select in project properties directories where my files take place, IDE coolects all of them in one category and skip xml files. How should i correct recreate my web-project?
    Thanks.

    It's not actually good suggestion, I think you can create new project, and then create the new file with the same name with the old one and copy the old and paste it to the new one. It will take time a little bit longer but I'm sure it will work.
    good luck
    fox

  • How to Copy Specific Changes between branches in jdev 10g??

    Hi!
    I'm using jdev 10g with svn, I've already create a branch of a project (we're going to use it in production), but I cant find an option to merge the content of trunk with my branch. (would like to use jdev instead of command line)
    I found the option to compare both revisions [compare with... other revision], but this mode is read only so I can't edit or merge any of this.
    I'ld appreciate any help. thanks!

    I think I figured this out, actually, by just copying a patch from a concert that is set up the way I want, to the desktop, then opening my main concert and copying it in. Magically it seems that the parameter mappings stayed in tact and mapped themselves to where I'd hoped on my physical instrument. I've only tried this on the computer but haven't put it into practice with the physical instrument (novation) but it all works on the computer. In the past I thought that copying patches didn't capture the channel strip setting, and visa versa, but this seems to capture both, and keep the mappings. Cool. I don't know what would happen to the mappings if they didn't see the same kind of instrument layout as they just came from, but that's another issue.
    I'm just posting to see if there's anything I'm missing by doing it this way.

  • Error Call Web Service Deployed to OC4J 10g with JDev 10g

    I deployed a PL/SQL Package as a Web Service to a Stand Alone 10g OC4J instance. When I invoke the Web Service the text I am returned is this:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.rmi.RemoteException: null; nested exception is:
         java.lang.NullPointerException</faultstring>
    <faultactor>/webservice/Mayoclinic</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I can successfully run the Web Service in the OC4J instance in JDev 10g.
    Any ideas. I recieve know errors in JDev 10g Deploying the application.

    Last line should be ...
    Any ideas. I recieve NO errors in JDev 10g Deploying the application.

  • Edit  Struts Page Flow : locking JDev 10g

    I tried to use the "Edit Struts Page Flow" option for an existing project in JDev 10g.
    The "struts-config.xml" is not in web-inf directory (it�s in a directory together with others xml files. In build time it�s placed in the right place in the war file).
    If I create a new "struts-config.xml" it works fine.
    Thanks in advance.

    Just thought I'd provide the following to supplement my previous posting.
    Left click on struts-config.xml in the navigator pane. After 5 minutes or so the following stack trace appears in the console window:
    java.lang.NullPointerException
    at ndOrCreateConfigurationNodeInProject(JUDTNodeObjectFactory.java
    :176)
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findConfigurationNodeInProject(JUDTNodeObjectFactory.java:150)
    at
    oracle.adf.dt.providers.XcfgDataControlProvider.addControlsToArrayList(XcfgDataControlProvider.java:45)
    at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:110)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
    at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
    at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    If I then right click on struts-config.xml in the navigator pane and select edit struts page flow, a few minutes
    later the following stack trace appears in the console window:
    java.lang.NullPointerException
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findOrCreateConfigurationNodeInProject(JUDTNodeObjectFactory.java
    :176)
    at
    oracle.adf.dt.objects.JUDTNodeObjectFactory.findConfigurationNodeInProject(JUDTNodeObjectFactory.java:150)
    at
    oracle.adf.dt.providers.XcfgDataControlProvider.addControlsToArrayList(XcfgDataControlProvider.java:45)
    at oracle.adf.dt.DataControlManager.getAllDataControls(DataControlManager.java:110)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:50)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:35)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:30)
    at oracle.adf.dt.controls.treemodel.DataControlsTreeModel.<init>(DataControlsTreeModel.java:25)
    at oracle.adf.dt.controls.DataControlsTree.createDataControlsTreeModel(DataControlsTree.java:98)
    at oracle.adf.dt.controls.ModelCreator.run(DataControlsTree.java:113)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:353)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:116)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at oracle.bm.util.alert.ErrorDialog.runDialog(ErrorDialog.java:148)
    at oracle.bm.util.alert.CWException.showAlertImpl(CWException.java:310)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:224)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:210)
    at oracle.bm.util.alert.CWException.showAlert(CWException.java:197)
    at oracle.bm.commonIde.util.ValidationDisplay.showException(ValidationDisplay.java:31)
    at oracle.adfimpl.struts.registry.RPageNode.createNode(RPageNode.java:243)
    at oracle.adfimpl.struts.Diagram.synchAdds(Diagram.java:413)
    at oracle.adfimpl.struts.Diagram.refreshDiagram(Diagram.java:257)
    at oracle.adfimpl.common.PageFlowDiagramView.onInitialUpdate(PageFlowDiagramView.java:108)
    at oracle.bm.diagrammer.PageView.validate(PageView.java:778)
    at oracle.bm.diagrammer.PageView.setBounds(PageView.java:808)
    at java.awt.CardLayout.layoutContainer(CardLayout.java:364)
    at java.awt.Container.layout(Container.java:1017)
    at java.awt.Container.doLayout(Container.java:1007)
    at java.awt.Container.validateTree(Container.java:1089)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validateTree(Container.java:1096)
    at java.awt.Container.validate(Container.java:1064)
    at oracle.ideimpl.flateditor.FlatEditorManager.createEditor(FlatEditorManager.java:1203)
    at oracle.ideimpl.flateditor.FlatEditorManager.createEditorInFrame(FlatEditorManager.java:1147)
    at oracle.ideimpl.flateditor.FlatEditorManager.openEditorInFrame(FlatEditorManager.java:1078)
    at oracle.ideimpl.flateditor.FlatEditorManager.openDefaultEditorInFrame(FlatEditorManager.java:1053)
    at oracle.adfimpl.struts.StrutsProjectConfigurer.addStrutsDiagram(StrutsProjectConfigurer.java:356)
    at oracle.adfimpl.struts.navigator.StrutsMenuListener.showDiagram(StrutsMenuListener.java:220)
    at oracle.adfimpl.struts.navigator.StrutsMenuListener.handleEvent(StrutsMenuListener.java:92)
    at oracle.ide.IdeAction.performAction(IdeAction.java:812)
    at oracle.ide.IdeAction$1.run(IdeAction.java:781)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:449)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
    As I'm then left looking at a grey screen and a blank dialogue, my only option at this point is to use Windows' Task manager to terminate JDeveloper.
    HTH,
    Justin.

  • Missing opmn.xml file and opmn/conf folder

    I downloaded Oracle Application Server 10g, Version 10.1.3.4.0
    My app says “Warning: Could not find file /Desktop/OAS/opmn/conf/opmn.xml to copy.” My opmn/conf folder is missing and I am unable to install my application that uses OAS. The zip file I downloaded, oc4j_extended_101340.zip, doesn’t have that directory either. So how do I generate it?
    The readme file doesn’t say anything about it. It just says
    “There are no specific tasks that need to be performed to ready the new OC4J
    instance for use. The new OC4J instance can be used immediately after the unzip
    operation has completed.”
    So then the opmn/conf should come right out of the box, right?

    First thing, if you are using standalone OC4J (the one installed by unzipping oc4j_extended_101340.zip), you will not have OPMN in there. That means $ORACLE_HOME/opmn directory (and any sub directory) will not exist. Standalone OC4J is not managed by OPMN.
    But if you installed Oracle Application Server from the media using regular Oracle Installer, it is OPMN managed and all of opmn directories and files should exist. If any of the file or directory doesn't exist that would mean your installation wasn't clean. You will have look at installer logs for errors. In theory you can try by creating/copying files and opmn directories from some other clean installation but I will strongly suggest to re-install to avoid any other future potential issues.
    I didn't understand the part when you say your application is complaining about missing opmn.xml. What is this application? Any custom (non-Oracle provided) application does/should not have any dependency on opmn. Can you clarify this?
    Thanks
    Shail

  • JDev 10_3 Preview & large XML files

    Hi,
    When trying to view large (674 kb) xml files, JDev is:
    a) v. slow.
    b) not able to scroll to the end of long lines of text
    c) is no indent functionality like in JDev 10g
    Cheers,
    Eddie

    Forgot to mention:
    XP SP2
    Jdev10_3 complete installation.
    Eddie

  • Create the missing server.xml files yourself

    Paula and I created the missing server.xml files ourselves. The script is at the bottom of the post.
    We badly needed the missing server.xml files to work on the customizations and Oracle was unable to solve this problem.
    "I checked on our Automated Release Updates System found that we dont have server.xml that includes PosDelivSchedVO. This confirms that there is no patch available at present to provide you with this file.
    As this is not related to coding issue,Support will not be able to log a bug with Development. You may log an Enhancement Request via Metalink, so that Development would review your requirement and if feasible would include this file at the time of future releases"
    #!/bin/sh
    # This script is used to generate the missing server.xml files for $JAVA_TOP/oracle/apps/pos
    # Usage: server.sh
    # Note: This script has many hardcoded codes and it may generate the wrong server.xml.
    # The manual fixes to the generated server.xml may be need.
    # Check the codes before you use it.
    # It's possible to write a generic version of this script to deal with more issues, like
    # 1. dealing with the Oracle apps patches applied
    # 2. only generates the missing server.xml files automatically
    # 3. can specify the module, like pos or po ..., to generate server.xml.
    # 4. including only the OA Framework objects used.
    # 5. correctly generate the right "encoding"
    # Luke Chi
    APP=pos
    PKG_HEAD=oracle.apps.$APP
    PKG_TAIL=server
    SERVER_FILENAME=server_1.xml
    cd $JAVA_TOP/oracle/apps/$APP
    # for SUB_DIR in asn isp lov product rcv sbd ship administration changeorder jar planning profile registration schema servic
    es suppreg
    for SUB_DIR in asn lov product rcv ship administration planning profile schema services suppreg
    do
    echo $SUB_DIR
    cd $SUB_DIR/server
    PKG=$PKG_HEAD.$SUB_DIR.$PKG_TAIL
    cat << EOF > $SERVER_FILENAME
    <?xml version="1.0" encoding='WINDOWS-1252'?>
    <!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
    <!-- \$Header: server.xml 115.11 2003/03/25 22:31:14 luke ship $ -->
    <JboPackage
    Name="server"
    SeparateXMLFiles="true"
    EOF
    echo " PackageName=\"$PKG\" >" >> $SERVER_FILENAME
    ls *.xml | grep -v server*.xml | while read FILE
    do
    BASENAME=`basename $FILE .xml`
    cat << EOF >> $SERVER_FILENAME
    <Containee
    Name="$BASENAME"
    FullName="$PKG.$BASENAME"
    EOF
    for TYPE in AM EO VL VO AO
    do
    BASENAME_2=`basename $BASENAME $TYPE`
    if [ $BASENAME_2 != $BASENAME ]; then
    case $TYPE in
    AM) echo " ObjectType=\"AppModule\" >" >> $SERVER_FILENAME ;;
    EO) echo " ObjectType=\"Entity\" >" >> $SERVER_FILENAME ;;
    VL) echo " ObjectType=\"ViewLink\" >" >> $SERVER_FILENAME ;;
    VO) echo " ObjectType=\"ViewObject\" >" >> $SERVER_FILENAME ;;
    AO) echo " ObjectType=\"Association\" >" >> $SERVER_FILENAME ;;
    CO) echo " ObjectType=\"Luke_CO\" >" >> $SERVER_FILENAME ;;
    *) echo " ObjectType=\"Luke_UNKNOWN\" >" >> $SERVER_FILENAME ;;
    esac
    break
    fi
    done
    echo " </Containee>" >> $SERVER_FILENAME
    done
    echo "</JboPackage>" >> $SERVER_FILENAME
    grep Luke $SERVER_FILENAME
    if [ $? -eq 0 ]; then
    mv $SERVER_FILENAME server_error.xml
    fi
    pwd
    cd ../..
    done

    We loaded the Oracle seeded BC4J components from mid-tier file system to jdev OA Framework using the server.xml files generated by our Unix script attached in the privious posting above. We ,then did the customizations and successfully deployed them to our test Oracle apps.

Maybe you are looking for

  • Feature request: please give the ability to close all background apps at once!?

    Hello. Please oh please give us the ability to close all open/running apps with one click or swipe. I, like many users, like to close running apps (much like on my computer) to keep my ipad/iPhone running fast. I know you guys say that background app

  • Raster image into vector circles

    Is there a way of converting a raster image into circle vectors of various sizes so that it is similar with effect of pixelation. I need to transfer the circles into autocad so i need it in vector format. Thanks.

  • SetProperty in JSP with JavaBeans

    Why do they always talk about the following code in JSP's for getting or setting property's in a JavaBean. <jsp:setProperty name="dbb" property="dbDriver" value="<%= set.getDbDriver()%>" /> Because it is also possible by just calling this "dbb.setDbd

  • Can I rotate photos in iMovie 6 ?

    I am making a slide show for my daughter. I need to rotate some of the photos. Can I do that in iMovie 6 ? That seems like a resonable request of such a nice program. It is easy to do in Vegas Studio, and even Premiere Elements. I looked everywhere a

  • How can I share photo albums from my iPad 3?

    I have an iPad 3 and want to share my photo albums either by email. Is that possible?