Kodo doesn't like more than one EJB JAR

Hi,
If EJB JAR A has persistent class Apple and EJB JAR B has persistent class Orange, then A can't open
a PM because the registered class Orange can't be found, and B can't open a PM because the
registered class Apple can't be found.
This can't be right.
David Ezzio

David,
There is one rather roundabout way that you should be able to set WarnOnPersistentTypes in Kodo JDO 2.3.0.
Our configuration interface provides a DictionaryProperties dictionary configuration string. This string contains space-delimited key-value pairs that are set via reflection when a dictionary is created. So, if you set the DictionaryProperties configuration setting to 'WarnOnPersistentTypes=true', the right thing should happen.
Note that you may need to muck with the ra.xml file to let JBoss know that the DictionaryProperties setting exists.
-Patrick
David Ezzio wrote:
>
Hi Marc,
For some reason, this property doesn't seem to always take. Particulary, the schematool seems to
ignore it even when it is in the system kodo.properties. In the case of EJB's how is it supposed to
be set? I can't set it in the kodo-service.xml because of the JBoss issue with boolean properties.
David
Marc Prudhommeaux wrote:
David-
You need to have
com.solarmetric.kodo.impl.jdbc.WarnOnPersistentTypeFailure set to true
in order to run in an EJB container, otherwise Kodo tries to
validate all the persistent classes on startup (which will fail, since
EJB jars typically are loaded in a different ClassLoader than other EJB
jars in the same environment).
In article <[email protected]>, David Ezzio wrote:
Hi,
If EJB JAR A has persistent class Apple and EJB JAR B has persistent class Orange, then A can't open
a PM because the registered class Orange can't be found, and B can't open a PM because the
registered class Apple can't be found.
This can't be right.
David Ezzio--
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

