Polling mechanism in WAS?

Is it advisable or feasible to implement polling mechanism in WAS. My purpose is to ping an external server at regular interval, and also to do query on the database table based on certain criteria at regular interval.
Or is there any better design doing that?
Any suggestion would be much appreciated. Thanks.

Hi Julius,
Timeout Service would be good option for you http://help.sap.com/saphelp_webas630/helpdata/en/6b/2550d23ef1994580114d6064bc44a1/frameset.htm
Best regards, Maksim Rashchynski.

Similar Messages

  • UWL triggers polling mechanism

    Hello,
    our UWL triggers a polling mechanism which runs every 3 seconds.
    Do you know how to change the duration between two of these pollings?
    Following servlets are invoked:
    rtmfCommunicator/rtmfPollingServlet
    rtmfCommunicator/rtmfServlet
    Thanks in advance for your help
    Max Roßmehl

    Hi ,
    Check this link: [Link|http://help.sap.com/saphelp_nw04/helpdata/en/03/80a74052033713e10000000a155106/content.htm]
    to change the default polling interval.
      In the portal, navigate to Content Administration >Collaboration Content>Collaboration Launch Pad Administration. Then, under Related Links, choose Configure Real-Time Collaboration>RTC Engine> RTCEngine.
    Alternatively, you can navigate to System Administration>System Configuration>Collaboration. Then, under Folders, navigate to Collaboration>Real-Time Collaboration (RTC)>RTC Engine-->RTCEngine.
    In the Polling policy drop down---->Select Constant Interval and change the Polling Interval Basis value.
    Cheers,
    Raja.D

  • Polling Mechanism in ODI

    We have a requirement where ODI interface should be triggered whenever there is an update on a particular column of a table.
    We have around 1 million records in source tables so polling through BPEL takes a while, is there a way it can be done entirely in BPEL?

    That tool is commonly used for Journal process... If you use the ODI journal process than that will be the API to check for data change.
    If you are able to deal with Logminer there is an excellent set of KM and ODI toll that can help you detect the update at the column without need to create trigger... and with NO QUERY at source... at systems with high transactional access it means a very important gain of performance..
    Does it make sense to you?

  • Polling in BC4J Struts

    Hi folks,
    How would I achieve a polling functionality? One of our applications is setup with the 10gR2 version which comes with BC4J and Struts(Struts was a personal choice). I understand we have an af:poll tag with jsf which helps us to achieve the polling functionality. My query is how would I go about doing the same thing through Struts and BC4j. We don't have JSF, so its kind of tricky.
    My actual requirement is as follows:-
    I basically need to call an oracle report from java. I do this by having a custom implementation of the rwservlet. The oracle report generates a PDF file locally. Which I then need to store on my Database as a BLOB.
    I know how to call the report.
    I know where the pdf is located.
    I know how to store and retrieve the pdf from the DB through Struts.
    My only issues is in instructing my application from the report side to pick up the pdf file when the report is complete. I was thinking in these lines:-
    Rather than passing the instruction from the report side,in my struts action class i would set up some polling mechanism(which i don't know how to) that would tell me to look for the report in 2 minutes(which is how long the report takes to be generated), then pick it up and store it onto the DB.
    Since i "lose control" of the handle after redirecting to a different servlet for the report call, I don't see another alternative other than polling.
    Is there an alternative approach i can adopt to achieve the above functionality?
    If not, is it possible to poll through BC4J/Struts (as against ADF/JSF)?
    If not, please help :) .
    Cheers,
    K

    There is another danger related to this security hole:
    Struts suggests to locate JSPs below the WEB-INF directory to protect them from direct access. A JSP located here cannot be accessed directly but only using the appropriate action.
    One common approach implement security in a struts framework is to perform the required checks in actions. A user not logged in might for example been forwarded to the login screen instead of the requested page.
    If an Application relies on this fact and assumes that it is not possible to call a JSP located in WEB-INF without using the appropriate actions, this bug here opens another hole:
    The "currentPath" Parameter allows a user to call any JSP on your Web-Server! Simply modify the URL to look like this:
    navigate.do?amId=...&jboViewObject=...&currentPath=WEB-INF\path\to\any\page.jsp
    and you are in!
    Frank Brandstetter

  • OSB Email Polling 10gr3

    Hi,
    I have a problem at one of my customer sites using the OSB email polling mechanism. We created a proxy service that monitors and downloads mail from an Exchange 2007 mailbox. Last week they moved the mailbox to an Exchange 2010 server... After the move I saw the following error in the Service Bus log:
    <2010/08/02 03:38:03 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280756283684> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
    com.bea.wli.sb.transports.TransportException: Missing start boundary
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    javax.mail.MessagingException: Missing start boundary
         at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
         at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
         at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    We moved the mailbox back to 2007 and the server processed the messages normally...
    Does anybody know what would cause this error?
    Another interesting, but alarming fact is that when this error was generated, no messages where written to the error folder location specified in the proxy service configuration... The messages were successfully "popped" from the server and then simply went missing... Is this maybe a bug?

    Hi Anuj,
    I'm using IMAP to connect to the mailbox. Just to give you a bit of background, the mail message contains attachments so will be multipart messages.. I was able to replicate the issue by sending a mail with attachment from my Apple Mail client, so it would seem like this error has something to do with the format of the multipart message...
    Basically to error repeats in the domain log:
    ####<2010/07/30 05:21:55 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503315053> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
    com.bea.wli.sb.transports.TransportException: Missing start boundary
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    javax.mail.MessagingException: Missing start boundary
         at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
         at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
         at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<2010/07/30 05:22:15 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503335836> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
    com.bea.wli.sb.transports.TransportException: Missing start boundary
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    javax.mail.MessagingException: Missing start boundary
         at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
         at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
         at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<2010/07/30 05:22:36 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503356631> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
    com.bea.wli.sb.transports.TransportException: Missing start boundary
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    javax.mail.MessagingException: Missing start boundary
         at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
         at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
         at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<2010/07/30 05:22:57 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503377407> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
    com.bea.wli.sb.transports.TransportException: Missing start boundary
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    javax.mail.MessagingException: Missing start boundary
         at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
         at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
         at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<2010/07/30 05:23:18 PM> <Error> <WliSbTransports> <SHOESB> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <> <1280503398233> <BEA-381011> <Error occured for the service endpoint ProxyService$MercedesInbound$ProxyService$EmailPollingPX: com.bea.wli.sb.transports.TransportException: Missing start boundary
    com.bea.wli.sb.transports.TransportException: Missing start boundary
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:116)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    javax.mail.MessagingException: Missing start boundary
         at javax.mail.internet.MimeMultipart.parsebm(MimeMultipart.java:713)
         at javax.mail.internet.MimeMultipart.parse(MimeMultipart.java:383)
         at javax.mail.internet.MimeMultipart.getCount(MimeMultipart.java:229)
         at com.bea.wli.sb.transports.email.util.MessageContent.handlePart(MessageContent.java:72)
         at com.bea.wli.sb.transports.email.util.MessageContent.<init>(MessageContent.java:33)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.processInboxMessages(EmailWorkPartitioningAgent.java:181)
         at com.bea.wli.sb.transports.email.EmailWorkPartitioningAgent.execute(EmailWorkPartitioningAgent.java:100)
         at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Are there any other logs I can look for? Taking into account that this is our production machine...
    Edited by: Ben Taljaard on Aug 3, 2010 2:55 AM

  • Database Polling in Jdev

    Hi,
    I have created BPEL process that continuously polling on View present on database at certain interval.
    here i am using logical delete operation while polling for new or changed records so that will update certrain field on table.
    but my view has only Read permission(Not want to change this) so i can't update the field that's why this polling functionality is not working after deploy on BPEL console.
    so can anyone will help me on how i can fire only select query with specified interval of time to read the view data only? is there anyother way around to fire select query at certain interval without updating?
    your help will be appreciated.
    Thanks
    Sagar

    I'm not yet familiar with 11g - so forgive me if this is not valid in that release. But for 10.1.3 ...
    Another option - if you can't (or just don't want to) affect data in the DB is to use some other mechanism to kick off your BPEL process on a regular time interval - and then just do a normal inbound select operation against your table to search for records to process.
    I've been trying out a new scheme - where I use a file adapter as the polling mechanism to kick off the BPEL process (using a polling interval of maybe a minute). The file on the server that its polling for can be anything - as I don't actually use the contents of the file in the process. At the end of the BPEL process, I use another file adapter to place a new file in the polling directory - to be found by the polling file adapter on the next polling cycle. You could also accomplish this in other ways - but this seemed like a pretty simple way to kick off a BPEL process on a regular time interval.
    Just an idea ...
    I do wish BPEL had a simple way to schedule a process to invoke itself on a set interval. Perhaps in a future release? Or even in 11?
    Rod

  • File was not deleteing  in my file adapter

    Hi,
       in my File adapter (<b>sender side</b>) is not working fine..  if i put  the processing mode is  '<b>DELETE'</b>   my adapter is not working.. if i put the processing mode is  'TEST'  then  my file is polling and  outfile was generating.. why this was happending..
           if  keep processing mode is 'delete'  then  the file is polling but it was not deleting so, output also it was not generating... ..  for what reason it was happening..
    Thanks
    babu

    Hi Babu,
    You must be using some user for accessing the file system for picking up tht file...
    Check if the user has Delete access to the folder.
    (You can set this property in the FTP Server UI)
    Regards,
    Sushil.

  • BPEL: invalid namespace error with DB adapter polling and java embedding

    Hello
    I'm using bpel 10.1.3.1.0, and I'm experiencing the following problem: I'm am not able to use the SetTitle() function in a process which polls for records using the db adapter.
    Steps to reproduce the problem:
    - I create a very simple bpel process which poll for records in a table.
    - I deploy it, write manually a record in the polled table and the process start.
    - I can see the record picked up through the visual flow in the console
    - everything looks ok and the process ends correctly
    - now I add a java embedding activities just after the receive
    - I set the instance title like this: setTitle("Go");
    - redeploy, write a record in the polled table and the process start.
    - but the process ends in error with the following message "XMLDOMException has been thrown. invalid namespace for prefix xmlns"
    And there is no way to make it work. Consider:
    If I put the same java embedding activity in another process, for example a simple asynchronous process which just copy the input to the output, and I run from the console, the instance title is set as I want ("Go")
    If I remove the three lines from the polling process
    <bpelx:exec name="Java_Embedding_1" language="java" version="1.3">
    <![CDATA[setTitle("Go");]]>
    </bpelx:exec>
    then the process is executed correctly again. I add them again and then namespace error.
    Whatever statement I put in the java embedding activity (for example a string concatenation or even just a comment I have the same result: invalid namespace for prefix xmlns.
    Does anybody has a suggestion to evercome the problem? I need to set the title because its a mess to find out which instance processed a specific record.
    Thanks by
    Paolo

    I made a lot of further tests, and I can say the problem is related only to the database adapter polling mechanism.
    If I create an asynchronous process, with any kind of database activity (for example select) I can set the title normally.
    If I create a process which start with database table polling, then I cannot use the java embedding.
    try this:
    - create BPEL empty project
    - drop a database adapter service and follow the wizard:
    - select a connection (I tried both oracle or sqlserver connection)
    - select "poll for new or changed record"
    - select any table empty or with few record inside (1 or 2)
    - press next 4 times
    - chose delete record after read (press next)
    - chose order by "no ordering" in polling options (press next 2 times)
    - now drop a receive activity on the process, and connect with the polling partner link
    - drop a java embedding and write any valid java statement
    - deploy; if the table is empty, write a recod in the table
    - the process is instantiated, but the it fails in the --> receive <-- activity with "invalid namespace" error

  • MX100 Operating Temperature: Much worse than a mechanical drive.

    My Crucial 256 GB MX100 SSD operates, at idle, at 34 C in my desktop and 53 C in my Dell R17 laptop in a 27 C room. Is this normal and acceptable? I don't like the touchpad area and bottom of my laptop PC being so warm, especially when the mechanical drive was operating at around 30 C in the laptop.

    TonyTech, take a look at this thread - http://forum.crucial.com/t5/Crucial-SSDs/m500-msata-high-temperatures-70C/m-p/155126#M43859

  • Database Adapter Advanced Polling Technique

    I would like to create a polling database adapter on an SOA application. The data is statistical and changes frequently. I have developed the SQL in sqldeveloper to get the data (hard part done, or so I thought). I would like the adapter to poll the database with this query and fetch the results. I plan to use a sequential table to keep track of the fields at a separate database. Now, I understand I could turn the SQL script into a view and have the database adapter poll the view. However, my requirements are that the process be as unobtrusive to the database as possible. In other words: they do not want me to put that view on the database. So, my question is: has anyone created a database adapter polling mechanism that can execute a pure SQL select statement such as the one i have created. Of course, the SQL script is rather complex and it cannot be implemented using the TopLink commands on the database adapter wizard in jDeveloper. Does anyone know of a way i can do this? and if so, how? Thanks in advance.

    Could you provide more insight on how you wired the adapter and BPEL process inside the composite? What does the BPEL look like? You could add a BPEL component that persists some stuff just for test purposes. That could give you more feedback from the console.
    hth,
    Peter Paul

  • Extension mechanism

    I have developed an applet which uses some utility classes bundled in a jar file. I didn't want the user however to have to download the utility classes in the jar file every time he wanted to use the applet so I thought of making it an optional package. Thus I used the extension mechanism so that the first time the user downloaded the applet he could install the utility jar file as an extension.
    The problem that occured is this: From a utility class I load some images to display on the applet. The images reside within the utility jar file so I use the following code to load them:
    1:     URL url = this.getClass().getResource(imageName);
    2:     ImageIcon imageIcon = new ImageIcon(url);
    When I didn't use the extension mechanism there was no problem!
    When I did use extensions though a Null Pointer Exception was thrown
    at line 2. Obviously the url is null.
    This seems pretty strange to me because the image is loaded from within the jar file and the jar file has been downloaded (and installed). So what is the problem?
    Any help would be appreciated.

    You are using a JVM that supports the extension
    mechanism, I hope? Not the Microsoft JVM that comes
    with Internet Explorer, for example? If so, then
    perhaps you don't know where the extensions directory
    really is. The system property "java.ext.dirs" (I
    think) will tell you where it really is.
    Having gone through this, you may want to rethink your
    original idea that it would be more convenient for the
    user to download and install the jar file. If you had
    this much trouble, how easy would it be for somebody
    else?Hey there,
    Wonder if you could help me sort something out while you're at it. In my older WIN95 OS I put my extension .jar files - if I remember right - in, say, C:\jdk1.3.1_03\jre\lib
    . . . and things worked fine.
    I just upgraded to XP and I added my extensions to both C:\jdk1.3.1_03\jre\lib & C:\Program Files\JavaSoft\JRE\1.3.1_03\lib\ext
    . . . It finds the files fine, but my .jar files - that have in them some of the same files as in my extension .jar - are faultering. I'm trying to figure out if I need to add the CLASSPATH to my SYSTEM | ENVIRONMENTAL variable, or to my .jar applications. You have any ideas?
    Thanks in advance;
    ~Bill

  • Cache Event polling S_NQ_EPT in Cluster Env.

    Hi,
    How to use event polling mechanism in Clustered Env to purge cache ? It works fine in non - clustered env.
    I'm getting errors -
    2009-12-16 15:40:45
    [55003] The cache polling SELECT query failed for table S_NQ_EPT.
    2009-12-16 15:40:45
    [nQSError: 17001] Oracle Error code: 933, message: ORA-00933: SQL command not properly ended
    at OCI call OCIStmtExecute.
    [nQSError: 17010] SQL statement preparation failed.
    2009-12-16 15:40:45
    [55005] The cache polling delete statement failed for table S_NQ_EPT.
    Anything special we have to do ?
    Thanks,
    Ayaps

    Here's the resolution:
    Hdr: 6877602 N/A ADMIN_TOOL 10.1.3.3.2 IMPORT PRODID-2025 PORTID-289
    Abstract: INCORRECT SCHEMA WHEN IMPORTING THE EVENT POLLING TABLE
    *** JOKENNE 03/10/08 01:47 am ***
    script in 10.1.3.3.2 we are getting the following error in the NQServer.log
    file:
    "[56001] The cache polling event table UET has an incorrect schema."
    After some investigation on a Paint.rpd file we found that this occurs when
    we import the schema using an OCI connection i.e. File > Import > From
    database > OCI
    When we import using ODBC 3.5 option it works fine.

  • DB Adapter Polling when database is shut down

    Hi all,
    I am trying to understand the DB adapter behavior (when set up to poll for new records) when the target DB is shut down. At my customer's site, the target DB is shutdown on Sunday mornings for a cold back-up. This is causing my ESB service to fail - and it does not resume when the DB is brought back up. When I've tested this on my own laptop environment (SOA Suite with Olite and a separate 10g DB as my target DB), it properly resumes polling when I bring my 10g instance back up. I've left it down for over 30 minutes - and it still resumed polling as it was supposed to. Is there a parameter somewhere that tells the App server to give up after a certain amount of time? Or is there something else I can check? Thanks for any help!
    Details:
    SOA Suite 10.1.3.1.0 on RH Linux
    BPEL and ESB Schemas are on Oracle 10g on RH Linux
    Target DB is on Oracle 9i on AIX
    Cheers,
    Lon

    Changing the retryInterval and retryCount for that adapter process solved the problem. Thanks. I assume there's no bad side effects if I set this to keep trying for an hour or so? That's how long the target DB may be down for backups.
    Thanks,
    Lon

  • Polling interval

    Hi All,
       Please help me regarding, how to set polling interval, in case of IDoc-File Scenario.
    Thanks in advance.
    Regards,
    Sree

    Hi Rama,
    Just to add on to what others have told. Since your taking an example of a file – IDOC Scenario understand the same…I will also try explaining with that in mind.
    In the case of a File – IDOC scenario, The XI Sender File Adapter picks up the file to send to the target/receiving system. The Sender File Adapter can be configured to poll at regular intervals. The polling interval can be set as per the schedule of the extract program. In case the extract is on-demand, then you can set the polling interval to 60 secs or 600 secs. The point is that the interface can be triggered by the File Adapter polling mechanism.
    There are a few parameters which you define while configuring the Sender File/FTP Adapter, so I thought I will just tell you what exactly a few of them relating to polling time mean:
    1. Poll Interval (secs) - Number of seconds that the adapter must wait if no files are found for processing.
    2. Poll Interval (msecs) - Additional waiting time in milliseconds.
    - If Poll Interval (secs) is set to null, processing times will be short and close to real time.
    - If Poll Interval (secs) and Poll Interval (msecs) are set to null, the adapter is only called once.
    3. Retry Interval (secs) - Specify the number of seconds that the adapter is to wait before a file processed with errors is processed again.
    - If the value is set to null, then the adapter is canceled if an error occurs, even if a value greater than null is specified for Poll Interval (secs).
    While configuring a sender file adapter, a major mistake that we often do is keeping file adapter communication channel polling interval less and in test mode. It is not an error, keeping it in test mode with less polling interval but, often we forget about it, keeping the adapter channel active and it loads the server memory unnecessarily.
    The link below will help you understand things better.
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/03/80a74052033713e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/17/7481b6d5095b42bd804d1815201ebc/frameset.htm
    I hope I have answered your query.
    Regards,
    Abhy
    PS: AWARD POINTS FOR HELPFUL ANSWERS.

  • Poll messages from XI servers

    Hi,
    Client applications located behind a firewall cannot receive messages from XI over HTTP or SOAP.  SAP XI cannot initiate an HTTP connection to them.  Would it be possible to develop some sort of polling mechanism whereby the client checks at regular intervals if messages are available?
    Maybe some sort of endlessly running business process could be used?  But then, each polling call for each client will be monitored.
    Or the development of our own adapter?  Or some servlet that retrieves messages (files) from directory or jms queue?
    Kind regards, Guy Crets

    Hi,
    >>>Or the development of our own adapter? Or some servlet that retrieves messages (files) from directory or jms queue?
    you only said you cannot go for the HTTP nor SOAP
    but you didn't say <b>what you can use</b>:)
    >>>Would it be possible to develop some sort of polling mechanism whereby the client checks at regular intervals if messages are available?
    if you can use FTP/SFTP why don't try this?
    XI can puts the file in some folder and the clients appliction just takes the file (scheduled polling)
    >>>Or the development of our own adapter?
    what for?
    BTW
    did you thought about j2se adapters ?
    maybe the XI will can connect to one of them
    through XI SOAP protocol and j2se adapter placed
    at the client's place will communicate with the application?
    however if you you cannot use SOAP at all this will not work I guess
    Regards,
    michal

Maybe you are looking for

  • How do I alternate an output value between 2 settings at a prescribed rate?

    I would like to simplify a sine wave into simply a saw tooth with a single point at the top and bottom of the wave. My external system cannot keep up with the rate I need for the sine wave so it is useless feeding it all that extra data. I basically

  • CHANGE APPLE ID ON IPHONE

    We have iphone and diffrent ipods and a pad. We only had one apple id. Unfortunately with the icloud we could read eachothers messages. So i created a new apple id for my iphone. Now, i told my iphone (via settings, apps...) that i have a new apple i

  • 2010 Mac mini to yosemite

    I am considering my 2010 Mac mini to Yosemite, is there any benefit

  • API for delete organization classification ??

    Hi All, By wrong i enter an organization classification to my business group. I want an API to delete this classification , i search on metalink but no result found. Regards

  • Incremental Agg

    I have a compressed and partitioned cube on 10.2.0.4 (AWM 10.2.0.3 A). I have a basic measure QC which I would like to clear based on various criteria (custom) and then repopulate. So, I have written a DML program which using the custom criteria and