How to run background process with web application

Hi,
I have a web application , a servlet. I would like to have a background process that collecting data for my servlet.
How can I achieve this? can someone point me to a tutorial or example?
Also, would it be possible to share an object between the background process and myservlet?
Thanks,

Thanks for the idea.
I had the background process running. :)
But I'm still do not understand this part to share an object such as Java Map (<id,myobject>), what do you mean by "task a property of my ServletContextListener" ?
BalusC wrote:
If you make the task a property of your ServletContextListener implementation and put the implementation in the application scope, then you can access it from any servlet.Do you mind explain to me a bit more I'm still fairly new with this or maybe if you know an example.
Here's my code snippet so far. How can I share myList to MyServlet?
public class MonitorTimer extends TimerTask
       private Map<String, Channel> myList;
     @Override
     public void run()
          System.out.println("Monitor Timer times up");
          //Clear the map before fill with the new data
          if(myList!= null)
               myList.clear();
          loadConfig();
        private void getData()
           //fill myList with data
public class MyContextListener implements ServletContextListener
     @Override
     public void contextDestroyed(ServletContextEvent arg0)
          // TODO Auto-generated method stub
     @Override
     public void contextInitialized(ServletContextEvent arg0)
          System.out.println("Context Initialized");
          Timer timer = new Timer();
          //Run MonitorTimer every 2 minutes
          timer.scheduleAtFixedRate(new MonitorTimer(), 10*1000,2*60*1000);
public class MyServlet extends HttpServlet implements Servlet
     @Override
     public void destroy()
          // TODO Auto-generated method stub
          super.destroy();
     @Override
     protected void doGet(HttpServletRequest request, HttpServletResponse response)
               throws ServletException, IOException
}Thank you so much for your help,
Edited by: geek.shrek on Nov 4, 2009 1:50 PM

