Stock Alerts

I've implemented to Stock alert example in Application Server Wireless release 2.0. Therefore I've followed the steps described at:
http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/wireless.902/a90486/paadwalk.htm#640563
I didn't encounter any errors while configuring the alerts: all the servers are running without any problem and the master alerts and triggers are configured the right way.
Via the Customisation Portal I've configured a new alert for an email client. This should send the Oracle Stockquote at 2 pm every day but unfortunately it doesn't.
My log shows the following error:
Time event handler for master alert 379 is
waiting...
2/5/03 9:53:17 PM NOTIFY : [StockMA-TimeDeamon]
alert.impl.AlertTimeFrequencyImpl.reFireTimeAlerts(AlertTimeFrequencyImpl.java:218)
Try to get time deamon lock for master alert
oid:379
2/5/03 9:53:17 PM NOTIFY : [StockMA-TimeDeamon]
alert.impl.AlertTimeFrequencyImpl.reFireTimeAlerts(AlertTimeFrequencyImpl.java:229)
Deamon Lock obtained for master alert oid:379
2/5/03 9:53:17 PM ERROR : [StockMA-TimeDeamon]
alert.impl.AlertTimeFrequencyImpl.reFireTimeAlerts(AlertTimeFrequencyImpl.java:290)
AlertTimeFrequencyImpl.reFireTimeAlerts():
Failed : Error : java.sql.SQLException: ORA-06550: Regel 1, kolom 45:
PLS-00201: Identificatiesymbool 'P_SUB_ID' moet worden gedeclareerd..
ORA-06550: Regel 1, kolom 7:
PL/SQL: Statement ignored.
The PLS-00201 error (in Dutch) points at a PL/SQL error in the database (Identificationsymbol P_SUB_ID must be declared). Where can I find the triggers for the a-sync engine? Could it have something to do with the local Stock.csv file on the server. In the data feeder configuration (init parameters) screen I've added the full path name of the data file. c:\iaswv20\wireless\j2ee\applications\ptg\ptg-web\stock.csv. I think the file is accessible for the system.
Have I forgotten to configure something else? Thanks in advance for your help.
Rgds
Thomas

I've recompiled the obects and didn't receive any errors.
Next to that I've checked the aq_tm_processes parameter and it was set to '1'.
After this I've reconfigured the alerts.
When I check the async engine it looks like there errors anymore.
2/12/03 9:10:07 AM NOTIFY : [MAStock] alert.engine.AlertValueEventHandler.handleValueEvent(AlertValueEventHandler.java:571)
<Param name="price"><![CDATA[6.48]]></Param><Param name="symbol"><![CDATA[CLGY]]></Param><Param name="change"><![CDATA[-0.02]]></Param>
2/12/03 9:10:24 AM NOTIFY : [MAStock-TimeEvent] alert.engine.AlertTimeEventHandler.handleTimeEvent(AlertTimeEventHandler.java:197)
Time event handler for master alert 459 is waiting...
Also the datafeeder seems to work OK (DFProcessStock.log)
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.EngineUtil.println(EngineUtil.java:206)
{price : 6.48,change : -0.02}
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.EngineUtil.println(EngineUtil.java:206)
{price : 6.48,symbol : CLGY,change : -0.02}
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.AL.l(AL.java:51)
Should not have any pending params in oracle.panama.feed.engine.ParamIteratorImpl@3bc20e after download run
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.AL.l(AL.java:51)
run ended successfully
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.AL.l(AL.java:51)
Run took 3 seconds
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.FeedLogger.logPerfStats(FeedAgentManagerImpl.java:110)
DbLogger: LogFileHandlerAbstract: Returning Site wide Logger connection
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.AL.d(AL.java:46)
Executing update: insert into datafeeder_metrics (update_date, host_name, instance_name, feed_name, actual_batchtime,downloaded_rows) values ((select sysdate from dual),'portal','DFProcessStock','DFStock',3,51)
2/12/03 9:15:07 AM NOTIFY : [Thread-12] feed.engine.AL.l(AL.java:51)
Sleeping for 57 seconds
I'm expecting a couple of alerts today so I'll keep you updated about it.
Thanks for your help.
Rgds,
Thomas

