When doesn't 2 + 2 = 4 ?!?!?

Today it doesn't!!!!!!
<BODY BGCOLOR="white">
<CENTER>
<APPLET
     codebase= "classes/"
     code     = "TestClient.class"
     width     = "650"
     height     = "500"
>
    <parameter name="host" value="myhost.com"'>
    <parameter name="port" value="4000">
</APPLET>
</CENTER>
</BODY>Look Ok to you? Me too!!!!!
The class called TestClient.class - I S ! - in the damn subdir called classes yet I get
class TestClient not found
error continuously. Applet shows gray box and quits.I've tried every damn variation of codebase that I could think of. I even put the classes in the same folder as the applet loading page. I've viewed the source of the Html page to be sure my changes were getting saved. Still get same error.
It worked fine earlier in the day, now for some reason it just won't. I'm at the end of my rope.
Please help before I hang myself. I'm so pissed right now words can't describe :-(
2 + 2 != 4 !!!!!!!!
Mark Deibert

I renamed the class, recompiled it fine, renamed the html page, uploaded everything to the site. No dice. Still doesn't work. I cleared my browser temp files, checked the browser java security settings, all good. Not the problem. I looked at the file permissions on the folders and files. All set to r-w-x. Maximum perms. I'm pretty certain you don't need x perm on a class, just r, so that ain't it. Nothing, nothing, nothing, nothing, same damn error no matter what folder I put the class in, including the same as the html page, same error.
So...
I have another site on a NT box. My current site is Unix. I put the files on the NT box.
Guess what?...
It works fine on the NT box! Does that give you any idea what's happening? I'm still stuck.
Thanks again :-)
Mark Deibert

