EJB 3.0 with multiple projects

Hi all,
I'm using EJB 3.0 in JDeveloper 10.1.3.1. and it's ok. All my entities and session beans are on a project. I have a project with unit test (JUnit witch Cactus) and another project with JSF.
I'd like that when I ran Unit project the entities use the test databaset. And when a ran the JSF project the entities use the developer database.
I'm trying change with the ejb-jar.xml in all projects, but isn't working. If I use ejb-jar.xml only in entities projects, I could change the IOC for annotations to xml file.
Any ideia? Sample? Help? Any on?
Thanks a lot!
Luciano
Ps.: sorry my english. :(

But Rob hasn't given any reason why it cant be used and this answer by Rob has been posted in the year of 2006 .....
I would like to know whether its possible thru WLS 9.2 and if so the reason for the same.

Similar Messages

  • Passing a value from one page to another with multiple projects?

    Hi,
    I am trying to do something and I am not quite sure what I may be doing wrong. Situation is this:
    I have 1 project which is our Model, deployed into a .jar and imported successfully into the main project. No problems with this.
    I also have another project for editing profiles, in it it contains a taskflow running off of page fragments to accomplish a CRUD design. This is also deployed and imported into our main project successfully. It has a parameter value that should be detected upon entry into the pageflow called inEntityID.
    I have our main project application which has both imported .jar files into the library.
    I am using the unbounded adfc-config Flow to make sure that the pages can see each other. They can.
    If I use no data being sent from my main page to my edit page I can see both the main page fine and what would be a working region that is displaying the task flow from our editing project. If I attempt to send a value from my main page to the edit page it will not show up.
    ADFC looks like so: MAIN goEdit>EDIT
    Code snippet from my button which gathers data from the main page table to send to the edit page via action goEdit
    <af:commandToolbarButton text="Edit Entity"
    id="ctb3" action="goEdit">
    <af:setPropertyListener type="action"
    to="#{pageFlowScope.sendID}"
    from="#{bindings.PseLegalEntityId.inputValue}"/>
    </af:commandToolbarButton>
    PseLegalEntityId is the value that I have named which is an attiributevalue from my mainPageDef which links to the primary key that I want to send to edit.
    The paramenter that I have set in the region is set as such: Task Flow Binding Parameters : id* inEntityID | Value* #{pageFlowScope.sendID}
    I am using Jdeveloper 11.1.1.2.0
    Any insight on what I may be doing wrong would be helpful. Thanks in advance,
    PSP

    Is more information needed to answer this? if so let me know which.
    Thanks,
    PSP

  • Save/Autosave with multiple projects open?

    For one show our editor is working on, she may have upwards of almost 6-7 projects open at any one time.
    An odd thing happened where her computer crashed, and her last autosave was from one hour ago. It's odd because the autosave time is set to occur every 30 minutes.
    But aside from that, does a 'Save All' command save all open projects? Or does it perhaps only save projects with open sequences?
    What about autosave? Does it autosave anything that's open, or only certain projects?
    Does the time it takes to complete an Autosave equivalent to the time it would take to normally 'save' a project?

    Autosave should save all open projects. once it reaches the limite for the number of saves, it should throw away the oldest ones as it creates new ones. I'm not sure what it does when it reaches the limit for the number of projects. perhaps check this preference.
    It sounds though as if autosave has stopped doing its thing for some reason. This seems to happen with even the most current versions of FCP from time to time. I have no idea why. Trashing prefs should get it to work correctly again.
    Hope this helps -
    Max Average

  • Working with Multiple Projects

    I recently started working for a company that has multiple
    webhelp projects created in robohelp v6. The projects are linked
    together under a shell merge so the TOC will display correctly. We
    have upgraded to v7 and will be converting all the projects over.
    What I would like to do is bring all the projects together
    under a "super" project which will allow me to run one report and
    search all "subprojects" while still allowing people to work on the
    individual projects at the same time (checking them out through
    source control).
    Is this possible? If so, how do I do it?

    Welcome to the forum.
    What do you mean by "shell merge" other than merged webhelp?
    Merged webhelp merges at runtime so at the authoring end each
    project is unique which means the RH reports relate to just one
    project. No way I know of getting RH to report across the whole
    merge.
    If you are using source control, you don't need merged
    webhelp to allow different authors to work on different topics. The
    rationale for merged webhelp would be delivering different output
    combinations to different end users.
    Bring all the projects into one though could be interesting
    if there are cross project links as their relationship would
    change.
    If it ain't broke, don't fix it seems like good advice.
    There's a topic on merged webhelp on my site. It is based on
    X3 dialogs but the methods are still valid including for RH7,

  • 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

  • I am trying to upload a project with multiple tracks to iTunes.  only the first track seems to be uploading. what do I do?

    I am trying to upload a project from garageband with multiple tracks to itunes but only the first track is uploading. what do i do to make them all upload together?

    Couple of questions:
    What type of Tracks are they (MIDI, AUdio, Drummer)?
    WHen you play your Project, do You hear all Tracks playing?
    What happens when you change the Track order, i.e. A-B-C to B-C-A? WHen you export, do you still get only one Track and if so, is it talways the first Track in the list or a specific Track regardless if it is the first, second, or third?
    Are you sure you don't have any Tracks Muted or Soloed (which auto-mutes the other Tracks)?
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Is it possible to save a Photoshop project with multiple tabs (inducing images) for later use. Now, when I close Photoshop, it ask to save each tab separately and they are not staying in the project for later usage. Thanks in advance for you help.

    Is it possible to save a Photoshop project with multiple tabs (inducing images) for later use. Now, when I close Photoshop, it ask to save each tab separately and they are not staying in the project for later usage. Thanks in advance for you help.

    You should ask in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • I made a project with multiple tracks and had it all panned and mixed.  Now it's only playing in the right speaker.  Not even regestering a left side in the master volume?  What happened, how can I get both sides back?

    I made a project with multiple tracks and had it all panned and mixed.  Now it's only playing in the right speaker.  Not even regestering a left side in the master volume?  What happened, how can I get both sides back?

    Thank you for that info.
    For video, the codec is MPEG-4 Video (XVID) and for audio it says MPEG Audio Layer 1/2/3 (mpga).
    There are two issues with that file:
    The first is the Xvid CODEC (not meant for editing), and then the MPEG Audio/MPGA. I would convert that file, to something that is more editable.
    Good luck,
    Hunt

  • Problem with multiple output for software simulated project

    When a software simulated project in captivate is published more than thrice, the output is not generated properly, i.e not in-line with the project. Is this a problem with my system or due to some settings in captivate which is not activated?

    Thanks for the suggestions Malcolm,
    They're very handy app's for sure, but unfortunately they didn't fix the problem.
    Detour DID overide the routing for iChat's general bleeps & noises, but not the audio stream from video conferences (which is the problem I want to fix).
    If anyone has any other suggestions for fixes, I'd appreciate it!
    Thanks again,
    Jason

  • ITunes setup on a NAS with multiple windows users - how?

    iTunes setup on a NAS with multiple windows users?
    I am very confused on what is the best way to handle this setup for my friends family.  Any help would be appreciated.  Sorry in advance as I know this is a long winded post - I have a feeling this will help others faced with the same issues or questions.
    CURRENT SETUP
    I have three new Windows 7 machines networked (two desktops and one laptop) that have four users on each - as busy family with children who need the computers for homework, projects, games, etc...  The goal of this setup is that any user can log onto any computer and have there documents available to them no matter computer was free to use.  I set this up using the library function in Windows 7 and seems to work pretty well.
    I have put a Buffalo Linkstation NAS on the system as well.  This was going to serve two purposes 1)  run some backup software to protect the computers and 2) consolidate the iTunes content in one place for all users.  There is also an iPad in the home that I should would be better served by accessing the content on the NAS without requiring any of the computers being on.  Dave is thinking about getting some other playback devices like Apple TV so thought a NAS would be a good way to go.
    CURRENT ITUNES SETUP - I have created a new iTunes library on the NAS by holding the SHIFT button down while starting iTunes and pointed to that folder on a Share on the NAS.  There was no music on the system at the time as we are planning to copy this over from an OLD machine that is now not being used.  I have also authorized all the computers and turned on the home sharing feature (although I am not sure what good that does).
    This “shift” button trick seesm to also point the default directory there without point to it in the advanced setup tab of iTunes.
    I then synced one of the iPods with purchased content on it and synced that to the library after asking me to do so before an update.  All the content showed up in the library and was playable - awesome.
    I then logged into each user on each machine (yikes) and installed iTunes  and used the “shift” trick to connect each users iTunes to the database on the NAS.  Everything seems to work - but I have not tested it thoroughly.
    SUMMARY
    3 new Windwos 7 networked machines
    4 identical users on each machine
    1 TB Buffalo linkstation
    iTunes setup with the folder on a SHARE
    all user’s itunes connected to the iTunes folder on the NAS
    all computers authorized with home sharing turned on.
    one iTunes user account signed in on each machine
    multiple iPods and one iPad in the system
    QUESTIONS/CONCERNS
    Is there a better way to do this on a NAS?
    Would home sharing be better in some way?
    I understand the NAS should show up under the shared section in iTunes - I assume that would mean that would mean each user has an iTunes library on their documents?
    I have read that there may be corruption issues if users on the different machines try to access iTunes at the same time.
    Will there be any issues syncing that various iPods with?
    Ugh - sorry for the long post and all the questions.  I am just trying to find the best way to do this.  I wish Apple would put out a best practices document for setups like this.  Thanks in advance.

    This is a user to user support forum. Your fellow users can offer solutions or workarounds based on their experience with the application. If you think it should work differently drop a line to iTunes Feedback.
    For reasons unknown Apple haven't chosen to allow iTunes to be suspended in one profile and active in another. My recollection is that this applies even if each profile has a different library, although it is some time since I've committed a personal test.
    I'm not sure why my suggestion make less sense that your current approach?. As I understand it currently everybody is either signed into their own account when they can do something other than work with iTunes, or they sign into the special iTunes account where they can't access any of their other stuff. You don't have to disable fast user switching. Follow exactly the same steps, but make sure everyone closes iTunes before turning the computer over to another user. Disabling fast user switching helps to enforce that action.
    tt2

  • Using a seagate external drive with multiple macs

    i got a 1TB seagate external hard drive for backup and transfer purposes... it had a little program to help set it up and i set it up for use with mac and pc ( only onther option was stricty this computer.) it works on my computer and a pc but when i tried transfering files from another older mac i have it showed that i could only read on that computer...
    how can i get it to work with multiple macs...?

    I have the oldest macbook (1.83. 2 gigs ram, 60 gig internal hard drive)
    I have all my logic content on my external maxtor firewire 400 drive (usb 2.0 is actually faster than firewire 400) and everything is fine. the good thing is if your external drive has 7200rpm, but the ones with 5600rpm should do as well.
    Once you drag your apple loops to logic from your external drive, logic will remember for the next visit. And when you are opening a project which is on the external drive , just find it with logic finder and all should be fine.

  • A Tip for using EJB 3.0 with WebLogic Ant Tasks

    I started out writing this up as a problem, but then I found the answer so I'm, posting a tip instead.
    When I tried to write an EJB [stateless] using EJB 3.0 in my legacy Weblogic ear project I started getting this error:
    <pre>
    No EJBs found in the ejb-jar file 'test'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    </pre>
    This is why: wlcompile will put the class files in the App-Inf/classes directory unless it finds an ejb-jar.xml file in the META-INF directory for the module it is working on. With EJB 3.0, I wasn't using an ejb-jar.xml file because it was unnecessary. Later, Appc runs and it complains <b>because there are no classes module directory, they went into the shared ear folder instead.</b>
    Here's I how it working again: Use javac [not wlcompile] to compile the EJB 3.0 module and make sure that the class files go into the correct module directory. Then you can use wlappc to generate all the associated files for the EJB. I have sucessfully deployed an ear file that uses both EJB 2.x and EJB 3.0 with this approach.
    I wish Weblogic's own ejb3.0 sample application used their split directory deployment.
    Good Luck.
    John Aronson

    Hi John,
    I am working on development an enterprise application using EJB 3.0 on Weblogic 10.
    While developing, I am keeping all my classes (from ejb's as well as web) into APP-INF/classes directory. It is working fine for Web and ejb 2.0 packages, but ejb 3.0 packages, I get the following error when I keep my ejb 3.0 beans classes in APP-INF/classes directory.
    No EJBs found in the ejb-jar file 'customer'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    One solution is to keep the classes under customer ejb directory, but I wan tto keep all the classes in APP-INF/classes directory so that when using Eclipse IDE I can output all compiled sources into APP-INF/classes directory.
    Has anyone faced this situation? Any suggestions to fix this issue?

  • Having trouble with multiple user accounts

    I am still getting used to Aperture and am having trouble with multiple user accounts on my Mac.
    My wife and I have separate accounts on our Mac, and both have Administrator rights. We keep our Aperture library in the "Shared" folder, and I have made sure that both she and I have read/write capabilities on the Aperture library.
    However, she has difficulty creating new projects, saving data, and viewing thumbnails in Aperture. Whenever she creates a project, it does not save into Aperture, and cannot be viewed by any user. In addition, changes she makes to photos do not save. She also cannot view thumbnails of any photos (although she can see the photos in the viewer).
    Are there any changes I need to make to the user accounts so she can have all these capabilities?
    Many Thanks.

    Rather than having the Aperture library reside in the shared folder, keep it within a folder residing at the top level of your mac, eg.
    I actually keep mine on one of my RAID disks.
    Tony

  • Problem with multiple Toplink/JPA apps in same server

    Anyone have experence of running serveral Toplink/ EJB-3 Web apps in the same server (OC4J, alas)?
    We seem to get a problem with the second app failing to initialise toplink, with an entity not found message. Each app runs OK on it's own.

    Yes, they access the same datasource and most of the tables overlap.
    We're thinking it might help to have common entity classes and put them in a shared library, but I don't know if this is relevant (setting up shared libraries complicates testing and tends to snowball, I reckon we need about 15 jars all told).
    I''ve had some funnies on OC4J before which I think may be to do with it's use of ClassLoaders, for example I initially put persistence.xml in the libary jar with the data model, but for some reason I get the entity not found error that way. It only seems to work if it's in the classes folder.
    For the moment we're getting arround the problem with multiple OC4J instances in the server.

  • How do I save Icon templates with the Project files?

    My project files are stored in a folder, say, "My Documents\LabVIEW\My Project", and this folder, in turn, is saved under (Sub)Version Control.  I'd like to include a sub-folder called "Icon Templates" that could contain the icon templates I'm using in this project, but they seem to be "forced" into "My Documents\LabVIEW Data\Icon Templates" (almost the same, but the "owning folder" is different).
    Is there any way to change, preferably on a Project-by-Project basis, the default location for Icon Editor templates?  I tried to figure this out, and saw that one could change where "3rd Party" templates were stored, but that didn't seem to do anything (maybe because I don't understand the concept of a "3rd Party"?).
    An important (to me!) reason to accomplish this is that I want to commit my new icons when I commit the rest of the Project, and have them appear when I checkout the project on another machine (or do an update from the Repository).
    Suggestions welcomed ...
    Bob Schor

    Well, I thought of this as well.  I did change Default Data Documents (which seems to be where Icon Editor expects to find its Templates file) to My Documents\LabVIEW (instead of LabVIEW Data), and that worked (sort of).  But that still doesn't solve my problem.  I have multiple projects -- My Docs\LabVIEW\Project 1, say, and My Docs\LabVIEW\Project 2, and want to have a specific set of icon templates for each stored, say, as Project 1\Icon Templates and Project 2\Icon Templates.
    My problem is two-fold.  First, there is a setting in Icon Editors, Tools, that seems to be designed to let you designate where your "special" templates are located, which I've set to, for example, My Docs\LabVIEW\Project 1\Icon Templates.  However, when using the Icon editor, these templates never appear!  It's as though it's still "locked" into the "3rd Party" sub-folder of the parent Icon Templates folder.  Second, even if this worked (which it doesn't), is there a way to "embed" this setting as part of Project so that the settings "stay with the Project" (and can thereby be customized)?  One important reason to do this is to simplify organizing Projects and folders on disk -- I keep them "together" (use the same structure for both, so a Project is contained, on disk, inside a single set of nested folders), which greatly simplifies and facilitates using Version Control to manage development.
    Thanks for the reference.  I didn't know about all of the symbolic names.  It does appear that they are only used in the VI Search Path entry, correct?
    Bob Schor

