One application with two projects, nothing works....

1st of all hope here is the right place to post this question. And sorry for a bad title, but I couldn't think of nothing better.
2nd, hello everyone!
And now:
I have created a new application in JDeveloper 11.1.1.1.0 and started a project (lets say EXAMPLE_P). I had problems integrating the project with an already existing library (which I did as well). Therefore I opened the project of this library (LIBRARY_P) in the same application as EXAMPLE_P project. Now I wanted to debug, like I used to do in JDeveloper 11TP4, in the classes in the LIBRARY_P while running my EXAMPLE_P web-app.
The problem is that LIBRARY_P has a web-application as example/test, but when I pack the jar I use just certain packages.
Now when I come to JDev 11.1.1.1.0 (Studio Edition Version 11.1.1.1.0, Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407) none of the projects works, with or without dependency. For the LIBRARY_P web-application I use a DataSource that I no longer have, so everything falls apart and absolutely nothing works, not even EXAMPLE_P, which does not even have a dependency defined to LIBRARY_P. As soon as I remove LIBRARY_P from the application, EXAMPLE_P works.
Can anyone shed some light on a workaround or explanation why?? (I know already that JDev tries to deploy both of them... question is for the love of god WHY!??!) TP4 was so much better.....
Thank you

Quoting Shay Shmeltzer: "In general if you have a library that you need to use in another project all you need to do is add the JAR to the project properties->libraries and class path."
I agree, but I don't want to just use the library, I want to debug that library using my application.
For this case my EXAMPLE_P is a wep-application, a portal. The LIBRARY_P is a CMS framework. They use struts, tiles, spring, etc....
The library for the cms framework has just classes like actions, filters, listeners, etc, no jsps, no web.xml, just classes. Problem is that the JDev project (v. 11g TP4) for this cms framework has an example application (web-application with struts and so on), so that we can understand on a test (practical test) basis how it works, for a little experimenting, etc.
Now my new portal uses the actions, filters, listeners, etc present in this library and I need to debug how my project behaves with these actions, etc. and where it fails.
These projects were done for OC4J and therefore don't have a weblogic.xml, nor anything for deployment on weblogic, and I have in fact no interest in deploying it, I just want to debug the classes. On JDev 11gTP4 with OC4J I just defined project dependency and as long as it compiled it was possible to debug everything.
Hope now I'm a bit more clear on what is my problem. Me and my metaphors... :)
Thanks for the feedback
Edited by: user11199488 on Sep 16, 2009 10:37 AM

