Jdev 11.1.2.3 on RedHat 5.8 - question on ADF Libs

Hello: I am following the method of using ADF Libs to seperate common code from various sub-systems. So I've created the following Libs: CommonCode, CommonModel, CommonUI. This all worked great.
So now I'm working on creating two sub-systems that each use the common adf libs. Each subsystem will also create their own adf lib jar. This worked.
But...
I have a two tables joined by a master detail relationship that I want to test. So I setup a VO for the master table in subsystem1 and setup a VO for the detail table in subsystem2. Where would the View Link go? In subsystem1 or subsystem2. Does it matter?
The next step would be to create a Master Application that use subsystem1 and subsystem2. In the Master application, I would like to setup the master detail relationship between the tables and run a test. In theory, no code should go in the Master. Right?
So where should the view link go? In subsystem1, subsystem2 or master. And what is the reasoning?
Thanks for the help.

Hi there,
You should not create any View Links on any of the projects as this relationship between subsystems is only valid within the context of the Master application. Hence, the link should be created on the Master Application after both libraries have been imported, also keep in mind that after you import both libraries you should mark them as shared AMs under the master AM so you have an optimal control over how many db instances are created. See the following article that describes a similar approach
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/87-lov-using-shared-am-444769.pdf
Juan Camilo

Similar Messages

  • AF:Table to display 10 rows - jdev 11.1.2.3 on Redhat 5.8

    Hello:
    In a ADF Web App:
    On a page I have a AF:table inside a AF:PanelCollection inside a AF:PanelStretchLayout.
    The db table has 300+ rows. When I run the the app, the display of the table shows all the rows in the table. ie 300+ rows.
    I want to limit the table to only display 10 rows. I set the AutoHeightRows to 10, but this seems to have no effect.
    What am I missing?
    Thanks for the help.

    On the AF:table, I tried to set the AutoHeightRow=10 and rangesize=10. But when running the application, the browser window shows the table with many hundreds of rows, with a scroll bar to the right.
    So it still does not work correctly.
    Let me ask the question another way. For the AF:Table, with jdev 11.1.2.3, what property controls the number of rows displayed from the AF:Table?
    In my case, the db table has 300+ rows, so AF:Table is displaying 300+ rows. I want to display less than that something like 5 or 10 rows.
    Are you saying that the AF:table does not control the number of rows it displays? What controls this?
    I also tried setting the rangesize of the iterator, but still no change. Still displays 300+ rows.
    Thanks for the help.

  • ADFBC Internal Tables - jdev 11.1.2.3 on redhat 5.8

    Hello:
    During activation/passavatation of the App Module, I think ADF has to write the state information to some internal oracle tables. I assume, by default, the same schema is used for the user data and the internal oracle tables. Is that correct?
    Until there is activation/passavatation of the app module, I would assume that the internal oracle tables are not created. Does activation/passavation actually cause the creation of the tables or what?
    By implication, until there is stress on the system, the system may be running ADF apps ok until passavation occurs and tries to create the internal oracle tables.
    If the connection does not have grants to create tables, the system would fail on activation. Is that true?
    Can anyone point out the location in the Docs that discuss this topic?
    Thanks much.

    Yes this is correct, only you get an error when passivation take place. Here is the doc http://docs.oracle.com/cd/E35521_01/web.111230/e16182/bcstatemgmt.htm#ADFFD1307
    Jdev ships the sql scripts to create the tables with the installation. A DB admin can then create the tables and the connection used by the app don't need create table rights. You find hte script at <install_dir>\oracle_common\common\sql\adfbc_create_statesnapshottables.sql
    Timo
    Edited by: Timo Hahn on 16.01.2013 20:31

  • ADFLibs in Fusion Web App - Jdev 11.1.2.3 on redhat 5.8

    Hello:
    Say I create a ADF Fusion Web app called APP_LIB. This app has EO, VO, AM in the model project and has Pages, Fragments and Taskflows in the ViewController. I want to create an ADF Lib from APP_LIB, so I create a ADF Lib deployment profile on the ViewController project. Since the ViewController project is dependant on the Model project, the library should be created with EO, VO, AM, Pages, Fragments and TaskFlows. Right? Or would I create different Deployment Profiles for the Model Project and the ViewController Project and therefore 2 create two seperate ADF Libs?
    Now I want to import the ADF lib from APP_LIB into another ADF Fusion Web app called ENTERPRISE_APP. If I imported the APP_LIB into the ViewController of ENTERPRISE_APP, would the EO, VO and AM show up in the Model project? Or do I have to import APP_LIB into both the Model Project and ViewController of ENTERPRISE_APP?
    Is it better to keep the Libraries seperate for the Model Project and ViewController in APP_LIB and create two seperate ADF Libs for the Model and ViewController? What do the experts recommend when creating ADF libs on a project with Model Project and ViewController Project and also what is the best way to import the ADF LIB into a ADF Fusion App that also has a Model project and ViewController Project.
    Do I create two ADF Libs: one ADF Lib for the Model Project and one ADF Lib for the ViewController and import each ADF Lib into the corresponding (Model and ViewController) Project in Enterprise APP?
    Any recommendations?
    Thanks much.

    Hi,
    Say I create a ADF Fusion Web app called APP_LIB. This app has EO, VO, AM in the model project and has Pages, Fragments and Taskflows in the ViewController. I want to create an ADF Lib from APP_LIB, so I create a ADF Lib deployment profile on the ViewController project. Since the ViewController project is dependant on the Model project, the library should be created with EO, VO, AM, Pages, Fragments and TaskFlows. Right? Or would I create different Deployment Profiles for the Model Project and the ViewController Project and therefore 2 create two seperate ADF Libs?
    For proper separation of concerns we recommend creating a separate model ADF library. However, the ADF BC content can also go into the ADF library you create
    If I imported the APP_LIB into the ViewController of ENTERPRISE_APP, would the EO, VO and AM show up in the Model project? Or do I have to import APP_LIB into both the Model Project and ViewController of ENTERPRISE_APP?
    They don't show up as they are internal implementation details. If you configured the library in your model project, then you can reuse entities, view objects and AM defined in the library
    Is it better to keep the Libraries seperate for the Model Project and ViewController in APP_LIB and create two seperate ADF Libs for the Model and ViewController? What do the experts recommend when creating ADF libs on a project with Model Project and ViewController Project and also what is the best way to import the ADF LIB into a ADF Fusion App that also has a Model project and ViewController Project.
    Depends on the level of modularization and reuse you are after. Say the ADF library contains a bounded task flow that uses a specific ADF BC model, then if the model is not used or required by any other view, you could put it into the same ADF library and deploy the task flow as a whole (you would need to configure the database connection after importing the lib). If the model should be used with other task flows or applications, then it makes sense to have it in its own ADF library.
    Frank

  • Jdev hangs while trying to create deployment profile for EJB from ADF BC.

    Hi,
    I created some ADF BC and try to create the deplyment profile as EJB session Beans
    however it is not saving and while trying to deploy it to satandalone OCJ I got some errors
    atht classes EJB are missing.
    Please advise.
    Thanks
    JO

    Hello JO,
    Is the version of your stand alone OC4J compatibile with JDeveloper you are using?
    e.g.: JDev 10.1.3 is certified with OC4J 10.1.3
    Did you install the ADF runtime ?
    e.g.: from the menu, Tools -> ADF runtime installer -> stand alone OC4J
    What is the exact error which is displayed ?
    Stephan

  • Does Jdev 11.1.2.3 support EL 2.2?

    Hello:
    Jdev 11.1.2.3 on RedHat 5.8
    Does Jdev 11.1.2.3 support EL 2.2? I thought it would be included with JSF 2.0.
    I have read that in Expression Language 2.2 that we can pass parameters to a bean method using EL. Is this possible? If so what is the format for the EL?
    I have read to use a HashMap to simulate this functionality, but is this necessary with EL 2.2?
    Where is the Oracle Documentation for usage of EL 2.2 to pass parameters to a bean method using EL?
    Thanks for the help.

    Hi,
    while it supports JSF 2 it does not support EL 2.2. This will become available in 12c and ADF/JSF
    Frank

  • Tree Table is not getting refreshed properly in Jdev 11.1.2.0

    Hi,
    I am seeing a peculiar issue with tree table not getting refreshed in Jdev 11.1.2.0.
    Let me explain you my use case.
    I have a tree table in a page, where the first column is displayed as selectBooleanRadio component. When user selects this selectBooleanRadio component, that treetable node should get expanded and at the same time all the child records(I have a select boolean check box component(transient attribute) at the child level) for that node should get selected. This is to allow user to unselect the child records, which he/she does not want to process further(some functionality).
    Now when the user selects any radio button, the tree table node is not expanded, but the arrow beside the radio button for that node can be seen as expanded.
    I thought it may be a partial trigger issue, so i tried refreshing the tree table programatically as well. But it was of no use.
    Then I set the partial triggers wrt to SelectBooleanRadio component on the parent container of the TreeTable. After which somehow the node got expanded but the tree table shrinks in width and the actual disclosure functionality of a tree table is lost.
    The same use case works perfectly fine in Jdev 11.1.1.5.
    For reference:
    I created a sample test case(Dept/Emp) in jdev version 11.1.1.5, which works fine. Workspace: http://adf-use-cases.googlecode.com/files/TreeTable1.rar
    But the same test case, when i created in jdev version 11.1.2.0, gives issues. Workspace: http://adf-use-cases.googlecode.com/files/TreeTableUseCase.rar
    If you download the application and run in respective jdev version, you will get to know more about the issue.
    Please let me know, If I am doing anything wrong in the implementation of this use case.
    Any help/suggestions are appreciated.
    Thanks
    Umesh
    Note: My complete application is in Jdev 11.1.2.0, so I can't degrade my jdev version to 11.1.1.5.

    Thanks Frank for the reply.
    But upgrading the jdeveloper to 11.1.2.2 is not an ideal solution for us now, because of the size of the project.
    Some how, the issue of refreshing the tree table is resolved. I am using a command button with clientComponent to true and causing a full page refresh.
    I am not sure, if this is a perfect solution.
    As you said, that this behavior may be an issue with the Jdev version 11.1.2.0, I am using. I am going with the above said approach.

  • Intigrate JSF 2.0 into JDev 11.1.2.1 Application

    My WLS 10.3 administrator called with a request. He asked if I could ingetrate the JSF 2.0 library into my JDev 11.1.2.1 application so that he would not have to install JSF 2.0 on the WLS (a new WLS maching that he will soon be setting up). He said that WLS comes with JSF 1.2 and that he would need to install JSF 2.0 and that it is very painful.
    Can I integrate JSF 2.0 into my application and avoid having to install JSF 2.0 in the new WLS being set up?
    Would it make any since to do so?
    Why does WLS come with JSF 1.2 rather than JSF 2.0?
    Thank you, Steve

    JSF 2.0 is only one part of the adf framework. You need a lot more. All this is done when you (or your admin) installs the adf runtime needed for your version. Let me say it again:
    To run an ADF Application on a wls server without the adf runtime installed will not work!
    Putting all adf libs in the ear isn't a solution either! Ear would grow too big and you still have to to some wiring to make it work.
    Installing the adf runtime is done with an installer. How hard is it to execute an installer?
    In case of 11.1.2.1 your admin first needs to install the adf runtime 11.1.1.6, then you need two patches which you get via support, and install the patches.Installing all this should not take longer than a couple of hours for a simple WebLogic server. IF you are running a whole farm with many servers it takes longer.
    Again, if you want to run adf application on a wls you must install the adf runtime on the wls!
    Keep in mind that there is a strong relationship between wls version, jdev version and adf runtime version. They must match, otherwise you get errors at some point. For a list of these version refer to my blog http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions/
    Timo

  • UncommittedDataWarning in Jdev Release 1 Patch Set 1 (11.1.1.2.0)

    Folks,
    Does anyone know whether ER 8909566 has been implemented in Jdev Release 1 Patch Set 1 (11.1.1.2.0) that was released last week? I tried looking at the updated patterns page for 11.1.1.2.0 at http://www.oracle.com/technology/products/adf/patterns/index111102.html but this page does not list the unsaved warning pattern mentioned under 11.1.1.1.0 at http://www.oracle.com/technology/products/adf/patterns/11.1.1.1.0/UnsavedDataWarning.html
    Thanks,
    ref:
    1. Re: jdev 11 uncommittedDataWarning bug
    2. http://www.oracle.com/technology/products/adf/patterns/11.1.1.1.0/UnsavedDataWarning.html

    I reproduced functionality in new Patch Set 1 (11.1.1.2.0) and it is the same as before.
    It is not fixed.
    details
    [http://adfbugs.blogspot.com/2009/09/unsaved-changes-uncommitteddatawarning.html]

  • ADF JClient migration (JDev 9.0.5.2 -- JDev 10.1.3.2)

    Hi all,
    is there anybody out there who could share some experiences in migrating a huge ADF/JClient-based application. Does anybody know a migration guide, or at least a description of a supported migration path?
    Would it be more promising to try it stepwise (9.0.5.2 -> 10.1.2 -> 10.1.3.x)?
    About a year ago we spend a few days to try to migrate from 9.0.5.2 to 10.1.2 but we encountered so many issues that we had to stop in order to keep in time with our release schedule.
    Now we plan to change the Java version from 1.4 to 1.5 and upgrade to JDev 10.1.3.2. Keeping the old ADF libraries everythings seems to work. But I would feel better with a more current version and improved Oracle support. We had to apply a few fixes to the ADF libs on our own. I would love to get rid of them. It's hard to get backports for such an old version.
    We currently use the following JDev related libraries in our project:
    adfjclient.jar, adfm.jar, bc4jct.jar, bc4jdomorcl.jar
    Which of the bunch of ADF-libraries in 10.1.3.2 do we have to add to our project? I would like to include as few JARs as possible.What about:
    bc4jui.jar, adfm.jar, bc4jct.jar, bc4jdomorcl.jar?
    Someone told me that the definition/structure of UIModels has changed between 10.1.2 and 10.1.3. He told me that the ADF code is capable to handle both version via if/else-constructs, but it would be better to use the new XML-layout in order to participate in new features. Is this true?
    As far as I could see JDev 10.1.3 only migrates project files and does not touch any of the ADF definition files. Is there any migration tool or script available in order to convert pre-10.1.3 UIModels?
    Thanks for any hints on that topic!
    Regards,
    Eric

    Hi Steve,
    thanks for your answer and sorry for the late response. Meanwhile I made a few tests on my own. In our application we don't use BC4J, only ADF for data binding.
    We have a lot of issues with 9.0.5.2 which weren't addressed in 10.1.2. In order to save resources we would like to load the ADF binding context (cpx-File) for our whole application only once during application startup. JUMetaObjectManager.getJUMom().loadCpx() and from then on only pass the binding context reference to setup the panel bindings (binding containers). When we close our forms we release the datacontrols. If we open a form for the second time (and try to setup the panel binding) we receive an error. If I recall correctly, the data control is (mistakenly?) removed from the context map inside of the binding context while releasing the datacontrol. But to my understanding the datacontrol has to be released in order to setup a fresh binding container while opening a form. If one removes the code to release the datacontrols one will receive an jbo error, that the binding container is alread there, which seems logically to me.
    In order to test the behavior of different ADF versions I extracted some code and build a simple testcase in JDev 9.0.5.2. Ofcourse the test case didn't work. I then migrated to 10.1.2 and the testcase didn't work. I migrated the testcase to 10.1.3.2 and what? The testcase still didn't work. I observed that the UIModels haven't changed during migration. I then copied all my code to a newly created project in 10.1.3.2 and rebuild the testcase. Now most of the XML files look different. I observed some other JDev design time issues as I did use Java 1.4 style code. After I changed the code to use generics these issues were resolved. Finally the testcase worked, without any code changes (besides the usage of generics in the model class).
    So I came to the conlusion that ADF has some kind of compatibility mode if it finds old XML files from previous versions. Ohter (probably old) code paths are chosen and you potentially suffer the same bugs as in previous versions. So it seems to be best to somehow migrate all XML-files to the new layout. Maybe via some XSL-transformations. That's why I asked for some kind of converter. Unfortunately there seems to be no real migration support from Oracle. This looks like a nightmare for huge projects like ours.
    Steve, your test seems to confirm my observations. Did you try to build the same form in 10.1.3 from scratch? What do you observe if you then compare all XML-Files (binding context definitions, page definitions, bean definitions...)?
    Regards,
    Eric

  • ClassNotFoundException when deploying to WLS with new JDev 11g patch

    I installed WLS and patched WLS with the new ADF lib ,installed the new jdev 11g , everything went well
    but when I want to deploy an application to the WLS I got this error .
    java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:135)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    Truncated. see log file for complete stacktrace
    >
    I had to comment out listerner-class ientry n the weblogic-application.xml, then it works.
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
    <!-- <listener>
    <listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
    </listener>
    -->
    <library-ref>
    <library-name>adf.oracle.domain</library-name>
    </library-ref>
    </weblogic-application>

    Hi,
    as read in this thread : Re: Always fail to deploy to server when (Create a Simple EJB Session Bean )
    >
    This is a known JDeveloper 11g bug. If you look into the packaged EAR file, JDeveloper inserts some entries into the weblogic-application.xml file to register some listeners to perform some internal tasks it needs to deal with.
    The issue is that these classes are part of the ADF runtime and installed as part of the provided ADF domain. They are not provided as part of a standard WLS installation. Thus when you deploy a JDeveloper 11g packaged application to a non ADF augmented WLS 10.3 instance, you get a Classloading error on deployment because the specific listener-classes are not available.
    The relevant bug # for this is:
    BUG#7487416
    EAR FILE PACKAGING SETS FIXED DEPENDENCY ON
    JPSAPPLICATIONLIFECYCLELISTENER
    I believe a fix for this will be provided in the first patchset for JDeveloper 11g.
    In the meantime, if you want to workaround it, extract the weblogic-application.xml file from the EAR file, manually remove the listener entries, put the modified file back into the EAR file and then deploy it.
    -steve-
    >
    It solved the problem for me.
    But you should now get another problem, like some of us on this forum : ADFLogger will be missing. If so, please report to this thread for helping us : Standalone WLS server instance deployment failure - missing ADFLogger
    Regards.
    Luc-

  • Frustrated with Jdev 10.1.3.2 / PDK tags

    I am completely frustrated with the new version of Jdev. Was looking forward to the new features and the integrated PDK portion but after downloading, it wont even compile a simple jsp file with PDK strut tags.
    JSP code :
    <%@ page contentType="text/html; charset=windows-1252" %>
    <%@ taglib uri="http://xmlns.oracle.com/portal/pdk/struts/tags-html" prefix="pdk-html"%>
    <body>
    <pdk-html:form action="testaction"/></body>
    Project property has the following libraries included:
    Struts Runtime
    PDK Struts HTML Tag library
    JSP runtime
    Servlet Runtime
    JSP Tag library has :
    Struts Bean/Logic
    PDK Struts HTML
    BUT when compiling the JSP, I get the following error...
    Error: java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/FormTag
    looks like it cannot find the class definition but the jar files are clearly included in the library.
    Whats absurd is when adding a pre-defined library such as PDK Struts HTML, Jdev makes a duplicate copy of the JAR file to /WEB-INF/Lib ..... not sure why it does that. Then it inserts a duplicate entry under the JSP Tag library under the same exact name except it has no libraries entry filled. So now I have two version of PDK Struts HTML in the JSP Tag library.
    CAN SOMEONE EXPLAIN WHATS GOING ON HERE? never had this problem with version 10.1.2

    The PDK parts of JDeveloper are developed by the WebCenter/Portal team, so you might want to cross post here:
    http://forums.oracle.com/forums/forum.jspa?forumID=4
    WebCenter Portal

  • JDev 11g:  Task Flows,Rich Client- some questions to the Oracle team

    Hello,
    We're currently involved (early stages) in a large project with a Jan-Mar 2008 pilot delivery timeframe - one heavily including end-user customizable workflow elements, to which the aforementioned JDev/ADF 11 features would be a great fit.
    Our plans so far were to go ADF with BC and include Shale or Spring WebFlow plus custom development to provide for the very same things that the feature-complete Task Flows will offer.
    Questions:
    1. Delivery timeframe - any unofficial pointers on the schedule for the next JDev/ADF releases?
    2. Platform compatibility - Will the framework (ADF) run on J2EE 1.3 (OAS 10.1.2.x) or does it require 1.4+?
    3. Design-time-at-runtime for Task Flows - Do we have it in the released bits? (Couldn't find it). Any pointers on how is it supposed to operate?
    4. Am I right to think that what we're seeing with Task Flows is (among other things) a piece of the replacement functionality for the decommissioned Oracle Workflow subsystem (which bit us, by the way, as it was part of our original architecture).
    5. Will Rich Client support older platforms than the currently supported IE7 and Firefox 2?
    Thanks for any and all pointers,
    Thanassis Stathopoulos
    Athens, Greece

    Thanks Shay,
    http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html
    Regarding my question 3 "Design time at runtime" - quoting from "JDeveloper 11g new features" at the above URL, under "ADF Task Flow". The third entry from the paragraph's end reads:
    'Support for customization of task flows at runtime using "design time at runtime"'.
    I was wondering what this is exactly - web-deployable editor to edit the flow definition after deployment?
    Re your point 4, product replacement - with the feature set described in the paragraph above, Task Flows is much more than a Web UI controller. With "save for later", transactions, flow abstraction/nesting, BPEL outcalls, conditional logic, method calls etc etc it probably covers 50% of a typical workflow package and 75% of an embeddable workflow library (audit trail/timeouts/persistence nonwithstanding). This made me wonder whether it is part of a bigger, yet-to-be-announced OAS feature. Especially if one also considers the "design-time-at-runtime" sentence listed above.
    Now, definition-wise, I guess it' s whether this feature set is considered half-full or half-empty :-)
    Thanks again,
    Thanassis

  • File opening problems with JDev 10.1.3

    I'm using JDev 10.1.3.0.4 on Linux with these subversions:
    ADF Business Components     10.1.3.36.73
    CVS Version (External)     (CVS) 1.12.12 (client/server)
    Java™ Platform     1.5.0_06
    Oracle IDE     10.1.3.36.73
    Struts Modeler Version     10.1.3.36.73
    UML Modelers Version     10.1.3.36.73
    Versioning Support     10.1.3.36.73
    Whenever I start JDev this error appears:
    java.lang.StackOverflowError
         at java.util.HashMap.get(HashMap.java:320)
         at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:126)
         at oracle.ide.net.URLFileSystem.findHelper(URLFileSystem.java:163)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
         at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
         at java.net.URL.openStream(URL.java:1007)
         at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
         at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
         at java.net.URL.openStream(URL.java:1007)
         at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
         at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
         at java.net.URL.openStream(URL.java:1007)
         at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelper.java:993)
         at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1164)
         at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:44)
         at java.net.URL.openStream(URL.java:1007)
    The same error appears on the console JDev was started from whenever I open a file.
    Are there anyone experiencing the same errors?
    Are

    Hi,
    Could you follow up in this post Re: BUG: 10.1.3 EA Window Closes When Dragged in the Editor with the requested information?
    Regards,
    Lisa
    JDev QA

  • Ant vs JDev generated jar files

    I'm migrating the 10.1.3 BPEL sources to an automated build environment using ant. Almost all of my processes migrated seamlessly using the 10.1.0,.2 based build hierarchy, but one is choking. I can compile it fine but upon deployment it fails, even after bpelcclasspath updates. It has some local classes supporting the worklist API that JDev wraps up nicely but these are neglected by ant. I haven't been able to resolve these missing classes with any of the available ant arguments. For some reason I understood that JDev leveraged the ant system in 10.1.3 to perform its builds. I don't see how though. The compiler message shows:
    C:\product\10.1.3\OracleAS_1\jdk\jre\bin\java.exe -jar C:\JDEV10132\jdev\lib\ojc.jar -source 1.5 -target 1.5 -noquiet -warn -nowarn:320 -nowarn:486 -nowarn:487 -deprecation:self -nowarn:560 -nowarn:704 -nowarn:489 -nowarn:415 -nowarn:909 -nowarn:412 -nowarn:414 -nowarn:561 -nowarn:376 -nowarn:371 -nowarn:558 -nowarn:375 -nowarn:413 -nowarn:377 -nowarn:372 -nowarn:557 -nowarn:556 -nowarn:559 -encoding Cp1252 -g -d C:\JDEV10132\jdev\mywork\Common\BPELWorkList\output -make C:\JDEV10132\jdev\mywork\Common\BPELWorkList\output\BPELWorkList.cdi -classpath C:\product\10.1.3\OracleAS_1\jdk\jre\lib\rt.jar;C:\product\10.1.3\OracleAS_1\jdk\jre\lib\i18n.jar;C:\product\10.1.3\OracleAS_1\jdk\jre\lib\sunrsasign.jar;C:\product\10.1.3\OracleAS_1\jdk\jre\lib\jsse.jar;C:\product\10.1.3\OracleAS_1\jdk\jre\lib\jce.jar;C:\product\10.1.3\OracleAS_1\jdk\jre\lib\charsets.jar;C:\product\10.1.3\OracleAS_1\jdk\jre\classes;C:\JDEV10132\jdev\mywork\Common\BPELWorkList\output;C:\JDEV10132\integration\lib\bpm-infra.jar;C:\JDEV10132\integration\lib\bpm-services.jar -sourcepath C:\JDEV10132\jdev\mywork\Common\BPELWorkList\src C:\JDEV10132\jdev\mywork\Common\BPELWorkList\src\mypkg\TaskAssignee.java
    You can see the mypkg elements in the JDev command. Comparing the jar files produced by the different utilities shows distinctly different products: Note the size difference:
    -rw-rw-rw- 1 wzscqz root 264624 Apr 26 17:28 bpel_BPELWorkList_1.0.jar
    -rw-rw-rw- 1 wzscqz root 6204184 Apr 26 17:25 bpel_BPELWorkList_v2007_04_26__62657.jar
    The latter is JDev of course. When I look at the contents of the jar file I see that the BPEL-INF library is missing. Here is a snippet of the jar listing for the JDev version:
    drwxrwxrwx 0 26-Apr-2007 17:24:18 BPEL-INF/lib/
    -rw-rw-rw- 2150 26-Apr-2007 17:24:18 BPEL-INF/lib/bpelclasses.jar
    -rw-rw-rw- 1409767 26-Apr-2007 17:24:18 BPEL-INF/lib/bpm-infra.jar
    -rw-rw-rw- 4526876 26-Apr-2007 17:24:18 BPEL-INF/lib/bpm-services.jar
    The private class file is located in bpelclasses.jar.
    I've extracted this file and moved it to the BPEL PM (Solaris) and got the process to deploy and run correctly. I would like to resolve the build process though without this band-aid. Anyone know how I can resolve this missing components?

    Hi JJ,
    After reading your comments, i think i am really a new kid on the block. In the codes I inherit, there are some input text files which contain values to be read by the java files but I didnt include them in my ANT build script. The reason for this input files is to provide flexbility in changing values without the need to re-compile. what commands can I write to include these files during compile? when i build my jar file, how can i "zipped" these input files into my final jar file?
    At the moment, this is what I wrote in my script.
    <target name="MyTask.compile" description="Compiles the Task">
    <mkdir dir="${MyTask.classes}"/>
    <javac srcdir="${MyTask.src}" destdir="${MyTask.classes}"/>
    </target>
    <target name="MyTask.jar" description="JARs the Task" depends="MyTask.compile">
    <jar destfile="${MyTask.dist}/MyTask.jar" basedir="${MyTask.classes}" >
                   <manifest>
                   <attribute name="Main-Class" value="Main"/>
                   <attribute name="Class-Path" value="lib/lib /lib/ant.jar"/>
                   </manifest>
    </jar>
    </target>
    I tried to use javac to decompile the class files produced by ANT and NetBeans and they are the same. I compiled them using the same version of jdk. What do you mean by classpath?
    Thanks.
    Han

Maybe you are looking for