Maybe you are looking for

  • Labels in graphics GFW

    Hello to all. I'm trying to use labels in graphics columns but the text that I want don´t appear in output collumns. For example, if I execute the standard program GFW_PROG_POINT_WITH_LABEL the label for the second collumn is "40", but the code have

  • Applicatio​n Builder Performanc​e?

    Hello all. Can anyone tell me if putting your application through the Application Builder has a real improvment on performance. Or does it just cut the size of the exe. down? Regards, Steve Drake

  • Why is the next message no longer selected when I delete/move the previous message?

    I noticed yesterday that after I delete or move a message in a folder the next message is highlighted but it's grey, as if the function has moved to a different section. It's far more efficient if I can move from one message to the next and delete/mo

  • Inserting Blob in PL/SQL using select from other table

    Oracle 11.1.7.0: I am trying to insert blob column as defined below but not able to. Is this the right way of inserting blobs? set serveroutput on spool a.dat DECLARE BEGIN   for i in 1..2   loop      for j in  (select r_payload                      

  • Pre-book ( Advance booking ) document id's numbers in SAP DMS

    Hi All, Please help me, How to create a "'pre-book' ( Advance booking ) document id's numbers in SAP DMS". Actually they want to auto create new document info records using transaction CV01N. Thanks, Subbu Edited by: Subramani Duraiswamy on Apr 29, 2