Similar Messages

  • Stock report with the field... last stock changed at certain date?

    Is there any standard report with the date of the last change of the stock value and quantity?
    Points granted
    BR
    Saso

    Hi people,
    I want to know why MBEWH have not any material stock information for period when doesn´t exist any inventory movement for some materials, for example I have a case in 12.2006 period the material A have stock quantity 100 and value 1000 and the next period 01.2007  no stock movements were done for this reason the MBEWH had to had the same values stock 100 and value 1000 in 01.2007 period, but in MBEWH is missing, there is not any information for material A in this period.
    Anybody knows about this problem?
    Thanks.
    Lili.

  • HP LaserJet 1018 will not work on my iMac G4

    Hello,
    First of all i would like to thank to anyone who replies to my thread. So here's my issue - i havve brand new HP LaserJer 1018 Printer. Unfortunately i can't find exact drivers for it therefore i'm instaling the printer using the default HP drivers which are in the printer browser list. My iMac recognizes the printer and when i choose driver (Gimp-Print v5.0.0-beta2) which is the only one available, everything seems to look ok. Anyway when i want to print a document the printer doesn't responde at all. But even with the printer not responding, the printing quewe starts to print and in 10 seconds it says that the printing is completed. Ofcourse no printing occures.
    Please tell me how can i solve this problem, because i love my iMac and i don't want to be forced to use my printer on PC.
    Thanks a lot in advance to anyone who can help.
    George

    I had the same problem on my G5. Since when doesn't HP support mac?
    The generic drivers suggested- as well as a few others don't work. The Printer window displays that the info is getting to the printer- but nothing prints.
    g5 dual 2.5   Mac OS X (10.4.6)  

  • HP Envy 17t-100 quad

    I just spent 60 minutes of my life online with tech support trying to get bluetooth to work on my brand spanking new laptop which by the way I upgraded with a faster processor, better display, larger hard drive and more ram.  The first tech told me after 35 minutes to google the problem.  I told him that is why I called him, I tried google for over an hour trying to solve/figure out what the problem was myself.  This included using HP support website.  I then asked to speak to his supervisor, 20 minutes later I was able to speak to Luie.  After taking my serial number and model number, which I had already given to the previous tech, he put me on hold.  When he came back he told me that my computer was not configured for bluetooth.  When I told him that I wanted to send it back I was put on hold again while he checked to see if there was one they could send me.  He came back and said they only had a 15" that could ship tomorrow.  I declined.  While I was on hold I did find where bluetooth is a $10 option.  Really?!  I pay extra for a souped up laptop and they leave this out?  I guess I'm behind the times, but when doesn't a computer have bluetooth capabiltites?!  I asked for the supervisor to have his supervisor call me in the morning. He said he would try,  I won't hold my breath.

    Hi,
    Many machines do not have BT even new one. Remember few years back, I had to add BT modul and it was only $7.80 at that time. Back to your machine, I don't know. But the following specs is the machine which I'm using now, it's only 5 days old and it does not have BT:
       https://www.shopping.hp.com/en_US/home-office/-/pr​oducts/Laptops/HP-ENVY/902164?HP-ENVY-17t-j100-Lea​...
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Ps cs3 won't open

    Dell Inspiron 1721, 2g ram, SP1 install, latest ps cs3 updates installed.
    Vista home
    A little history that might shed a light on the problem I purchased PS CS3 from a reprital retail store, but when I got home the jewel case was empty.
    I contacted Adobe and they sent me the disc's.
    When I installed ps it was extremely slow to open, maybe an three hrs. Since then over the past seven months of owner ship I have had uninstall and reinstall several times. Sometimes while using PS I will get a pop up message "Liciening has stop working and you are no longer able to use this software please contact IT personal or uninstall and reinstall the software." Sometimes re install would allow PS to open and sometimes not. When doesn't open it, I will get the frame of ps (the title, the horizontal bar with file, edit, image...) and a gray screen. I have contacted Adobe support and they helped reinstalling a couple of times with Win/CS3clean removal.
    After a couple of trouble sessions with support they gave up "It's not our problem it's Dells problem. Contacted Dell, their solution was to reformat the hard drive.
    There is a topic for CS3 creative suite for the pop-up message. It stated to reset Flex services to manual. I tried it and it work once, but not a second time.
    I'm almost ready for a rope!

    The minimum Vista OS requirement is "Home Premium".

  • Can i include external usb drives in Time Machine backups

    Can I include external usb drives and sticks in Time Machine backups?
    This was the question I searched a week for. My machine is a MBAir with Yosemite. I have a bunch of USB HD and sticks. This is a sharing of what it took to solve. I lost a couple of important document revisions lately because of not having differential backups on them, so wanted to include them in Time Machine.
    Yes it can, I found. But it's a wee bit backwards. And apparent inconsistencies drive you crazy. Time Machine is supposed to do this by default, and wants you to tell it what NOT to include. Trouble is, formats create many troubles.
    But the USB sticks and HD's you buy are PC formatted. And you'd like to share, as the Apple does with FAT16, FAT32, and exFAT (to overcome the 4G size limit on the others). Even NTFS can be plugged in and be read-only. Turns out you just can't incorporate into TM backups.
    Open Time Machine Options, and look at the drives listed in the exclusion window. Drives that you know to be plugged in and registered by Finder, may or not be registered in the exclusion window, and if registered and their icons may be bright or dimmed. Bright will NOT be included. Dimmed are excluded. Normally the operation is to use the or to exclude these drives from your next BU operation. (this instruction is lost the next time in manual mode). So if a drive or stick is shown and is bright it WON'T be backed up. If you it from the window, then it will grey out and WILL be backed up. If it's not there to offer you exclusion, you can browse to such a file or device so you can exclude it. TM's exclusion window will show the PC formats: FAT16, FAT32, and exFAT greyed out (as not included). NTFS is bright looking like it might work, but when    doesn't dim, it disappears, and is ignored in the actual BU.
    Sources are supposed to be included in the backup if it isn't shown bright in the exclusion window. In this respect I only use TM manually, and not for programmed BU's, so I cannot speak to that.
    If everything you have is formatted for the Apple disc system (Mac OS Extended) then there are no contradictions or partial equivalences. The mounted disc or stick will show in TM exclusions window, and if you it, you'll see it in the Time Machine pile of calendared directories, with all the files. And of course it will do the differential backups for it that we use TM for in the first place. Just remember to prepare the BU by not excluding.
    BUT NOW THE VARIABLES. It now depends upon the formats. I use the Paragon NTFS program to permit writing NTFS. (Apple can normally read but not write NTFS). Paragon is lovely because for normal computer use, I can read and write both Apple and PC files and disc formats in Finder (for 3 years now). But Time Machine cannot be reached by Paragon so it's NTFS behaviors are outrageous. Paragon reaches Disk Doctor so you can read, write, format and heal both Apple and PC formats. And this really confused things respecting Time Machine. I literally worked through every variable, from stick to disc to prove what did work, and when false appearances of working showed up.
    Respecting that very Time Machine display of Finder windows piled backwards through time there's a confusing bug. When first opened, TM shows NOW as the current setup and works just like a Finder window in present time. And the outboard discs and sticks show as in Finder. BUT working back in time, the left window DOES NOT SHOW THE CONDITIONS AT BACKUP but rather in all left windows shows the present setup. So you need to work from the right hand side dates and times to go back and see when you had that stick or HD plugged in. And then, finally, you will see the files you wanted saved. But if there is a stick on the left than TM doesn't like but Finder likes you'll see it left but nothing will be in the files. Clicking on the pretender just jumps to the root.
    My Disk Doctor provisions (with Paragon) show, Mac OS Extended (Journaled), Mac OS Extended (Case Sensitive Journaled), MS-DOS (FAT), exFAT, Windows NT Filesystem, Windows NT Filesystem (compressed). It's a better utility than in Microsoft and I use it for such maintenance.
    Bottom line, I like TM very much. 2 years ago I lost my air and TM was able to reconstruct my machine many times in the course of the troubleshooting - all the way from the start to the last without ever missing a beat or a file. So I accept this limitation and make copies to another HD formatted in NTFS when I work on PCs.
    Hope's this sorts out being lost in the desert for a few of you.
    Jock
    <Personal Information Edited by Host>

    Storing normal data files on the Time Capsule is unfortunately not as easy as dropping the folder on the Time Capsule.
    Open up Macintosh HD on the Mac
    Look for the SHARED heading on the left
    Click on the Time Capsule icon and a folder named "Data" will appear (unless you have renamed it)
    Double click the "Data" folder to mount the drive on the desktop. You may need to enter the device password for the Time Capsule when you do this the first time
    Once the drive icon is on the desktop, you can drag data to the icon and drop it there. Double click the icon to open up the drive and see the files

  • Leopard wifi issue: subnet mask?

    I have the common Leopard wifi problem:
    4 computers, all linked to new Airport Extreme with 10.4
    3 of 4 link with Leopard.
    Have tried all suggestions to fix the problem with the IMac G5 that won't link.
    Always says that the iMac has self-assigned IP and can not connect
    Noted that when the problematic machine does rarely link, Subnet Mask is 255.255.255.0
    Same with all linking machines.
    When doesn't link, subnet mask is 255.255.0.0.
    Does this give any hint as to the problem.

    This might not be related, but you could try changing the DNS settings in your Router to use OpenDNS instead of the number automatically set by your ISP. You just need to manually enter the 2 numbers:
    208.67.222.222
    208.67.220.220
    There are good instructions on the OpenDNS website. It's worth trying just to see if it solves your problem:
    https://www.opendns.com/start?device=netgear

  • [SOLVED]Fix gnome-power

    Hi guys,
    i have a problem with the gnome-power. After last update with pacman -Syu (2 weeks ago).
    I see in pacman cache folder that upower got a update from 0.15 -> 0.16
    Later i got the problem. Tried to downgrade but nothing to do. Same problem. I use MATE as DE. It is based on gnome2 if i don't wrong.
    Now sometimes work and sometimes not. Depend of it mood u.u
    I don't have the menu to shutdown when doesn't work. And obviously don't work either the hibernate and the shutdown by acpi calling. Only work with shutdown -h now.
    Someone can help me?
    Thanks, Gabriele.
    Last edited by Lilith (2012-05-21 20:12:20)

    Fixed following this:
    https://bbs.archlinux.org/viewtopic.php?id=141155
    I achieve that is a problem of slim login manager and not of upower.
    Edited xinitrc in home folder from: exec ck-launch-session dbus-launch mate-session
    to: exec dbus-launch --exit-with-session mate-session
    Bye

  • Itunes wont recognize commercial CD

    I have a problem with itunes that sometimes when i insert a commercial CD doesn't recognize it, or if by any chance the CD has a scratch strats looping and the only way I can stop is forcing iTunes to quit. Any suggestions on how to solve this without quiting iTunes?
    When doesn't recognize CD the only way I figure ot out is restarting since finder doesn't show the cd neither...ideas?

    If it's causing freezing + not showing up in finder as well, you're problem is likely not related to iTunes. Could be a drive issue. Any problems with DVDs, cd-rs, cd-rw, etc?
    One thing you could try, just to factor out software-related issues (for the most part), is to create a new user account on your machine. Test the cd in the new user and see what happens. If the issue still exists, there's something funky within your main account. If the cd still locks up or is not read, it's something system-wise (and likely hardware).

  • SQL function column in drop down list's data provider's query

    Just wondering, if it is somehow possible to use SQL function column for drop down list through data provider.
    At the moment, I am using id column as return value and name as display value from this query through CachedRowSetDataProvider:
    SELECT ALL someTable.Id,
    someTable.Name,
    someTable.Postal_Code,
    FROM someTable
    However, I want to change display to use calculated column as display value, for example Name_PostalCode from below mentioned changed query:
    SELECT ALL someTable.Id,
    CONCAT(someTable.Name, ' - Pin Code: ',someTable.Postal_Code) Name_PostalCode ,
    someTable.Name,
    someTable.Postal_Code,
    FROM someTable
    But JSC doesn't seem to like this.
    Is it someway possible to achieve this?
    Thanks.

    >
    But JSC doesn't seem to like this. Can you explain more. When doesn't it like it, in the design view, in the query editor, when your run it? What is the error you are seeing?
    See http://blogs.sun.com/divas/entry/displaying_multiple_fields_in_a

  • Adobe Premiere Elements 7 Errors

    When I burn a DVD, I get an reptitive error relating to file VideoSegmentsImpl.cpp-110 and the music that is installed on the menu screen does not play. I reinstalled completely...no help. Any ideas?

    When doesn't the music play? When you preview the DVD? After you burn it? It won't even import into your project?
    Meantime, please work through our troubleshooting FAQ. If you can describe, in as much detail as possible, you results for each step, we'll be better able to diagnose your problem and offers solutions.
    http://www.adobeforums.com/webx/.59b5f52c/1

  • ADG grouping question

    Hi All,
    I want to display data like the next image in a ADG using grouping.
    My dynamic function for grouping is:
    private function createGrouping():void{
                    //SUMMARY Fields and Rows
                    var sumAC:ArrayCollection=new ArrayCollection();
                    var i:Number;
                    var nSumm:SummaryField2;
                    for (i=1; i <= yearsLength; i++){
                        nSumm = new SummaryField2("FIELD_" + i);
                        nSumm.dataField = "YEAR_" + i;
                        nSumm.summaryOperation = "SUM";
                        sumAC.addItem(nSumm);
                    sumAC.refresh();
                    var rSR:SummaryRow = new SummaryRow();
                    rSR.summaryPlacement = "group";
                    rSR.fields = sumAC.toArray();
                    var gc:GroupingCollection2 = null;
                    gc = new GroupingCollection2();
                    gc.source = acSummary;
                    var nGroup:Grouping = new Grouping();
                    var fields:Array = new Array();
                    var nField:GroupingField = new GroupingField();
                    nField.name = "SUMMARY_GROUP";
                    //nField.summaries = [rSR];
                    fields.push(nField);
                    var nField2:GroupingField=new GroupingField();
                    nField2.name = "SUMMARY_PRODUCT_NAME";
                    nField2.summaries = [rSR];
                    fields.push(nField2);
                    nGroup.fields = fields;
                    gc.grouping = nGroup;
                    summary_dg.dataProvider = gc;
    My issue is that products show two lines for the ones that doesn't have subItems (From my data example is Product 1,3, and 4 from group A).
    I am building manually rSR, that is my data ArrayCollection.
    For those products that doesn't have items i am not setting SUMMARY_PRODUCT_NAME field.
    How can I fix this issue?
    Any ideas?
    Thanks

    Bump2...
    I created an example to show my issue. It should be a way not to show the double line of a product when doesn't have items.
    Anyone?
    Thanks
    <?xml version="1.0"?>
    <!-- dpcontrols/adg/SummaryGroupADGDefProp.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="init()">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.collections.SummaryField2;
                import mx.collections.SummaryRow;
                import mx.collections.GroupingCollection2;
                import mx.collections.GroupingField;
                import mx.collections.ArrayCollection;
                import mx.collections.Grouping;
                [Bindable]
                private var dpFlat:ArrayCollection = new ArrayCollection([
                    {SUMMARY_GROUP:"TOTAL GROUP A", SUMMARY_PRODUCT:"Product 1", PRODUCT:"Product 1", Value:30},
                    {SUMMARY_GROUP:"TOTAL GROUP A", SUMMARY_PRODUCT:"Product 2 - Total", PRODUCT:"Item 1", Value:10},
                    {SUMMARY_GROUP:"TOTAL GROUP A", SUMMARY_PRODUCT:"Product 2 - Total", PRODUCT:"Item 2", Value:10},
                    {SUMMARY_GROUP:"TOTAL GROUP A", SUMMARY_PRODUCT:"Product 2 - Total", PRODUCT:"Item 3", Value:25},
                    {SUMMARY_GROUP:"TOTAL GROUP A", SUMMARY_PRODUCT:"Product 2 - Total", PRODUCT:"Item 4", Value:25},
                    {SUMMARY_GROUP:"TOTAL GROUP A", SUMMARY_PRODUCT:"Product 3", PRODUCT:"Product 3", Value:20},
                    {SUMMARY_GROUP:"TOTAL GROUP A", SUMMARY_PRODUCT:"Product 4", PRODUCT:"Product 4", Value:20},
                    {SUMMARY_GROUP:"TOTAL GROUP B", SUMMARY_PRODUCT:"Product 1 - Total", PRODUCT:"Item 1", Value:5},
                    {SUMMARY_GROUP:"TOTAL GROUP B", SUMMARY_PRODUCT:"Product 1 - Total", PRODUCT:"Item 2", Value:5},
                    {SUMMARY_GROUP:"TOTAL GROUP B", SUMMARY_PRODUCT:"Product 1 - Total", PRODUCT:"Item 3", Value:6},
                    {SUMMARY_GROUP:"TOTAL GROUP B", SUMMARY_PRODUCT:"Product 1 - Total", PRODUCT:"Item 4", Value:6},
                    {SUMMARY_GROUP:"TOTAL GROUP B", SUMMARY_PRODUCT:"Product 2", PRODUCT:"Product 2", Value:50},
                    {SUMMARY_GROUP:"TOTAL GROUP B", SUMMARY_PRODUCT:"Product 3", PRODUCT:"Product 3", Value:40},
                    {SUMMARY_GROUP:"TOTAL GROUP B", SUMMARY_PRODUCT:"Product 4", PRODUCT:"Product 4", Value:60}
                private function init():void{
                    createGrouping();
                private function createGrouping():void{
                    gc.refresh(false);
            ]]>
        </mx:Script>
        <mx:AdvancedDataGrid id="myADG"
                             width="100%" height="100%"
                             displayItemsExpanded="true"
                             folderClosedIcon="{null}" folderOpenIcon="{null}" defaultLeafIcon="{null}" displayDisclosureIcon="false"
                             editable="false" headerWordWrap="true" textAlign="left" horizontalScrollPolicy="auto"
                             sortableColumns="false" sortExpertMode="true" resizableColumns="true"
                            >       
            <mx:dataProvider>
                <mx:GroupingCollection2 id="gc" source="{dpFlat}">
                    <mx:Grouping>
                        <mx:GroupingField name="SUMMARY_GROUP">
                            <mx:SummaryRow summaryPlacement="group">
                                <mx:SummaryField2 summaryOperation="SUM" dataField="Value"/>
                            </mx:SummaryRow>
                        </mx:GroupingField>
                        <mx:GroupingField name="SUMMARY_PRODUCT">
                            <mx:SummaryRow summaryPlacement="group">
                                <mx:SummaryField2 summaryOperation="SUM" dataField="Value" />
                            </mx:SummaryRow>
                        </mx:GroupingField>
                    </mx:Grouping>
                </mx:GroupingCollection2>
            </mx:dataProvider>       
            <mx:columns>
                <mx:AdvancedDataGridColumn dataField="PRODUCT"/>
                <mx:AdvancedDataGridColumn dataField="Value"  headerText="Value"/>
            </mx:columns>
        </mx:AdvancedDataGrid>
    </mx:Application>

  • Olympus E-3 Owners

    I've learned much about Lightroom in the last 3 months, but continue to have some interest in what Aperture 2 may offer.
    How are E-3 owners adapting to Aperture 2? Or are you not bothering?

    I was out taking photos with my E-3 in a place without internet access. Now that I'm back home, it's time to view, edit, and manage the hundreds of photos that I took during the past few days. To answer your original question, I haven't bothered with A2 other than to send feedback to Apple to let them know of my disappointment with their failure to support the E-3 in A2 (and in the 10.5.2 update), and to post my questions here about the .DNG conversion process required for E-3 RAW file use in A2.
    The way I'm handling my photos right now is definitely clunky. I am shooting RAW + JPEG, so I download everything from the camera and then take the JPEGS into an old copy of iView (v. 2.6.4) for viewing and a quick sorting out of the obvious rejects. The photos I want to keep are put into a folder, using the Finder. The photos I want to print or edit for the web are developed in PS CS3. So, for now, it's iView for viewing (JPEGS), the Finder as my DAM (JPEG and RAW files), and PS CS3 as my RAW developer. I am happy with the ultimate images, but I am not happy about the workflow or about having to use three different applications for what could be done in one ... but the one that I own (A1), which does do all of these things (which I why I purchased it way back when), doesn't support my current camera, the E-3. I didn't upgrade iView past v. 2.6.4 because I bought Aperture, and I thought it would do just about everything that I needed in a viewer, DAM, and editor --- and it did, pretty much, for the E-1, and eventually for the E-410.
    The (potentially fatal) flaw in Aperture, for me, is the lack of support for the brand of camera that I am using. It took almost 6 months for A1 to support the E-410, and now there is no support for the E-3 nearly three months after its release. It's ironic that my own current workaround is similar to Apple's official advice, in the sense that both require using use Adobe products in order to overcome Aperture's (v. 1&2) shortcomings.
    Regards,
    John

  • PSE 10 Backup Excludes Some tif & jpg

    Goal was:  Backup PSE 10 catalog on laptop and restore it to desktop.
    PSE 10 backup of 60K photos failed to backup 4K photos, many .tif and some .jpg.  Reconnected, repaired, repaired anyway & optomized all successfully prior to backup.  Also did same after backup & restoration and all steps were successful except Reconnect was not.  Refuses to reconnect missing files, so have manually found (by scrolling through the catalog) and connected 2.5K photos.  Remaining unconnected photos can only be located one at a time by clicking on Reconnect, which results in a total count of the number missing and then PSE 10 tries to locate just one and when doesn't find it, the PSE 10 closes.  Has taken weeks to reach this point by scrolling 60K photos so remaining, some of which are in stacks, by letting PSER 10 try to Reconnect each photo one at a time and close is a tremendous waste of one life! 
    Others have written of this same problem, but there has been no solution from Adobe. 
    Any and all help appreciated.  Thank you.
    Pam

    Yes, when you think about it, it's impossible for PSE to backup photos that it can't find....
    Where are those "missing" files now located?
    Have you tried pausing the reconnection process by hitting the "Browse" button on its window and then pointing the reconnection to the parent directory of the missing files?
    Ken

  • delay-txn and is-modified conflict?

    WL 6.1 sp2, Solaris 2.8, JDK 1.3.1_02
    I have a bmp ejb and session bean facade. All methods of both are Required.
    I defined the is-modified tag and method, and set <delay-updates> to false.
    I make a call to a session bean which looks up an entity bean and calls 3
    setters:
    session.call(){
    //find entity
    entity.getA()
    entity.getB()
    entity.getC()
    And see ejbStore() being called 3 times. If I set <delay-updates> to true
    (or remove it altogether), then I don't see ejbStore() being called at all.
    What's going on? Just because I tell the container to call ejbLoad/Store
    during the txn does not mean the container SHOULD call ejbStore() when it
    doesn't need to, as stipulated by <is-modified>!
    Gene

    Sorry that the experience has been less than perfect.
    The problem this time is that you've specified an is-modified-method in your descriptors that doesn't exist in your bean. Normally,
    the ejb compliance checker would have caught it, but we're not doing the compliance check for EJB 2.0 CMP beans since they don't need
    this method.
    Regardless, the container should have given a reasonable error message. I'll make sure both of these get fixed.
    -- Rob
    Gene Chuang wrote:
    Thanks Rob, turns out I am missing <persistence-use> tag in my descriptor. With this,
    and a few other mods, I was about to run ejbc20 on my newly minted CMP. HOWEVER,
    when I try to deploy the bean, I get another cryptic error (attached).
    This is my first foray into Weblogic CMP (1.1/2.0), and I can honestly say my experience
    wasn't pleasant. ejbc20 is just churning one bad error message after another, and
    I can't possibly imagine I'm the first person to have seen these. I'm pretty exasperated
    myself; I can't imagine how someone with less Weblogic experience can get a CMP
    up and running. Perhaps these issues are addressed by 7.0 Workshop, so I guess I'll
    give that a shot when we eventually upgrade to 7.x.
    Gene
    Rob Woollen <[email protected]> wrote:
    It's a problem in your descriptors. Most likely you don't have a persistence-use
    section, or it's incorrect. As you well know,
    ejbc shouldn't be NPEing on this.
    -- Rob
    Gene Chuang wrote:
    PS What would we need to run your beans as CMP 2.0 instead?Well, if you can interpret esteric error messages like the following whenI try to
    run ejbc! ;-)
    ERROR: Error from ejbc: java.lang.NullPointerException
    at weblogic.ejb20.deployer.CompositeMBeanDescriptor.getPersistenceUseTypeIdentifier(CompositeMBeanDescriptor.java:1311)
    at weblogic.ejb20.deployer.CMPInfoImpl.<init>(CMPInfoImpl.java:131)
    at weblogic.ejb20.deployer.EntityBeanInfoImpl.<init>(EntityBeanInfoImpl.java:232)
    at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:333)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:395)
    at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    at weblogic.ejbc20.runBody(ejbc20.java:358)
    at weblogic.utils.compiler.Tool.run(Tool.java:79)
    at weblogic.ejbc.main(ejbc.java:21)
    Gene
    Rob Woollen <[email protected]> wrote:
    Hi Gene.
    I see the bug. I'm guessing that you're using the 'Exclusive' concurrency
    option. (Either you've specified it explicitly or your weblogic-ejb-jar.xml
    is
    a 5.1 DTD).
    The code does appear correct in the default, 'Database' concurrency.
    There's a pretty easy work-around. Remove the <is-modified-method> from
    your
    weblogic-ejb-jar.xml and just change your ejbStore to be:
    if (! isModified()) return;
    // do db update
    Otherwise, go ahead and open a support case so we can fix this one.
    -- Rob
    PS What would we need to run your beans as CMP 2.0 instead?
    Gene Chuang wrote:
    WL 6.1 sp2, Solaris 2.8, JDK 1.3.1_02
    I have a bmp ejb and session bean facade. All methods of both are
    Required.
    I defined the is-modified tag and method, and set <delay-updates> tofalse.
    I make a call to a session bean which looks up an entity bean and calls3
    setters:
    session.call(){
    //find entity
    entity.getA()
    entity.getB()
    entity.getC()
    And see ejbStore() being called 3 times. If I set <delay-updates>
    to
    true
    (or remove it altogether), then I don't see ejbStore() being called
    at
    all.
    What's going on? Just because I tell the container to call ejbLoad/Store
    during the txn does not mean the container SHOULD call ejbStore() whenit
    doesn't need to, as stipulated by <is-modified>!
    Gene--
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    Hi Gene.
    <p>I see the bug. I'm guessing that you're using the 'Exclusive'
    concurrency option. (Either you've specified it explicitly or your
    weblogic-ejb-jar.xml is a 5.1 DTD).
    <br>
    <br>The code does appear correct in the default, 'Database' concurrency.
    <p>There's a pretty easy work-around. Remove the <is-modified-method>
    from your weblogic-ejb-jar.xml and just change your ejbStore to be:
    <p>if (! isModified()) return;
    <br>
    <br>// do db update
    <p>Otherwise, go ahead and open a support case so we can fix this one.
    <p>-- Rob
    <p>PS What would we need to run your beans as CMP 2.0 instead?
    <br>
    <p>Gene Chuang wrote:
    <blockquote TYPE=CITE>WL 6.1 sp2, Solaris 2.8, JDK 1.3.1_02
    <p>I have a bmp ejb and session bean facade. All methods of both
    are Required.
    <br>I defined the is-modified tag and method, and set <delay-updates>
    to false.
    <p>I make a call to a session bean which looks up an entity bean andcalls
    3
    <br>setters:
    <p>session.call(){
    <br> //find entity
    <br> entity.getA()
    <br> entity.getB()
    <br> entity.getC()
    <br>}
    <p>And see ejbStore() being called 3 times. If I set <delay-updates>
    to true
    <br>(or remove it altogether), then I don't see ejbStore() being called
    at all.
    <p>What's going on? Just because I tell the container to call ejbLoad/Store
    <br>during the txn does not mean the container SHOULD call ejbStore()when
    it
    <br>doesn't need to, as stipulated by <is-modified>!
    <p>Gene</blockquote>
    <pre>--
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com</pre>
    </html>
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    http://learnWebLogic.com
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It's a problem in your descriptors. Most likely you don't have a
    persistence-use section, or it's incorrect. As you well know, ejbc
    shouldn't be NPEing on this.
    <p>-- Rob
    <p>Gene Chuang wrote:
    <blockquote TYPE=CITE>> PS What would we need to run your beans as CMP
    2.0 instead?
    <p>Well, if you can interpret esteric error messages like the following
    when I try to
    <br>run ejbc! ;-)
    <p>ERROR: Error from ejbc: java.lang.NullPointerException
    <br> at weblogic.ejb20.deployer.CompositeMBeanDescriptor.getPersistenceUseTypeIdentifier(CompositeMBeanDescriptor.java:1311)
    <br> at weblogic.ejb20.deployer.CMPInfoImpl.<init>(CMPInfoImpl.java:131)
    <br> at weblogic.ejb20.deployer.EntityBeanInfoImpl.<init>(EntityBeanInfoImpl.java:232)
    <br> at weblogic.ejb20.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:333)
    <br> at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:395)
    <br> at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    <br> at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    <br> at weblogic.ejbc20.runBody(ejbc20.java:358)
    <br> at weblogic.utils.compiler.Tool.run(Tool.java:79)
    <br> at weblogic.ejbc.main(ejbc.java:21)
    <p>Gene
    <br>Rob Woollen <[email protected]> wrote:
    <br>>
    <br>>
    <br>>Hi Gene.
    <br>>
    <br>>I see the bug. I'm guessing that you're using the 'Exclusive'
    concurrency
    <br>>option. (Either you've specified it explicitly or your weblogic-ejb-jar.xml
    <br>>is
    <br>>a 5.1 DTD).
    <br>>
    <br>>The code does appear correct in the default, 'Database' concurrency.
    <br>>
    <br>>There's a pretty easy work-around. Remove the <is-modified-method>
    from
    <br>>your
    <br>>weblogic-ejb-jar.xml and just change your ejbStore to be:
    <br>>
    <br>>if (! isModified()) return;
    <br>>
    <br>>// do db update
    <br>>
    <br>>Otherwise, go ahead and open a support case so we can fix this one.
    <br>>
    <br>>-- Rob
    <br>>
    <br>>PS What would we need to run your beans as CMP 2.0 instead?
    <br>>
    <br>>
    <br>>Gene Chuang wrote:
    <br>>
    <br>>> WL 6.1 sp2, Solaris 2.8, JDK 1.3.1_02
    <br>>>
    <br>>> I have a bmp ejb and session bean facade. All methods of both
    are Required.
    <br>>> I defined the is-modified tag and method, and set <delay-updates>
    to false.
    <br>>>
    <br>>> I make a call to a session bean which looks up an entity bean and
    calls
    <br>>3
    <br>>> setters:
    <br>>>
    <br>>> session.call(){
    <br>>> //find entity
    <br>>> entity.getA()
    <br>>> entity.getB()
    <br>>> entity.getC()
    <br>>> }
    <br>>>
    <br>>> And see ejbStore() being called 3 times. If I set <delay-updates>
    to
    <br>>true
    <br>>> (or remove it altogether), then I don't see ejbStore() being called
    at
    <br>>all.
    <br>>>
    <br>>> What's going on? Just because I tell the container to call
    ejbLoad/Store
    <br>>> during the txn does not mean the container SHOULD call ejbStore()
    when
    <br>>it
    <br>>> doesn't need to, as stipulated by <is-modified>!
    <br>>>
    <br>>> Gene
    <br>>
    <br>>--
    <br>>
    <br>>----------------------------------------------------------------------
    <br>>
    <br>>AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    <br>>
    <br>>by Michael Girdley, Rob Woollen, and Sandra Emerson
    <br>>
    <br>>http://learnWebLogic.com
    <br>>
    <br>>
    <br>>
    <br>>
    <br>><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <br>><html>
    <br>>Hi Gene.
    <br>><p>I see the bug. I'm guessing that you're using the 'Exclusive'
    <br>>concurrency option. (Either you've specified it explicitly or
    your
    <br>>weblogic-ejb-jar.xml is a 5.1 DTD).
    <br>><br>
    <br>><br>The code does appear correct in the default, 'Database' concurrency.
    <br>><p>There's a pretty easy work-around. Remove the <is-modified-method>
    <br>>from your weblogic-ejb-jar.xml and just change your ejbStore to be:
    <br>><p>if (! isModified()) return;
    <br>><br>
    <br>><br>// do db update
    <br>><p>Otherwise, go ahead and open a support case so we can fix this
    one.
    <br>><p>-- Rob
    <br>><p>PS What would we need to run your beans as CMP 2.0 instead?
    <br>><br>
    <br>><p>Gene Chuang wrote:
    <br>><blockquote TYPE=CITE>WL 6.1 sp2, Solaris 2.8, JDK 1.3.1_02
    <br>><p>I have a bmp ejb and session bean facade. All methods
    of both
    <br>>are Required.
    <br>><br>I defined the is-modified tag and method, and set <delay-updates>
    <br>>to false.
    <br>><p>I make a call to a session bean which looks up an entity bean
    and calls
    <br>>3
    <br>><br>setters:
    <br>><p>session.call(){
    <br>><br> //find entity
    <br>><br> entity.getA()
    <br>><br> entity.getB()
    <br>><br> entity.getC()
    <br>><br>}
    <br>><p>And see ejbStore() being called 3 times. If I set <delay-updates>
    <br>>to true
    <br>><br>(or remove it altogether), then I don't see ejbStore() being
    called
    <br>>at all.
    <br>><p>What's going on? Just because I tell the container to
    call ejbLoad/Store
    <br>><br>during the txn does not mean the container SHOULD call ejbStore()
    when
    <br>>it
    <br>><br>doesn't need to, as stipulated by <is-modified>!
    <br>><p>Gene</blockquote>
    <br>>
    <br>><pre>--
    <br>>
    <br>>----------------------------------------------------------------------
    <br>>
    <br>>AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    <br>>
    <br>>by Michael Girdley, Rob Woollen, and Sandra Emerson
    <br>>
    <br>>http://learnWebLogic.com"><a
    href="http://learnWebLogic.com">http://learnWebLogic.com</a></A></pre>
    <br>> </html>
    <br>>
    <br>></blockquote>
    <pre>--
    AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
    by Michael Girdley, Rob Woollen, and Sandra Emerson
    <A HREF="http://learnWebLogic.com">http://learnWebLogic.com</a></pre>
    </html>
    Name: trace
    trace Type: unspecified type (application/octet-stream)
    Encoding: base64

Maybe you are looking for

  • How to use my MAC configurated iPod whith my work PC

    I have an ibook at home, with an extensive iTunes library, which is configurated with my color screen iPod. At work I use my iPod to interview people and the problem is that we use PC/Windows at work... and I cant upload my memos/interviews on my wor

  • Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

    Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?

  • OCM inconsistencies

    Dear Experts,                             I have read limitations of OCM.  I am not using collective order and there is no phantom assembly in BOM. Overall profile is assigned in work scheduling view. Strategy used is 40 .I have created change reques

  • Text mode applications

    I have a fascination for text mode applications. I certainly can't use them any faster than a gui application like many people can, seeing as I can barely touch type, but their simplicity, low memory use and ensuing elegance appeals to me. So my ques

  • Workspace User Preferences

    Hi I have a question. We are assigning homepages at a group level in workspace preferences. When creating a new user and assigning him to a group is there a way to assign him the groups default homepage / user preferences in Shared Services?