JDeveloper and Toplink

I am having problem using jdev and toplink. The toplink xml file ([projectname].xml) in the src/meta-inf directory is no longer being updated from the changes made in the class descriptors and toplink mapping file (mwp).
How do i fix this ? If not all the changes I made in Jdev are not translated into the toplink xml and when deployment I am encountering errors.
j.

You should probably ask this on the TopLink forum - but basically you need to either be working on TopLink from inside JDeveloper or from the mapping workbench - you can't work on a project from both at the same time.

Similar Messages

  • Integrity Constraints about JDeveloper and TopLink External MW

    Hi there,
    we are using external toplink mapping workbench in order to do the toplink descriptor mappings. And within JDeveloper, we want to create EJB Session Facade beans that use the pojos we've created by external toplink mw. But, because JDeveloper cannot understand that the classes, which are created by external toplink mw, are toplink pojos, we cannot indicate the pojos in the "create session facade" wizard of the JDeveloper. So we cannot create the session facade beans automatically.
    By the way, Jdeveloper cannot open External Mapping Workbench project file (*.mwp) internally. And viceversa, External Mapping Workbench cannot open Jdeveloper's internally created project file. Because, I think, JDeveloper saves the toplink project with 9.0.4 version. But our external Mapping Workbench saves the toplink project with 10.1.3 version. But, the interesting thing is, when we look at the toplink jar that JDeveloper uses, we see that its version is 10.1.3.
    How can we make JDeveloper understand that the external classes are real TopLink POJOs so that we can create EJB Session Facade Beans by the wizards?
    Thanks for help.

    Hi there,
    we are using external toplink mapping workbench in order to do the toplink descriptor mappings. And within JDeveloper, we want to create EJB Session Facade beans that use the pojos we've created by external toplink mw. But, because JDeveloper cannot understand that the classes, which are created by external toplink mw, are toplink pojos, we cannot indicate the pojos in the "create session facade" wizard of the JDeveloper. So we cannot create the session facade beans automatically.
    By the way, Jdeveloper cannot open External Mapping Workbench project file (*.mwp) internally. And viceversa, External Mapping Workbench cannot open Jdeveloper's internally created project file. Because, I think, JDeveloper saves the toplink project with 9.0.4 version. But our external Mapping Workbench saves the toplink project with 10.1.3 version. But, the interesting thing is, when we look at the toplink jar that JDeveloper uses, we see that its version is 10.1.3.
    How can we make JDeveloper understand that the external classes are real TopLink POJOs so that we can create EJB Session Facade Beans by the wizards?
    Thanks for help.

  • JDeveloper Prerelease 10.1.3 and toplink

    Hello,
    I know ADF is not supported but could someone tell me please if the new prerelease of JDeveloper supports toplink and if so how well is it supported? I mean by that does it have many quirks because it is a prelease.
    If anyone out there using it feedback would be great.
    Thanks much,
    Alex.

    The 10.1.3 J2EE Download contains TopLink, but you won't get the easy binding to the user interface that you get with ADF.
    Since it is a developer preview you might encounter problems and glitches, if you do please report them on this or the TopLink forums so we can fix them for production.
    If you want a production version of JDeveloper with full TopLink support check out the new 10.1.2 release - a lot of toplink improvments in there.

  • Urgently!! Deploy project using Struts and Toplink

    Hello. I want to make a deploy of a project in wich I'm using Struts and Toplink technologies.
    I'm using JDeveloper 10g for Windows and my production server is a SUN V880 with Soloaris 8 and I make it ok, but when I run it since a PC in the intranet the following errors appears (obviously those don't appear before):
    java.lang.NullPointerException     at org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309)     at jsp.login._jspService(_login.java:50)     [SRC:/jsp/login.jsp:5]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:536)
    Thank you so much for help.

    NOO!! :( I don't install any libraries in the server, but in the WAR file of the application, in the lib folder, there was the jars corresponding. I thought that those libraries, in the WAR file, was "local" to the project, anyway, the Struts and Toplink libraries must be global at server level, 'cause I will use it sure once agian, and now I'm trying to install those in the server...
    Thank you so much!!

  • JDeveloper and CVS and TeamWork

    Hi,
    we have a small team with 4 members and are developing in JDeveloper 10.1.2 with CVS plug-in (struts, toplink, jsp).
    We are beginners and are frustrated now: every commit/update causes problems.
    Always are problems with
    - project.jpr files (synchronization among developers)
    - sessions.xml (we cannot really add this file to cvs)
    - state of offline tables (and digrams) are sometimes wrong show: restart of JDeveloper is necessary
    - many JDevelopers files are unvisible, but must be added to cvs
    - and more and more
    Please - are somebody using JDeveloper & CVS in team with satisfaction? Are our problems beginner-problems or is this way wrong?
    Thanks for your experience.
    Jara

    My biggests issues with JDeveloper and CVS are as follows:
    1. Oracle puts out an article that talks about Version controllable XML and the biggest culprits of violators of this rule are the Oracle project files: StrutsPAgeFlow.oxd_struts, ViewController.jpr, and Model.jpr. Not nice when you can no longer open your Struts-config.xml file due to all the <==== lines in the file! In almost all instances, since we've built most of the files and aren't adding/removing much from the project as a whole, we can easily correct these problems then commit again, or just issue a clean update on them, and disregard (especially when it appears to be an ordering issue)
    2. Also, we've seen model.jpr files switch contents (areas look like they are swapped around) in between versions. Why? The files are identical except the position of the nodes.
    3. I really want to know my OUT-OF-SYNC files BEFORE I do an update. Kind of like the Uncommitted files window, I'd like: Hey, how out of sync am I?
    4. The COMPARE utility is very nice, however, once CVS takes over and does the automatic MERGE, you're really left with a mess (at times). Any time we get a "failure to update" message, we issue a compare against the current reposistory version verses version on disk and see what the differences are. Then we search for whether our stuff was merged properly.
    5. The only docs I've seen on Jdeveloper and CVS are "introductory" type documentation. Don't put out a document that talks about issues that are "out-of-scope" when these are the very issues that people need to deal with every day, and are looking for answers. The "oracle jdeveloper 10g" handbook is no better, offering about 4 pages of an "overview of CVS".
    6. People have asked before about CVS, even on Metalink and an answer from Oracle is to look at an OTN post. I'm sorry, but that really doesn't cut it, especially when your support bill is over $500K/year.
    enough rambling...
    CVS and Jdeveloper 10.1.2 are working at our shop with 3-4 developers on the project, but it can be paintful during the "conflicts during merge" times.

  • Comparision bw BC and TopLink business service

    Hi Experts,
    I am new to JDev. It appears to me that developing applications with BC in the back end is easier.
    Is there any disadvantage of using AppModule as Data Control as compared to Toplink. ?
    Can we use multiple types of Business Services in the same applications. eg AppMod and TopLink just in case.?

    You are correct in your observation that ADF BC is easier to develop with since it offers more out-of-the-box declarative features.
    There are also some things that TopLink does better though.
    For example you can more easily map an OO designed set of object to an existing database (meet in the middle scenario).
    Another thing is that with TopLink you are using java classes that don't need to extend any interface (POJO).
    While ADF BC wizards are only available in JDev, TopLink has it's own stand alone tool - which means it is a bit easier to use if you are not using JDeveloper as your tool.
    At the end of the day the big difference though is the "way of thinking" - see this blog entry:
    http://blogs.oracle.com/shay/2006/03/10
    And the great thing is that you can have both used in the same project :-)

  • Cannot test portlet using JDeveloper and built-in OC4J

    Hi everybody,
    I'm not trying to sound stupid but my problem seems to be very basic but i cannot solve it. I'm new to Jdeveloper. Here's my problem.
    I'm using Jdeveloper 10.1.2.1.0 (build 1913) to develope a portlet. I deployed it to the built-in Standalone OC4J of Jdeveloper and got the following messages:
    ---- Deployment started. ---- Sep 6, 2006 7:46:11 PM
    Target platform is Standalone OC4J (AppServerConnection2).
    Wrote WAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.war
    Wrote EAR file to D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear
    Invoking OC4J admin tool...
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -deploy -file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear -deploymentName UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Uploading file D:\jdev1012\jdev\mywork\Uma_OWHO\Uma\deploy\UmaPortlets.ear to oc4j server side
    Notification ==> Application Deployer for UmaPortlets STARTS [ 2006-09-06T19:46:17.406ICT ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\jdev1012\j2ee\home\applications\UmaPortlets.ear
    Notification ==> Unpack UmaPortlets.ear begins...
    Notification ==> Unpack UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets.ear begins...
    Notification ==> Initialize UmaPortlets.ear ends...
    Notification ==> Initialize UmaPortlets begins...
    Notification ==> Initialize UmaPortlets ends...
    Notification ==> Application Deployer for UmaPortlets COMPLETES [ 2006-09-06T19:46:19.000ICT ]
    Exit status of OC4J admin tool (-deploy): 0
    D:\jdev1012\jdk\jre\bin\javaw.exe -jar D:\jdev1012\j2ee\home\admin.jar ormi://cuongttlabtop/ admin **** -bindWebApp UmaPortlets UmaPortlets http-web-site /UmaPortlets
    checkIsLocalHost() error: cuongttlabtop/: cuongttlabtop/
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://cuongttlabtop:8888/UmaPortlets
    Elapsed time for deployment: 12 seconds
    ---- Deployment finished. ---- Sep 6, 2006 7:46:23 PM
    When i tried to access the URL: http://cuongttlabtop:8888/UmaPortlets by Mozilla Firefox nothing came up instead : 403 Forbidden Directory browsing not allowed
    Please help me everybody!!!!! It's urgent. My boss will check my work on this Friday :((.

    I tried to access both URL you gave me and got the error:
    404 Not Found
    Resource /UmaPortlets/providers not found on this server
    I really dont understand what's going wrong here?? I followed exactly what Oracle tutorials tell me :(

  • HELP: include another page in with JDeveloper and ADF

    Hi all,
    I am trying to make a layout page with JDeveloper and ADF. But I just can't make things work. I have the pre-coded header and footer html pages and want to include them in a jspx somehow. I tried panelPage too, but the rendering style is away from our pre-coded header and footer.
    1. Use jsp:include.
    header works fine but footer is rendered before the page content, even if the footer is placed after the page content. Is there a way to customize the position?
    <f:facet name="footerFacet">
    <f:subview id="footerView"
    binding="#{backing_welcomePage.footerView}">
    <jsp:include page="/footer.jspf"/>
    </f:subview>
    </f:facet>
    2. Use frameBorderLayout.
    I followed the doc and use the document tag. But the frame page is rendered but none of included pages are rendered. So I got a blank page.
    <!-- frame page -->
    <f:view>
    <afh:html>
    <afh:head title="my frame page">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    </afh:head>
    <afh:body>
    <afh:frameBorderLayout height="100%" width="100%">
    <f:facet name="center">
    <afh:frame source="topPage.jspx" name="topPage3"/>
    </f:facet>
    <f:facet name="top">
    <afh:frame source="topPage.jspx" height="200" name="topPage2"/>
    </f:facet>
    <f:facet name="bottom">
    <afh:frame source="topPage.jspx" height="200" name="topPage1"/>
    </f:facet>
    </afh:frameBorderLayout>
    </afh:body>
    </afh:html>
    </f:view>
    <!-- top page -->
    <f:view>
    <af:document title="FrameBorderLayout Demo">
    <af:form>
    <af:panelGroup layout="vertical">
    <f:facet name="separator">
    <af:objectSeparator />
    </f:facet>
    <af:outputFormatted styleUsage="instruction" value="&lt;b>A frameBorderLayout&lt;/b>"/>
    </af:panelGroup>
    </af:form>
    </af:document>
    </f:view>

    for #1 have you tried throwing a verbatim tag around your includes like:
    <f:verbatim>
    <jsp:directive.include file="/includes/footer.jsp"/>
    </f:verbatim>
    it's how we got around intermixing html and jsf

  • 10g BPEL process upgrade to 11g hangs in Jdeveloper and Ant script

    I have successfully upgraded several 10g (10.1.3.4) BPEL processes and ESB services using Jdeveloper 11g (11.1.1.6.0) migration wizard and deployed them to an 11g environment. Both 10g and 11g environments are up and running.
    However, my 11g jdeveloper hangs when migrating the next BPEL process. It hangs at the message box with the title: "Migration Status". I tried the Ant script and it hangs too. It hangs after printing out:
    "CompositeRefs
    [upgrade] WARNING: UPGBPEL-02009: No Binding setup for : "soapCheckPrivileges"
    . This will cause compilation of the upgraded project to fail. Check SOA Upgrade
    documentation on manual steps necessary to bind this composite reference. If ne
    cessary, upgrade and deploy any dependencies. If planning to retain 1013x nodes
    in this projects dependency tree, check earlier part of this log for 1013x WSDL
    URLs that can be used."
    I guess it makes sense since Jdeveloper and Ant script use the same code base for migration.
    One other observation is that if I kill the hanging jdeveloper process and reopen it and go through the migration wizard again, it will be successful without hanging. However, when I fix all the wsdl reference and do a build and deploy to sar. The resulting sar is defective and cannot be deployed to Weblogic even if both build and deploy to sar report success. The defective sar contains only scac.log and scac-log.xml, not even composite.xml.
    One difference between this BPEL process and others I have successfully upgraded is that it depends on an ESB service (this esb service has been upgraded and deployed to 11g).
    Any ideas?
    Thanks,

    I will answer my question. I killed the migrating Java process and the migrating wizard will report failure of migrating the .jpr file. Actually, the only thing missing in the migrated .jpr file is deployment profile which I can generate from deployment menu. And I can deploy the migrated process. This works as a workaround.

  • Why ADF Business Components and TopLink

    Hi All,
    Why are there two types of components in Businses Tier? (ADF Business Components and TopLink). Even through there are other types, I can visualize the use of other components but ADF Business Components & TopLink seems to serve the same requirement.
    Can some one provide me information on what is the difference between these two and when to use which one?

    ADF Business Components (aka BC4J) are different from Toplink from approach point of view. Basically if you are more comfortable with SQL and want fine grain control over what and how SQL are run against the database, BC4J is the way to go, because, it's you who write the queries(in ViewObjects)
    If you are from more of java backgroup and can visualize things in term of Object and relationships among objects, so on and so forth then Toplink would be the right choice.
    Pls see the post by Shay in his blog:
    http://blogs.oracle.com/shay/2006/03/10
    regards - rutwik

  • JDeveloper and JSP

    I am a new person to JDeveloper technology.
    I wanted to know that if I create JSP using JDeveloper 3.0, and then upload the JSP pages on a UNIX server, will I need application server.
    What is JServer ?

    Anny,
    You can developer Java Server Pages using JDeveloper and deploy them to any platform.
    If your deployment platform is UNIX, you will need an application server that supports the Servlet API. Apache plus Tomcat is a good option. You can learn more about it at www.apache.org.
    JServer is the VM that runs inside the Oracle8i database. You can learn more about it on the Oracle8i page of OTN.
    Laura

  • Oracle's XML Publisher in JDeveloper and XSQL Servlet

    A While ago, in this thread JDeveloper 10g, XSQL and FOP , was mentioned an ongoing effort for the "integration of Oracle's XML Publisher in JDeveloper and XSQL Servlet", Is this still happening ?, will this be something will be able to use without having to be an Oracle Apps shop? Any additional info would be appreciated.

    Hi,
    is there any progress about XML publisher integration with JDeveloper. I'm right now examining XML publisher but there is no explicit directions and explanations of using XML publisher with jdeveloper.
    any news !?
    best regards...
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • JDeveloper and ADF 11g Release 2(11.1.2.0.x) compatible WebCenter Version

    We are looking to upgrade ADF to 11.1.2.0 and looking for WebCenter compatibility.
    Could you please let me know WebCenter compatible version for JDeveloper and ADF 11g Release 2 (11.1.2.0.x) ?
    Thanks
    JP

    Looking at 11.1.2.0.0 note on
    http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index.html
    and seeing, "This version of JDeveloper doesn't include the SOA and WebCenter pieces - to use these components you'll need to download Oracle JDeveloper 11.1.1.5.0."
    Does that mean, 11.1.2.0.0 can't be used with WebCenter?

  • Jheadstart, JDeveloper and CVS and TeamWork

    Hi
    We're four-developer team and we've been working with Jheadstart for some months. Now we want to work with team options that provide jdeveloper (CVS or SCM). But, we are a too much suprised with all the problems that other developers had with CVS, we read it in some jdeveloper forums (JDeveloper and CVS and TeamWork and JDeveloper and CVS
    I get very worry about the problems that developers had with CVS and that at last they don't find a better solution than migrate to jdeveloper 10.1.3. All the forums recomend migrate to jdeveloper 10.1.3 for better support of team work, but I read (some time ago) that jdeveloper 10.1.3 still doesn't support ADF, then I assume we cannot use it with Jheadstart, Am I right? Is there a way to use Jheadstart with JDeveloper 10.1.3 Preview right now?
    What do you recomend for team work with Jheadstart?
    Thanks in advance
    Liceth

    Liceth,
    As you problably know, the JHeadstart team consists of consultants and we face the exact same problems and share the exact same frustrations as you do on an every day basis at our customer projects. It is indeed not easy to use JDeveloper in a multi-developer environment. In all fairness much of this is a given when doing file-based development, and I have seen the exact same problems in situations where other IDE's such as Eclipse etc were used. But using advanced frameworks like ADF and BC4J makes matters more complex, because the declarative way of developing these applications using drag&drop and powerful wizards make you as a developer be less 'in touch' with the file or files that are actually created and updated, and also there tend to be more files in such an architecture that are changed simultaneously by many developers at once.
    Merging is the only way out of this mess, and merge tools are not perfect, far from it. They get better and better but at some point you'll need to understand the semantics of the files that are to be merged to be able to merge them correctly, and merge tools will in all likelyhood never become that smart.
    Until they do, the only thing one can do is to tackle the problem from the other side: if merge tools dont understand the files they merge, we should take into account the weaknesses of these merge tools, and set up our files so that changes CAN be automatically merged, or in most cases at least. Indeed, JDeveloper 10.1.3 is taking good steps in this direction for notoriously tricky files such as JPR files and such. But the problem will never completely go away.
    As for using 10.1.3, well, as you said the preview does not contain ADF so JHeadstart will never run on it. We are developing JHeadstart 10.1.3 that will run on the production version of JDeveloper 10.1.3, but it will be a long time before that release will see the light. And although JDeveloper 10.1.3 is a kick-ass IDE (imho), it will not magically solve all multi-user issues. It will just be a bit more bearable.
    Is there ever a real solution for it? I don't know. I have worked intensively with the Oracle Designer product before I switched to Java, and that tool, which uses a database rather than files to store its information, was almost perfect when dealing with multi-user development. It could do so because the level at which conflicts occur is VERY finegrained (so not at 'code line' level but sometimes as far as 'individual properties in a property inspector' level), plus the advantages of instantaneous locking in the database when modifying something. And, thinking of it, it could do so because it dealt with 'structured objects' rather than files, thereby having some 'semantic' information about the data. I have this feeling we can only 'get it right' if we will treat, for instance, a Java file not as a collection of lines of code, but of a structured object tree with members, constructors, methods, parameters etc. etc., and store it as such, instead of storing it as a flat OS file.
    Just ranting here (this really should be a personal BLOG entry rather than a forum post, but oh well). As you can tell, its a subject that is very close to every developer's heart.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • JDeveloper and XML Publisher with EBS ?

    Hi All,
    Can anyone clarify my doubts ?
    I am new to Java and i have some experience in XMLP, but i saw in the User guide the Java API's, how to and where to run those API's.
    And is JDeveloper used with XMLP to run Java API's ?, if yes can u pls explain how to start working on that and what is the relation between JDeveloper and XML Publisher in EBS.
    I really appriciate your early reply.
    Thanks in advance.

    XML Publisher ships with 2 XDK parsers a 9i version for backward compatibility and 10g version - you can switch at runtim using the properties. However, you have to make sure that the XML Publisher versions of the libraries are used and not the ones coming with i.e. jdeveloper version or oc4j version that you are using. You should use the version shipped with XML Publisher, because these versions are thoroughly tested with XML Publisher.
    See the deployment notes in the install document:
    Oracle OC4J Deployment Notes
    The version of the XML Parser shipped with Oracle OC4J is incompatible with XML Publisher. When you create an XML Publisher application for OC4J you need to configure the system to use the XML Publisher version of the XML Parser. This can be accomplished by setting an orion-web.xml configuration file with the following content:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-web-app>
    <web-app-class-loader search-local-classes-first="true" />
    </orion-web-app>

Maybe you are looking for

  • CFBundleSource instead of header text - bug

    I've noticed that when my network settings are hosed after its been sitting for a day without use, the title is showing CFBundleSource instead of Podcast or Movies or whatever level I'm at. Definitely something getting hosed up while it sits there. T

  • Unable to launch forms after fresh installation of 12.1.1

    Hi, I have installed fresh production installation of Oracle Applications 12.1.1 on my laptop using oracle virtual box. Everything is working fine, i am able to connect to the URL from my host machine i.e Windows 7 with IE 8 browser. Able to login an

  • What would cause images with captions to not show up?

    Still struggling with this issue. Images with captions are not showing up on the iPad preview. Please help! Thx!

  • XmlNode.selectSingleNode(String pattern) - Java xml parser v.2

    Hi, I cannot understand how this method is supposed to be used :( I use it so: xmlNode.selectSingleNode("element[@name='some_name']") and I don't get a node as a result although I know such node exists. What the format of the pattern argument is supp

  • Various Preferences not "sticking"

    Having been a long time Mac user since the 80's starting with an SE, I have to say that I've never had so many problems with various preferences not saving after a major upgrade. It began with 10.4 with the annoying Finder views not saving my meticul