Can I create two entity manager factoris in one app?

I need to develop two projects, both need JPA access to same data source.
One is an web project, the other is java se project. And web project needs to the some methods inside java se project.
I created two separate JPA set(persistence.xml and entity classes). Both project can run separately however, if I call the methods inside java se project from the web project.
entity manager inside that project won't be created successfully, says error:
oracle.toplink.essentials.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver found
I am very confident that mysql driver lib has been added for both projects.
Does anyone know what is wrong here? Thanks!

Yes. Reduce the number of FDM applications you are creating. You can have multiple target system adapters in a single FDM application (i.e. a single database only required). There is no need to create a new application for each target system.

Similar Messages

  • Can't Create Two DW Instances so...what do you do?

    I understand you can't create two instances of Dreamweaver
    (unless you have an OS that runs mult instances)
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1297532&highlight_key=y&keyword1=instances
    The reason for this is that I need to use DW to download
    large sites (frequently) which basically renders DW useless to me
    until it's done. Why not FTP the information? Because I need the
    Check-In/Check-Out information for Contribute users (so I'm told).
    So, does anyone have the same issue here, or is there a way
    around this that I just can't think of right now???
    Thanks all. Happy Friday!

    > No you can't have 2 instance of dreamweaver running at
    the same time. One
    > solution could be to use an FTP program to download your
    site. when the
    > site is completely downloaded, use site manager to make
    it one of DW.
    That will not work if he is wanting to use Contribute, as
    those files will
    not show as being checked out to the other Contribute users.
    > But I AM ABSOLUTLY NOT SURE OF THAT
    I am. It's legal.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Alain St-Pierre" <[email protected]> wrote in
    message
    news:[email protected]...
    > No you can't have 2 instance of dreamweaver running at
    the same time. One
    > solution could be to use an FTP program to download your
    site. when the
    > site is completely downloaded, use site manager to make
    it one of DW.
    >
    > The other solution is to have a second computer doing
    the download if you
    > really need to to use DW. And I guess you are allowed to
    have 2 copy of
    > DW installed as long as you are the only user. Like a
    desktop computer
    > and a laptop. But I AM ABSOLUTLY NOT SURE OF THAT.
    >
    > aka Frenchy ASP
    > "hannibalcanibal" <[email protected]>
    wrote in message
    > news:[email protected]...
    >>I understand you can't create two instances of
    Dreamweaver (unless you
    >>have an
    >> OS that runs mult instances)
    >>
    >>
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=18
    >>
    9&threadid=1297532&highlight_key=y&keyword1=instances
    >>
    >> The reason for this is that I need to use DW to
    download large sites
    >> (frequently) which basically renders DW useless to
    me until it's done.
    >> Why not
    >> FTP the information? Because I need the
    Check-In/Check-Out information
    >> for
    >> Contribute users (so I'm told).
    >>
    >> So, does anyone have the same issue here, or is
    there a way around this
    >> that I
    >> just can't think of right now???
    >>
    >> Thanks all. Happy Friday!
    >>
    >
    >

  • HT1660 Can I create a 2nd iTunes account on one PC that caters for two seperate devices for different people?

    Can I create a 2nd iTunes account on one PC that caters for two seperate devices for different people?

    For what reason would you do that?
    Simply connect the device, select the content desired to sync and sync.
    iTunes remembers the sync profile per device.

  • Can we create two POs for the same 3rd party Sales Order?

    Hi MM experts,
    Issue: Can we create two POs for the same 3rd party Sales Order
    In Third party purchase process, first sales order created with a spl. item category  and it creates the PR automatically with the Sales order material and Qty and this PR converted PO.
    They got a pur.req. for sale order on same item for same delevery date. They did not get any warning msg. saying that a PO was prviously placed against this sale order.
    How it is possible that we were able to place another PO? concern is that second PO was palced against SO which was already used & completed. they were able to place 2 POs for the same customer same delevery date. How it is possible?
    If anyone face the same issue, please let me know if you have any answer to this questions.
    Thanks in advance.
    Suresh.

    Suresh,
    It is hard for me to give you a definitive answer since you have created a customized solution.
    How it is possible that we were able to place another PO? concern is that second PO was palced against SO which was already used & completed. they were able to place 2 POs for the same customer same delevery date. How it is possible?
    Normally, the system will not do this.  A third party PR or PO will be 'account assigned' to the Sales order.  SAP standard 3rd party will not create additional purchase reqs unless there has been manual intervention.  Try searching for changes in the Sales order and changes in the original purchase order.  They may give you a clue.
    I believe the normal Item category for third party SO is TAS (I am working from memory here, I am not in front of a system).  I don't know what ZTAG does.  I confess I am not an SD expert.  You might also want to post your question in an SD forum.
    You mention two custom applications, ZMMPLAN and ZSTPMP.  These somehow have functionality that is used to help you convert your PRs to POs.  If I were in your position, I believe I would also look at these applications for clues to how they might be contributing to your problem.  And please don't send me details about these apps.  I will not comment on custom code in this forum.
    Sorry I can't be of more help.
    Rgds,
    DB49

  • Can we create two dashboard prompts for the same column in the samepage

    hi ,
    can we create two dashboard prompts for the same column on the same page,
    I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
    Any suggestions or ideas

    863997 wrote:
    hi ,
    can we create two dashboard prompts for the same column on the same page,
    I have a date column and I am trying to create 2 dashboard prompts on the same page one as from date and the other one as to date.Is this possible to create.When I am trying to create it is giving me error like cannot use same column for creating the prompt
    Any suggestions or ideasYou are correct. You cannot build two prompts on the same column. Use this link for instructions on how to build a "between prompt" because of this fact:
    http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/

  • Can I create a solution manager key without applying license

    Hi,
    Can I create a solution manager key without applying license?
    I need to know an answer to this , because I am installing a Netweaver 2004s component and during installation, I am being prompted for Solution Manager Key.
    Can I use an unlicensed Solution Manager instlallation for genereating key?
    Thanks,
    Harish

    Hi,
    Yes, for generating key, you can use the Solution Manager for which you have not installed license.
    Hope this solves your problem.
    Feel free to revert back.
    --Ragu

  • Can i create an entity bean to part of a table

    Hi there,
    I am using EJB 2.0.
    Can i create an entity bean to part of a table.
    Thanks
    Edited by: vamseebobby on Nov 5, 2007 11:11 AM

    of course,provided the other parts left out have not constraints.
    sumelong

  • Can i create two playlist for two i-pods

    can I create two playlist for two I-pods

    Hi rcranford,
    Welcome to the Apple Support Communities!
    You can create different playlists in iTunes on your computer and sync only the specific playlist you want to each device. Please use the following article for information on creating playlists in iTunes.
    iTunes 11 for Windows: Create a playlist
    http://support.apple.com/kb/PH12340
    Have a great day,
    Joe

  • ITunes - Can I Create Two Databases???

    I've loaded the software, and all is fine...
    but if wanted to use 2 Ipods (ie. his and hers) - can I create two libraries - so we each have our own material on our IPODs?

    It might be easier with playlists? A playlist per iPod? Or a few playlists per iPod. You can choose which Playlists to update with when you plug in your iPod.

  • Can Designer generate ADF Entity Objects, View Objects and Apps Module ?

    Hi all,
    On what way can Designer integrate with JDeveloper (+ ADF) ?
    Can Designer generate ADF Entity Objects, View Objects and Apps Module ?
    Thank you for your help,
    xtanto

    Designer itself has no direct integration with JDeveloper. However, there are three options. First of all, you can get a JDeveloper extension (download this separately) that lets you create a Connection to a Designer repository. From that Connection you can find modules that you defined in Designer and generate Entity and View objects for the tables and columns that you used in those modules, and an Application Module. It does not create JSPs or other user interface objects.
    Another option is to buy JHeadstart from Oracle. This contains a set of code generators and ADF extensions that include an ability to get information from a Designer repository. JHeadstart works fine for non-Designer users too, but was built by the same people who wrote Designer Headstart - they know the repository API intimately.
    The third option is to download Oracle Designer Extension Builder (ODEB) which was just recently made available. This is a product of a collaboration between Designer users from the Oracle Development Tools Users Group (ODTUG) and Oracle to extend the capabilities of Designer with user written tools and utilities. You could use ODEB to write your own generators for ADF Business Components. Or you could wait and see if someone else in the user community does this. I hope that you or whoever does such a generator will be willing to share it with us all.

  • I bought my daughter an ipod. Can I have two seperate itunes libraries on one computer? If so, how do I set this up?

    I bought my duaghter an ipod. Can I have two seperate itunes libraries on one computer? If so, how do I set this up?

    I followed these instructions & have created a new library file. However, all my music now appears in the new library as well as my own. (I bought my daughter an ipod nano for christmas & want to separate itunes libraries on one computer). How can this be so difficult?

  • CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?

    CAN YOU HAVE TWO I TUNES ACCOUNT ON ONE COMPUTER?

    The problem with making separate accounts is that this is a laptop, so likely not a huge hard drive, and if the three iTunes libraries need to have a lot of the same music (because everyone or two or three like some of the same stuff) you end up with double or triplicate copies of the music on the hard drive eating up drive space. Since they don't use his laptop normally, creating more accounts (with all the associated files and drive space usage each account would eat up) it probably isn't worth it.
    Instead, the best approach is like Chris said, to make playlists for the girls in the main library and then set up the various iPod to either sync everything (if big enough) or sync only specific playlists (if not big enough).
    Alternatively, they can set their iPods to manual syncing and then when Dad is visiting they can hook up their iPods and "shop" the library and drag in whatever they want to add to the iPods and delete what they no longer want.
    Patrick

  • Can you have two slides shows on the one interactive page?

    I'm just new at learning interactive pdfs in indesign so sorry if this is common knowledge. I know how to create a slide show on a page, but can you have two slide shows on the one page or more for that matter? (Ideally I need 3.) Each slide show has its own set of images and buttons.

    Just :http://www.youtube.com/watch?v=Dm0aeMUPZ4U
    But I'm happy to create them a different way if needed be.

  • Creating two variable/selection screens in one BW Report

    Hello Experts,
    Can I create two variable screens in one BW Report?
    For EX:     
    Variable screen 1 (For Chars/KF)
    XXXX     :     -
    XXXXXX     :     -
    Variable Screen 2 (For Exceptions and Conditions)
    XXXXX     :     -
    XXXXX     :     -
    also How can I change the LOW & HIGH variable to parallel.
    I have percentage KF. when I want to display the variable (Between) values in parallel.
    EX: XXXX : -
        XXXX : -
        to
        XXXX:------     TO XXXX:----
    All inputs are much appreciated and the full reward points will be awarded.
    Thanks,
    London

    Hi Londener,
    1 You cannnot create variables for Keyfigures,
    Eventhough if you create N Number variables, All variables disaply at one shot.
    OR Let me know your exact requirement.
    Please assign points if it is helpfull.
    By
    CCC

  • HT204053 can you have two separate iCloud accounts on one iMac device?

    can you have two separate iCloud accounts on one iMac device?

    You can have only one iCloud "user configuration" per local user on the Mac. Who the local user belongs to doesn't mind. Since it's a local user it's not related with who actually uses it. So let's say you want to set up Photo streaming using your iCloud user, just configure iCloud (under System Preferences) the same way you did on your phone and you're done.
    But, beware: if you're only interested in synching photos, uncheck everything else when configuring iCloud on the Mac, otherwise you will merge, for example, your husband contacts, calendar and mail with those on your phone.
    If you want to avoid any problems you can easily create another local user on the Mac with your name, under System Preferences, System, Users & Groups. After you create the user, logoff. The Mac will ask if you want to disable autologin (since there's more than one user that can log in now), answer yes and you will be presented with a logon screen. Click on your account name, insert the password and configure iCloud to sync with your phone.

Maybe you are looking for

  • Can't back-up to ext hard drive (Error code CE-37850-3)

    Since the 2.55 update I haven't been able to back-up my saves to my external hard drive. I used to do this regularly as my online storage is full. Now when I try it I just get the error code CE-37850-3. Have tried unplugging and reconnecting the hard

  • Problem with Visio Plug-in Rendering All Layers

    Hey everyone I've been beating my head against a wall and I'm in need of some major help. I have a Visio diagram that has a lot of layers. I have 2 generations of this diagram. The first generation works without any issue. The second one, however fai

  • Can I check that my iphoto book was delivered?

    I am trying to  verifiy that my iphoto book was delivered... It was a gift and I haven't heard from the recipient, but I would like to know if it is delivered rather than ask her. Is there a link to iphoto book order histories? Or such? Thanks Tom

  • Can the trim size appear on the preflight report?

    I would like to make a preflight report that includes the trim size of the pdf. This is included in the results portion of the preflight under Overview, however I'm not sure if I can get this on the pdf version. Is this possible?

  • Windows 7 problem with EFS (Encrypting file system)

    Hello colleagues! I think this topic is related more to the security. The problem is a bit unusual and google doesn't give me a clear answers, but maybe anyone came across with similar problem... In general, I suspect that my problem is EFS (Encrypti