What's up with finder-expression in wl61

We are migrating from wl51 to wl61. The ejbc compiler complains about
finder-expression in weblogic-cmp-rdbms-jar.xml (EJB1.1)
<finder-list>
<finder>
<method-name>findByDept</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
<finder-query><![CDATA[(orderBy 'JOIN_DATE'(& (= m_dept $0) (!(=
m_status $1) ) ) ) ]]></finder-query>
<finder-expression>
<expression-number>1</expression-number>
<expression-text>RESIGNED</expression-text>
<expression-type>java.lang.String</expression-type>
</finder-expression>
</finder>
</finder-list>
There is also an issue with ORDERBY. DDConverter utility does not convert
weblogic-cmp-rdbms-jar.xml (EJB1.1) to weblogic-cmp-rdbms-jar.xml (EJB2.0).
TIA
-Ravi

Here is the stack trace:
weblogic.ejb20.cmp.rdbms.RDBMSException:
weblogic.ejb20.cmp11.rdbms.finders.IllegalExpressionException:
weblogic.ejb20.cmp11.rdbms.finders.IllegalExpressionException:
While trying to process null
Invalid Operation attempted in WLQL expression: ORDER_BY ORDERBY in WLQL
takes actual DBMS Column Names but ORDERBY in EJB QL takes Abstract Schema
Names cannot translate from WLQL to EJB QL.
at
weblogic.ejb20.cmp11.rdbms.finders.WLQLtoEJBQL.doWLQLtoEJBQL(WLQLtoEJBQL.jav
a:53)
at
weblogic.ejb20.cmp11.rdbms.finders.WLQLtoEJBQL.doWLQLtoEJBQL(WLQLtoEJBQL.jav
a:18)
at
weblogic.ejb20.utils.ddconverter.DDConverterBase.convertBeansTo20(DDConverte
rBase.java:30
3)
at
weblogic.ejb20.utils.ddconverter.DDConverterBase.convertTo20(DDConverterBase
.java:235)
at
weblogic.ejb20.utils.ddconverter.DDConverter_1120.convert(DDConverter_1120.j
ava:88)
at weblogic.ejb20.utils.DDConverter.main(DDConverter.java:155)
[DDConverterBase] : @@@ EJB-QL:SELECT DISTINCT OBJECT(o) FROM webango o
WHERE (((m_status = ?1) AND
(m_publishDate < ?2) AND (m_submissionDeadline > ?2)))
java.io.FileNotFoundException: E:\webango_devel\.\jar61\bidform\bidform.jar
(The system cannot find
the path specified)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
at weblogic.utils.jars.JarFileObject.save(JarFileObject.java:148)
at
weblogic.utils.jars.RandomAccessJarFile.save(RandomAccessJarFile.java:216)
at
weblogic.utils.jars.RandomAccessJarFile.close(RandomAccessJarFile.java:225)
at
weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.persistToJar
File(EJBDescriptorMBeanImpl.java:338)
at
weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.persist(EJBD
escriptorMBeanImpl.java:261)
at
weblogic.management.descriptors.toplevel.EJBDescriptorMBeanImpl.persist(EJBD
escriptorMBeanImpl.java:247)
at
weblogic.ejb20.utils.ddconverter.DDConverter_1120.convert(DDConverter_1120.j
ava:130)
at weblogic.ejb20.utils.DDConverter.main(DDConverter.java:155)
Apurb KUmar <[email protected]> wrote in message
news:[email protected]...
Hi Ravindra,
What is the error stack trace that you are getting? Can you pass the issue
number or a reference about the problem that you mention about the 'orderby'
clause?
Thanks,
Ravindra Sahasrabudhe wrote:
We are migrating from wl51 to wl61. The ejbc compiler complains about
finder-expression in weblogic-cmp-rdbms-jar.xml (EJB1.1)
<finder-list>
<finder>
<method-name>findByDept</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
<finder-query><![CDATA[(orderBy 'JOIN_DATE'(& (= m_dept $0) (!(=
m_status $1) ) ) ) ]]></finder-query>
<finder-expression>
<expression-number>1</expression-number>
<expression-text>RESIGNED</expression-text>
<expression-type>java.lang.String</expression-type>
</finder-expression>
</finder>
</finder-list>
There is also an issue with ORDERBY. DDConverter utility does not
convert
weblogic-cmp-rdbms-jar.xml (EJB1.1) to weblogic-cmp-rdbms-jar.xml(EJB2.0).
>>
TIA
-Ravi--
Apurb Kumar
Developer Relations Engineer
BEA Support

