JDeveloper 10.1.2 slow compilation

Hi all,
we've just migrated our project from 9.0.5.1 to 10.1.2.0 and we noticed that the rebuild of all classes now consumes significantly more time (two or three times). I checked the jdev.conf (we use the default configuration in both versions) and I didn't find any significant difference. Has anybody some idea whar causes this behaviour?
Thanks
Ondrej

Check the CPU in Task Manager for processes consuming excessive CPU.

Similar Messages

  • Error deploying JDeveloper project using ant-sca-compile.xml

    Hi all, I'm having problems on deploying a JDeveloper project using ant-sca-compile.xml. The output in C:\XXXX\YYYYY\SCA-INF\classes\scac.log is:
    java.lang.NoClassDefFoundError: 4\jdeveloper\////oracle_common
    Caused by: java.lang.ClassNotFoundException: 4\jdeveloper\....oracle_common
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Could not find the main class: 4\jdeveloper\/../oracle_common. Program will exit.
    Exception in thread "main"
    What's missing in wich classpath?
    Regards
    Efren.

    Same composite we were able to deploy successfully without any error, from Monday onward we are experiencing this issue.
    We checked in Installation Guide provided by oracle. Oracle has suggested few memory related changes in ant-sca-compile.xml file.
    Increasing Memory to avoid Compilation Errors
    To avoid out-of-memory errors during compilation of a SOA composite application, you need to
    increase the following memory settings.
    To increase memory settings:
    1. Open the ant-sca-compile.xml file in the SOA_HOME/bin directory.
    2. Under the scac element, increase the following memory settings.
    <jvmarg value="-Xms2048m"/>
    <jvmarg value="-Xmx2048m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    3. For Windows change the following memory settings to.
    <jvmarg value="-Xms1536m"/>
    <jvmarg value="-Xmx1536m"/>
    <jvmarg value="-XX:PermSize=32m"/>
    <jvmarg value="-XX:MaxPermSize=256m"/>
    We did those changes but still experiencing same error. I checked H:\AIASOAProject\AIAReceiptInterface\ReceiptListEbizProvider\SCA-INF\classes\scac.log ; file its showing Could not create the Java virtual machine.
    Regards
    Manish

  • JDeveloper IDE suddenly very slow for past two days

    Hi All,
    I have Jdeveloper 11.1.1.4 for more than a month now. Suddenly the JDeveloper IDE has become very slow. It is very annoying having to wait for the code changes to show across and windows take long to get in sync. I have 3.25 GB RAM running on XP service pack 3. Also, I scanned my machine for likely virus, but has come clean. It is only with Jdeveloper I am having problems. All other applications are running fine. I even tried just running JDeveloper alone. No luck.
    Thanks

    Suddenly the JDeveloper IDE has become very slowSeems like something changed.
    Did you install any new extensions? When is it "slow?" Is it when doing a specific activity, or just overall "slow?" What does your OS show (is JDev using lots of CPU, for example)? Have you tried making a backup of your "system11.1.1.4.37.59.23" folder (numbers may be different depending on version) and then deleting it so that JDev recreates it for you (you'll lose all of your preferences/settings)?
    John

  • JDeveloper build vs ant-sca-compile.xml

    Hi everyone,
    I have a composite containing a Spring component. The component can be compiled and deployed in JDeveloper and works fine. However, when I try to compile the composite with ant-sca-compile.xml Ant script (from my JDeveloper - Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1) for automated testing the build fails on
    Source port type for "MyTestService" does not match target port type for "MyTestSpring"
    Any idea how to fix it? The Spring component (its inteface) is generated from the published WSDL and seems it is the cause of the problem as composites without Spring can be compiled with that script.
    Thanks,
    Jan

    Hi Manish,
    Compilation of Requester and Provider ABCS takes longer time than other AIA components.So check the Xms and Xmx values in ant-sca-compile.xml and check whether it is matching with your OS environment or try setting at a higher value and then try deploying again.
    Is it building properly or is getting stuck at build level only?
    If its issue with deployment then check $FM_HOME/user_projects/domains/[domain_name]/servers/soa_server1/logs/soa-server1-diagnostic.log.
    Rgds,
    Mandrita.

  • JDeveloper is becoming too slow when you work with web services

    Hi,
    I am trying to write some web services code but after generating the Java classes from the WSDL the IDE becomes extremely slow.
    I need to wait 5-10 seconds each time while writing a word in Java editor. I tried to disable auto suggest and all the fancy things like that but could not make it faster.
    Any suggestions ?
    I am using JDeveloper 11g r1p1.
    Thanks

    Hi,
    I don't have any backing bean for this project. I am implementing a web service by using a WSDL. I guess the problem is JDeveloper can't handle having so many Java files .
    When I generate the Java classes from the WSDL I end up having hundreds of Java classes and some are a little long. Looks like it is the same behavior that you mentioned about having big backing bean classes..
    For now I am using IntelliJ Idea for editing the Java code and I use JDeveloper for running only. Idea doesn't bother having that many Java files and works as it supposed to work.
    Thanks

  • JDeveloper 11g is extremely slow when embedded server started

    Oracle Jdev experts,
    My machine configuration is - 2GB RAM, Intel Core2 Duo 2.4 GHz processor, 160GB HDD, Windows XP Professional
    As such jdev itself runs on slower side as compared to other applications. Still it is manageable until I start embedded server.
    After I start embedded server, my machine becomes terribly slow. I cannot open any other application..even opening notepad or blank browser window takes 5 min.
    Available physical memory drops to less than 100MB which was around 1.4 GB before starting jdev. Please note that I had opened only jdev in the meantime.
    Is there any way I can improve jdev performance and save significant time working on it?
    Any suggestion in this regard is highly appreciated.
    Thanks in advance

    2GB, even though it may meet the "minimum" requirements is probably too low.
    [url http://blogs.oracle.com/shay/2006/03/29#a104]This is a few years old, but has some good tips.
    JOhn

  • Compiling SCSS to CSS is so slow

    Hi,
    I'm a front end developer currently working on a project which is running on java tomcat maven project set up in Eclipse. (To be honest the back end stuff isn't my area) but my problem is that its really slow compiling SCSS to CSS.
    Having SCSS auto compiling causes the build to go into a loop, so i'm having to stop the server, clean the project, clean the server, restart the server. This then logs me out of the page I've been editing, so i have to log in and return to the page - around a 2 minute process for each SCSS tweak
    I'd like to know if anyone knows better plugins or settings for compiling the SCSS that maybe don't require the whole project rebuilding - but just push the compiled CSS into the project?
    cheers

    Some things to consider:
    What's the upload speed of your connection?
    Ethernet
    How big are the files?
    Total upload is around 130MB, photos are around 1 or 2 MB
    Are you uploading through a browser or a plug -in?
    Assume it is through Safari (iPhoto to ofoto)
    Have you contacted ofoto?
    Doing so
    Regards
    Thanks.
    TD
    Thanks
    iBookG4    

  • Deployment problem from JDeveloper 10 g

    Dear Experts,
    I am trying to deploy my application from JDeveloper. But receiving unexpected compilation Error as <Oracle Home>/bpel(Access denied). Also My JDeveloper tool was very slow. Please suggest me to solve this issue.
    Versions:
    JDeveloper: 10.1.3.1
    Oracle SOA: 10.1.3
    Thanks,
    Rajesh

    Use Oracle JDeveloper 10.1.3.3 or 10.1.3.4
    Make sure you hjave access to the Oracle_Home directory
    Marc

  • Cannot deploy to localhost:7001  / how to remove the IPV6 from Jdeveloper ?

    Hi,
    Who could help on a deployment issue?
    I have a Weblogic admin server running on http://localhost:7001 and have access to the admin console.
    I developed a test application and deployed it on the Integrated Weblogic server (port 7101) and is running.
    When I try to deploy on the managed admin server, the deployment is correct but it generates an IPV6 addresse
    ( http://[2001:0:4137:9e76:2cd9:2c5e:af7f:ae32]:7001/GoogleMapApp )
    that I cannot use, as I don't use such addresses on the development laptop.
    I want to get the addresses
    http://127.0.0.1:7001/GoogleMapApp
    or
    http://localhost:7001/GoogleMapApp
    Thanks
    [07:23:17 PM] ---- Deployment started. ----
    [07:23:17 PM] Target platform is (Weblogic 10.3).
    [07:23:18 PM] Retrieving existing application information
    [07:23:18 PM] Running dependency analysis...
    [07:23:18 PM] Building...
    [07:23:21 PM] Deploying 2 profiles...
    [07:23:21 PM] Wrote Web Application Module to C:\JDeveloper\mywork\GoogleMap\ViewController\deploy\GoogleMap_ViewController_webapp1.war
    [07:23:21 PM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\GoogleMap\deploy\GoogleMap_application1.ear
    [07:23:22 PM] Redeploying Application...
    [07:23:28 PM] [Deployer:149192]Operation 'deploy' on application 'GoogleMap_application1' is in progress on 'AdminServer'
    [07:23:34 PM] [Deployer:149194]Operation 'deploy' on application 'GoogleMap_application1' has succeeded on 'AdminServer'
    [07:23:34 PM] Application Redeployed Successfully.
    [07:23:34 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [07:23:34 PM] http://[2001:0:4137:9e76:2cd9:2c5e:af7f:ae32]:7001/GoogleMapApp
    [07:23:34 PM] Elapsed time for deployment: 17 seconds
    [07:23:34 PM] ---- Deployment finished. ----
    ------------------

    HI,
    In your JDeveloper Init file please set the following JAVA_OPTION to disable IPv6
    -Djava.net.preferIPv4Stack=true"
    You can enable above option in the following file of JDeveloper: *"jdeveloper\jdev\bin\jdev.boot"*
    compiler.vmargs = -Xmx1024m   -Djava.net.preferIPv4Stack=trueThanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic/ (Middleware Magic Is Here)

  • Compilation Error while trying to Deploy my Web Service

    My main problem right now is that I can build my classes without error but when it is time to deploy the web service with Jdeveloper I am getting a compilation error without to get info about what is the error itself:
    Started application : RTAService-RTAService-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application RTAService-RTAService-WS to site default-web-site under context root RTAService-RTAService-context-root
    Operation failed with error:
    Error compiling :C:\Stephane\Jdeveloper\jdevstudio10131\j2ee\home\applications\RTAService-RTAService-WS\WebServices: compilation error occurred
    I don’t know where to look at for this issue. I don't get information about what compilation error it is.
    I am using the embedded oc4J application server coming with Jdeveloper Studio Edition 10.1.3.1.0_NT_0610009.1404.3984.
    I was able with the same configuration to deploy a very simple Web Service you have in your tutorials named GetDates
    This is the Class I try to deploy has a web service:
    package rtaservice;
    import javax.jws.WebService;
    @WebService(serviceName = "RTAWebService")
    public class RTAWebService {
    public RTAWebService() {
    public TransactionResult Process(Transaction Trans) {
    TransactionResult TransResult;
    TransResult = new TransactionResult();
    TransResult.Account_type ="";
    TransResult.Address_Line1 ="";
    TransResult.Amount ="";
    TransResult.Approval_Cd ="";
    TransResult.Approval_Cd_returned ="";
    TransResult.Approved ="";
    TransResult.Avs_Response_C ="";
    TransResult.Avs_Response_M ="";
    TransResult.BCFerries_Error_description ="";
    TransResult.BCFerries_Processing_Mode =true;
    TransResult.BCFerries_Resp_Code ="";
    TransResult.BCFerries_Trans_approved =true;
    TransResult.CardType ="";
    TransResult.CVV_Code ="";
    TransResult.CVV_response ="";
    TransResult.DateTime ="";
    TransResult.Display_Msg ="";
    TransResult.ExtendedOPId ="";
    TransResult.ID_Seq_Number ="";
    TransResult.Invoice_num ="";
    TransResult.Invoice_num_returned ="";
    TransResult.ISOResponseCode ="";
    TransResult.OperatorID ="";
    TransResult.OperatorLanguage ="";
    TransResult.OperatorMessage ="";
    TransResult.Receipt_Msg ="";
    TransResult.Receipt_Msg_Account ="";
    TransResult.ReceiptRefNum ="";
    TransResult.Response_Code ="";
    TransResult.RFU1 ="";
    TransResult.RFU2 ="";
    TransResult.Statement_Desc ="";
    TransResult.Term_ID ="";
    TransResult.Term_ID_Group ="";
    TransResult.Track2_Acc ="";
    TransResult.Trans_Code ="";
    TransResult.Transaction_Handle ="";
    TransResult.TransactionCounter ="";
    TransResult.TransactionHandle ="";
    TransResult.Zip ="";
    TransResult.Account_type_returned ="";
    return TransResult;
    There are 2 others classes to define the objects Transaction and Transaction Result
    package rtaservice;
    public class Transaction {
    public Transaction() {
    // Eigen parameters
    public String Invoice_num; // format AA XXXXXXXX with AA application name and XXXXXXXX unique invoice num
    public String Term_ID; // should be the merchant ID
    public String Term_ID_Group; // not used
    public String Trans_Code; // should be all the time 27 right now
    public String Track2_Acc; // ! there is a specific format to respect here
    // Track2_Acc contains the data as read by a card reader from track 2 starting by ;
    // for manually entered card the format is M<Credit card number>=<Expiry Date(YYMM)>0?
    public String Amount; // in Cents
    public String Approval_Cd;
    public String DateTime; // format is YYYYMMDDHHMMSS
    public String OperatorID; // Optional
    public String ExtendedOPId; // Optional
    public String OperatorLanguage; // Optional
    public String Account_type; // not use for now
    public String Statement_Desc; // not use for now
    public String CVV_Code;
    public String Address_Line1; // Optional
    public String Zip; // Optional
    public String TransactionHandle; // Optional
    // additional parameters for future use
    public String RFU1; // Reserved for future use
    public String RFU2; // Reserved for future use
    package rtaservice;
    public class TransactionResult extends Transaction {
    public TransactionResult() {
    public String BCFerries_Resp_Code;
    public String BCFerries_Error_description;
    public Boolean BCFerries_Trans_approved;
    public Boolean BCFerries_Processing_Mode;
    // Eigen parameters
    public String ID_Seq_Number;
    public String Display_Msg; // Optional
    public String Receipt_Msg; // Optional
    public String Response_Code;
    public String Approval_Cd_returned; // Optional
    public String ISOResponseCode;
    public String ReceiptRefNum;
    public String TransactionCounter;
    public String Approved;
    public String OperatorMessage;
    public String Receipt_Msg_Action; // Optional
    public String Receipt_Msg_Account;
    public String CardType;
    public String Invoice_num_returned; // Optional
    public String Account_type_returned;
    public String CVV_response;
    public String Avs_Response_C;
    public String Avs_Response_M;
    public String Transaction_Handle; // Optional
    Thanks for your time

    Hi mythri.
    Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
    Thanks in advance.
    Renan

  • Jdeveloper Error: "Code too large"

    Hi all,
    While running a page in Oracle Jdeveloper 10g, I am getting compilation error “Code too large” on ‘processformrequest’ in controller. I tried the below steps from metalink, but I am still getting the error message.
    1.     Try to compile your page with the standard "javac" Java compiler instead of the "ojc" Java
    compiler, as it generates methods a bit smaller.
    2.     Change the compiler used by the Embedded OC4J:
    2.1) Go to "Tools" -> "Embedded OC4J Server Preferences..."
    2.2) Under "Global" select "Java Compiler"
    2.3) Select "javac" from the "Compiler" list
    2.4) Then under "Bin Directory", point to the location of the javac compiler
    (usually in the JDK bin directory).
    Please let me know if there is any way to resolve this error.
    Thanks in Advance,
    Saravana

    Hi Saravana,
    Please post this in OAF forum(OA Framework
    ~Vikram
    Edited by: Vikram K on Jul 27, 2009 11:00 AM

  • JDeveloper, ADF, lack of support and bleak future

    Hi,
    I'm a seasoned Java and .NET developer, used to many environments and frameworks. A happy user of Oracle databases.
    For a very Oracle oriented client I started with a team of developer a project using JDeveloper (no choice). After 4 months of using JDeveloper, ADF to build web sites, here are some thoughts I would like to share. This remarks only focus on that products, because I have a lot of respect for the Oracle databases and had a lot of success with them.
    I am starting to get depressed about the very few blogs (most from Oracle) talking about JDeveloper and ADF, the lack of books, and the Oracle forums.
    Moreover, most of the time you never get an answer to your problems, sometimes untested not working 'solutions', and a very very few times a working solution. Help is sparse, the community is missing.
    If Oracle wants to promote its framework, it has to boost the number of tutorials, examples and support.
    Googling about ADF is most of the time a non sense since you always land on the same 3 blogs and the Oracle forums.
    Proof of non use by the community ?
    If you try on www.indeed.com to find statistics about JDeveloper or ADF jobs you get another frightening proof.
    Sometimes you find a piece of code or a tutorial that may help, but you realize it works only on some specific release of JDeveloper.
    What makes me angry is when you ask why your code works on the x.x.x.x version but not the newest version, and the only answer you get is stay with x.x.x.x version (I won't bother to fix your 10 lines or code or even give you a direction to do it (maybe coz I don't understand myself were the breaking changes are)).
    JDeveloper is damn too slow ? You should have a dual-core and at least 2 Go of memory, you poor thing ! Is Java for rich people ?
    Debuging is a nightmare. Compared to Eclipse or others it is not practical at all.
    I'm happy when I can create a few pages drag and dropping controls. Business components are also a good thing. It speeds up my development. But since development is not just UI and generating business components, I lose a lot of time every time I want to write code, every time I do something "exotic" it becomes a pain in the ass.
    My problem here is that the architecture and JDeveloper constraint the developer a lot. I don't even talk about the fact that everything is only Oracle database oriented (openess ?). Even changing your page layout is a pain. Positioning controls is non trivial. As a whole, I would say that this whole thing imposes you to adapt to it, it doesn't adapt to you and your way of working.
    Most results I saw look like the Oracle websites.
    I could go on about the various bugs and problems that plague JDeveloper. Like the refactoring (when usable) that leave old and annoying stuff in your model XML, like the bugs in the diagrams, like problems related to auto-binding on the page and manually changing controls ID, various synchronization problems between pages and backing beans, adding upload is a mess, OrdDomain types are buggy, regions doesn't work well in the designer, and so on...
    My point is that I feel the whole thing is not mature. And Oracle seems to fix some issues with the release of JHeadStart. Sometimes you fix things by integrating JHeadStart stuff. JHeadStart is probably a great thing and a time saver if you don't do too much "exotic" screens and code, but does it means that JDeveloper+ADF and classic development becomes a second class citizen ?
    This is sad, since the ADF framework and JDeveloper look good and are worth of a more widespread usage. But marketing and support are way way far behind other commercial and open-source solutions. When I see what is planned for JDeveloper 11 and I compare it to others (Java or not). When I look at the developers needs and expectations, I feel we are losing the race.
    Maybe Oracle would like to hand over some of the framework to the community, but my feeling is that the community is already commited on other exciting and less constraining frameworks and tool, and this community may well work in a way that doesn't fit Oracle vision. Future will tell.
    Cheers.

    Hi,
    thanks for the detailed comment. I appreciate the time you spent writing this up as this helps to improve the product. Below is a first - quick and brief response to some of your statements.
    ... for documentation and tutorials
    http://www.oracle.com/technology/products/adf/learnadf.html
    Especially the ADF Developer Guide for 4 GL developers earns a lot of praise among J2EE developers.
    http://download.oracle.com/docs/html/B25947_01/toc.htm
    ... for books
    http://www.oracle.com/technology/tech/java/jsf.html
    Sometimes you find a piece of code or a tutorial that may help, but you realize it works only on some specific release of JDeveloper. What makes me angry is when you ask why your code works on the x.x.x.x version but not the newest version, and the only answer you get is stay with x.x.x.x version
    Of course samples need to be created to some point in time with a specific version. We have SRDemo as our main - maintained - reference demo I suggest you download this sample from OTN using help--> check for updates. Note that SRDemo contains code solutions for most developer cases and also is available in 10.1.3.1
    I'm happy when I can create a few pages drag and dropping controls. Business components are also a good thing. It speeds up my development. But since development is not just UI and generating business components, I lose a lot of time every time I want to write code, every time I do something "exotic" it becomes a pain in the ***.
    What is exotic, and what are the questions you didn't get an answer for ? I see that this is your first posting on OTN, so I am wondering under which account you posted the other questions that did not get an answer.
    Googling about ADF is most of the time a non sense since you always land on the same 3 blogs and the Oracle forums. Proof of non use by the community ?
    Isn't OTN a community ? I don't think that we need another discussion forum and looking at OTN it appears very active.
    I don't even talk about the fact that everything is only Oracle database oriented (openess ?).
    Not true. Please prove your claim.
    Even changing your page layout is a pain. Positioning controls is non trivial. As a whole, I would say that this whole thing imposes you to adapt to it, it doesn't adapt to you and your way of working. Most results I saw look like the Oracle websites.
    Now you are barking up the wrong tree, blaming ADF for what is JavaServer Faces layouting. You don't have to use JSF but can go for JSP /Struts and/or Swing development. What is the view layer technology of your choice that allows you to do better layouting ?
    I could go on about the various bugs and problems that plague JDeveloper
    Yes, please post them all
    ... regions doesn't work well in the designer, and so on...
    Of course, because regions are not officially supported. JDeveloper 11 - I know you don't want to hear future - will have full templating (going far beyound of what facelets do) and region support
    My point is that I feel the whole thing is not mature. And Oracle seems to fix some issues with the release of JHeadStart.
    JHeadstart is a consulting offering and not meant to fix the product.
    ... but does it means that JDeveloper+ADF and classic development becomes a second class citizen ?
    No comment for this statement as it is based on a wrong observation
    This is sad, since the ADF framework and JDeveloper look good and are worth of a more widespread usage. But marketing and support are way way far behind other commercial and open-source solutions. When I see what is planned for JDeveloper 11 and I compare it to others (Java or not).
    Note that only a fraction of new features in JDeveloper 11 leaked out so far or have been mentioned in the recent statement of direction. JDeveloper has many more features that we don't yet promote because the software isn't available.
    Please note that we give ADF to the community. Its just we are not giving it to the open soutce community but the J2EE community (JSR-227)
    Frank

  • JDeveloper performance

    I recently downloaded JDeveloper Studio 10.1.3 and what I am finding is that it is really slow. This is on a Dell laptop, XP Pro SP2 with an Intel Core Duo processor and 1GB RAM that is only a couple of months old, it is a quick machine. I have Oracle 10g R2 installed along with Apex 2.2 and Developer Suite 10g R2 and all of those run just fine. But JDeveloper is just so slow as to be almost unusable. I'm talking 2 or 3 seconds to respond to a keystroke in the editor, or 5 or 6 seconds to repaint the screen after being minimised or switching between tabs. Has anybody else noticed this or is there something I can do to make it run a bit faster? Is 1GB RAM considered sufficient? Even with JDeveloper open and the database running Windows Task Manager reports at least 150MB physical RAM being free.
    I'm also sure that the machine is virus and malware free.
    Any suggestions welcomed because it is driving me nuts!
    Regards,
    Steve

    The thing that fixed it for me was uncommenting the line in the jdev/bin/jdev.conf file with this on it:
    AddVMOption -Dsun.java2d.noddraw=true
    All the rest of the tweaks on the various blogs mentioned in this and other posts on the subject didn't change the performance at all.
    Oddly, enough, the issue is described in the jdev.conf file. Considering that this is a Windows option in a Windows distribution it's surprising that the sun.java2d.noddraw=true option isn't set in the first place.
    --Jeff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • JPA 2.0 in JDeveloper 11.1.2.3

    Hello,
    I'm having some difficulties using a newer version of eclipselink and JPA 2.0 in JDeveloper 11.1.2.3, and I was hoping someone has done this before and could shed some light onto what I'm doing wrong.
    In my weblogic-application.xml file, I added the following:
    <prefer-application-packages>
    <package-name>org.eclipse.persistence.*</package-name>
    </prefer-application-packages>
    This successfully made the application use the newer version of eclipselink at runtime that I have included with the application and added in the "Libraries and Classpath" section of my project.
    However, I have been unsuccessful at compiling with the JPA 2.0 jar. I added the JPA 2.0 jar to the classpath the same way, but within JDeveloper it keeps trying to compile against the 1.0 jar that is included by default. I even removed the "Toplink" library from the classpath that JDeveloper added automatically, so I'm not sure where it's still picking up the old jar from.
    I found the following information about how to enable JPA 2.0 support on the weblogic server (http://docs.oracle.com/cd/E23943_01/web.1111/e13720/using_toplink.htm#CIHDJHHI), but that is only relevant after the application can actually compile.
    Anyone have any ideas?
    Thanks!

    Turns out this was due to how JDeveloper was assembling the compile commands. The project that is using JPA had a dependency on another project in the application that was including the JPA 1.0 jar as part of the ADF libraries it was using, and JDeveloper was putting the classes for that project and all of its dependencies ahead of any jars defined in the classpath for the project using JPA 2.0. Thus, at compile time, the JPA 1.0 jar was the first one found in the classpath, causing the compilation to fail.
    After working around this, and following the instructions here (http://docs.oracle.com/cd/E23943_01/web.1111/e13720/using_toplink.htm#CIHDJHHI) to update the weblogic classpath to use JPA 2.0 at runtime, I receive the following message in the logs:
    This version of OpenJPA cannot read a persistence.xml document with a version different from "1.0". Found: version "2.0" in "file:/C:/Users....."
    Everything appears to work fine as the JPA 2.0 methods are being executed with eclipselink, but this message appears every time I grab an EntityManager. Is this the expected behavior, or is there a step missing in the instructions?
    Thanks!

  • PL/SQL development with JDeveloper

    We are using Toad and JDeveloper to maintain our legacy IS that count thousands of PL/SQL code object (Packages, Package Bodies, Triggers).
    I'm using JDeveloper and SQL Developer in the perspective to verify if it is possible and effective to use only Oracle tools in the project.
    I like to work with JDeveloper to edit pl/sql code and i like to have my code in database offline object maintained into subversion.
    I'm able to compile these sources in my different platform (development system, test alpha, test beta and final testing instance directly from JDeveloper.
    That's fine except JDeveloper didn't return a compile status or a list of compile errrors like in SqlDeveloper. So I need to use SqlDeveloper in parallel of JDeveloper.
    This is the beginning of my problems.
    SqlDeveloper may have some editor open with source code into I updated into JDeveloper (depends on the change to do, some changes a done in SqlDeveloper to correct some errors and the code is refreshed from the instance into JDeveloper, and more important changes are done in JDeveloper and compiled (loaded) in the instance) and loaded (compiled) into my instance.
    When the packages tree is already displayed in SqlDeveloper, the status of the package (valid, invalid) didn't change immediately. That is normal because SqlDeveloper don't know i change it from JDeveloper. I think it check it when i click on the package or the body node. The problem is that the code is not reloaded into the editor if it is opened and i you recompile your package without refreshing all the packages list you will recompile the older version and search sometimes a long time why your package didn't compile after the changes you done in JDeveloper (mainly after 6pm and a day of developing and compiling ) !!!!
    The only reason to use both JDeveloper and SqlDeveloper in this phase is the fact that JDeveloper didn't return compile status and a compile error list.
    With theses features I will no more use SqlDeveloper for such developing purposes (still using it to debug, obtain object definition, customize database object for some physical properties, etc) and avoid those bad manipulations.

    micwic --
    I logged bug6508875 for this.
    One suggestion in the meantime until we can get compile errors directed to the log window for offline objects...
    You can open the Database Navigator to point to the same db connection. After generating the offline PL/SQL to the db, refresh the connection in the DB navigator. You will see any invalid objects flagged with an error icon. Then you can right-click on the PL/SQL with the error, and "Make" it. This will display the errors in the log window, similar to SQL Developer.
    -- Brian

Maybe you are looking for

  • Error message when using function module HRIQ_TESTRESULTS_CREATE

    Hi, I need your help, I'm trying to use function module HRIQ_TESTRESULTS_CREATE to create external test results, I've used this function before without subscores, now I need to create subscores, but I get the message: "Grading scale UBID applies". Th

  • Correlation for multiple fields in messages inside BPM

    Hi All, We have a requirement to collect multiple IDOCs based on combination of field1,field2,field3 and field4. Could you please tel me possible ways to implement this solution: I have tried the below options: Multiple fields in one correlation Corr

  • Request type of service to a vendor master

    Hi Gurus, Can anyone help me how to request a way to add the industry or type of service to a vendor master and to produce a payment report that includes this information. Thanks, Sathish

  • IPhoto shut itself without warning, what should I do...

    I just purchase iLife 06, pretty exciting over the propect of a much awaited iPhoto 6. But then I have had some problem with iPhoto 6, when I edit photo in iPhoto 6, it suddenly **** itself down without warning (does not affect other application than

  • ORA-27369: job of type EXECUTABLE failed with exit code: Not owner

    Hi I created a backup RAC database job using DBMS_SCHEDULER under RMANTEST schema (a DBA account) and I got the error as subject. begin dbms_scheduler.create_job( job_name => 'scheduler_backup', job_type => 'EXECUTABLE', number_of_arguments => 2, job