Similar Messages

  • One application with Multiple schemas- common application frame work

    Hi All,
    I am trying setup a common application frame work in apex. Please help me.
    How to achieve this.
    Creation of one application attached to different schemas at run time. So that my application maintaince is going to be easy instated of creating copies of same application.
    More details:
    1. I have one application with 100 pages pointing to a schema dev_common in one workspace APP_COMMON. I have 50 schemas with same structure of dev_common schema with different set of data ( because of large amount of data).
    So I want to create one application attached to different schemas.
    2. And another thing is I have 100 users, the user can work on 1 or multiple schemas ( I mean same application with different schemas attached)
    Any help much appreciated.
    Thanks,

    Thank you for the reply.
    >> b) I think you have to give access rights for the dev_common and app_common to all users.
    Dev_common schema is a kind of placeholder. I have 50 schemas same as dev_common because of different business requirements but the front end is same for all 50 schemas. How can we create one application used for 50 schemas instead of creating 50 applications and 50 workspaces.
    Please help me.

  • How do we sync contacts and calendars (ONLY) between two iCloud accounts, two iPhones and one iMac with two user accounts?

    This is complex.  Until today we had one iMac with two user accounts - one for me and the other for my wife.  We sync'd our calendars and contacts between our two user accounts using my iCloud account, thereby keeping our schedules coordinated and our contacts information always the same between us.  Also, as I had an iPhone, I sync'd my phone with my iCloud account, thereby keeping the contacts and calendars in the two user accounts on the iMac AND my iPhone sync'd.  (I also sync'd other things, like Notes and Mail and Safari settings, between my iPhone and my user account on the iMac, but my wife did not want to be burdened with all my emails showing up in her email account and I wasn't interested in hers, etc., so we didn't sync anything between us other than calendars and contacts.)
    We've finally bought my wife an iPhone and set up an iCloud account for her.  And of course she now wants to sync several items from HER account on our iMac to HER iPhone, but I don't want them, just as she doesn't want all of my other stuff.  But we still want our mutual calendars and contacts to sync to HER new iPhone, just like they already do to mine.  But I can't figure out how to CHANGE her iMac user account from using MY iCloud account on the iMac to using HER new iCloud account, and then having HER iCloud account speak to MY iCloud account but share JUST our calendars and contacts.
    Originally I tried a workaround by simply having her iPhone log into my iCloud account.  That works great for the calendars and the contacts.  But...she can't sync anything else from her iMac account to her new iPhone because she's presently "forced" to use my iCloud account.  And neither of us want to sync our other things to each other's iMac accounts or iPhones.  Also as we're both using my iCloud account, in things like the Find My iPhone app, the Cloud is seeking two phones labeled with my name and none with her's.  So we definitely don't want this as the set-up and communications network between our devices.
    We want to set up our users on the iMac to sync to our SEPARATE AND DIFFERENT iCloud accounts and then have those iCloud accounts sync calendars and contacts (ONLY) between themselves, and then push that data to our separate iPhones (or the other way, from either of our iPhones to the individual accounts on our iMac and the other person's iPhone).  Does this description make sense to you?  I've diagramed it nicely using Keynote, but even thiough I can draw it, I can't figure out how to set up and configure all the devices to make it work.  If you would like me to send the Keynote slides (just two of them - the current and desired configurations - please send your email address to me at [email protected] and I'll be happy to forward it to you.
    If anyone can help me set this up I'd be most appreciative!  Thanks so much.  Merry Christmas and Happy New Year to all readers in this community!

    BobT.
    I had the same problem, and decided to look into it last night.
    First of all, the solution I would like to have is for Apple to allow for selection of iCloud accounts per application, i.e. Contacts to one, Photo Stream to another. I believe this would be the most straight forward solution for the problem we are facing. 
    Since this is not an option I came up with a workaround. I was most interested in solving this for Contacts, so this is what I tested for. Now I have all 3 devices with the same contacts.
    1) Turn off iCloud for Contacts on all devices. On the device that has the Contacts list that you would like to propagate to all others select to keep the contacts, and on the others select not to keep them.
       Note that the current backups still exist on iCloud, so in case something goes wrong you can still turn the iCloud for Contacts back on to get your current Contacts back.
    2) In iTunes, sync All Contacts with the phones, starting with the one with the Contacts content you chose to keep.
    From this point on, the 3 devices should sync contacts with each other.
    This, of course, will stop your iCloud backups of Contacts, but I don't think this is really needed. You are already storing copies of your Conacts on 3 devices, which for good parts of the day are likely not all co-located. You also potentially have Time Machine backups turned on, which would mean there is a 4th copy there as well. For the case of Contacts iCloud only complicates matter ... that is until Apple implements the solution I first wrote about.

  • Can we perform two actions with one button with two clicks one after other?

    Sir,
    can we perform two actions with one button with two clicks one after other?
    I want that when I click an Add Button first time it add data to the database and when I click again this button it clear the form data to empty fields.
    Regards
    Tanvir

    In code it should be easy.
    The following code adds a button called butman with a text "ADD".
    It then registers a listener that will be called if the button is clicked.
    This listener then calls the runAddData method if you clicked on butman while it contained the "ADD" text and it will call the runClearData method otherwise.
    Therefore it will swap the button's functionality between ADD and CLEAR on every click.
    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});I hope this is what you wanted.
    Some extra food for thought.
    You might want to run the ADD and CLEAR methods in their own threads so that it can run in the back ground, without slowing down your user interface.
    I also like to rather reuse one button for multiple functionality in stead of making an application with hundreds of nodes only used rarely with masses of code to show and hide them if needed.

  • How to manage one library with two accounts

    how to manage one library with two accounts

    you can only be logged into one account at a time on the iTunes store. However, you can authorize your computer for both accounts, making your computer work with both. In the menu bar just click [Store > Authorize Computer]

  • I have one folder with several projects all of which Aperure can not find the original.  I do not use referenced files.  I can't make any adjustments like cropping etc. What can I do to print any of these photos?

    I have one folder with several projects all of which Aperure can not find the original.  I do not use referenced files.  I can't make any adjustments like cropping etc. What can I do to adjust or print any of these photos?  IO have no ther projects with this problem.  My Aperture Library is automatically saved to two external drives.
    Dick Koos

    I have one folder with several projects all of which Aperure can not find the original.
    Have you checked inside your Aperture library, if the original files are still there?
    Try to find out, when the images in those projects have been originally imported, then open the Aperture library by ctrl-clicking it and using the command "Show package contents" from the pop-up menu. In the window that will open, select the folder "Masters" and browse the contents. You need to find the subfolder with the year you imported the images, then the folders with the month and the day.
    Are your original files still there?
    If yes, copy them to a folder on your desktop for safe-keeping, and then try, if repairing the permissions and the other Furst Aid tools will help Aperture to connect to these missing files again - see this link:  Repairing and Rebuilding Your Aperture Library: Aperture 3 User Manual
    If the First Aid Tools don't help, then check, if Aperture has moved the missing images to a "recovered folder". If not, reimport the images, you saved to your Desktop and use the Lift&Stamp tool to transfer any adjustment and captions to your reimported images.

  • I need to share my Itunes library on one computer with two user accounts

    I have one computer with two IPODS. I would like to share the music I already have stored on one library with another user library. How do I do this?

    See if this helps: iTunes - How to share music between different accounts on a single computer
    There are a few different ways to use two iPods with one computer, have a look at this help page for suggestions: How to use multiple iPods with one computer

  • HT201317 How do I use ICloud Photo stream on one computer with two differenet Apple Id's. My husband and I each have seperate ID's but one computer.

    How do I use ICloud Photo stream on one computer with two differenet Apple Id's. My husband and I each have seperate ID's but one computer.

    You have to have an iOS device (iPhone, iPad, iPod Touch) or Mac to create an iCloud account.  However, if you tell your friend to create a shared photo stream and turn on Public Website, he/she will then be able to send you a link that will allow you to view the photos on the internet using your web browser.  You would not be able to comment on the photos as this requires an iCloud account, but you would be able to view them.
    You can refer your friend to this link for assistance with this: http://help.apple.com/icloud/#mmc0cd7e99.

  • Share calendar on two Ipads (one Imac with two users)

    Hi community,
    I'm looking for some help and where to look for if not here. Let me quickly describe my setup at home and what I try to achieve.
    My partner and I have both their own iPad and iPhone. There is one iMac where we live. We are using it together but each of us has it's own user account on it and therefore it's own Itunes library. Both of us are using the iCal calendar on the iMac which we sync with our iPad and iPhone.
    So there is one iMac with two users on it. Each user syncs his iCal with his iPad and his iPhone. What we would like to achieve though is that we can cross-share our iCal calendar. So that my partner can see my calendar items on her iPad and iPhone and vice versa.
    We do not have a google mail (calendar) account nor are we using iCloud.
    Every help is very much appreciated.
    Legerea

    Dear Dah,
    I now have two iPads, which I also (need to) have separate AppleID's for. I understand I can share apps between them if I authorize iTunes on my iMac with both ID's, but I am not quite sure about the correct way to do that. I already have the iMac authorized for AppleID#1. If I go into iTunes and click on Store/Authorize this Computer... and enter my AppleID#2 information into Account name and Password boxes, does this authorize my iMac's iTunes for BOTH ID's or does it just change the authorization from ID#1 to ID#2?
    If the former is correct, I understand the way to proceed is to xync up both iPads to iTunes and then I can drag and drop apps from one iPad's library listings to the other, right?
    If this is not the correct way to get dual authorizations, what is?
    Thanks!
    pax / Ctein

  • How to replace one char with two chars in email address policy?

    I very much like to replace the 'ß' char in the surname with 'sz'. However, applying filter '%rßsz%[email protected]' on 'Preußig' leaves me with '[email protected]'.
    So, how do I replace one char with two chars in email address policy?

    As far as I know, your only solution is to manually create such addresses instead of using e-mail address policy.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • How to share one laptop with two iPad for iTunes acc

    One laptop with two iTunes acc...

    It's possible. You just have to be very diligent about signing out of one account to use the other.

  • I used to shoot video in my Powershot S3 IS (MVI_.AVI) and load it into iPhoto, I used quicktime pro so I could convert it for emailing to family members.  That was when I was running Leopard now with Mt. Lion nothing works.  Videos do not open at all?

    I used to shoot video in my Powershot S3 IS (Format MVI_.AVI) and load them into iPhoto, I used quicktime pro so I could convert for emailing to family members.  That was when I was running Leopard now with Mt. Lion nothing works.  Videos do not open at all.  Any simple suggestions, I am not real keen on iMovie Productions and not real certain how they compress for emailing attachments.  Something simple here that I am missing?  Thanks so much.  I am a grandpa trying to share with family members far away (quickly & simply).

    I am surprised that Apple did not build a converter into Mt. Lion.
    Apple does have a converter built into Mountain Lion. It is call "Quicktime." However, in order to use this converter, you must first make sure the compression formats are playback compatible with QT. Basically, there are three levels of QT compatibility. The lowest is "Playback." These file can be played by QT but may not be conversion or edit compatible with QT. The second level is QT "Conversion" compatible. These files are playback compatible and can be converted to other compression formats using QT. "Edit" compatible media files are "Fully" compatible with QT since the can be played, converted and/or edited by QT. The main problem here is that AVI is a "legacy" file format that has not been officially supported by Microsoft for more than 11 years when it was replaced by Windows Media multimedia file/compression formats. Many of the original compression formats used in AVI files have never been transcoded for the Mac platform, use beyond system 9, or use beyond PPC platforms. In addition, some commonly used AVI codecs are proprietary or use non-standard (hybrid) profile and level combinations. In short, there is little wonder that Apple has been distancing itself from this outdated file type as it re-writes and upgrades its own QT structure to support more standardized, more scalable, more modern high definition file types and compression formats. It is really unfortunate that users continue to use this outmoded file type simply because it is freely available, easy to use, or they are simply too lazy to move on to a more modern or more efficient file types and/or compression formats.
    I tested Wondershare Video Converter Ultimate for the Mac, which seems to be the "state of the art".  I may be purchasing a new camera which might create a whole new set of variables.  This program seems to cover all bases and is great for novices.
    There are many third-party apps available if you wish to search for them. Many are even available in the App Store. Most do their job well and it is usually a matter of personal user preference as to which is best.
    HandBrake seems more suited to folks with more experience and knowledge.
    I mentioned Handbrake primarily because it is free and easy to use when you employ the included conversion presets options. (The TV options can normally be used for almost any situation depending on the source file and output requirements.) It is also excellent for more experienced users, but has a somewhat limited choice of output options as it does not access the user's system QT codec component configuration.

  • Sharing one library with two user accounts.

    I want to share one iTunes library with two user accounts on the same iMac.
    I've followed the tutorial where you move the iTunes Music folder to a shared location HD/Shared/iTunes and then pointed both iTunes to that location via the advanced menu, but only the admin account has the music. The other user account iTunes shows nothing.
    Also, I've now moved the music folder back to my area on the HD (not shared any more) and now the iTunes music folder shows all the album folders where before I guess they were hidden. Why and how do I get it back to how it was...?
    All we're trying to do is share one mac. My wife and I have our own log in user accounts, but want to have the same music and iPhotos accessible on our own set-ups.
    Thanks for any help.

    Out of interest I got this to work.
    I made a folder called 'All Music' and put all the album folders in it.
    Moved this folder to User/Shared/ and then clicked on the file, and Get Info.
    In Get Info added my wife to Sharing & Permissions as Read & Write.
    In iTunes / Advanced found the folder on my user account, and then did the same on my wife's account and hit add to library.
    I hope this was the right way to do it..... It seems to have worked.

  • How should one deal with sub-projects?

    Hello to all!
    Let me first clarify my title-question.
    On my current project I faced software malfunction [FCPX quitting] when I reached 17 minutes of building the video on the timeline. [As a reference, allow me to call this 17-minute part of the video in making as the main project.]
    Remembering from an earlier thread [? Mr. Russ being the contributor], I opted to continue the project as a separate project which I seek to call as the sub-project  Now even this sub-project is of a 14 minute duration and I have need to start a sub-project 2.
    I would now like to be guided as to how to deal with these sub-projects while editing the video and after finishing the project.
    Firstly, while editing. My present plan is to complete the project's video utilising as many sub-projects as needed, and then add the sub-projects to the main project. This done, I intend to add voiceover for the completed project. During this process, my questions are this...how do I add the sub-projects onto the main project? If I select and copy/paste the sub-project, it gets added as 'connected clips'...this is okay if one can export the project as such. But, when a voiceover has to be added, further retiming of the clips are called for and at this stage problems arise. Now, as I am writing this, it is striking me that I could make this added sub-project as a secondary storyline, get done with the retiming after the voiceover is added, and export the project. Have not done this before and would like guidance from senior contributors in this issue.
    Secondly, when the project is exported and is being archived, do I need to have all the sub-projects or delete them to save drive-space?
    Thanks in advance.
    Have a great day.
    Dr. Somanna

    Thanks Karsten for this further instructions. The present project I am working on is being done as a race against time. Faced a problem when dealing with a stack of generator clips one upon the other and each clip being given different commands regarding changes in position and rotation. Beyond the 17 minute mark, one click upon the parameter in the inspector window, and the application quit. When this quitting became a regular feature, I just remembered a thread in which one contributor wrote that he usually divides his projects into 10 minute bits before making up the whole project. Not willing to spend time further on this problem, being in a very 'creative frame mode' I simply continued working upon the project by starting up a 'sub-project'.
    Regards and take care.
    Dr. Somanna

  • Firefox will not start or bring up any window. I am exasperated, there is no one to talk to and nothing works!!! I cannot get help

    I have tried to follow recommendations - I deleted firefox and downloaded the newest version. I tried to go to help and to select something but nothing opens. I have been trying for two days to solve this and NOTHING works. With no one to talk to it is truly exasperating. The tool bar comes up but nothing on it works. I have so depended on Firefox that this is a major inconvenience. Can you please help???
    Thank you, Barbara

    Hi Barbara, could you try starting Firefox in its "Safe Mode"? To do this, hold the Shift key down while starting Firefox. Then click the "Start in Safe Mode" button.
    Does Firefox work in "Safe Mode"?
    More info: [[Troubleshoot Firefox issues using Safe Mode]]
    ''Edit: Many apologies, on the Mac, you hold down the option key instead of the Shift key.''

Maybe you are looking for

  • How do i copy one external harddrive to another?

    Ok, so i am a complete newby to Mac's. I have a 1 TB External Hardrive that has about 180 movies on it. I also have an Apple TV. I would like to copy the movies from one external hard drive to another so that I can give it to my mother for a gift. I

  • Asset management tool

    I currently run LMS, NCS and Prime Infrastructure (testing).   We're trying to figure out a way to manage all of our devices and assets that aren't on the network, on top of what LMS is configured for.   We don't want to configure the device, just to

  • Why cannot I install Photoshop 7.0 in windows 7?

    I just purchased my new computer that has Windows7 setup. But I cannot install my PS 7.0.  Is there a reason?

  • 10.6.2 sees XP, but XP won't see 10.6.2 machines

    So this seems to be the opposite problem of what everyone else is having. We have a leopard and a snow leopard machine that could see and be seen on WinXP as of Friday. Monday, the Snow Leopard machine can still connect to Win XP, but can no longer s

  • EP and Solution Manager Via Webdispatcher

    Solution Manager Via Webdispatcher Dear All, We have installed the Webdispatcher 7.4 and did the SSL setup and maintained necessary parameters to  access our Portal and ECC systems from internet and its working fine for indepedent Java and ABAP stack