Similar Messages

  • Help with Find Expression

    Dear All
    Can you help me to prepare the new expressions which can help me to localize all records where records contain two similar entries for example "01" or "02" or "03".
    My data model is build in standard customer repository on 7.1 platforms. I do have a Tuple. In those tuple only two columns:
    Saleorg and PL
    that tuple is added to main table customers. And some records have values for example:
    Customer number...............Selling Org/PL
    0000001.............................01,ABC; 02EDC;03,WSX
    0000002.............................01,ABC;01,QAZ;03,EDC
    0000003.............................02,RFV;03,IKO
    I need to localize all records where value "01" as for example (for customer) 0000002 is more than ones.
    Can you help me to write an expressions where we can localize all records with Selling Org containing Selling Org more than once, for my search is not important what is PL. Important is only Selling Org cannot be more than once. As for example customer 0000002 contain incorrect values because Selling Org is more than once that is as you see in bolded number: "01,ABC;01,QAZ;"
    And I need to find all that kind of records.
    Thank you in advance.
    BR
    Rafal
    Edited by: Rafal Paczynski on Mar 5, 2012 11:41 AM

    Hej Joy
    As I can see the forum is updated and is possible to enclose the pictures, here is one with validation:
    and here is my expression:
    I checked all I find out, that this part is not working correctly for me:
    FIND(Selling Organisation.SALESORG,"01")+1)
    that part is working only when record contain Selling org as for example:
    01,edc;01,rfv
    if record is like that:
    01,edc;01,rfv;06,edc
    then is not working.
    Can you please quide how to slove the problem?
    Thank you
    BR
    Rafal

  • What's wrong with this expression?

    Move2D1.xPan-Move2D1.xPan@@(1)
    This should return the difference between Move2D1's current position and it's original position but it always returns zero. Even if I change the expression to
    Move2D1.xPan-Move2D1.xPan@@(1)+1
    it still returns zero.
    Move2D1 has an xPan keyframe at frame 1 and changes over time so it's not an issue with not having data to work with.
    If I delete part of the expression so that it's "Move2D1.xPan" or "Move2D1.xPan@@(1)" returns a correct result but for whatever reason I can't take the difference of the two.
    Any ideas on why this returns zero?

    An easier solution would be to use the Get File Extension VI:
    Message Edited by smercurio_fc on 03-07-2008 09:04 AM
    Attachments:
    GetFileExtension.png ‏17 KB

  • What's new with CC expressions?

    Just curious if there's any new controls exposed to expressions in AE CC? Has there been any change in expression performance?

    Here is the complete list of what's new and changed:
    http://blogs.adobe.com/aftereffects/2013/04/whats-new-changed-after-effects-next.html
    There's nothing there about expressions.
    However...
    We are right now working on some improvements regarding expression performance and usability, and we hope to make some of these available soon.

  • What's up with Finder?

    Is it just me or is the finder broken? Moving files to trash is very slow, and emptying seems to take days. Also takes forever to open a folder/directory.

    I'm having similar problems since 10.7.1 - Opening a Finder window gives me a spinning beachball for several minutes. Copying/deleting files is also slow. I tried to open Activity Monitor but it took over five minutes (spinning beachball and bouncing dock icon) before it opened.
    I'm going to try some test later after booting from either TTP 6 CD or Drive Genius and see if there are any files corrupt.

  • Help with this expression.

    Hey everyone,
    I'm not the best at expressions, but i'm trying to learn and was wondering if someone could tell me what is wrong with the expression I have. It is from a tutorial found in video copilots pro scores, and its purpose is to be able to randomly distribute many layers over x, y, and z space.. without having to manually place them.
    I tried this expression last night, and it gave me a similar error. Tried it again today and it seemed to work, but then I decided to precomp my layer and it broke the expression, so I went to type it again.
    Below is what I typed, and the subsequent error message. It tells me the error is on line 3, and the rest you can see.
    If someone could point out where I went wrong here I would greatly appreciate it.
    Thanks,
    Dan

    I actually undo'd until the original expression that "worked" came back, copied it, and pasted in the position field of the precomp, and I get the same error.
    Kinda confused, especially since the expression was exactly the same.

  • HT4259 I have been trying for hours to extend my Extreme Gen 5 network with an Express Gen 2.  But no matter what I do or try, it doesn't work.  What does happen is my internet gets block somehow when the Express looks like it's set up and 'green' - no in

    I have been trying for hours to extend my Extreme Gen 5 network with an Express Gen 2.  But no matter what I do or try, it doesn't work.  What does happen is my internet gets blocked somehow when the Express is online and looks like it's set up perfect and 'green' - but no internet connection for anything even though the Extreme is green and the modem is good.  Once I disconnect the Express, everything is good again.
    I've tried LAN, WAN, though a switch, direct connect, Extreme set to Extend the network, the Express set to be an extension.  Most of the time I get an error trying to update the Express.  But when it seems to be set up perfect, the entire house can't get to the internet.  Just when it looks right, it is so wrong.
    If anyone can give me exact steps (e.g., "...from the Base Station menu, select the Restore Default Setting option" vice "...just restore the defaults..."), I would greatly appreciate it.  I'm left to the conclusion that the Express is faulty.  I've been using Airport Utility 6.2 from Mountain Lion on one computer and Airport Utility 5.6.1 from Snow Leopard on another computer (the latter give more control while the former just want you to 'forget' the Express).

    I finally got it working.  I was trying to set it up ethernet.  My biggest mistake was when the new Express came on, I did not select 'Continue' - I went straight to manual thinking that I would get the most setup options in manual mode.  So everything I initially tried always resulted in 'wireless'.  Even when I would update or restore default settings, the Express would not completely restart. Or sometimes I would get an error. So most of the time I had to unplug it.  So when it came back up, none of my changes were retained. But there were a lot of times when everything was green and appeared to be fine. But anytime the ethernet cable was plugged in, no more internet.
    So here's the weird part.  When I finally tried 'continue' (vice manual), I would get 4 options.  One would be 'ethernet' extended.  So I would select it, it gave me green lights, all looked good, and still the same problem.  This is when I got frustrated.  I thought I had exhausted all possible combinations.
    But somehow when trying continue again after another restore, I only got 3 options.  One was the same ethernet extended option (can't remember what the missing 4th one was).  And this time it worked - it gave me the big green circle with the checkmark saying it was successful.  I don't know what I did different, but I know now that it won't work if 4 options come up to choose from.  It will work if only 3 options come up.  And success if only verified by the big checkmark.  Had anyone anywhere said the checkmark declaring success is validation, then maybe I wouldn't have gone down so many rabbit holes thinking it should have been successful.
    As for which Airport Utility I prefer, 6.2 looks nice, but it would just ignore the Express and would want me to 'forget' it and would not let me edit it.  Airport Utility 5.6.1 was the one that I ended up using the most and finally had success with.  It still strikes me as odd that there is no manually way to pick ethernet, it can only be choosen following a 'restore defaults', and only from the 3-option list (the 4-option list had the same ethernet choice, but it no worky).
    Thanks for the response.  I really do appreciate it.
    Aiport Extreme Gen5 - internet access and router
    Airport Express Gen2 - connected via ethernet, extending my wireless
    - configured while connect directly to the Extreme, but now on a switch (16-port hub)
    Using Airport 5.6.1
    1) Restore Defaults from Base Station menu
    2) Following restart, Select Continue
    3) Of the 3 option presented, select 'ethernet.... extend network...'
      - if 4 options are present, may not work
    4) Wait for the green circle with the big white checkmark.
    5) Connected Express to the switch where a cable went to other end of house - works.
    Dead-zone went from 2mbps to 24mbps.
    I probably spent 4 hours chasing my tail in anger.  The correct way took about 5 minutes total.
    Thanks again.

  • What's wrong with the regular expression?

    Hi all,
    For the life of me I can not figure out what is wrong with this regular expression
    .*\bA specific phrase\.\b.*
    This is just an example the actual phrase can be an specific phrase. My problem comes when the specific phrase ends in a period. I've escaped the period but it still gives me an error. The only time I don't get an error is when I take off the end boundry character which will not suffice as a solution. I need to be able to capture all the text before and after said phrase. If the phrase doesn't have a period it would look like this...
    .*\bA specific phrase\b.*
    which works fine. So what is it about the \.\b combination that is not matching?
    I've been banging my head on this for a while and I'm getting nowhere.
    The application highlights text that comes from a server. The user builds custom highlights that have some options. Highlight entire line, match partial word, and ignore case. The code that builds my pattern is here
    String strHighlight = _strHighlight;
            strHighlight = strHighlight.replaceAll("\\*", "\\\\*");
            strHighlight = strHighlight.replaceAll("\\.", "\\\\.");
            String strPattern = strHighlight;
            if(_bEntireParagraph)
                if(_bPartialWord)
                    strPattern = ".*" + strHighlight + ".*";
                else               
                    strPattern = ".*\\b" + strHighlight + "\\b.*";           
            else
                if(_bPartialWord)
                    strPattern = strHighlight;
                else               
                    strPattern = "\\b" + strHighlight + "\\b";  
            if(_bIgnoreCase)
                _patHighlight = Pattern.compile(strPattern, Pattern.CASE_INSENSITIVE);
            else
                _patHighlight = Pattern.compile(strPattern);So for example I matching the phrase: The dog ate the cat. And that phrase came over in the following text: Look there's a dog. The dog ate the cat. "Oh my!"
    And my user has the entire line and ignore case options selected then my regex woud look like this: .*\bThe dog ate the cat\b.*
    That should get highlighted, but for some reason it doesn't. Correct me if I'm wrong but doesn't the regex read as follows:
    any characters
    word boundry
    The dog ate the cat[period]
    word boundry
    any characters until newline.
    Any help will be much appreciated

    A word boundary (in the context of regexes) is a position that is either followed by a word character and not preceded by one (start of word) or preceded by a word character and not followed by one (end of word). A word character is defined as a letter, a digit, or an underscore. Since a period is not a word character, the only way the position following it could be a word boundary is if the next character is a letter, digit or underscore. But a sentence-ending period is always followed by whitespace, if anything, so it makes no sense to look for a word boundary there. I think, instead of \b, you should use negative lookarounds, like so:   strPattern = ".*(?<!\\w)" + strHighlight + "(?!\\w).*";

  • My boyfriend who has an iPhone 5 just had his phone stolen, he has an iCloud account with find my iPhone app downloaded but we do not have access to a computer only the safari on my iphone 4s, where do I need to go and what do I need to do to access his

    My bitfriend who has an iPhone 5 just had his phone stolen, he has an iCloud account with find my iPhone app downloaded but we do not have access to a computer only the safari on my iphone 4s, where do I need to go and what do I need to do to access his

    You need to download the free Find my iPhone application from the App Store.

  • I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?

    I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?  How do I set this up?????

    I think he means to set up the main extreme as the main router or "main base station", and then use the express to "extend" the network.
    You can look up the manual for your express here for more details:
    http://support.apple.com/manuals/
    Extend the range of your network by adding AirPort Express to your existing AirPortExtreme or AirPort Express wireless network (this is called a Wireless DistributionSystem, or WDS). "
    Extending the Range of an Existing AirPort Extreme or
    AirPort Express Network
    You can extend the range of an existing AirPort Extreme or AirPort Express wirelessnetwork by setting it up in a WDS. Wireless computers can connect to the network andshare the Internet connection, share files, and play network games. If you connect yourAirPort Express to your home stereo, computers on your wireless network can useAirTunes to play music on the stereo from iTunes. If you connect a USB printer to yourAirPort Express, all of the computers on the network can print to it.
    n Open the AirPort Setup Assistant on a Macintosh, or the AirPort Express Assistant on acomputer using Windows XP. Follow the onscreen instructions to extend the range ofyour AirPort Extreme or AirPort Express network.
    Note: Extending the range of a network using WDS may reduce overall networkperformance.

  • I have this question mark (?) in the upper left corner of my Finder windows. Anyone know what's up with that, what it might portend, and how to get rid of it?

    I have this question mark (?) in the upper left corner of my Finder windows. Anyone know what's up with that, what it might portend, and how to get rid of it?

    Are you sure you have a PowerMac? They can't run Mac OS 10.6.8. Maybe a Mac Pro instead?
    Can you post a screen shot of that portion of the screeen for us to review? Does the question mark replace the Apple that's at the left end of the menubar?

  • I've lost my iPhone5 like 40 hours ago. I already turned the Lost mode on with Find my iphone app. But my phone has no data plan so it could not connect to the internet at all. I reported to the police, too. What else can I do? Can anybody advise?

    I've lost my iPhone5 like 40 hours ago. I already turned the Lost mode on with Find my iphone app. But my phone has no data plan so it could not connect to the internet at all. I reported to the police, too. What else can I do? Can anybody advise?

    No...see the link I posted:
    If you did not enable Find My iPhone on your missing device
    If you did not enable Find My iPhone before it was lost or stolen, you can't use it to locate or protect your device, but you can still follow these steps:
    Change your iCloud password to ensure that no one else can use your device to delete or make changes to your iCloud data.
    Report your lost or stolen device to local law enforcement and your wireless carrier. Apple doesn't track or flag lost or stolen products, but you can use My Support Profile (supportprofile.apple.com) to find a list of serial numbers for products that you've purchased or registered with your Apple ID.

  • My airport utility says it cannot find any airport wireless devices, even though I am accessing the net via my wifi.  What's up with this?

    My airport utility says it cannot find any airport wireless devices, even though I am accessing the net via my wifi.  What's up with this?  Also, I cannot connect to my Photosmart b209a printer, though a different computer - same Macbook Pro can.  I tried redownloading the software, but in the setup I get a "device not reachable" message:  "However to continue configuring the device in network, your Mac must have access to the device. So please make sure that your Mac has access to the Network ..."  I've checked my network on the system preferences and it's properly connected.  I'm on the net as I do this.  Tis very frustrating, and any assistance woud be appreciated.

    Airport Utility is for administration of genuine Apple Base Stations. If you have a different Brand, Airport Utility can do nothing for you.
    I think they're using ethernet.
    To connect a Printer via Ethernet, no password is needed.
    We already tried the password for the internet and that did not work...
    If a password is required to connect to the Internet, then WiFi is likley being used, and that WiFi password is the one needed for the Printer connect wirelessly as well.
    What make&model Printer? Is it indeed a Wireless Printer? Most connect via USB, but that would force it to use a specific computer to assist in printing.

  • My recently purchase iMac came with pre-installed operating software but no backup disks. What happens if I find it necessary to re-install?

    Having ditched Windows after years of frustration I recently bought an iMac with Lion pre-installed. While not necessary at this tme there were no installation disks sent with the purchase. What happens should I find it necessary to reinstall the operating system?

    No. You do NOT have to buy Lion again.
    If you replace your HDD or erase the recovery partion, it will download and install lion from Apple' servers.
    See:
    http://support.apple.com/kb/HT4718
    Quoute:
    If you happen to encounter a situation in which you cannot start from the Recovery HD, such as your hard drive stopped responding or you installed a new hard drive without Mac OS X installed, new Mac models introduced after public availability of OS X Lion automatically use the Lion Internet Recovery feature if the Recovery HD (Command-R method above) doesn't work. Lion Internet Recovery lets you start your Mac directly from Apple's Servers. The system runs a quick test of your memory and hard drive to ensure there are no hardware issues.
    /Dennis

  • Could someone explain what is wrong with this refind expression?

    Hi, could someone explain what is wrong with this refind expression
    faultCode:Server.Processing faultString:'Unable to invoke CFC - Malformed regular expression "^[0-2][0-9][/][0-1][0-2][/][1-2][0-9]{3}+$".'
    thanks

    ^[0-2][0-9][/][0-1][0-2][/][1-2][0-9]{3}$ works,
    thanks
    dates 12/12/2007matching

Maybe you are looking for

  • Routing Issue with 2 Nics on Windows Server 2008 R2

    Good Day My issue is I needed to set up port forwarding for a web server to communicate with our hotels management server to check availability. Initially the server has a single Nic configured in the 172.26.1.0 /24 network  , Its default gateway the

  • Email A form

    Hi Guys I'm new here and I was working on a form and was adding some button I got the print button working but I just wanted to if there is a button command that can submit a form to an email address in PDF format. Any help will be greatly appreciate

  • Errors on IMAQ Train SVM due to invalid number of labels in weighted cost

    I get errors when I try to train texture using 'IMAQ Train SVM' due to invalid number of labels in weighted cost. I could not find much information about weighted cost for the 'Model Options' input. What type of label needs to be supplied and how man

  • SVG saving as Polyline instead of path

    Hello, I am trying to save a line drawing as an .svg to animate a path online, but line is saved as a polyline, which I am not sure how to animate in html. Is there any option to save line as path instead of polyline? Or any way to morph one polyline

  • Enabling a Client to use Sessions

    Hi guys I want to write a webclient which communicates with a servlet with more than 1 or 2 exchanges of data. The communication requires knowledge of all previous data passed between the two. The client i have so far programmed using the URLconnecti