Similar Messages

  • Safety stock alert

    If total stock of a material goes below safety stock user can get a message at inbox as an safety stock alert...
    How can be the scenario configured????????
    Please suggest mmmmmme.......

    Dear Subhjit,
    You can get a mail whenever you stock goes below a defined limit with the help of Early Earning system.
    Here you can define certain characterstics with predefined conditions like Stock < 1000 Kg, and whenever those conditions comes automatically a mail goes to Id given in follow up section.
    Regards,
    Sachin

  • Minimum stock Alert

    Hi guys, i need a solution to a query which was raised in a meeting.  The purchaser wants an alert if the quantity of stock went within 5% of the minimum stock level.  What the user wants is a list emailed to her if ever the quantity drops to this level.  The trigger would be if a Sales Order was entered on the system and the order took up that stock.  I'm very new to Crystal reports.  I have the databases in order to do this, its just the logic to implement it.  I've started by using the following databases, fields and formula's:
    I have a database field which is 'GDWITM.GDMIN', this is the Minimum Stock Level.  So my starting logic would be:
    If abs (5/100*{GDWITM.GDMIN}+{GDWITM.GDMIN}) < {GDWITM.GDMIN} THEN
    "Please Reorder Items".
    Is this wrong.  Could you please advise. 
    Thank You
    Edited by: Jonah Higgins on Feb 10, 2009 3:56 PM

    Your formula is calculating 105% of the minimum stock level and checking to see if it is less than the stock level.  Won't ever happen! 
    The expression should be something like
    If 1.05*{GDWITM.GDMIN} > {on hand - on order} THEN
    "Please Reorder Items".
    (The abs() function is unnecessary, assuming the minimum order level is above zero...)
    HTH,
    Carl

  • Safety stock alesrt

    If total stock of a material goes below safety stock user can get a message at inbox as an safety stock alert...
    How can be the scenario configured????????
    Please suggest mmmmmme.......

    Hi,
    If the stock goes below the safety stock system wont allow you to draw the material and message come.
    But for your requirement you can have a Z-report run in back ground checking the exisitng stock and safety stock periodically and it will send a report to respective user in box. With the help of ABAP it is possible.
    Hope your requirement has been addressed.
    regards
    Venkat

  • Alert Engine not dosn't send any alerts

    I am using Oracle9iAS Wireless Release 2, I am trying to do the Stocks alerting sample in the Getting Started Guide.
    I managed to create a Valid Device & registered for an Alert. The Messaging Server is working because I am able to recieve EMAIL & Data Feeder are working because it is downloading rows, the Alerting engine is the problem its proccess is started but can't recieve any thing.
    Note:
    I followed the smple instructions very carefully
    Can any one provide tips
    Thanks

    Hi Won,
    I suppose that you have checked alredy that your alerts are setup correctly and rules are defined for it.
    First, you might set the log level of the file adapter to debug - you should see the issue in the NWA log.
    Should PI try to generate an alert but fails, you would also see it here and locate your problem.
    But, my opinon is that  your chances are not very good to get an alert in such case. SAP decided for which issue they issue an alert and for which not.
    When you have an empty file in the file adapter, it seems that SAP thiks that this is not to critical and therefore they don't issue an alert.
    The reason why you dont see it anywhere else is, that the adapter generates a message id only when there is something to make a message. Empty file means no message and you can not see it in the monitoring tools.
    best regards,
    Markus

  • StockDaddy Turbo for BlackBerry 10 updated to v1.1.0

    We first told you about StockDaddy Turbo a short while ago and for those of you that need to keep an eye on your stocks and shares it's the perfect application to do so - right from your BlackBerry 10 device. 
    The developer dropped me an email to advise that the app had received its first update and with it brings notifications right into the BlackBerry Hub. If you've already downloaded the app, this new feature will possibly be of huge value to you. Clearly, StockDaddy won't be for everybody but if you have investments this one could be a deal breaker. 
    As you'll see from the change log below there are several extra good bits and there is even more to come in the near future. 
    New in v1.1.0.0:
    Stock Alert Notification: Define a threshold on the stock and the notifications comes right to your Hub
    Search for and Add North American ETFs to the Watchlist
    Password Protect: Stop people from snooping in your Portfolios by enabling Password Protect
    Add to Watch/Port buttons are now enabled when searching for a stock using the search button
    Minor UI changes
    Minor Bug fixes
    More information/Download StockDaddy Turbo for BlackBerry 10
    Author: James Richardson / CrackBerry
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    Excellent contribution Josuefunes...
    Regards... 
    Kudos ** Do not forget to give those people who help and advise you regarding your questions ** Can
    Accept as Solution to ** Comments **
    @gutijose14
    BBM Channels  PIN: C0007093A
    Do not forget to give LIKE    Those people who help you and advise you about your doubts.  if the review has been SOLVED** # 4LL  #ÉliteRoad  Make a backup of your BlackBerry
    BlackBerry Protect and  BlackBerry Link constantly.  #ichooseBlackBerry10 Gutijose14 Forums Veteran I

  • How do I turn off new threaded SMS messaging in OS 5.0?

    I upgraded to v5.0.0.328 but now all of my SMS & MMS messages are combined into long threads according to the incoming phone # or short code. That's all well & good if the messages were coming from separate phone #'s so they'd be in separate threads but the issue here is that Verizon Wireless uses the same short codes for many of it's own customer-set alerts from the My Verizon website. For example, my 2 daily horoscopes, my 2 daily stock alerts, & all of my sport team score alerts all get sent using short code 1111.
    So now in my SMS/MMS Inbox, I only see 1 listing from 1111, but when I open the subject, I get half of my screen filled w/ the keyboard automatically & now have 45 messages all on 1 screen because they're all from 1111.
    I can't find in any option menu a way to turn both the threaded functionality off & to stop having the keyboard pop automatically.
    Help please!

    I'm sorry I couldnt last any longer I actually downgraded back to the old OS
    Heres my test.
    I sent myself a text message
    Received it
    Sent another
    Received it
    If you choose delete, it will delete all messages, including the outbox.  That is one feature i do not like.  I like having the power to delete which messages I want
    But thats even beside the point
    So check this out
    I sent myself a message
    received i
    sent another (#2)
    received it
    sent a third one
    received it
    yet for some odd reason it decided to send TWO more; I was like; what the heck
    But besides this text message problem, my storm has frozen up on me on a few applications and then the screen goes completely black, and no matter what key i press, the system stays black, so I press and press and press and press til finally something pops up then it takes forever to log out................/sigh

  • Importing photos from mail to iphoto in 10.3.9? any programs?

    Anyone know of any program or Applescript that will automatically add photos to iPhoto from an email? I know Tiger has this built in, but my grandmother has 10.3.9 on an old iMac and has trouble remembering how to save attachments and import them into iPhoto.
    I don't know applescript enough (really don't know it at all) to write a script to do this.
    Thanks.

    /Gary, you encouraged me... /
    I'm no iPhoto specialist…
    but...
    a fully-automatic script would add ANY pic to iPhoto, including the nice "get viagra cheaper".gif or "stock alert!".gif, that flood my IN-box...
    so, Grandma would need to do a context-menu click...
    but doing clicks....
    why not showing her drag'n drop? Mail + iPhoto open (ok, needs some arrangement on screen)
    grab pic, drop into iPhoto…
    this is an age-independend metaphor...

  • Notifications Tones for Droid X2

    How Can I add ringtones to my notifications on my Droid X2??? I want to be able to have music played instead of the chimes ect.

    Copy mp3s to SD Card / Media / Audio / Notifications....   You can also create a folder in same directory for ringers and alerts and then they will be displayed under the stock alert menu of device...

  • Alert notification whenver stock is posted to a Sto location

    Hi Gurus,
       My client has following requiremets:
    1  An alert notification to be generated to QC department whenever the stock is posted to the sto loc QCH1(inspection lot number should be updated in the alert)
    2  An alert to be generated QC department whenevr there is sales good return.(The sto loc is GRN1)
      Please guide me how this is possible.
      Do we need to use workflow or some enhancements.
      Please give details about how to proceed with the enhancements.
    Thanks iin advance
    Regards
    Ankush

    Hi
    I think you did not understand my earlier reply. Whenever GR is made when you tick print and choose individula slip in genral tab the requirement is triggered for a message. Utilize that for notification. It can be sent as mail or idoc which can be received in 3rd party system as well.
    In output determination for your inventory message schema you should have your output type. (config in output determination)
    Then maintain condition record in MN21 for your output type, transaction/event type WE, Print version is 1, print item also 1, and choose simple mail option, send immediatly option and in communication give receipient. It will work as a simple mail
    Regards
    Antony

  • Is there any way to raise alerts for stock outages in inventory

    Is there any way to raise alerts for stock outages in inventory

    You can use the Check Material Shortages attribute in the Org items under Inventory tab. Oracle will trigger shortage alert notifucations for the checked items. This works in the conjuntion with the Shortage Parameters defined at the Inv ORg level (these parameters are nothing but what business wants to consider as a shortage in WIP and OM). You can notify the cmp planner/buyer , assy planner/job creator..

  • Alert Salespersons when stock is booked

    Hi Support
    Can I please get some help writing query for required Alert setup.
    I need Alert to trigger relevant assigned Salespersons when stock is booked in. 
    Meaning... alert to notify user/s when stock is received into warehouse "01" from PO.  Can be done via Goods Receipt and/or AP invoice process.
    I appreciate your help.
    regards
    Kelly

    Ok.
    I am going to give you the base query which can be altered based on your information requirements
    SELECT DISTINCT T0.DOCNUM, T0.DOCDATE, T1.ITEMCODE, T1.QUANTITY
    FROM [DBO\].[OPDN\] INNER JOIN [DBO\].[PDN1\] T1 ON T1.DOCENTRY = T0.DOCENTRY
    WHERE T1.WHSCODE = '01' AND T0.DOCDATE = GETDATE()
    UNION ALL
    SELECT DISTINCT T0.DOCNUM, T0.DOCDATE, T1.ITEMCODE, T1.QUANTITY
    FROM [DBO\].[OPCH\] INNER JOIN [DBO\].[PCH1\] T1 ON T1.DOCENTRY = T0.DOCENTRY
    WHERE T1.WHSCODE = '01' AND T0.DOCDATE = GETDATE() AND T1.BASETYPE = 22
    The above query will display all GRPO's and all AP Invoices which have been added that day.  In the where clause the condition T0.DOCDATE = GETDATE() filters this.
    Suda

  • Alert on Maximum Stock

    Hi Experts,
    I would like to ask if possible to have alert for maximum in-stock (inventory module). This alert will trigger if any of item code have reach the maximum level (in-stock).
    Thanks,
    Jon

    Hi Jon,
    Yes you can do it but for this you have set first maximum level of stock for item. Same as available alert for "Minimum Stock Deviation" just create query and make new alert with the query.
    select Itemcode,MaxLevel from oitm where maxlevel< onhand
    Thanks
    Sachin

  • Alert messages for mininmun stock

    Hi all
    Can anybody explaqin me how to maintain the atlert message , if any materials comes below the safety stock. minimum stock level.
    thanks
    sap-mm

    Inform your ABAPer to create an User exit for the same

  • ALERT - iMac Stock in safe Boot. Can't restart!!!

    iMac 27 inch, Mid 2010 on Mac OS Mountain Lion
    I did a safe boot restart and the iMac crash after I see the Apple icon on the grey screen.
    Is there a way to restart in normal mode?
    I tried many things, it is stuck in safe boot mode.
    Thank you

    Have you tried a PRAM reset?
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Do you another wired keyboard you could use to see whether the existing keyboard has developed a problem.

Maybe you are looking for