To thank from JDev team.

Thanks all JDev team, which improved
findDialog to accept Date conditions in 3.2.
(It was not acceptable in 3.1)
I ever trust and appreciate and your effort.
Ali

Make a connection named "Oracle" in JDeveloper and when you deploy "jdbc/OracleDS" will be there. We make 1 DS per each JDeveloper connection defined.
The formula is "jdbc/" + ConnectionName + "DS"
(same applies to hrDS)
Hope this helps,
Rob

Similar Messages

  • Need Help from JDev Team

    Hi,
    I posted a question here early yesterday and I haven't received any kind of reply yet!!! I understand if someone from this forum cannot help me... but I need the Jdev team to respond to me ASAP!!!!
    I'm using JDev 3.2, trying to use the Source Control feature to connect to Repository 6i. I can connect without any trouble and I can see the work area and navigate through the folders (that were created by the owner), however when I try to click on any of the 'files' branches of the folder/file tree - I get this error.
    ckron61.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
    There are 3 of us who are trying to connect, one can do it successfully... two of us cannot. I also tried to connect and access those files on another machine and it worked as well.
    All of our systems have been imaged the exact same way.
    What could the problem be...
    I appreciate your help.... thanks.

    Hi Jolene,
    I would recommend upgrading to the latest release of Repository, since it contains many bug fixes. I'm afraid I'm not sure what is causing your specific problem.
    It's also worth making sure your OS is patched up to the latest service pack.
    Oracle9i JDeveloper's support for Oracle SCM (aka Repository) is far more comprehensive than 3.2, so this is a good upgrade to make as well :)
    About UIX, the best thing is probably to post a new message to the 9i JDeveloper forum. It's not an area I'm overly familiar with, but I'm sure someone else on that forum will be able to help you out.
    Thanks,
    Brian
    JDeveloper Team

  • Inconsistent Update error: JBO: 25014.  Help Needed from Jdev team

    Hi,
    ***Please help me in solving this issue. urgent!!!. Thanks.***
    I need to know how can i Update after i browse throw a rowset
    and set the row attributes. Simple posting the changes and
    commit is giving me following error.
    I am getting JBO:25014 when i try to update a detail table for
    selected number of rows.
    I have a JSP page which allows the user to select either at
    master level or detail level using Radio Button and
    2 Text fields, one for date and other for comments at master
    level. This will appear mandatorily.
    In detail level, Number of rows which will be dynamically
    populated. If this level is selected, and say 5 lines are
    displayed, I will be having 5 text fields for dates and 5 text
    fields for comments. Upon submit, I pass these text fields
    values as params and receive in JSP page as String arrays in a
    seperate validation page .
    At the database end, I have Order Master table and Lines detail
    table.
    For some records in Order table, I am able to update records in
    both the tables. But for certain records in Order table, I am
    unable to update the detail table and throws me a JBO:25014
    error: : Another user has changed the row with primary key
    oracle.jbo.Key
    This record is very similar to other records and i am unable to
    update this record from sql*plus.
    In the validation Page, where i receive the parameters, I use
    View objects for Orders and Details, executeQuery for selected
    Order. Then I use Row Iterator for each of the view objects, in
    between the row iterator tags, I set the row attributes with the
    individual lines values if Libe level is selected or the common
    header date and comments value to all lines.
    Then i post changes and commit.
    The code is below for the way I update lines records.
    <jbo:DataSource id="ds"
    appid="LivePoheaders.LivePoheadersAppModule"
    viewobject="MyPOLinesView"/>
    <jbo:RowsetIterate datasource="ds" >
    <%
    //trying to get a row object
    rowln = ds.getRowSet().getCurrentRow();
    // formatting my date input to a valid string
    lnDateStr = PohdrFcastYear+"-"+PohdrFcastMon+"-"+PohdrFcastDay;
    out.println(PohdrComments);
    out.println("Header date" + lnDateStr);
    formatter.applyPattern("yyyy-MMM-dd");
    tempDate = formatter.parse(lnDateStr);
    formatter.applyPattern("yyyy-MM-dd");
    lnDateStr = formatter.format(tempDate);
    lnVenFcastDate = new oracle.jbo.domain.Date(lnDateStr);
    // setting the two attributes with input values
    rowln.setAttribute("VendorForecastDate", lnVenFcastDate);
    rowln.setAttribute("VendorComments",PohdrComments);
    }catch( Exception e)
    currErrorStatus = err.putErrorDesc(e.getMessage());
    err.setCurrentErrorStatus(currErrorStatus);
    %>
    <jbo:RollBack appid="LivePoheaders.LivePoheadersAppModule"/>
    <%
    throw new oracle.jbo.JboException(e);
    %>
    </jbo:RowsetIterate>
    <%
    try
    %>
    <P> <b>Posting Changes ...</b> </P>
    <jbo:PostChanges appid="LivePoheaders.LivePoheadersAppModule"/>
    <P> <b>Committing Changes...</b> </P>
    <jbo:Commit appid="LivePoheaders.LivePoheadersAppModule"/>
    <P> <b>Commit Successful...</b> </P>
    <%
    currErrorStatus = "-1";
    err.setCurrentErrorStatus(currErrorStatus);
    }catch( Exception e)
    currErrorStatus = err.putErrorDesc(e.getMessage());
    err.setCurrentErrorStatus(currErrorStatus);
    %>
    <jbo:RollBack appid="LivePoheaders.LivePoheadersAppModule"/>
    <%
    throw new oracle.jbo.JboException(e);
    %>

    From the JDeveloper 3.2.3 online documentation:
    JBO-25014: RowInconsistentException
    Cause: Comparison of the cached entity failed with the values in
    the database for that entity. This could happen when another
    user or operation has committed modifications to the same entity-
    row in the database. This exception can also be thrown if the
    equals() method on one of the domain-type attributes in the
    entity fails.
    Action: Choose from the following options:
    --Verify that another user or operation has not modified the
    same row in the database. If this entity has attributes of a
    domain type verify that the equals() method on these domains do
    not fail when comparing the existing cached value with the newly
    fetched value.
    --For any attributes/columns that are updated by the database,
    modify the entity attribute definition by selecting Refresh
    after update on the Attribute Settings page of the Entity Object
    Wizard.
    --Use view.executeQuery() frequently, especially after any
    operations that result in data being changed.

  • Happy Christmas and thank you for JDEV Team for great job this year

    We got one of the best development from Oracle with JDEV and a TP3 for Christmas ... even i will go skiing too and may be sailing a little bit depending on weather, i will for sure go in depth into TP3 these holidays.
    Thank you
    Have nice holidays
    Greetings

    Thanks alot for this gift Oracle Jdev Team!
    Greetings from Spain!
    Westh

  • TO JDEV TEAM: JBO-28020/JBO-28006 ERRORS

    Hi,
    I deploy a BC4J application (made with Jdev official) on an OC4J container 9.0.2. the application use a 9i data base.
    frequently, when we try to insert or update rows in viewObject, we have the following error :
    Application Error
    Return
    Error Message: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    Error Message: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    oracle.jbo.PCollException: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
    <>
    ## Detail 0 ##
    oracle.jbo.PCollException: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
    <>
    ## Detail 0 ##
    java.sql.SQLException: ORA-00955: Ce nom d'objet existe dij`
    <>
    This is a pressing issue, and I'd need an answer asap. Could anyone from the JDEV team please help me on this?
    Thanks a lot!

    Stephane:
    Could you send me the entire stack trace?
    It would also help if you can translate some of the "important" exception messages into English for me (sorry).
    Thanks.
    Sung

  • JDev web resources besides OTN & JDev team blogs?

    Gang,
    Besides OTN, the OTN forums and the Oracle JDeveloper development team blogs, has anybody found any other JDeveloper resources on the 'Net?
    I know Paul Dorsey, part author of the "Oracle JDeveloper 10g Handbook" has a website and a few presentations somewhere that was okay..... but are there any other rich sites I'm not visiting?... Or is Oracle it?
    It would be nice to know what others have found.
    Cheerio,
    CM.

    Shay, I'd like to stick my foot in (my mouth?) too with my opinion.
    (Apologies but I didn’t have a lot of time to draft this message so please ignore any typos and poor grammar)
    Let me start by saying I'm an Oracle programmer with 10 years experience, having coded using Designer, (-J)Headstart, Forms, Reports, database modelling, PLSQL everywhere you can possible stick it.... etc etc etc. I infrequently teach week courses on Forms, SQL, PLSQL etc. My point being is I'm no monkey in appreciating technology. I’m not brilliant but you can call me Mr Average Programmer – if it makes sense I’ll work out how to use it.
    I'm also on the Australian Oracle User Group committee, have been for several years, have meet and talked to several other senior consultants who have used JDeveloper who have extensive Oracle experience.
    And the general consensus is that the JDeveloper documentation is of poor quality.
    Now I’d like to substantiate my claims by giving evidence rather than just expressing an opinion. For a minor documentation bug I’ve recently raised, see TAR 4212035.995 bug 4058863. I’ve found more documentation errors, but after a while I always become worn down through the tedious TAR process, and just prey it will be improved in the next release.
    This bug, as you’d appreciate is a rather minor issue, but boy do I waste a lot of time working out how to use JDeveloper without the correct and complete documentation. I spend time having to search the OTN examples, forums etc, then posting to the Forums and Oracle Support for help. So much for “productivity” with choice.
    As another example, do a search in JDeveloper for “uixState”. Most UIX LOVs are useless without it in the partialtargets element….. but it’s another undocumented feature that I only found out about via the forums. Another, the javaType field within the UIX <invoke> tag: exactly what data types are allowed? If I’m not mistaken (I might be, I’m still learning my way around Java), “string” is not a valid Java type…. isn’t it “String”? See my confusion, and the documentation doesn’t say much at all. Does this mean if I return a “Number” I should use “number”.
    Would you like to get away from UIX documentation errors? Well try bringing up the help for the “Pooling and Scalability” tab, under the Configurations sub-menu option for an Application Module (the help page is entitled “Configuration Manager – Pooling and Scalability”). See all those “text” comments and “to be included in future release” comments. Not much use are they?
    Moving on to your question about “how-to”s we’d like to see is a relevant one. I can only talk from my personal experience, but what I’d like to see relevant to my current project is (or would have been useful in the past):
    1)     UIX lov – returning multiple fields.
    2)     UIX lov – using lovUpdate event with multiple LOVs on the screen.
    3)     UIX lov – a complete example that allows the user to “type” in a value to a <messageLovInput>, validates the entry against a database table via some exposed AM/VO method, clears and displays the LOV if the user enters an invalid value.     
    4)     UIX trees – proper discussion on setting up hierarchical VOs and associations.
    5)     UIX trees – example of programming insert and delete node functionality, with the example showing how to write the values through to the database.
    6)     UIX hgrids – example derived from database, where the user can insert/delete values through to the database.
    You’ll notice I’m focusing on the UIX technology. Simply put it’s what we’re using at my current site.
    2 other issues I’d like to point out too though. Notice the focus on LOVs? Well I’m an ex-Forms programmer who knows the power of the Forms LOV control. I’ve been confused, annoyed then resigned to the fact that you’ve got a hell of a lot to do yourself with JDeveloper LOVs, unlike Oracle Forms LOVs where so much functionality is built into the control. In return you might argue “this is JDeveloper Chris, not Oracle Forms”. You’re right of course, and I can accept that I have to learn the JDev way of doing things. But, and “big” but here, there are no detailed how-tos comparing the features of Oracle Forms LOVs and how to do the same thing in JDeveloper. And I mean complete examples.... which check values against the database, pop-up the LOV as described above list.
    So in your how-tos, try to think about what Forms programmers can do, and show how you would do it in JDeveloper. We need more than the simple examples because we’re learning your tool, we’re not experts in JDeveloper, and we can’t read your mind when you give (what I consider to be) overly simple examples where the author assumes given a little headstart that everyone else will be able to run with it. It took me ages to work out how to return multiple fields from a LOV (and my implementation probably s*cks).... call me stupid, but a complete how-to would have saved me lots of time.... and other people too (ie. Forms programmers) because I see the same questions appear on OTN again and again.
    To reiterate, think about the productive functionality Forms provides you, and provide how-tos on what to do in JDeveloper. Simple really.
    The 2nd point I’d like to make is you need to give complete examples. To give an example of a poor-example, recently Steven Muench (or was it Jones Jacob, sorry I forget) published a ‘how-to’ on his blog on populating a UIX tree. What was missing? Firstly documentation (though a promise of some in the future was given). Secondly how to allow the user to add/delete entries from the tree. Thirdly how to add/delete those entries from the underlying table. Fourthly dealing with updating the underlying iterators and web page given the users actions. And so on....
    I can hear you asking “what? You want us to do everything for you!?” No, but more complete examples would be great. Without a doubt in my opinion, the best example of this would be the “Building Oracle ADF Applications: A Comprehensive Workshop” tutorial. Obviously a lot of effort was put into that tutorial, but if all tutorials were written with this level of detail, I don’t think I’d be writing this post, the JDeveloper team wouldn’t be spending so much time answering queries on the Forums, and the Oracle Support team could spend more time doing training.
    Hear me out on my next comment – I’m not Oracle bashing! Just making a point.
    With regards your comments about writing blogs, and increasing the JDeveloper web-community, thinking about it logically I just can’t see it happening. The basic problem is you’re “Oracle Corporation” (aka the Other Microsoft). You’re not an Open Source **community** group. So people don’t have much reason to write blogs to the benefit of essentially Oracle.... unless they can make money out of it. They don’t get the kudos or just the good vibes of writing for the effort of everybody (essentially why Open Source exists – for the benefit of all – communism, power to the people, etc). This leads onto my second point. The people who work with Oracle tools, in complex-detail, besides Oracle’s own staff, are being paid far too much money working with your tools to waste time working on blogs. I’d love to write one, but time evades me and I’d rather make money out of the exercise. (I gotta feed my kids somehow - or maybe have some, either one ;)
    This puts you, the JDeveloper team in an interesting position. I know you’re really keen to get your tool used outside Oracle. Why do I think this? Basically your implementation of the Struts diagram tool and huge focus on JSF (aka ADF Faces) – I haven’t seen the other IDEs provide such functionality yet and I think you’ve tried very hard to provide these new features to beat the competition. But, unlike the Open Source efforts like Eclipse and Net Beans (etc), as I just mentioned, I don’t think you’ll ever get much support from the JDeveloper community in assisting your documentation efforts with this tool. So what have you got to do to increase market share besides great new features like the Struts diagrammer??....
    Well I hope’s it’s obvious after typing all of this......as there is little activity in the Internet regarding your product and how to use it besides OTN, and given complaints about your poor level of documentation, this means you should focus heavily on documentation in each release. Make sure it’s up to date. Make sure it’s complete. Review it all each time. Make plans for how it could be improved and expanded.... don’t just focus on the tool.
    I think I can hear you screaming “but we do you bl**dy idi*t!” But I’ll answer in turn.... the perception is you don’t, and the evidence in front of me shows you haven’t..... so my conclusion is I think valid.
    Also let me place a warning that the risk is if you don’t provide better documentation, my peer-consultants will not recommend JDeveloper. I know of 2 specifically who will have a very hard look at JDeveloper a 2nd time before recommending it to a client, because of their experience with the tool – in particular there frustration with the poor documentation. If they’re making such decisions, I bet others are too.
    With all the above in mind please note my goal of this whole post, and I know I’ve posted a lot, is not to be exceptionally critical of JDeveloper and the JDeveloper team. However I thought it was worthwhile writing a comprehensive message to the forum for you to look at... rather than the 1 or 2 liners you usually get.
    Gee, I should have started a blog and posted this entry I think.
    I’ll finish this post by saying that I’m thankful that the JDev team monitors this forum and puts in a good effort in supporting us, your clients, saving us a TAR or 2 and probably going bald.
    Regards,
    CM.
    PS. If you’d like to contact me for further information, you can find my current email address associated with the TAR mentioned above.
    Also please note the “standard disclaimer”, that none of the above is my employer’s or clients’ opinions; it is all totally of my own opinion.

  • Hey guyys .if some 1 from firefox team can help it wud be great......I was using firefox 3.6.3 on Mac OS 10.5.8 and Today I installed firefox 3.0(besides application folder) but not in same application folder like firefox 3.6.3 ...so now i had 2 firefox v

    hey guyys .if some 1 from firefox team can help it wud be great......I was using firefox 3.6.3 on Mac OS 10.5.8 and Today I installed firefox 3.0(besides application folder) but not in same application folder like firefox 3.6.3 ...so now i had 2 firefox version 3.6.3 and 3.0....I had 3.6.3 already open ..i closed it to... open 3.0 ....when i opened 3.0 it asked me to import settings i said no....it opened well.....then i close 3.0 and tried to open 3.6.3 version ...now it was a problem everything got lost sessions, bookmarks, add ons, etc....it went back to default ....when i had 2 profiles in 3.6.3.....can any pls help me on dis 1...is there a way to restore my sessions, bookmarks and add ons ??? I have uninstalled 3.0 version now....??? pls pls pls ....help
    == This happened ==
    Just once or twice
    == today

    It turns out that the problem had to do with network accounts, even though it was not clear at first.  Redirecting the program to the local machine's cache with a network home redirector script fixed the issue.  Thanks anyway.

  • Migrating Application from JDev 10.1.3.5 to JDev 11.1.2.2.; WebLogic issues

    Hi,
    I've been in the process of migrating an application we have from JDev 10.1.3.5. to the most current release. This involved migrating from OC4J to the WebLogic Server. After clearing up code-related issues, I have been trying to mitigate errors that came from deploying the application to the WebLogic server. I fixed (or so I think) the original error(see immediately below in italics) by deleting the servlet tag in both of the web.xml files (ViewController and Deploy) that are within the application. I also changed it to 'adfLibResources' per a previous thread on this topic.
    +<Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\priestem\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\o.j2ee\drs\Muster\ModelWebApp.war. Please make sure that the annotations are valid. The error is oracle.adf.view.faces.webapp.ResourceServlet>+
    Now I am getting the following errors:
    <Aug 6, 2012 3:24:28 PM CDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\priestem\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\o.j2ee\drs\Muster\ViewControllerWebApp.war. Please make sure that the annotations are valid. The error is >
    <Aug 6, 2012 3:24:28 PM CDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1344284600393' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Muster''
    weblogic.application.ModuleException: Failed to load webapp: 'Muster'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.UIXPanelTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    <Aug 6, 2012 3:24:28 PM CDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Muster'.>
    <Aug 6, 2012 3:24:28 PM CDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'Muster'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.UIXPanelTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    [03:24:28 PM] Deployment cancelled.
    [03:24:28 PM] ---- Deployment incomplete ----.
    [03:24:28 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application Muster due to error deploying to IntegratedWebLogicServer.
    [Application Muster stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Can someone please provide insight/direction? I restarted this whole process because I was not sure if I was making mistakes. But I have received this same exact error both times in both copies of the application code.
    Thanks,
    M. Priester

    I think your web.xml that is a part of the application had the following:
    <taglib>
    <taglib-uri>
    http://xmlns.oracle.com/adf/faces
    </taglib-uri>
    <taglib-location>
    /WEB-INF/lib/adf-faces-impl.jar
    </taglib-location>
    </taglib>
    I think this is not even your configuration but something that JDev added, thus you can consider testing removing this part of the code and test your application and verify the functionality.
    Regarding the possible issue during migration from 10g to 11g of Jdev, you can review the following thread:
    Class not found : oracle.adfinternal.view.faces.taglib.UIXPanelTag
    The missing class is a part of "adf-faces-impl-1013.jar" which seems to be specific to the JDev 10g, thus might not be even required by JDev11g.
    Also regarding the fact that how this seems to be an issue with missing class, please review the following API doc for better understanding of the classnotfoundexception:
    http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html
    Cheers,
    AJ

  • Migrating an application from JDev 10.1.3 to JDev 10.1.3.2

    Hi,
    I am having trouble migrating an application made with JDev 10.1.3 to 10.1.3.2.
    Everything is fine when I run it on the embedded OC4J, but when I try to deploy I have problems.
    The application is deployed on OAS 10.1.3R3.
    What I have done so far was to install the new ADF libraries using ADFinstaller, editing server.xml as per Note:417812.1 and include adf-faces-api.jar, adf-faces-impl.jar, jsf-api.jar, jsf-impl.jar and adfshare.jar from JDev 10.1.3.2 to my project WEB-INF/lib folder.
    Some pages are working as they should, but when a date is to be displayed I have this error:
    javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: oracle.jbo.domain.Date.timestampValue()Ljava/sql/Timestamp;So, am I missing some jar to be included? Have I missed a step or two?
    Thank you for your help.
    adsm

    Solved.
    For some reason, once the application has been migrated, the following lines were added to orion-application.xml:
        <imported-shared-libraries>
            <import-shared-library name="adf.generic.domain" min-version="10.1.3"></import-shared-library>
            <remove-inherited name="adf.oracle.domain"></remove-inherited>
        </imported-shared-libraries>
    -------I do not know if the migration tool was directly responsible for this. Anyway, as this project has been migrated time and time again from a JDev version anterior to 10, this kind of thing was bound to happen someday.
    Cheers,
    adsm

  • No partitions found ! error while deploying a soa composite from jdev

    Hi,
    I have an issue while deploying a composite from Jdev.
    After selecting the server I am getting "No partitions found!" error in the SOA Servers step of the Deployment.
    Followed this link ( Re: JDev PS2 (10.3.3) can't deploy SOA to WLS PS1 (10.3.2): No partititions! and changed the listen address from blank to localhost but still the issue persists.
    The versions which we are using is
    SOA suite version - 11.1.1.3
    jdev version - 11.1.1.3.0
    Please do let me know if anyone has any idea on this issue.
    Thanks and Regards,
    Kaavya

    Hi Kaavya,
    Make sure that hosts (C:\Windows\System32\drivers\etc\hosts) file has the entry for localhost -
    127.0.0.1 localhostRegards,
    Anuj

  • JBO Exception while running OAF page from Jdev

    Hi All,
    I am using jdev 10.1.3 on R12 instance.
    I am trying to customize a standard OAF page.
    For that I downloaded all the related directories from the server and placed it in the corresponding folders of jdev.
    When I rebuild the page it is rebuilding successfully, but when I run the page it is showing some jbo exception.
    The exception details are attached in word file.
    If anyone faced such issues before please share your thoughts.
    Regards
    Jyothi

    Please paste the error stack and while running the page from Jdev make sure that you have updated DBC file and check the runtime connections in project properties. check the database connection as well.
    Thanks
    Raghav

  • Unable to deploy ADF app from Jdev 10.1.3.3 to OAS 10.1.3.1

    Dear colleagues,
    I'm deploying my app from JDev 10.1.3.3 to OAS 10.1.3.1. And it is driving me crazy, my application is a J2EE ADF application. When I try to deploy I'm getting the following errors: I've tried everything during days, but still I'm not able to run it :(. The application is working fine in Jdeveloper
    This first error, I could solved adding the jhsadfrt-10.1.3.jar in the OracleAS_1\j2ee\home\applib directory. See the error solved:
    Operation failed with error:
    ******************** FIRST ERROR (SOLVED)********************************************
         Missing class: oracle.jheadstart.model.adfbc.v2.JhsApplicationModule
         Dependent class: amaos.model.common.AmaosModule
         Loader: amaos.root:0.0.1
         Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/ejb2.jar
         Configuration: <ejb> in D:\product\10.1.3.1\OracleAS_1\j2ee\home\applications\amaos
    (Failure analysis caught java.lang.IllegalStateException: ClassLoader "amaos.root:0.0.1" (from <application> in /D:/product/10.1.3.1/OracleAS_1/j2ee/home/applications/amaos/): This loader has been closed and should not be in use.)
    ******************* CURRENT ERROR AFTER SOLVING THE FIRST ****************
    The missing class is available from the following locations:
    1. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jct.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    2. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/bc4jmt.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    3. Code-Source: /E:/product/10.1.3.1/OracleAS_2/BC4J/lib/adfm.jar (from <code-source> in /E:/product/10.1.3.1/OracleAS_2/j2ee/home/config/server.xml)
    This code-source is available in loader adf.generic.domain:10.1.3.1.
    This code-source is available in loader adf.oracle.domain:10.1.3.1
    Any ideas?
    Thanks
    Message was edited by:
    Benalúa

    Benalua,
    (sorry, I don't know how to type the "u" with the diacritic mark above it in your name)
    Did you deploy the ADF 10.1.3.3 libraries to the 10.1.3.1 app server? An alternative might be to apply the 10.1.3.3 patch to the 10.1.3.3 app server.
    John

  • NoClassDefFoundError while accessing JMS Queue from JDev 10.1.3.3

    Hi,
    I'm trying to get a handle of a JMS queue, which resides on Oracle App Server 10.1.3.4, from a Java Program which I'm trying to run from JDeveloper 10.1.3.3.
    I'm trying to make an RMI connection to the App server from JDeveloper by passing following information to the intialContext:
    env.put("java.naming.factory.initial",
    "oracle.j2ee.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL,
    "ormi://wafedabpelqa10.corp.weyer.pri:12402");
    env.put("java.naming.security.principal","oc4jadmin");
    env.put("java.naming.security.credentials","welcome1");
    Where the above information is related to our App Server.
    I'm successfully able to establish an RMI connection from JDev to Oracle App Server and can lookup datasources created on the App server using their
    JNDI names. However if I try to look up a JMS Queue from the App server using its JNDI name, I get an error as:
    java.lang.NoClassDefFoundError: oracle/tip/adapter/api/OracleConnectionFactory
    I have also tried to use the value "com.evermind.server.rmi.RMIInitialContextFactory" for "java.naming.factory.initial",
    however I still get the same error.

    Hi,
    this should work and you need to download the rmi library http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft.html
    thanks
    # String queueName = "jms/MyJMSQueue";
    # String queueConnectionFactoryName = "jms/MyJMSQCF";
    # Context ctx;
    # try { 
    # Properties parm = new Properties();
    # parm.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
    # parm.setProperty("java.naming.provider.url","ormi://localhost:23791/");
    # parm.setProperty("java.naming.security.principal","oc4jadmin");
    # parm.setProperty("java.naming.security.credentials","welcome");
    # ctx = new InitialContext(parm);
    # QueueConnectionFactory connectionFactory =
    # (QueueConnectionFactory)ctx.lookup(queueConnectionFactoryName);
    # connection = connectionFactory.createQueueConnection();
    # connection.start();
    # session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    # queue = (Queue)ctx.lookup(queueName);
    # sender = session.createSender(queue);
    # receiver = session.createReceiver(queue);
    # } catch (JMSException je) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # je);
    # } catch (Throwable t) { 
    # throw new RuntimeException("Fout opgetreden bij het starten ",
    # t);
    # }

  • Migration of ADF project from JDev 10.1.2.2 to JDev 10.1.3.1; Model cloning

    Is there a way to migrate an Oracle ADF project, specifically a Model using ADF Business Components from JDev 10.1.2.2.0 to JDev 10.1.3.1.0?
    Is there a way to create a clone of a Model using ADF Business Components from one application to be used in another application, w.o.w. to re-use a Model from one application in another application?
    Thank you in advance.

    For some reason my example code was erased from the message.
    I based my general method on following one:
    see:
    http://www.oracle.com/technology/products/jdev/howtos/10g/jcmultiform/index.html
    int count = 0;
    private DCBindingContainer createDetailBinding()
    String detailBCName = "DetailFormUIModel"+count;
    if (panelBinding.getBindingContext().get(detailBCName) == null)
    DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject("sample.DetailFormUIModel");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(detailBCName);
    panelBinding.getBindingContext().put(detailBCName, bc);
    ++count; //make sure the next name is unused thus far.
    return bc;
    return null;
    My method:
    ========
    private DCBindingContainer createBindingContainer(String packageName, String panelModelName)
    StringBuffer sb = new StringBuffer(packageName);
    sb.append(ViewConstants.STRING_DOT);
    sb.append(panelModelName);
    DCBindingContainerDef bcdef = DCBindingContainerDef.findDefObject(sb.toString()); //NOTE THE NAME.
    if (bcdef == null)
    throw new JboException("System error, "+getClass().getName()+".createBindingContainer, DCBindingContainerDef: "+sb.toString()+" not found");
    DCBindingContainer bc = bcdef.createBindingContainer(panelBinding.getBindingContext());
    bc.setName(panelModelName);
    panelBinding.getBindingContext().put(panelModelName, bc);
    return bc;
    Any suggestion for replacing createBindingContainer with the 10.1.3 adequate method?
    Thanks
    Fred

  • JDev Team - how to add a Data Aware Control to grid control

    The default editor for GridControl cells is a data-aware TextField, but I want to use a ComboBoxControl. If I use the setEditor() method of the TableColumn, the cell is edited using a combo, but there are problems:
    1. Navigated events do not fire when focus is moved in or out of the cell and
    2. When focus moves to another cell in the same column, the cell losing focus is blanked.
    How can I setup/attach a custom editor based on a Data Aware Control to avoid these problems?
    The code I am using
    1. declares combobox controls to be used with grid as member variables of my frame class
    ComboBoxControl comboBoxSrcSystem = new ComboBoxControl();
    ComboBoxControl comboBoxSrcSysVersion = new ComboBoxControl();
    ComboBoxControl comboBoxSrcTable = new ComboBoxControl();
    ComboBoxControl comboBoxSrcColumn = new ComboBoxControl();
    2. sets up the combo in the jbInit method of the frame class :
    // for gridControlMapRuleSrcCols column SystemName
    comboBoxSrcSystem.setListKeyDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setListValueDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
    comboBoxSrcSystem.setDataItemNameForUpdate("infobus:/oracle/sessionMapTool/rowSetMapRuleSrcCols/SystemName");
    3. In the frame constructor calls a method to add combos to the grid
    addMapSrcColGridCombos();
    which is defined as
    private void addMapSrcColGridCombos() {
    // add combos to gridControlMapRuleSrcCols grid
    JTable mapSrcColTable = gridControlMapRuleSrcCols.getTable(); // access the JTable
    addComboEditor( mapSrcColTable, "SystemName", comboBoxSrcSystem );
    addComboEditor( mapSrcColTable, "SystemVersion", comboBoxSrcSysVersion );
    addComboEditor( mapSrcColTable, "TableName", comboBoxSrcTable );
    addComboEditor( mapSrcColTable, "ColumnName", comboBoxSrcColumn );
    4. It makes use of the following method:
    private void addComboEditor( JTable table, String colName, ComboBoxControl combo )
    TableColumn col = table.getColumn(colName);
    col.setCellEditor( new DefaultCellEditor( combo ) );
    null

    Given the usual deafening silence from the JDev team, I'll post my resolution of the problem.
    I could not find a way of creating an editor directly from a ComboBoxControl which would behave properly in a GridControl. However, JComboBox does work, so I
    1. add a Navigated listener to the GridControl
    2. in the navigatedInColumn event handler I create a JComboBox from a ScrollableRowsetAccess and
    3. use it to create a custom CellEditor for the target column.
    (I also remove the editor in the currently focused column in the navigatedOutColumn, but I don't think this is strictly necessary.)
    This solution also works after a Rollback, when the columns of the gridcontrol are reset/rebuilt, and handles dynamic combos that are dependent on the current row values.
    Unfortunately, unlike ComboBoxControl JComboBox does not allow for a key/value mapping, so the combo editor can only display the values to selected from, not a user-friendly label.
    I attach some code snippets to illustrate the solution:
    1. declare member variables
    // declarations for Custom Grid Editors
    NavigationManager navMgr = NavigationManager.getNavigationManager();
    static String SYS_NAME_COL_NAME = "SystemName";
    static String SYS_VER_COL_NAME = "SystemVersion";
    static String TAB_NAME_COL_NAME = "TableName";
    static String COL_NAME_COL_NAME = "ColumnName";
    RowSetInfo rowSetSystemCombo = new RowSetInfo();
    AttributeInfo SystemNamerowSetSystemCombo = new AttributeInfo();
    ScrollableRowsetAccess sysNameComboRS = (ScrollableRowsetAccess)rowSetSystemCombo.getRowsetAccess();;
    static ImmediateAccess sysNameComboIA = SystemNamerowSetSystemCombo.getImmediateAccess();
    static RowSetInfo rowSetMapTgtColTableCombo = new RowSetInfo();
    static AttributeInfo TableNamerowSetMapTgtColTableCombo = new AttributeInfo(java.sql.Types.VARCHAR);
    static ScrollableRowsetAccess tgtTabNameComboRS = (ScrollableRowsetAccess)rowSetMapTgtColTableCombo.getRowsetAccess();;
    static ImmediateAccess tgtTabNameComboIA = TableNamerowSetMapTgtColTableCombo.getImmediateAccess();
    2. in jbInit() set up the combo rowsets (use Design mode)
    SystemNamerowSetSystemCombo.setName("SystemName");
    rowSetSystemCombo.setAttributeInfo( new AttributeInfo[] {
    SystemNamerowSetSystemCombo} );
    rowSetSystemCombo.setQueryInfo(new QueryViewInfo(
    "SystemComboView",
    rowSetSystemCombo.setSession(sessionMapTool);
    rowSetSystemCombo.setName("rowSetSystemCombo");
    SystemVersionrowSetMapSrcColSysVersionCombo.setName("SystemVersion");
    rowSetMapSrcColSysVersionCombo.setAttributeInfo( new AttributeInfo[] {
    SystemVersionrowSetMapSrcColSysVersionCombo} );
    rowSetMapSrcColSysVersionCombo.setQueryInfo(new QueryViewInfo(
    "SourceSystemVersionComboView",
    "SYSTEM_VERSION DESC"));
    rowSetMapSrcColSysVersionCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColSysVersionComboLink"));
    rowSetMapSrcColSysVersionCombo.setSession(sessionMapTool);
    rowSetMapSrcColSysVersionCombo.setName("rowSetMapSrcColSysVersionCombo");
    TableNamerowSetMapSrcColTableCombo.setName("TableName");
    rowSetMapSrcColTableCombo.setAttributeInfo( new AttributeInfo[] {
    TableNamerowSetMapSrcColTableCombo} );
    rowSetMapSrcColTableCombo.setQueryInfo(new QueryViewInfo(
    "SourceTableComboView",
    "TABLE_NAME"));
    rowSetMapSrcColTableCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColTableComboLink"));
    rowSetMapSrcColTableCombo.setSession(sessionMapTool);
    rowSetMapSrcColTableCombo.setName("rowSetMapSrcColTableCombo");
    ColumnNamerowSetMapTgtColColumnCombo.setName("ColumnName");
    rowSetMapTgtColColumnCombo.setAttributeInfo( new AttributeInfo[] {
    ColumnNamerowSetMapTgtColColumnCombo} );
    rowSetMapTgtColColumnCombo.setQueryInfo(new QueryViewInfo(
    "TargetColumnComboView",
    "column_name"));
    rowSetMapTgtColColumnCombo.setMasterLinkInfo
    (new ViewLinkInfo(rowSetMapRuleTgtCols,"MapTool.MapRuleTgtColColumnLink"));
    rowSetMapTgtColColumnCombo.setSession(sessionMapTool);
    rowSetMapTgtColColumnCombo.setName("rowSetMapTgtColColumnCombo");
    3. add methods to handle the Navigated events (use Design mode to ensure add listener code
    is generated)
    void gridControlMapRuleSrcCols_navigatedInColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedInColumn");
    show_nav_info();
    String dataItemName = navMgr.getTargetDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.sysNameComboRS, dbMapTool.sysNameComboIA );
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcSysVerComboRS, dbMapTool.srcSysVerComboIA );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcTabNameComboRS, dbMapTool.srcTabNameComboIA );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    addComboEditor( table, columnName, dbMapTool.srcColNameComboRS, dbMapTool.srcColNameComboIA );
    void addComboEditor
    ( JTable table
    , String colName
    , ScrollableRowsetAccess rs
    , ImmediateAccess ia
    // note must get TableColumn afresh each time because when grid is reset
    // on rollback the Table ColumnModel is rebuilt
    TableColumn tc = table.getColumn(colName);
    debug("add JComboBox as editor");
    Vector v = new Vector();
    try {
    // Retrieve and store values for JComboBox using the InfoBus API.
    boolean moreRows = rs.first();
    while (moreRows) {
    // stores value in vector
    v.addElement(new String(ia.getValueAsString()));
    moreRows = rs.next();
    // make column Cell Editor a JComboBox with retrieved values
    tc.setCellEditor(new DefaultCellEditor(new JComboBox(v)));
    catch (Exception e0) {
    e0.printStackTrace();
    void show_nav_info() {
    debug( "Focused Data Item = " + navMgr.getFocusedDataItemName() );
    debug( "Target Data Item = " + navMgr.getTargetDataItemName() );
    void debug(String s)
    System.out.println(s);
    void gridControlMapRuleSrcCols_navigatedOutColumn(NavigatedEvent e) {
    debug("gridControlMapRuleSrcCols_navigatedOutColumn");
    show_nav_info();
    String dataItemName = navMgr.getFocusedDataItemName();
    String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
    JTable table = gridControlMapRuleSrcCols.getTable();
    if ( SYS_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor(table, columnName);
    else if ( SYS_VER_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( TAB_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    else if ( COL_NAME_COL_NAME.equals( columnName)) {
    removeComboEditor( table, columnName );
    void removeComboEditor ( JTable table, String colName ) {
    debug("remove JComboBox as editor");
    TableColumn tc = table.getColumn(colName);
    tc.setCellEditor(null);
    4. Note that when navigated event code is added through the designer, jbInit() is
    amended to add a Navigated Listener to the grid
    gridControlMapRuleSrcCols.addNavigatedListener(new oracle.dacf.control.NavigatedAdapter() {
    public void navigatedInColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedInColumn(e);
    public void navigatedOutColumn(NavigatedEvent e) {
    gridControlMapRuleSrcCols_navigatedOutColumn(e);
    null

Maybe you are looking for