Similar Messages

  • How to run notepad from a web application

    hi
    can any body know,how to run notepad from a web application under tomcat

    You already asked this question:
    http://forum.java.sun.com/thread.jspa?threadID=5150005&messageID=9561597
    Obviously running notepad on the clients PC is not possible (ignoring active x)

  • How to Run a JasperReport in  web application

    hi ,
    I am Deepan,
    Proffesional:Programmer,
    I Used the Ireport for jasper Report,Iam Running in webApplication(JSP,Tomcat as Server),
    I used the line
    JasperViewer.viewReport(jasperPrint,false);
    it work well in server system,that is where the Apache Tomcat is installed,It displayed the Print format for Taking Print,
    Well,when i run the application in client System,PrintFormat get Displayed in Server System(Tomcat installed),
    But i need the PrintFormat to display in Client System ,Where they Work...
    Help Me,
    Thanks iN advance....
    I attached the Code here for reference
    (Line in Bold)
    package jasper.testpkg;
    //import static chequebook.db.Conf.getAppHome;
    import java.util.HashMap;
    import java.util.Vector;
    //import java.util.ArrayList;
    //import model.Load;
    import model.BillPrePrintModel;
    import net.sf.jasperreports.engine.JRDataSource;
    import net.sf.jasperreports.engine.JREmptyDataSource;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JRField;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.design.JasperDesign;
    import net.sf.jasperreports.engine.xml.JRXmlLoader;
    import net.sf.jasperreports.view.JasperViewer;
    //import chequebook.vo.ChequeBookVO;
    public class BillPrePrint {
    public static JasperTestCustomDataSource getDefaultCustomDS(String billno){
         //String billno="";
         JasperTestCustomDataSource customDataSource = new JasperTestCustomDataSource();
         BillPrePrintModel bpm=new BillPrePrintModel();
    //String billno="";
    Vector billdata=bpm.Collectbilldata(billno);
    String mybillno="",mybilldate="",mybillcustomer="",mybilltoaddress="",mybilltotal="0" ;
    System.out.println("billData"+billdata);
    if(billdata.size()!=0)
    {     mybilltotal=billdata.get(billdata.size()-5).toString();
         mybillno=billdata.get(billdata.size()-4).toString();
         mybilldate=billdata.get(billdata.size()-3).toString();
         mybillcustomer=billdata.get(billdata.size()-2).toString();
         mybilltoaddress=billdata.get(billdata.size()-1).toString();
         System.out.println("MYBILLNO:"+mybillno);
         System.out.println("MYBILLDATE:"+mybilldate);
         JasperTestDataVO dataDS = new JasperTestDataVO();
         dataDS.setBillNo(mybillno);
         dataDS.setBillDate(mybilldate);
         dataDS.setBillFrom(mybillcustomer);
         dataDS.setBillTo(mybilltoaddress);
         dataDS.setTotamount(mybilltotal);
         JasperTestLineDataVO line = null;
         dataDS.setLineData(new Vector<JasperTestLineDataVO>());
    //line = new JasperTestLineDataVO();
    System.out.println("Vector Bill Data"+billdata);
         private String fdate="";
         private String regno="";
         private String gcno="";
         private String ffrom="";
         private String fto="";
         private String docref="";
         private String pkgs="";
         private String weight="";
         private String trucktype="";
         private String amount="0";
         private String totalamt="0";
         for(int i=0;i<billdata.size()-5;i+=10)
              line = new JasperTestLineDataVO();
              line.setFdate(billdata.get(i).toString());
              line.setRegno(billdata.get(i+1).toString());
              line.setGcno(billdata.get(i+2).toString());
              line.setFfrom(billdata.get(i+3).toString());
              line.setFto(billdata.get(i+4).toString());
              line.setDocref(billdata.get(i+5).toString());
              line.setPkgs(billdata.get(i+6).toString());
              line.setWeight(billdata.get(i+7).toString());
              line.setTrucktype(billdata.get(i+8).toString());
              line.setAmount(billdata.get(i+9).toString());
              dataDS.getLineData().add(line);
                   System.out.println("billdata.get(i).toString()"+billdata.get(i).toString());
                   System.out.println("billdata.get(i+1).toString()"+billdata.get(i+1).toString());
                   System.out.println("Checking Line Loop"+ (i+1));
         line.setItemName("Item Type 1");
         line.setLineNum("1");
         line.setPrice("1.09");
         line.setQty("100");
         dataDS.getLineData().add(line);
         line = new JasperTestLineDataVO();
         line.setItemName("Item Type 2");
         line.setLineNum("2");
         line.setPrice("2.09");
         line.setQty("50");
         dataDS.getLineData().add(line);
         line = new JasperTestLineDataVO();
         line.setItemName("Item Type 3");
         line.setLineNum("3");
         line.setPrice("3.19");
         line.setQty("25");
         dataDS.getLineData().add(line);*/
    customDataSource.setDataDS(dataDS);
    return customDataSource;
         public void MyImp(String billno){
              JasperDesign jasperDesign;
              try {
                   //System.out.println("billdata"+billdata);
                   jasperDesign = JRXmlLoader.load("C:\\Program Files\\Apache Software Foundation\\Tomcat 5.0\\webapps\\Cargo\\WEB-INF\\RMPrePrint.jrxml");
                   JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
                   HashMap param = new HashMap();
                   JasperPrint jasperPrint;
                   jasperPrint = JasperFillManager.fillReport(jasperReport, param,getDefaultCustomDS(billno));
                   JasperExportManager.exportReportToHtmlFile(jasperPrint,"D:\\TEstJagan1.html");
                   //JasperExportManager.exportReportToHtmlFile(jasperPrint,"D:\\TEst.html");
                   System.out.println("your file updated to HTML file ");
                   JasperViewer.viewReport(jasperPrint,false);_
              } catch (JRException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    class JasperTestDataVO{
         private String billNo="";
         private String billDate="";
         private String billFrom="";
         private String billTo="";
         private String totalamt="0";
         Vector<JasperTestLineDataVO> lineData=new Vector<JasperTestLineDataVO>();
         public Vector<JasperTestLineDataVO> getLineData(){
              return lineData;
         public void setLineData(Vector<JasperTestLineDataVO> pData){
              lineData=pData;
         public String getBillDate() {
              return billDate;
         public void setBillDate(String billDate) {
              this.billDate = billDate;
         public String getBillNo() {
              return billNo;
         public void setBillNo(String billNo) {
              this.billNo = billNo;
         public String getBillFrom() {
              return billFrom;
         public void setBillFrom(String billFrom) {
              this.billFrom = billFrom;
         public String getBillTo() {
              return billTo;
         public void setBillTo(String billTo) {
              this.billTo = billTo;
    public String getTotamount() {
              return totalamt;
         public void setTotamount(String totalamt) {
              this.totalamt = totalamt;
    class JasperTestLineDataVO{
         private String lineNum="";
         private String itemName="";
         private String qty="0";
         private String price="0";
         private String fdate="";
         private String regno="";
         private String gcno="";
         private String ffrom="";
         private String fto="";
         private String docref="";
         private String pkgs="";
         private String weight="";
         private String trucktype="";
         private String amount="0";
         //regno="",gcno="",ffrom="",fto="",docref="",pkgs="",weight="",trucktype="",amount="",totalamt="0";
         public String getFdate() {
              return fdate;
         public void setFdate(String fdate) {
              this.fdate = fdate;
         public String getRegno() {
              return regno;
         public void setRegno(String regno) {
              this.regno = regno;
         public String getGcno() {
              return gcno;
         public void setGcno(String gcno) {
              this.gcno = gcno;
    public String getFfrom() {
              return ffrom;
         public void setFfrom(String ffrom) {
              this.ffrom = ffrom;
    public String getFto() {
              return fto;
         public void setFto(String fto) {
              this.fto = fto;
    public String getDocref() {
              return docref;
         public void setDocref(String docref) {
              this.docref = docref;
    public String getPkgs() {
              return pkgs;
         public void setPkgs(String pkgs) {
              this.pkgs = pkgs;
    public String getWeight() {
              return weight;
         public void setWeight(String weight) {
              this.weight = weight;
    public String getTrucktype() {
              return trucktype;
         public void setTrucktype(String trucktype) {
              this.trucktype = trucktype;
    public String getAmount() {
              return amount;
         public void setAmount(String amount) {
              this.amount = amount;
    class JasperTestCustomDataSource implements JRDataSource{
         int size = 0;
         int index=-1;
         private JasperTestDataVO dataDS=null;
         public void setDataDS(JasperTestDataVO pDataDS){
              dataDS=pDataDS;
              size=pDataDS.getLineData().size();
              System.out.println("LineData Size"+String.valueOf(size));
         public Object getFieldValue(JRField f) throws JRException {
              // TODO Auto-generated method stub
              String trucktype="";
              Object ret=null;
              if(f.getName().equals("billno")){
                                  ret=dataDS.getBillNo();
              if(f.getName().equals("billdate")){
                                  ret=dataDS.getBillDate();
              if(f.getName().equals("toaddress")){
                                  ret=dataDS.getBillFrom();
              if(f.getName().equals("bytoaddress")){
                                  ret=dataDS.getBillTo();
              if(f.getName().equals("fdate")){
                             ret=dataDS.getLineData().get(index).getFdate();
    if(f.getName().equals("regno")){
                             ret=dataDS.getLineData().get(index).getRegno();
    if(f.getName().equals("gcno")){
                             ret=dataDS.getLineData().get(index).getGcno();
    if(f.getName().equals("from")){
                                       ret=dataDS.getLineData().get(index).getFfrom();
    if(f.getName().equals("to")){
                             ret=dataDS.getLineData().get(index).getFto();
    if(f.getName().equals("docref")){
                             ret=dataDS.getLineData().get(index).getDocref();
    System.out.println("Index inside"+String.valueOf(index));
    if(f.getName().equals("pkgs")){
                             ret=dataDS.getLineData().get(index).getPkgs();
    if(f.getName().equals("weight")){
                             ret=dataDS.getLineData().get(index).getWeight();
    if(f.getName().equals("trucktype")){
                             ret=dataDS.getLineData().get(index).getTrucktype();
              trucktype=String.valueOf(dataDS.getLineData().get(index).getTrucktype());
              System.out.println("TRuck Type:::::"+index+":::"+trucktype);
    if(f.getName().equals("amount")){
                             ret=dataDS.getLineData().get(index).getAmount();
    if(f.getName().equals("total")){
                             ret=dataDS.getTotamount();
              return ret;
         public boolean next() throws JRException {
              // TODO Auto-generated method stub
              index++;
              System.out.println("Index"+String.valueOf(index));
              boolean ret=true;
              if(index>=size){
                   ret =false;
              return ret;
    }

    Forms 6i and above yes it is possible.
    Forms 6i can be deployed both web and client/server, but 9i and above is only for web deployment.
    If you want to deploy for testing purposes you can run the forms from the forms builder using OC4J Instance, but for production deployment you need to have OAS, Oracle Application Server.
    Tony

  • How to Integrate HCM Process with Webdynpro ABAP Application

    hi,
    I have issue regarding how to integrate HCM Process with Webdynpro abap application.
    I had created one HCM process for transfer using Hrasr_dt T code and also created form scenario and work flow.
    How to Integrate HCM Process with Webdynpro ABAP Application
    by
    Parthasarathi

    hi suhasini,
    Thanks for your reply,
    Can u explain in detail.. and Give any documents or links...
    by
    Parthasarathi

  • How to run ear file in java application server

    i want how to run .ear file in java application server
    1. i m created ear file
    2. i m created jar file (bean,home,remote)
    3.i m created war file(in the form of jsp)
    but till now i couldnt run ear file
    how to run
    please hel me

    You must create :
    1.Jar file
    2.War file
    And then put them into an ear file
    Exemple : myapp.ear contains
    myappEJB.jar
    myappWEB.war
    META-INF/application.xml
    and application.xml looks like this :
    <application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
                            http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
        <display-name>myapp</display-name>
        <description>Demo application</description>
        <module>
            <ejb>myappEJB.jar</ejb>
        </module>
        <module>
          <web>
             <web-uri>myappWAR.war</web-uri>
             <context-root>/myapp</context-root>
          </web>
        </module>
    </application>Good luck

  • How to run JavaFX Jar with JRE 7 on MAC OS Lion 10.7.5 ?

    I had java 1.6 installed on my MAC OSX Lion 10.7.5. When I am trying to run that JavaFX application jar
    java -jar application.jar
    It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
    It installed jre-7u10-macosx-x64.dmg but java -version is always point to 1.6.
    Then I searched for Java Preferences to point the current JRE 1.7 but I could find Java Preferences at Applications -> Utilities -> Java -> Java Preferences.
    I found an Java Icon on System Preference. When I am trying to open that widow it's showing me error -- the java control panel opens in a separate window and nothing happens when we click on Re-open the Java Control Panel.
    http://avats.s3.amazonaws.com/JavaRunningError.txt
    I would like to know -- how to run JavaFX jar with JRE7 on MAC OS Loin 10.7.5? Is their any other way to run the JavaFX application JAR with JRE7?

    To find a copy of LP7 you would need to look for a copy on eBay.. However, the protection method used with LP7 no longer functions so you cannot register it and therefore you cannot use it. unless you have already registered LP7 yourself in the past using the security key dongle provided
    Any version of LP7 from a torrent would be an illegal (and most likely non working) version due to the protection that was used at that time... and so posting about it here, was not be wise.
    So.. thats why my previous answer was so brief... Simply put, you cannot use LP7 unless you already have a validated and registered security dongle... even if you found a copy of LP7 somewhere
    The only practical solution is to find some kind soul who already has a working version of LP7 installed, that you can send the projects to... for them to do the conversion for you.
    I would, but I no longer have LP7 installed here on any of my testbed Macs...

  • How to run JavaFX jar with JRE7 on MAC OS Lion 10.7.5 ?

    I have created a bundled JavaFX application jar with ANT on Windows 8 O.S. , 64 bit machine. I have JavaFx2.0 and Java 1.7.0_09 installed on my Window O.S.
    <target name="CreatingJars" depends="Compiling" description="generate the distribution" >
                        <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"     
                                 uri="javafx:com.sun.javafx.tools.ant" classpath="${env.JAVA_HOME}/lib/ant-javafx.jar"/>
                              <mkdir dir="${WorkingFolder}/temp/libs"/>
                             <copy todir="${WorkingFolder}/temp/libs">
                             <fileset file="${WorkingFolder}/CustomJars/ProjectLib.jar">
                             </fileset>
                             </copy>
                             <copy todir="${WorkingFolder}/temp/libs">
                             <fileset dir="${WorkingFolder}/libs">
                             </fileset>
                        </copy>
                        <fx:jar destfile="${WorkingFolder}/${app.name}.jar">
                        <fx:application mainClass="${main.class}"/>
                        <fx:resources>
                             <fx:fileset dir="${WorkingFolder}/temp/"/>
                        </fx:resources>
                        <fileset dir="${WorkingFolder}/build"/>
                        <fileset dir="${WorkingFolder}/resources"/>
                        </fx:jar>
         </target> When I am trying to run that JavaFX application jar on MAC OS Lion 10.7.5 using
    java -jar application.jar
    It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
    java -version is always point to 1.6.
    Then I searched for Java Preferences to point the current JRE 1.7 but I could find Java Preferences at Applications -> Utilities -> Java -> Java Preferences.
    I would like to know -- how to run JavaFX jar with JRE7 on MAC OS Lion 10.7.5? Is their any other way to run the JavaFX application JAR with JRE7?

    Do I need to download the whole JAVA 1.7 on MAC to run the JAR? No
    Can not I run the Jar file with Jre7?Yes, you can.
    This may be because I have downloaded the JRE 1.7Yep, that's correct, the java_home command only works for jdk's - sorry for the confusion.
    For jre7+ versions, only a single Oracle jre version is allowed to be installed on the machine at a time - making a tool like java_home redundant for jre checking.
    Weirdly, jre7u10 does not supplant the Apple Java on the command line path by default. If you just type java -v, then the Apple java version will displayed if you have an old Java 6 from Apple and a new Oracle jre7+.
    The Oracle jre is always located under (also somewhat strangely):
    /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaTo test jar launching, I used the willow JavaFX browser pre-release jar available here:
    http://code.google.com/p/willow-browser/downloads/detail?name=Willow-0.1-prerelease.jar
    Then I launched the jar from the command line using:
    /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar Willow-0.1-prerelease.jar The JavaFX jar ran fine on jre7 with the above machine.
    The test machine was running Mac OS X 8 with Oracle jre7u10 installed as well as the Apple Java 6 runtime, but no Oracle jdk7+ installed.

  • How to create a file under web application root from java program

    how to create a file under web application root from java program like an action class?

    like an action class?Huh? What exactly is your requirement?
    Creating a file is usually done with java.io API. Read the java.io tutorials how to play with files.

  • How to run execute immdiate with variables

    Hi friends,
    How to run execute immdiate with variables in v_stmt below?
    I dont know how to declare the value of i here.
    Set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
       CURSOR c
       IS
          SELECT sqlid FROM temp1;
    BEGIN
       OPEN c;
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor('&i',null))'
          execute immediate v_stmt;
       END LOOP;
       CLOSE c;
    END;
    /Regds,
    Kunwar.

    You first need to use a bind variable (named ':v' in SQL statement in my example):
    set serveroutput on;
    DECLARE
       i        VARCHAR (20);
       v_stmt   VARCHAR2 (100);
       CURSOR c
       IS
           -- modified for a quick test
          SELECT sql_id FROM v$sql where child_number > 2;
    BEGIN
       OPEN c;
       LOOP
          FETCH c INTO i;
          EXIT WHEN c%NOTFOUND;
          DBMS_OUTPUT.put_line (i);
          v_stmt := 'select * from table(dbms_xplan.display_cursor(:v,null))';
          execute immediate v_stmt using i;
       END LOOP;
       CLOSE c;
    END;
    /However because your SELECT statement returns several rows you need to adapt your code to process all rows returned (as already suggested in first reply to your message).
    Instead of using PL/SQL, I recommend to generate a SQL file using only SQL and then to run the generated SQL file.
    For example:
    spool edx.sql
    set serveroutput on
    declare
    v_stmt varchar2(100);
    v_q char(1):='''';
    begin
    dbms_output.put_line('spool edx.log');
    for s in (select sql_id from v$sql where child_number >2)
    loop
      dbms_output.put_line('select * from table(dbms_xplan.display_cursor(' || v_q || s.sql_id || v_q || ',null));');
    end loop;
    dbms_output.put_line('exit');
    end;
    spool ofThis generates a SQL file similar to :
    spool edx.log
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('5rygsj4dbw6jt',null));
    select * from table(dbms_xplan.display_cursor('fsbqktj5vw6n9',null));
    select * from table(dbms_xplan.display_cursor('6q42j0018w7t8',null));
    select * from table(dbms_xplan.display_cursor('a5mmhrrnpwjsc',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('3c1kubcdjnppq',null));
    select * from table(dbms_xplan.display_cursor('9gkq7rruycsjp',null));
    select * from table(dbms_xplan.display_cursor('f0wj261bm8snd',null));
    select * from table(dbms_xplan.display_cursor('ab3swhv5g138y',null));
    select * from table(dbms_xplan.display_cursor('6vgvyh4xw9c5g',null));
    select * from table(dbms_xplan.display_cursor('ak5crjygnpk60',null));
    select * from table(dbms_xplan.display_cursor('9p6bq1v54k13j',null));
    select * from table(dbms_xplan.display_cursor('19x1189chq3xd',null));
    select * from table(dbms_xplan.display_cursor('7sx5p1ug5ag12',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('730vdzhng6m6g',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('0v3dvmc22qnam',null));
    select * from table(dbms_xplan.display_cursor('a1zv6wju3ftgv',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('7ng34ruy5awxq',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('b2gnxm5z6r51n',null));
    select * from table(dbms_xplan.display_cursor('g4gp07gt2z920',null));
    select * from table(dbms_xplan.display_cursor('1gu8t96d0bdmu',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('g00cj285jmgsw',null));
    select * from table(dbms_xplan.display_cursor('bn4b3vjw2mj3u',null));
    select * from table(dbms_xplan.display_cursor('38243c4tqrkxm',null));
    select * from table(dbms_xplan.display_cursor('2abjfnvy5rkyg',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('350f5yrnnmshs',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('3s1yukp05bzg6',null));
    select * from table(dbms_xplan.display_cursor('1tgukkrqj3zhw',null));
    exit
    PL/SQL procedure successfully completed.Edited by: P. Forstmann on 20 mars 2013 19:06
    Edited by: P. Forstmann on 20 mars 2013 19:33

  • I want to run background process at plsql program based on the timeout

    Hi
    when it comes to ready state I want to run background process at plsql program based on the timeout
    Thanks and Regards
    ch saivikram

    Thanks dude
    This solution �start java TestClass� works fine �. But it does not solve my problem
    It opens another black window and that black window persist till the life time of my program
    Is it possible application run on complete background without opening another black window �as in Linux

  • Ho w to run exe from a web application

    hi
    is there any chance to run exe from a web application under tomcat.
    plz tell me

    Please make the extra effort to write out words such as "please" and "your". The extra keystrokes won't cost much in the way of time, and the enhanced clarity will be appreciated by those communicating on a forum with international readership.
    What don't you understand about the previous answers?

  • How can run one JSF 1.1 application in Glassfish v2?

    Hello
    How can run one JSF 1.1 application in Glassfish v2?
    I need deploy one JSF 1.1 application in Glassfish v2. It's possible?
    Paulo

    in Glassfish v2 I have the messege error:
    java.lang.RuntimeException: WEB5002: Exception in handleBeforeEvent.
         at com.sun.web.server.J2EEInstanceListener.handleBeforeEvent(J2EEInstanceListener.java:250)
         at com.sun.web.server.J2EEInstanceListener.instanceEvent(J2EEInstanceListener.java:106)
    [#|2007-08-14T10:49:16.438-0300|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=21;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=416049de-0564-4eb6-8d07-ac8f65f5f7fa;|ApplicationDispatcher[/lilya2] PWC1225: Allocate exception for servlet FacesServlet
    java.lang.RuntimeException: WEB5003: Exception in handleAfterEvent.
         at com.sun.web.server.J2EEInstanceListener.handleAfterEvent(J2EEInstanceListener.java:320)
    but in Tomcat 5.5 it work without problems.

  • Print a Web Template with Web Application Designer 3.X

    Hello
    I would know how I can print a web template made with Web Application Designer 3.X and that it is in the Intranet.
    Actually I'm printing that page with the option of the browser (Internet Explorer) but it print only I see, no print all the chart and the rest of the columns.
    How can I print all the data that compose  the web template?
    Thank you.

    Hello Sharath,
                         First check whether you have change authorizations for WAD, check you user name is added in the role for web templates and also check the authorizations.
    then in the web template in the menu bar go to view option ,select web items and properties , so that you can find them in the left hand side, then replace the chart item with the table and assign the query to the table.
    hope it is clear,
    assign points if useful.

  • Integration office365 with web applications

    Hi, I'm develop web application where I have my own storage for files. I wan't add functionality that provide editing files via web browser.
    1. Is there possibility to call office365 app from my app by some API, send my file stream, edit and on save get back file stream to save in my storage?
    2. If you provide functionallity from 1.how looks architecture solustion? Do I conect some global office server or should I have office365 app instantion on my server?
    Thanks,
    Chris

    Hi,
    According to your post, my understanding is that you want to integration office365 with web applications.
    For your task the
    file API
    should be the right one. With it you can access and manipulate Office and OneDrive for Business documents.
    Here is a similar thread for your reference:
    http://stackoverflow.com/questions/27396671/office-365-integration-with-asp-net-web-application-mvc-application
    More information:
    http://channel9.msdn.com/Series/Deep-Dive-Integrate-Office-365-APIs-in-Your-Web-Apps
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to run a process flow in recovery mode

    Hi,
    I have 10 Mappings in a Process Flow. While executing that process flow, All of sudden It got errored out at 5th mapping.
    Please explain me how to run the process flow again from the 5th mapping( which got errored out in the previos run)....i.e I do not want to run the first 4 mappings in that process flow again, I want to run only the remaining mappings in the process flow.
    Please let me know in case you need more information / explaination.
    Thanks in advance...

    Hi
    On the question of process flows and resuming the following article gives some ideas, it has to be designed in the process flow basically;
    http://www.rittmanmead.com/2008/05/resuming-your-etl-process-in-owb/
    The article describes some ideas and techniques for tracking success/failure of flows and restarting.
    Cheers
    David

Maybe you are looking for

  • Customizing the calendar component

    hi, I am using jdev 11.1.2.0 In calendar component when in the list mode. we are having one button name "Today" and along with date range. My requirment is to display today date when clicking of today button in list mode. Is it possible.How can i cus

  • How many discs in Adobe Creative Suite 5.5 Master Collecton?

    Hello everbody. I recently purchased Adobe CS 5.5 upgrade and had to get an exchange. On my exchanged unit, I noticed it came with three discs, the Application Disc 1, Application Disc 2 and the Content and Installaton Help disc. Now please correct m

  • '£' in ADOBE OUTPUT DESIGNER

    Hi, Does anyone how an data transfered from xml file having '£' is not displayed correctly in generated PDF. It is displayed as 'ú'. The issue is only with Central Server. When tested using 'Test-Presentment' the PDF looks fine. Thanks, manju

  • Retirement whit same values for differente ledgers

    Hi expert, Here we have a few depreciation areas and a coupe of this area have different ledgers. When we run the transaction for retire an asset the value of leading ledger is moved to all others ledger. Is this a program error? I asked this because

  • About LOCK BOX account

    Hi experts, I have a doubt on lock box account. 1.  when we open lock box account in bank it is used for payment collection from customers is it correct. 2. Then how that payment information sent to R/3 systems, where we get that bank files & which a