Debug multiple projects in Jdeveloper 11.1.2.4

Hi all,
I have 2 projects (tcp/ip server and client) in one workspace. How can i set up the jdeveloper so that I can debug both projects simultaneously. For example in Microsoft Visual Studio I have an option Debug->Start neu instance for each project independently.
Thanks a lot,
Alexander

Caused by: java.lang.UnsupportedClassVersionError: model/view/DepartmentsVOImpl : Unsupported major.minor version 51.0
Is the Java version in JDeveloper JDK 7 and the version on the server an earlier version such as JDK 6? The model/view/DepartmentsVOImpl class is compiled with JDK 7 but is being run with JDK 6 on the server.

Similar Messages

  • How to share common classes across multiple projects in Jdeveloper?

    Hi Experts,
    I have a basic question.
    I am using Jdeveloper 11g and have divided my application into 2 projects (Model(ejb's) and Viewcontroller(jsf+managed beans etc)).
    The model project has a stateless session bean(named VisitingScholarBean) which uses a java bean class(named VisitingScholarDetails) defined in the ViewController project.
    The relevant Method in the stateless session bean is public void saveVSDetails(VisitingScholarDetails vsDetails).
    Now the issue is that the VisitingScholarDetails class is part of only the ViewController project but is being used in the Model project.
    So when I try to run the application it gives an error saying that
    weblogic.application.ModuleException: Exception preparing module: EJBModule(VisitingScholar-Model-ejb)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    edu/nyu/ecoms/oaa/vs/web/backing/VisitingScholarDetails.
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: edu.nyu.ecoms.oaa.vs.web.backing.VisitingScholarDetails
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)I cannot replicate the same VisitingScholarDetails class in both projects as it will lead to duplication.
    Please let me know how to include the VisitingScholarDetails class in the ejb-jar without replicating it in the Model and View Controller projects.
    Thanks for your time and help.
    Edited by: user10376431 on Jan 24, 2010 6:25 AM

    Welcome User in OTN,
    to make two projects can access its classes you should goto the project property ---> Dependencies then add the other project.
    in your case:
    try to goto you Model project property ----> Dependencies ---> Edit Dependencies .
    you will find your ViewController project. Expand it thin check to Build Output.
    you can make this for ViewContoller project also as:
    goto you ViewContoller project property ----> Dependencies ---> Edit Dependencies .
    you will find your Model project. Expand it thin check to Build Output.
    Sameh Nassar

  • Error creating Ant buildfile from project in JDeveloper 10.1.3 EA1

    I got the following error when I try to create a buildfile from project in JDeveloper 10.1.3 EA1:
    java.lang.NullPointerException
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:85)
         at oracle.ide.net.URLFactory.newUniqueURL(URLFactory.java:164)
         at oracle.jdeveloper.builder.SourceModel.generateDefaultFileName(SourceModel.java:135)
         at oracle.jdevimpl.ant.wizard.GenerateBuildfileModel.initializeFromContext(GenerateBuildfileModel.java:83)
         at oracle.jdeveloper.builder.file.FileBuilderModel.<init>(FileBuilderModel.java:24)
         at oracle.jdevimpl.ant.wizard.NewBuildfileModel.<init>(NewBuildfileModel.java:38)
         at oracle.jdevimpl.ant.wizard.GenerateBuildfileModel.<init>(GenerateBuildfileModel.java:38)
         at oracle.jdevimpl.ant.wizard.GenerateBuildfileWizard._buildModel(GenerateBuildfileWizard.java:54)
         at oracle.jdeveloper.builder.AbstractBuilder.buildState(AbstractBuilder.java:30)
         at oracle.jdeveloper.wizard.common.BaliWizard.invoke(BaliWizard.java:121)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:310)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:358)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1082)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:366)
         at oracle.ide.util.IdeUtil$1$1.run(IdeUtil.java:1062)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    This error happens in any project independently of its contents.

    I have just had this same exception. The first project within the workspace worked fine, the second workspace had the exception. I've used this wizard several times before with success. I'm using 10.1.3.0.4 (SU5)
    The "Model" project which worked has the following technology scopes:
    Ant
    Database
    EJB
    Java
    TopLink
    UML
    The "User Interface" project which did not work has the following technology scopes:
    Java
    JSF
    JSP and Servlets
    1. Any ideas on what I can do to work around this problem?
    2. How can I help you debug this issue?
    thanks,
    chas

  • JDeveloper 11.1.2.3 hangs when opening project from JDeveloper 11.1.1.6

    Hello! I have a problem here which I can't solve. I also asked this question here: http://stackoverflow.com/questions/14365031/jdeveloper-11-1-2-3-hangs-when-opening-project-from-jdeveloper-11-1-1-6/14369211#14369211 . The whole story in short. I have a JavaEE client-server project in JDeveloper 11.1.1.6, where it works like a charm. Recently I had to upgrade JDeveloper version to the latest 11.1.2.3. The first problem was that the standard procedure of migrating project from the older version of JDeveloper to the newer one did not help: IDE was hanging forever all the time with no apparent (for me) reason, log file was silent about that. Then I tried another way: I just created the same project from the beginning and put there all necessary source files, libraries, set project properties etc. Still nothing, but now found the way to obtain a kind of error at least. I ran C:\Oracle\Middleware\jdeveloper\jdev\bin\jdev.exe from the command line and got the following (e.g. when I started running debug):
    Jan 16, 2013 8:52:09 PM oracle.ideimpl.runner.StarterFactoryDescriptionImpl logError
    SEVERE: Incorrect hash-structure value in starter-factory definition
    Jan 16, 2013 8:52:10 PM oracle.ideimpl.runner.StarterFactoryDescriptionImpl logError
    SEVERE: Incorrect hash-structure value in starter-factory definition
    But I don't know what could be the next step... Could anyone help me? Thanks in advance for your attention!
    Edited by: user12144197 on 22.01.2013 0:42

    Hi,
    not sure if you have a support contract or work for Oracle. In both cases the best option is to file a bug (service request)
    Frank

  • Debugging across projects

    I have one application, which has a main project with other include jars which i deploy as ADF jars and then add it to this project.
    now when i run one page of the main project it calls the task flows from the other ADF jars and displays some graphs on the page. is there a way i can debug the ADF jars code while running the main page of the main project which calls the task flow of the ADF jars.
    please post your queries if the problem is not clear
    Thanks in advance
    Jeetendra

    user13332880 wrote:
    how do i put a break point in the other projects source code which would be encountered while debugging one page from the main project ?You put the breakpoints that you want anywhere in the code, and you enable remote debugging for the specific project. You start remote debugging on the specific project by right-clicking on it and select Start Remote Debugger. This will attach JDeveloper to WebLogic. You run the main application deployed on the stand-alone WebLogic directly in the browser (not in JDeveloper). The application breaks directly into your specific project in JDeveloper.

  • Importing eclipse projects to JDeveloper

    Is there any way to import Eclipse project into JDevelper 10g?
    Thanks.

    Hi Shay, Frank
    Our team is currently using Eclipse 3.1, struts and Oracle 9i DB, Oracle 10g AS to develop a mid size Java application. However we are running into serious constraint in our development as Eclipse does not allow us to debug for OC4J.
    To avoid debug issues and associated time loss and inefficiency, we are trying to import the Eclipse project into Jdeveloper. When I import, it only imports the source files and not the associated libraries, config files, web content etc.
    If possible please provide a step by step approach that we can follow to import Eclipse struts projects and then build it. If you can point us to some document, book, tutorial etc, it will be highly appreciated.

  • Deploy One Ear file for Multiples Projects

    Hi,
    I work with JDeveloper 9.0.3 and BC4J+UIXML+Jsp Pages and I organize my application in multiple projects, each one contain BC4J and UIXML programs.
    I have a problem in deploy my application with JDeveloper Deploy Profiles because I can't deploy multiples projects in on .ear or .war files.
    Today in development time, i build or rebuild my project and copy all executable files in manual mode to Oracle 9ias OC4J directory, into a deploy of one project, but i think that proccess is not correctly.
    What i need to do ?
    thanks.
    Danilo

    In order to include other projects in the EAR, you need to create deployment profiles (WAR,Jar..)in each project which will archive the contents of the project.
    After that you need to create an EAR deployment profile and edit the properties to include other deployment profiles created earlier.
    raghu
    JDev Team

  • Importing IProcurement project in JDeveloper

    Hi,
    I am using Oracle APPS 11i.
    My JDEV_HOME_USER = C:\JDev\Jdeveloper9i\jdevbin\jdev\bin
    I followed all the steps as mentioned in http://oracle.anilpassi.com/running-oa-framework-page-from-jdeveloper-audio-video-demo.html.
    I copied the $JAVA_TOP/oracle/apps/icx folder from server to JDEV_HOME_USER\myclasses\oracle\apps
    Also copied each folder in $ICX_TOP/mds into JDEV_HOME_USER\myprojects\oracle\apps\icx.
    In JDeveloper, I created a connection and then a new OA workspace and a new OA project called icx. But I am not able to see the components/packages of icx folder or the other pages in my
    new project. I tried opening/importing the icx folder into prjct, but it doesnt get the package hierarchy as mentioned in the videos. Just all the files are imported without the package hierarchy.
    Could you please let me know what I am missing?
    -Naru

    Hi,
    This might be a possibility. Please check..
    Right click on projects in JDeveloper
    Go to "Project Content" --> (check radio button)"Use Project Settings" --> (tab) "Include"
    1) Select "Include Content from Subfolders" option
    2) Check your corresponding folders are included or "All" option is present in the tab.
    3) Remove your folders if they are present in Excluded tab.
    By setting this, you are governing the content, to be displayed in your current project.
    Regards,
    achapla.

  • Unable to run struts project from jdeveloper 10.1.3

    Hi,
    I have created a struts-based application project using jdeveloper 10.1.3(build JDEVADF_10.1.3.1.0_NT..) by importing an ear file .The project seems to be built fine as i get no errors in compiling the entire project.I have included the Struts runtime library as well in the project.
    But when i try to run the login.jsp from the struts-config.xml,i get the :
    The page cannot be displayed message in the browser.
    I dont see any errors in the Embedded OC4J log except few warnings lik dis:
    [Another instance of the server is still running.  JDeveloper will shut it down and then restart the server.]
    Process exited.
    [Starting OC4J using the following ports: HTTP=8898, RMI=23899, JMS=9235.]
    D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    D:\jdevr12\jdevbin\jdk\bin\javaw.exe -client -classpath D:\jdevr12\jdevbin\j2ee\home\oc4j.jar;D:\jdevr12\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    25-Jul-2007 18:46:28 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\xml.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /D:/jdevr12/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /D:/jdevr12/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in D:\jdevr12\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in D:\jdevr12\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /D:/jdevr12/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /D:/jdevr12/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 26766 ms.
    pls help me out on what could be the problem.This application wsa running fine in Eclipse but i am unable to run it using Jdeveloper.

    Is this new develop page ?
    you check these points for this issue.
    1. Check JDEV_USER_HOME
    2. Design a Test PG and test it first.
    3. Your OAF patch level: is 12.0.4 ? Are you running with r12?
    Thanks

  • I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel rec

    I'm using acrobat pro in my project after debuging the project and after opening a certain number of PDF files I receive the message: the maximum number of files opened has been reached, you have to close some files to continu.even doing that, I steel receive the same message.Some one can tel what to do please? Thanks

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • How can I share a *.java source file across multiple projects in NetBeans?

    I'm sure this simple and a pretty common operation but how can I share a *.java source file across multiple projects in NetBeans? Right now I keep cut, coping and pasting the same source file between multiple projects to re-use the same code. But I could I make this source file a library file or something like that so that I could access it from any project. I assume this would be a generic operation but I mentioned NetBeans for clarity. Thanks.

    fiebigc wrote:
    I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    >I know I mentioned NetBeans but I'm most interested in the generic method for creating a library of source files that I can call into whatever program I am developing. I've done such a thing in C using header files and such but I'm trying to get a direction on how this is accomplished in Java. I'm sorry if I could edit the title I would. If anyone wants to be specific about NetBeans I welcome that too.
    Edited by: fiebigc on Jun 20, 2008 5:57 PM
    Create a class library.
    Write your code, compile it to .class files, put those class files in a .jar file and include the jar file in the classpath whenever you want to compile a project against it.

  • How to use multiple projects in single application :)

    Hai ,
    I ve to use single .portal for accessing multiple projects in a application. if i create two new projects in a application i cant able to use .portlet file of one project to display in another .portal . is there any way to display both the project .portlet files in a single portal. :)

    not really.. sorry
    Kunal Mittal

  • Multiple projects in one web role using Azure cloud?

    How to run One webrole with multiple projects using azure?
    In my solution One WCF service and ane website i want run both on one solution,
    How to run both in one domain?
    anilbabu

    Thanks for replying,
    I want to this type of output,
    In my project one solution two projects(one website and one WCF service)
    what i am asking is 
    this type 
    running both projects single service
    http://postimg.org/image/oijwkbn7h/
    After
    i a hosting into azure that url's like this
    How can i get this type of output
    EX: http://multliplehos.cloudapp.net/ 
    Service url: http://multliplehos.cloudapp.net/Service1.svc
    anilbabu

  • How to manage multiple resources in multiple project?

    Hello,
    We are a very small company that has migrated from an in-house TFS solution to using VSO to manage our projects.  One issue we are having is being able to look at outstanding tasks and resources allocated across multiple projects.  What I'm looking
    for is one place where I can see how many hours a person is allocated for a given week for all projects.
    Thank you for your help!
    Curt

    Hi Curtis,
    You can create a single team project and create teams for each of you project. Then you would be able to monitor all team progress etc using root team project and each team progress can be separately monitor. If you use parallel iterations across all teams
    this would be more effective.
    For team capacity you can set full capacity to root level and divided capacity levels to each team.
    Scaled Agile Framework is explaining similar concept here for more complex situations in below article. But you can use a simplified version of it.
    https://msdn.microsoft.com/en-us/library/dn798712.aspx
    Cheers!
    Chaminda

  • How do you purchase multiple projects?

    How do you purchase multiple projects in iPhoto? I am trying to buy a calendar and 4 different books that I created on iPhoto. WHen I click the buy button it takes me to a purchasing page, but I can't figure out how to get other projects. There isn't a "shopping cart" that I can find. I'd like to pay just 1 shipping fee. Is this possible?

    You can't combine those into one order.
    (117833)

Maybe you are looking for