Similar Messages

  • More than one ejb in ejb-jar.xml ?

    Can i have more than one ejb in a jar file ??

    Include session and entity beans in your ejb-jar.xml with <session> &
    <entity> tags.
    <enterprise-beans>
    <session>
    </session>
    <entity>
    </entity>
    </enterprise-beans>
    David wrote:
    Can i have more than one ejb in a jar file ??

  • I have Elements 10. It doesn't handle RAW. It also doesn't allow more than one Fine JPG to be downloaded at a time. Can this be fixed with a download, or am I stuck to upgrade to Elements 13?

    I have Elements 10. It doesn't handle RAW. It also doesn't allow more than one Fine JPG to be downloaded at a time. Can this be fixed with a download, or am I stuck to upgrade to Elements 13?

    philips69374220 a écrit:
    I have Elements 10. It doesn't handle RAW.
    Yes, it does.
    FAQ: Will Photoshop Elements work with my camera, or Why won't my raw files open?
    It can handle the raw files covered by the ACR 6.7 version.
    For newer cameras, you can use the free Adobe DNGconverter to batch convert a folder into the DNG raw format that PSE10 can read and edit.
    (see the link in the upper document)
    Fine JPG to be downloaded at a time.
    All versions of Elements can open many jpegs at the same time, and the organizer lets you import as many as you want?

  • Totals page doesn't come more than one time

    I'm creating a tabular report with a summary columns.
    When using the report wizard, the totals page comes only one time, if i want to update the summary columns, or recreate again, the totals page doesn't come.
    How can i get the totals page again?

    Summary columns is related to the Data wizard not to the report wizard,
    So, if we use Ref Cursor query to create the Data Model we should create summary columns mannualy.

  • IDLE URL in 8941 doesn't accept more than one parameter

    Hello,
    I created a service that start on idle url.
    Example of the URL
    http://callmanager/service.php?a=11&b=22&c=33
    The problem is: in the 7941 phone model works, but in the 8941 phone model doesn't works.
    In the 8941 model the XML service can get only the first parameter a=11, and ignores the b=22 and c=33.
    In the 7941 model the XML service can get all parameters correctly.
    Someone knows about this problem?
    Thanks,
    T. Sakata

    hi,
    Check these Two Defects :
    IP Phone Freezes when pushing XML - CSCtt07888
    IP Phone Freezes with CiscoIPPhoneMenu - CSCtt37837
    Hope this helps!
    Thanks,
    Karthik

  • KT4 Doesn't Like More Than 100mhz

    New KT4 - new XP2400 - new 512Mb PC2700. When changing the frequency to anything other the default of 100Mhz, the boot doesn't work and you have to reset the CMOS in order to boot. The cpu is defintely 2400 (says so on the chip), the ram is labelled PC2700. Any ideas please? Thanks

    As far as i remember, XP2400's run at 133Mhz. Bringing the machine higher then 133 for those CPU's would be considered overclocking. Try setting it at 105, then 110, and then see if it can take 133. 133*2 is 266.

  • Delete Command button doesn't take more than one parameter while update command does

    Hi,
    Does anybody have an idea WHY sharepoint does not send the parameter information to a delete command while the exact same parameter is being sent to the Update command?, the data is being pulled from an asp:TextBox bound  to the 'comments' field in
    the data source which happens to be the field I need to update, the code works for Update commands but not for Delete commands. Unfortunately I have to use sharepoint designer because SP is restricted at work, so I can't write code behind the scenes. I would
    appreciate any help, here's my code
    <%@ Page Language="C#" masterpagefile="../_catalogs/masterpage/v4.master" title="Test" inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full" %>
    <%@ Register tagprefix="SPSWC" namespace="Microsoft.SharePoint.Portal.WebControls" assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="cc2" namespace="Microsoft.SharePoint.WebControls" assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="WebUI" namespace="Microsoft.Office.InfoPath.Server.Controls.WebUI" assembly="Microsoft.Office.InfoPath.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <%@ Register tagprefix="WebPartPages" namespace="Microsoft.SharePoint.WebPartPages" assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
    <asp:Content id="Content1" runat="server" contentplaceholderid="PlaceHolderMain">
    <asp:SqlDataSource runat="server" ProviderName="System.Data.SqlClient" UpdateCommand="sp_updateStartedApprovals" ID="SqlDataSource2" ConnectionString="Data Source=MCARLOSJ2;User ID=sa;Password=****;Initial Catalog=MyDB;" SelectCommand="SELECT * FROM mainView " __designer:customcommand="true" UpdateCommandType="StoredProcedure" DeleteCommand="sp_rejectApprovals" DeleteCommandType="StoredProcedure">
    <UpdateParameters>
    <asp:Parameter Name="comments" Type="String"/>
    <asp:parameter Name="id" Type="Int32" />
    </UpdateParameters>
    <DeleteParameters>
    <asp:Parameter Name="comments" Type="String"/>
    <asp:parameter Name="id" Type="Int32"/>
    </DeleteParameters>
    </asp:SqlDataSource>
    <asp:GridView runat="server" id="GridView1" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" DataKeyNames="id" GridLines="None" ForeColor="#333333" CellPadding="4">
    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    <Columns>
    <asp:boundfield DataField="description" HeaderText="Status" ReadOnly="True" SortExpression="description">
    </asp:boundfield>
    <asp:boundfield DataField="Employee Last Name" HeaderText="Employee Last Name" ReadOnly="True" SortExpression="Employee Last Name">
    </asp:boundfield>
    <asp:boundfield DataField="Employee First Name" HeaderText="Employee First Name" ReadOnly="True" SortExpression="Employee First Name">
    </asp:boundfield>
    <asp:boundfield DataField="Pending approval" HeaderText="Pending approval" ReadOnly="True" SortExpression="Pending approval">
    </asp:boundfield>
    <asp:boundfield DataField="Atnmt %" HeaderText="Atnmt %" ReadOnly="True" SortExpression="Atnmt %">
    </asp:boundfield>
    <asp:boundfield DataField="Country" HeaderText="Country" ReadOnly="True" SortExpression="Country">
    </asp:boundfield>
    <asp:boundfield DataField="comments" HeaderText="comments" ReadOnly="True" SortExpression="Comments">
    </asp:boundfield>
    <asp:boundfield DataField="processStartedDate" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Date Opened" ReadOnly="True" SortExpression="processStartedDate">
    </asp:boundfield>
    <asp:boundfield DataField="Due Date" DataFormatString="{0:MM/dd/yyyy}" HeaderText="Due Date" ReadOnly="True" SortExpression="Due Date">
    </asp:boundfield>
    <asp:templatefield>
    <ItemTemplate>
    <asp:TextBox runat="server" id="comments" Text='<%# Bind("comments") %>'/>
    <asp:LinkButton runat="server" Text="Approve" id="Button1" CommandName="Update" CausesValidation="False" />
    <asp:LinkButton runat="server" Text="Reject" id="Button2" CommandName="Delete" CausesValidation="false"/>
    </ItemTemplate>
    </asp:templatefield>
    </Columns>
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <PagerStyle HorizontalAlign="Center" BackColor="#284775" ForeColor="White" />
    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
    <EditRowStyle BackColor="#999999" />
    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
    </asp:Content>

    Hi,
    you have multiple options here:
    1) upload as a script:
    a) save the statements in a file
    b) go to sql workshop > sql scripts
    c) upload script and run the script
    2) run the script line by line in the sql commands window directly:
    a) go to sql workshop > sql commands
    b) copy all statements there
    c) highlight the first statement with the mouse
    d) click "run" or press <ctrl>+enter
    3) use sql developer
    a) go to http://www.oracle.com/technology/products/database/sql_developer/index.html
    b) download and install
    c) connect to XE
    d) run the statements there
    Regards,
    ~Dietmar.

  • More than one entry in /etc/defaultrouter

    To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route? Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?
    $ cat /etc/defaultrouter
    10.8.60.1
    10.8.127.1
    $ netstat -nrv
    IRE Table: IPv4
    Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd
    default 0.0.0.0 10.8.60.1 1500* 0 1 UG 761582 0
    default 0.0.0.0 10.144.128.1 e1000g3 1500* 0 1 UG 3546367 0
    10.8.60.0 255.255.252.0 10.8.61.22 e1000g0 1500* 0 1 U 2703697 0
    10.144.128.0 255.255.252.0 10.144.131.243 e1000g3 1500* 0 1 U 119119 0
    224.0.0.0 240.0.0.0 10.8.61.22 e1000g0 1500* 0 1 U 0 0
    127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232* 0 52 UH 22475898 0
    $

    john_lilburne wrote:
    To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route?Probably not what you want.
    Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?Round robin.
    What do you mean by "no device"? You have to have an IP destination or the route couldn't be configured. But that IP destination doesn't have to be currently available. Unplugging a cable doesn't take an IP interface "DOWN", nor does it modify the routing table.
    If you need dynamic, failure-resilient routing, then you'd have to run a routing update protocol. The contents of /etc/defaultrouter are for static routes.
    Darren

  • How can I set up more than one iCloud account on my pc?

    I would like more than one photo stream to save to my pc.  I have an iCloud setup up on my pc so that my pc can save the photo stream pictures from an ipad and iphone (each have the same id).  I also have a second iphone with a separate icloud/apple id, and I would like pictures from that photo stream to be saved to the same pc.  Is this possible to do?  I don't see any options to 'add an acount' in my iCloud control panel.

    Any one user account on the Mac can have more than one iCloud account signed into, but only the first one set up will sync Calendars and Contacts. You would probably be able to enter the second account's server details manually into the Mail application to that it would access both accounts: setup details here:
    http://support.apple.com/kb/HT4864
    However the best way to do this is certainly for each of you to have your own user account on the Mac, setting up Fast User Switching to prevent having to keep logging in and out - then each account can set up the owner's iCloud account and do all the syncing and other facilities.

  • How to display more than one documents on windows 8 desktop?

    how to display more than one documents on windows 8 desktop?

    Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
    If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store.

  • More than one upload file at a time?

    Say if I have like more than one file upload field in my
    form, is there a way where I can do the upload of all the files
    together just like what I usually do in HTML?
    I am having the problem to do this because apparently, PHP
    only receives the $_FILES['Filedata'], which is only one of the
    upload fields that I have on a form. So it only allows a single
    upload when a submit button of a form is clicked on.

    Thanks mhartnett.
    I have looked at the example on the link you gave. According
    to the example for the FileReferenceList in the documentation, it
    seems to make multiple or rather separated requests to the
    server-side upload script.
    So for example if I have 3 files to upload, the script will
    call the the upload() function of the FileReference class thrice
    with the URLRequest(which is the server-side upload script). So in
    this case, my server-side script that is handling the upload will
    only upload one file at one time.
    Is there a way where I can have say all the 3 files sent
    together to the server-side script, and then have them uploaded all
    at once within the server-side script itself?
    So say my PHP file, I could have access to like
    $_FILES['Filedata1'], $_FILES['Filedata2'] and $_FILES['Filedata3']
    together at one request.

  • New iTunes on Mac doesn't allow me anymore to select all songs and 'Get info' to adjust the volume, like the old one. It says"your selection contains more than one type of media". They are all songs! Help please!

    New iTunes on Mac doesn't allow me anymore to select all songs and 'Get info' to adjust the volume, like the old one. It says"your selection contains more than one type of media". They are all songs! Help please!

    Raya Alfa wrote:
    ...there are some that are mp3 and it will be extremely hard to pick them from the lot.
    Not true. Select "Kind" as a sort category by right clicking the headings
    Then click to sort by Kind
    If your Import Settings are for Apple Lossless, AIFF, AAC or whatever the majority of your files are, convert MP3s to that file type.
    I've presently got 17,000+ files in my library, and they're ALL MP3 or M4B(Audiobooks). If they weren't when I got them, I converted them.  Saves a LOT of hassels with just this type of situation. Besides I have two non Apple MP3 players that WON'T work with other file types besides MP3 so, EVERYTHING I have has to be MP3.

  • Can a session EJB be accessed by more than one client?

    Hello,
    I would like to have an instance of a persistent EJB which is accessible by more than one client and which will not be destroyed after usage. Apparently session beans can only be accessed by one client and are created every time they are accessed. In my case this creation is quite time and resource consuming. Is it an alternative to use an entity bean instead, even if the logic of the bean doesn't have anything to do with direct database access?
    Thanks.

    It seems to me that what you want is exactly a session bean will do. The EJB container is responsible to maintain a certain number instances (configurable) of your session bean and serve multiple clients at the same time. Session beans are not necessarily destroyed after serving a client. If you configure your ejb server to have a pool size of 2 to 100, then you will always have at least 2 instances (no more than 100 even there are a lot of client access) of this ejb ready to serve. The only thing not clear to me is that do you want to use only ONE instance of this bean or you don't care as long as multiple clients can access this bean's service? Since you mentioned that there is not a real database access, you can certainly use a Singleton but a 'regular' session bean with static fields should do it also if these fields will not be modified by clients.
    PC

  • On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else on top of it.

    On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else over the top of it. Some pages will run text and pictures together, like a car rear-ending another or a train pile up. Other pages will cut an image or text short, i.e. it will display a portion of the top of the image or text but not the rest. This happens on Amazon for example, the section where it says "Customers who looked at this also looked at" will allow only a certain amount of the upper portion of the description immediately below the picture of the product but below that section everything is fine until I get to another section displaying more products and their descriptions and then it cuts the bottom portions off again. I've noticed this behavior mostly in the sections with product photos, the text sections seem okay. YouTube also displays this behavior. It's even doing it on this page right now. Below this box I can read "The more information you can provide the better chance your question will be answered " , but directly below that in the next sentence I can see the start of it with "Troublshootin" and the "Automatically Add" in a green field covering the "g". The next clear text is "A window will open in the top corner. Click Allow, and then click Install. If the automated way doesn't work, try these manual steps." I tried turning of pre-fetching, clearing history, cookies, and cache, scanning for malware with Avast and Windows Defender all to no avail. It began when I upgraded from dial up to DSL via AT&T Uverse. I have a Motorola NVG510 modem. The modem was replaced an hour ago along with new dedicated lines and DSL/Phone splitter from the box by an AT&T technician to make sure my incoming lines were up to par. He ran a connection test and verified everything is up to standards. IE does not display this behavior. I am running Firefox20.0.1 and all previous versions have acted the same way since I upgraded to DSL about 3 months ago.

    If you have increased the minimum font size then try the default setting "none" in case the current setting is causing problems.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with text not being displayed properly.
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • How to show more than one record at a form-like style report?

    Hi All,
    I developed a form-like style report
    I want it to show more than one record at once (At the same page)
    I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
    but when I close the property palete and open it agian the value is returned to 1 !!!
    how to show more than one record at the same page?????
    Thank u

    Hi,
    there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
    Regards
    Rainer

Maybe you are looking for

  • Trying to upgrade from 10.6.8 to Yosemite

    I have to upgrade my operating system to Yosemite from 10.6.8. I've already checked to see what app compatibility problems I'll have to deal with, so I know pretty much what to expect. But when I go in to the Mac App Store and hit Upgrade Now, it sen

  • ABAP list

    hi , there is a function module or something which write an abap list according to some parameters like no of columns, etc ? Writting an abap list with write instruction it is not so easy. Thank you.

  • Instance of bean

    hi how do you create instance of bean in action. i am getting error when i try to do it. can you please suggest. thanks jayashree

  • Flash Video with components

    Hi all, I am aware there are a couple of different methods for playing/streaming FLV files in flash, one being the FLV Playback component and setting the path to the FLV file in the parameters panel and the other method using the (Library > New Video

  • IPhotos not showing up

    trying to create a new web page in iweb,but my media in iphoto are not being displayed. I see the photo name but not the thumbnail of them. The iphoto libary is being stored on a Western digital external drive for space on my Mac HD.What is happening