Problems running the very first tutorial, AquaLogic 2.6

Hi,
I've gone through the first tutorial for AquaLogic 2.6, here:
[url http://e-docs.bea.com/alsb/docs26/tutorial/tutRoute.html]
Everything seems to work, except that the routing always goes to the normalLoan business service, regardless of the rate amount:
>ant run
Buildfile: build.xml
Trying to override old definition of task clientgen
run:
     [java] Loan Application Response: APPROVED BY THE <i><b>NORMAL</b></i> LOAN
APPLICATION PROCESSING SERVICE
     [java] Rate: 4.9
BUILD SUCCESSFUL
Total time: 4 secondsAs far as I can see, I've set up the XQuery expression correctly. The expression is: $body/exam:processLoanApp/loanRequest/java:RateThe condition (viewed in read-only mode) is:
[less than] [5] Route to [ ManagerLoanReview ]  invoking [ processLoanApp ].
Any ideas what is going on?
- Mark

Hi,
Well, the issue was that I didn't notice that I was calling the original URL rather than the proxy service.
I would strongly suggest that you don't ask people to edit the default run task, but instead change the build.xml to add a couple of ant tasks like the following, so n00bs like me can more easily test the services they've just configured:
<project name="normal-loan-app-webservices-jws_basic-ejb" default="all" basedir=".">
  <target name="gateway1" >
    <input
      message="Please type the interest rate: (5.5)"
      defaultvalue="5.5"
      addproperty="rate" />
    <java fork="yes" classname="normal.client.Main"
      failonerror="true" >
      <classpath refid="client.class.path"/>
      <arg line="http://${wls.hostname}:${wls.port}/loan/gateway1 steve 555 2500 20 ${rate} notes" />
    </java>
  </target>
  <target name="gateway2" >
    <input
      message="Please type the amount: (2500)"
      defaultvalue="2500"
      addproperty="amount" />
    <java fork="yes" classname="normal.client.Main"
      failonerror="true" >
      <classpath refid="client.class.path"/>
      <arg line="http://${wls.hostname}:${wls.port}/loan/gateway2 steve 555 ${amount} 20 5.1 notes" />
    </java>
  </target>
</project>Please feel free to distribute this.
- Mark

Similar Messages

  • I own the very first ipod and can no longer be updated or synced any suggestions to get it back up and running, has just decided to stop 2015

    I own the very first ipod and can no longer be updated or synced any suggestions to get it back up and running, has just decided to stop 2015

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              
    It could be that the battery has died

  • Do I need a computer to use my ipad for the very first time?

    I would like to know if I buy an iPad, shall I need to have a computer to start it for the very first time?
    I mean do I need to do plug in or can I start without  plug in?

    The new iPad does not need to be activated using iTunes. You will need a WiFi connection to activate it, but not a computer.
    If you are buying an iPad2, if it does not already have iOS 5 on it, then you would need a computer running the latest version of iTunes,

  • Can't restore latest Time Machine backup after drive replacement- only the very first.

    My 13" Macbook Pro running 10.8.5 had a bad hard drive which had to be replaced. After the new drive was put in I tried to restore everything to the new drive with Time Machine but could only restore the first backup I ever did after getting the computer, which was over a year ago.  I can drag and drop files but I would rather have all my preferences and bookmarks etc.  How do I restore the latest backup which was only about a week ago?  Thank you.

    Not yet; I'm not sure if Migration Assistant is quite right. Since I posted the question I ran across this youtube video
    http://www.youtube.com/watch?v=KYUem-QfYBs
    which suggests that I need to start up from a bootable external disc in order to restore a Time Machine backup to the same computer that the backup came from when the drive is replaced.  The video actually seems to describe my issue exactly.  The only confusing thing is I don't know why I would have been able to restore the very first Time Machine backup if I need to boot from an external disc.  More investigation needed.

  • My Media Browser in Garageband doesn't display anything except the very first song I have in this mac.

    I have been always wanting to edit some songs and make a remix of it. However, the media browser in garageband in my macbook pro doesn't display any songs, except the very first song I added to my laptop. I have tried to do every suggestion from other forums (e.g. check the itunes library, etc) and none worked. One thing I realised is that I can still drag and drop the song directly from Finder to my Garageband timeline. Nevertheless, it annoys me whenever I open the media browser since this is not what my mac should do. I would be very grateful if someone could assist me with this matter.

    Have you checked, if the search field at the bottom of the Media Browser is cleared? It should be set to "All", if you click the looking glass. Otherwise the list will be filtered.
    And the drop-down menu should show "iTunes", if you want to see all songs.
    If these simple measures do not help, try the fix for "oddball" problems and remove the User Preferences - see the FAQ:
    http://www.bulletsandbones.com/GB/GBFAQ.html#oddballprobs
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    Regards
    Léonie

  • Hyperion System 9.3.1 reports taking longer time for the very first time

    We are on Hyperion System 9.3.1. The Financial reports are taking longer time (like 2 to 3 minuter) for the very first time for each login. The subsequest reports are does work faster.
    The behaviour is same for the Production and Development environments.
    All the reporting services have given enough JVM heap size.
    FYI, Reporting and Workspace runngin on the same server. Workspace/Reporting are clusted in two servers. HFM app is running on different server. HFM web is on different server. Shared Services is also on running on different server.
    Any help would be greately appreciated.
    Thanks.

    The reason they run quicker the subsequent times, is because the data has already been cached in the system.
    You could try the usual tricks to speed the report up:
    - move items into POV
    - have children and parent in the same row
    - arrange dimensions in inverse outline order
    - remove excessive formatting
    - push report calculations back to the data source
    We have found that using lots of dynamically calculated members also slows down reports, so try and limit the number of these.
    Hope this helps. If not maybe give us an idea of how the report is created to see if other changes could be made.

  • New project: Every clip -- even the very first clip -- needs to be rendered.  Why?  I have no effects applied.

    I just started a new project.  Every clip -- even the very first with NO effects - has to be rendered.  Why?  I have used this exact same clip in other videos and had no problem.  I tried other simple (no effects) clips and they all do the same thing.  Could it be something in my initial project settings?This is for a funeral and I do NOT have time to wait till Sunday when Adobe Chat Help opens up again.  PLEASE HELP!

    So, perhaps I'm missing something.  Yes, dragging a clip to "new item" corrects the problem for that clip only, but trying to add another other clips to that same sequence results in new clips still needing to be rendered.  Dragging additional clips to "new item" simply opens a new sequence which I don't need.  I need all the corrected clips on the same sequence.
    1) How can I get corrected clips on the same timeline?
    2) How can I keep this from happening on future projects?  I did not change anything from previous projects.  I simply opened a new project & named it.  I'm not sure where things went so wrong.
    I know this sounds tacky, but I have gained about 2 days to complete this project since they have decided to cremate rather than bury.  Still need answers quickly though.  THANK YOU!

  • Oracle OLEDB driver can't postion at the very first record if ....

    Hi, all:
    It seems that I found a serious bug with OLEDB provider 8.1.7.3.
    For the following two queries, the provider works properly.
    select * from emp
    select * from emp, account
    However, the provider can't reposition to the very first record after navigating some records with the following query.
    select * from emp, account, dept
    Notify that MS Oracle provider still works correctly.
    Regards,
    Yuancai (Charlie) Ye
    Fast accessing all of remote data sources anywhere with SocketPro using
    batch/queue, non-blocking and parallel computation
    See 30 well-tested and real OLEDB examples
    at http://www.udaparts.com

    Quote
    Originally posted by wonkanoby
    what motherboard
    tried clearing cmos
    I thought i had mentioned that but it seems I didn't. :P
    It's the K7T Pro.  Same as the post listed above.
    According to my friend he's had it for more than 3 years so the warrantee is gone and I dont' see anything MSI can do.
    I came across many posts on the forums about the K7t Pro and it's successors.
    Everyone is says the same thing, "a bad voltage regulator.... leaky capacitors..."
    I've eliminated the following things as causes for this problem...
    PSU
    CMOS
    CPU
    RAM
    VideoCard
    SoundCard
    NIC
    Cooling
    The only things I am not sure of is the motherboard and the fact the D-Leds point to something with the lithium batter, as I mentioned above.
    Have there been problems with these motherboards like people say?
    Can you or anyone else think of anything which maybe causing this?

  • I have problem running the inverted pendulum trainer using NI ELVIS.

    i have a problem running the inverted pendulum trainer using NI ELVIS. While loading the NI ELVIS bypass VI it is unable to find the "enable communications bypass.vi". could anybody please attach the VI.
    I am using NI ELVIS 2
    Thanks

    The Enable Communications Bypass VI sounds like a VI that is only included with Traditional or legacy ELVIS designed to work with the first generation ELVIS unit, not the ELVIS II/II+ or myDAQ. It sounds like the inverted pendulum trainer you have is for use with ELVIS I. In the LabVIEW Loading dialog, do you see the full path for where it's looking for the VI? Can you provide that full path? If the inverted pendulum trainer is designed to work with the older ELVIS unit, there may be a newer version that supports ELVIS II.
    Donovan

  • HT4623 I can't find software update on my general tab. ***?? It's an iPad...like the very first old school one. Remember those? Lol

    I can't find software update on my general tab. ***?? It's an iPad...like the very first old school one. Remember those? Lol

    See
    iOS 5: Updating your device to iOS 5
    http://support.apple.com/kb/HT4972
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If you are currently running an iOS lower than 5.0, connect to your computer & click on the "Update your device using iTunes".
    Tip - You may need to disable your firewall and anitvirus software temporarily.  Then download and install the iOS update. After you update to iOS 5.x, the next update can be installed via wifi (i.e., not connected to your computer).
     Cheers, Tom

  • PAL to NTSC... the VERY FIRST step to get off of disc?

    I've got a PAL disc, and I need to transfer the movie to NTSC. Looked through the discussions and can follow the tutorial, but what is the very first step I should take to get the contents of the disc onto my desktop? Should I drag out the Audio_TS and Video_TS folders, or create a quicktime movie on desktop?

    I posted this: http://discussions.apple.com/message.jspa?messageID=9229331#9229331 earlier today. Its a good idea to copy the VIDEO_TS folder to your computer first -speeds up the process quite a bit. You don't need the AUDIO_TS folder, its probably empty anyway.

  • Hey guys I need to delete photos from the very first  IPad sold on the market, how I do it, when I bring the photos to be view I don't get the little garbage can to trash them. Help please!

    Hey guys! How you delete photos from the very first IPad when you don't get the little garbage can on the screen.

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    iPhoto for iOS (iPad): Delete photos from iPhoto
    http://support.apple.com/kb/ph3137
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
    The Fastest Way to Remove All the Photos from the iPad Camera Roll
    http://ipadinsight.com/ipad-tips-tricks/the-fastest-way-to-remove-all-the-photos -from-the-ipad-camera-roll/
    Delete Pictures from Your iPad
    http://www.dummies.com/how-to/content/delete-pictures-from-your-ipad.html
     Cheers, Tom

  • HT201250 which external hard drive should I choose/use as I am setting up Time Machine on my MacBook Pro 15 for the very first time?

    Which external hard drive should I use/choose as I am setting up Time Machine on my MacBook Pro 15 for the very first time?

    Any of these SATA HDDs that are at least the same size as your internal HDD (preferably larger capacity).  In addition you will need an enclosure, preferably one with a Firewire as well as a USB connection.
    http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Ciao.

  • Need information on the very first certification exam - PL/SQL

    Hi all,
    I am about to enter the OCA track.
    Need to appear for the very first exam.
    Please let me know somethings like -
    1. begineer's book, and pdf with any one, please pass it
    to [email protected]
    2. what is the name of the certification guide ?
    3. Whts the exam code ?
    any other information is welcome
    Thanks in advance.

    This is my understanding
    to become a OCA - dev track one needs to pass
    1Z0-001 or 007 and 147.
    but the 001 has expired
    so the 1Z007 + 1Z0-147 = OCA ( dev track )
    and after that if i give 141, i will be OCP - dev track
    is it ok ?
    thanks

  • The Very FIrst iPod Classic - Having Issues

    So, my brother's iPod keeled over and I told him I'd see what I can do. It's one of the very first iPod classics. They don't even sell these anymore. It's a 20GB metal design from 2004. I figure it's just fried, but I still wanna try. I don't think it died until recently, which is a shame. Even charging for a whole 48 hours, it wont turn on. I've tried resetting it numerous times.
    Anyone wanna try and help? Any advice is appreciated.
    NOTE: I do realise this is probably pointless since it's so old. I don't expect to fix it. It'd just be cool if I did.

    It sounds like a third gen iPod. Does it have four buttons in a horizontal row with a circular wheel below? All of these buttons and the wheel touch sensitive? If so, it's a third gen. If it has a clickwheel and it's 2004, it's a fourth gen.
    Sounds like the battery's gone. Just replace it yourself. It's like $30 with a DIY kit.

Maybe you are looking for

  • How can I convert a pdf file to a world file?

    I have been trying for the past hour to export a pdf file so that it can be converted to a word file, and no one seems to be of help.

  • How to change selection screen on LDB

    Hi everybody, Does anyone know how to change the selection screen on a ABAP report that uses LDB ? What I want to do is to suppress some fields and buttons and to add hidden fields. Thanks for your help. BT

  • Default template is English (US)

    Hi, when we create any new Office Document via the 'new document' button in SharePoint 2010 the default proofing language is always English (US).... No matter if the Regional settings in the Site Collections are English (UK), or the default in Office

  • Rule set/mitigation control tables backups

    I am working in GRC AC 5.3 with old SPs. How can I take backup of existing rule set and mitigation controls so that I can compare those after GRC AC SP upgrade. Please guide me in detail.

  • Files back and forth between leopard and win 7

    I'm thinking about installing win 7 on my mac pro. I'll be using both win and leopard at the same time. Can I access files that were made on my windows drive from leopard? Macs and PC don't use the same drive format right?