Execute BMP Failed

Hello,
I m a beginner of J2EE and I try execute the J2EE Tutorial Example.
So, when I execute the storage bin example, I have this error :
javax.ejb.EJBException: ejbFindByWidgetId: Invalid table name "STORAGEBIN" specified at position 25.
     at StorageBinBean.ejbFindByWidgetId(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:146)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:930)
     at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:151)
     at com.sun.ejb.containers.EJBHomeInvocationHandler.invoke(EJBHomeInvocationHandler.java:179)
     at $Proxy10.findByWidgetId(Unknown Source)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:324)
     at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:117)
     at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:651)
     at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:190)
     at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1653)
     at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1513)
     at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:895)
     at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
     at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
     at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:375)
     at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:284)
     at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:73)
     at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
|#]
Can I get a response of what should I do for executing this example.
Zineb.

Zineb: First of all, which version of the tutorial are you using (e.g. J2EE 1.4 Tutorial Update 5)? Second, make sure that the database server has been started. Third, you must run the create-db_common task before you run the example. Have you done these last two steps?
-Ian Evans

Similar Messages

  • Could not save the document to the repository for the following reason: [repo_proxy 30] DocumentFacade::uploadBlob - Query execute has failed : Error occurred while attempting to reconnect to CMS : Not a valid logon token. (FWB 00003) (hr=#0x80042a70) (WI

    Hi, getting Could not save the document to the repository for the following reason: [repo_proxy 30] DocumentFacade::uploadBlob - Query execute has failed : Error occurred while attempting to reconnect to CMS : Not a valid logon token. (FWB 00003) (hr=#0x80042a70) (WIS 30567) amongst lots of other errors when scheduling.
    I was logged in as administrator and attempting to schedule a webi document to my self using the email option.
    thanks in advance

    Hi Trinath,
    Could you please confirm if you could save a new report as well or not; or is it specific to scheduling.
    If you are unable to save a report also then I think this is due to the path of the Input File Repository Server or its temporary directory are not pointing to the same path, and their locations are set to 2 different hard drives
    BOXI3.1 Server must use the same hard drive (local or network share) for the Input File Repository Server and its temporary directory.
    - Shahnawaz

  • Text Enrichment pre-execute initialization failed

    I'm using OEID 2.4, when I load the data without text enrichment everything works just fine.
    These are the components that my graph uses:Universal Reader ----> Bulk Load to Endeca Data Server.
    With the Text Enrichment I have: Universal Reader ----> Text Enrichment ----> Bulk Load to Endeca Data Server
    This is the error that my Console throws:
    INFO [WatchDog] - Successfully started all nodes in phase!
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node TEXT_ENRICHMENT0 finished with status: ERROR caused by: Component pre-execute initialization failed.
    ERROR [WatchDog] - Node TEXT_ENRICHMENT0 error details:
    Element [TEXT_ENRICHMENT0:Text Enrichment]-Component pre-execute initialization failed.
         at org.jetel.graph.Node.run(Node.java:458)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: InputFieldName: Plot not in meta data
         at com.endeca.clover.adapters.salience.SalienceComponent.validateMetaData(SalienceComponent.java:659)
         at com.endeca.clover.adapters.salience.SalienceComponent.preExecute(SalienceComponent.java:490)
         at org.jetel.graph.Node.run(Node.java:456)
         ... 1 more
    INFO [WatchDog] - [Clover] Post-execute phase finalization: 1
    INFO [WatchDog] - [Clover] phase: 1 post-execute finalization successfully.
    INFO [WatchDog] - Execution of phase [1] finished with error - elapsed time(sec): 0
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
    INFO [WatchDog] - 0 FINISHED_OK 0 18002
    INFO [WatchDog] - 1 ERROR 0 19033
    INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
    INFO [WatchDog] - WatchDog thread finished - total execution time: 5 (sec)
    INFO [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !
    I don't know what to do... help, anyone?

    INFO  [main] - ***  CloverETL framework/transformation graph, (c) 2002-2012 Javlin a.s, released under GNU Lesser General Public License  ***
    INFO  [main] - Running with CloverETL library version 3.3.0 build#021 compiled 15/10/2012 15:10:55
    INFO  [main] - Running on 4 CPU(s), OS Windows 7, architecture amd64, Java version 1.7.0_07, max available memory for JVM 895680 KB
    INFO  [main] - Loading default properties from: defaultProperties
    INFO  [main] - Graph definition file: graph/Recordsearch.grf
    INFO  [main] - Loading properties from file C:\Users\test\OracleDemo\UND\.\seliance.properties
    INFO  [main] - Hint: Add additional worker threads: available: 4 in configuration: 2
    INFO  [main] - Graph revision: 1.5 Modified by: test Modified: Wed Jun 19 13:04:27 IST 2013
    INFO  [main] - Checking graph configuration...
    INFO  [main] - Salience license: C:\Program Files (x86)\Lexalytics\license.v5
    INFO  [main] - Salience data dir: C:\Program Files (x86)\Lexalytics\data
    INFO  [main] - Graph configuration is valid.
    INFO  [main] - Graph initialization (Recordsearch)
    INFO  [main] - [Clover] Initializing phase: 0
    INFO  [main] - Salience license: C:\Program Files (x86)\Lexalytics\license.v5
    INFO  [main] - Salience data dir: C:\Program Files (x86)\Lexalytics\data
    INFO  [main] - [Clover] phase: 0 initialized successfully.
    INFO  [WatchDog] - Starting up all nodes in phase [0]
    INFO  [RECORD_STORE_READER0_0] - RecordStoreReader: connecting to http://localhost:8500/rs_output/
    INFO  [WatchDog] - Successfully started all nodes in phase!
    ERROR [WatchDog] - Graph execution finished with error
    ERROR [WatchDog] - Node TEXT_ENRICHMENT0 finished with status: ERROR caused by: Component pre-execute initialization failed.
    ERROR [WatchDog] - Node TEXT_ENRICHMENT0 error details:
    Element [TEXT_ENRICHMENT0:Text Enrichment]-Component pre-execute initialization failed.
      at org.jetel.graph.Node.run(Node.java:458)
      at java.lang.Thread.run(Thread.java:722)
    Caused by: EntitySentiment-Field: EntitiesPlace not in meta data
      at com.endeca.clover.adapters.salience.SalienceComponent.validateMetaData(SalienceComponent.java:705)
      at com.endeca.clover.adapters.salience.SalienceComponent.preExecute(SalienceComponent.java:490)
      at org.jetel.graph.Node.run(Node.java:456)
      ... 1 more
    INFO  [WatchDog] - [Clover] Post-execute phase finalization: 0
    INFO  [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
    INFO  [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 0
    ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
    INFO  [WatchDog] - -----------------------** Summary of Phases execution **---------------------
    INFO  [WatchDog] - Phase#            Finished Status         RunTime(sec)    MemoryAllocation(KB)
    INFO  [WatchDog] - 0                 ERROR                              0             38312
    INFO  [WatchDog] - ------------------------------** End of Summary **---------------------------
    INFO  [exNode_0_1370587626037_RECORD_STORE_READER0] - RecordStoreReader: Transaction ID = 71
    INFO  [exNode_0_1370587626037_RECORD_STORE_READER0] - RecordStoreReader: Last Committed Generation ID = 16
    INFO  [exNode_0_1370587626037_RECORD_STORE_READER0] - Full Extract or Baseline read detected
    INFO  [WatchDog] - WatchDog thread finished - total execution time: 5 (sec)
    INFO  [main] - Freeing graph resources.
    ERROR [main] - Execution of graph failed !
    i have the same error can you please help ????

  • Executed and failed alternatively while testing a bpel process

    I have created a bpel process such that the response from the bpel is posted to a Queue.
    I have deployed the bpel and esb process successfully.
    While testing the bpel process,it is completely executed for the first time.(no error in esb and bpel console)
    While testing for the second time,it is failed(bpel is completely executed but in esb console i am getting error)
    I dont know what is the problem.
    The error message in esb console is:
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/Onsite_ESB_Topic/RMS_Topic.wsdl [ Produce_Message_ptt::Produce_Message(SynBPELProjectProcessResponse) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: Adapter Framework unable to create outbound JCA connection. esb:///ESB_Projects/Onsite_ESB_Topic/RMS_Topic.wsdl [ Produce_Message_ptt::Produce_Message(SynBPELProjectProcessResponse) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12133 ERRJMS_JMS_EXCEP. Unable to create JMS connection due to JMS exception. Please examine the log file to determine the problem. [Caused by: JMSServer[dgda21b:12652]: failed to authenticate "oc4jadmin/welcome1" via "[JAZNUserAdaptor: user=oc4jadmin]".] ; nested exception is: ORABPEL-12511 Adapter Framework unable to create outbound JCA connection. esb:///ESB_Projects/Onsite_ESB_Topic/RMS_Topic.wsdl [ Produce_Message_ptt::Produce_Message(SynBPELProjectProcessResponse) ] - : The Adapter Framework was unable to establish an outbound JCA connection due to the following issue: ORABPEL-12133 ERRJMS_JMS_EXCEP. Unable to create JMS connection due to JMS exception. Please examine the log file to determine the problem. [Caused by: JMSServer[dgda21b:12652]: failed to authenticate "oc4jadmin/welcome1" via "[JAZNUserAdaptor: user=oc4jadmin]".] Please examine the log file for any reasons. Enable DEBUG logging in the BPEL Console. at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:633) at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:736) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:497) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430) at oracle.tip.esb.server.common.wsif.WSIFInvo
    Can anyone help me in solving this issue?
    Thanks in Advance.

    Hi,
    I could see the userID/password is wrong in the adapter,
    you can chnage that one by following:
    em/-->
    Cluster topology-->home 0c4j - >Applications ->stand alone Resource adapter (in View of the Drop down combo)
    choose the adapter ->JMS Adapter ->connection factories -->eis/Jms/QueueConnectionFactory-change the password to your password(SOA)
    and try the same....

  • Execute Package fails due to package validation

    There is an execute package task that calls the child package.  Both parent and child packages have the same password and the passwork is entered into the execute package task.  Both packages reside in the same directory path.
    Error: Error 0xC0012050 while loading package file "C:\Documents and Settings\user\My Documents\Visual Studio 2005\Projects\ExecutePackageTest\ExecutePackageTest\ExtractandWrite.dtsx". Package failed validation from the ExecutePackage task. The package cannot run.
    When ExtractandWrite.dtsx is executed by right-clicking on package, the package executes without any errors.
    DelayValidation = True for the Execute Package Task tasks is set and DelayValidation for the connection manager is set to True.
    Does anyone have any thoughts as to what might be causing this error?
    Thanks in advance for your assistance.

    You try by changing property ExecuteOutOfProcess  as False in Execute Package task

  • Execute Applescript fails when run as part of Automator action

    I have an automator action whose first step is an Execute Applescript to drive a spaces switch:
    _Execute Applescript_
    <pre>on run
    tell application "System Events"
    keystroke "2" using {control down}
    end tell
    return true
    end run</pre>
    When I click the "Run" button in the upper left of the Execute Applescript window in Automator, the script runs and the screen switches spaces.
    But, if I run the whole Automator Action, it always fails on this first action. I think it's because I'm not handling input and parameters correctly, but I can't figure it out. If I add them ( On Run {input, parameters} ) then the Applescript itself does not work and also still does not work when I run the whole Automator action.
    Can someone help me get the syntax right on this?
    Thanks!

    All I can get out of the Automator interface is "Action Failed". The second action is a Pause [15] seconds, but I'm certain it never gets there. When the Automator action fails, the applescript does not produce any result. Spaces does not switch. But again, if I click the "run" button in Automator's Execute Applescript window, the applescript will produce results and switch to spaces 2.
    I originally got instructions here: http://discussions.apple.com/thread.jspa?threadID=1206636&tstart=134
    When I couldn't get it to work, I posted a thread here: http://discussions.apple.com/thread.jspa?threadID=1378261&tstart=30
    Which prompted me to add the OnRun wrapper, still have problems, and finally post on this forum instead of that one because is seems to be a very automator-specific problem.
    Thanks for any help,

  • Execute command fails

    Hi All,
    I am facing a weird problem with the Runtime.exec command. I am trying to run a simple Linux command from within Java. But i noticed that commands gets stuck if i run it on a file larger than 2K! If I run the same command on the linux shell it does not fail and it does not get stuck. it ends within less than a second.
    Since I do not want my program to get stuck, I used some code someone published (cannot remember who... but thanks :)) which kills the process after some timeout time. But I still failed to understand why the command gets stuck. Its definitely has to do with file size, since if i take the same file and remove some lines from it, the program does not get stuck. Again running the same command on linux shell does not get stuck and finishes very fast.
    Here's the simplified version of my code,
    import java.io.BufferedInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Timer;
    import java.util.TimerTask;
    import java.util.concurrent.TimeoutException;
    import java.io.DataInputStream;
    * Execute command from the Runtime. This class will make sure the external application will not hung the application by specifying
    * a timeout in which the application must return. If it does not an InterruptedException will be thrown
    class JPT_RuntimeExecutor
         private long timeout = Long.MAX_VALUE;
          * Default constructor - Timeout set to Long.MAX_VALUE
         public JPT_RuntimeExecutor()
         // Do nothing
          * Constructor
          * @param timeout Set the timeout for the external application to run
         public JPT_RuntimeExecutor(long timeout)
              this.timeout = timeout;
          Execute a Runtime process
         * @param command - The command to execute
         * @param env - Environment variables to put in the Runtime process
         * @return The output from the process
         * @throws IOException
         * @throws TimeoutException - Process timed out and did not return in the specified amount of time
         public InputStream execute(String command, String[] env) throws IOException, TimeoutException
              Process p = Runtime.getRuntime().exec(command, env);
              boolean status = true;
              // Set a timer to interrupt the process if it does not return within the timeout period
              Timer timer = new Timer();
              timer.schedule(new InterruptScheduler(Thread.currentThread()), this.timeout);
              try
                   p.waitFor();
              } catch (InterruptedException e)
                   // Stop the process from running
                   p.destroy();
                   status = false;
                   throw new TimeoutException(command + "did not return after "+this.timeout+" milliseconds");
              finally
                   // Stop the timer
                   timer.cancel();          
              // Get the output from the external application
              StringBuilder buffer = new StringBuilder();
              BufferedInputStream br = new BufferedInputStream(p.getInputStream());
              while (br.available() != 0)
                   buffer.append((char) br.read());
              String res = buffer.toString().trim();
              if ( status )
                   return p.getInputStream();
              return null;
         private class InterruptScheduler extends TimerTask
              Thread target = null;
              public InterruptScheduler(Thread target)
                   this.target = target;
              public void run()
                   target.interrupt();
      public static void main(String[] args)
          try
              String cmd = "dot -Tplain " + args[0];
              System.out.println( " cmd = " + cmd );
                 JPT_RuntimeExecutor m_process = new JPT_RuntimeExecutor(5000*3);
                 DataInputStream tmpStreamReader = null;
                 try
                      tmpStreamReader =  new DataInputStream( m_process.execute(cmd, null ));
                 } catch (IOException e)
                      e.printStackTrace();
                      return;
                 } catch (TimeoutException e)
                      e.printStackTrace();
                      return ;
                  System.out.println( "END");
          catch ( Exception e )
                      e.printStackTrace();
                      return ;
            return;
    }Here's a sample of the input file I give which gets stuck ( in case you want to run it :))
    digraph koko{
    label="PT=result\nFILE=BottomWindowPathSearch#1Transitive49211"
    27 [label="START\nAC=4363", color=blue]
    29 [label="END\nAC=4363", color=blue]
    69 [label="UOP\nAC=4363", color=black]
    71 [label="ALLOCATE\nAC=3780", color=black]
    73 [label="EXECUTE\nAC=2995", color=black]
    75 [label="RETIRE\nAC=3286", color=black]
    860 [label="alstall_jeclearing\nAC=56", color=black]
    869 [label="JECLEAR\nAC=56", color=black]
    69 -> 29 [label="PRB=0.221\nAC=963", color=blue]
    71 -> 29 [label="PRB=0.053\nAC=202", color=blue]
    73 -> 29 [label="PRB=0.029\nAC=87", color=blue]
    75 -> 29 [label="PRB=0.963\nAC=3111", color=blue]
    73 -> 75 [label="PRB=0.96\nDUR=10/124/1620\nAC=2876", color=black]
    71 -> 73 [label="PRB=0.778\nDUR=8/91/1628\nAC=2983", color=black]
    75 -> 71 [label="PRB=0.031\nDUR=2/300/1414\nAC=99", color=black]
    71 -> 75 [label="PRB=0.088\nDUR=10/59/1246\nAC=339", color=black]
    860 -> 71 [label="PRB=0.732\nDUR=24/30/36\nAC=41", color=black]
    71 -> 860 [label="PRB=0.01\nDUR=4/87/1100\nAC=40", color=black]
    71 -> 71 [label="PRB=0.055\nDUR=4/109/1044\nREP=1.02\nAC=205*1.02", color=black]
    73 -> 860 [label="PRB=0.002\nDUR=16/20/22\nAC=5", color=black]
    75 -> 75 [label="PRB=0.004\nDUR=4/189/920\nAC=14", color=black]
    73 -> 71 [label="PRB=0.006\nDUR=4/144/708\nAC=18", color=black]
    73 -> 73 [label="PRB=0.003\nDUR=2/196/568\nAC=9", color=black]
    75 -> 73 [label="PRB=0.001\nDUR=6/12/18\nAC=2", color=black]
    75 -> 860 [label="PRB=0.002\nDUR=2/46/170\nAC=6", color=black]
    860 -> 75 [label="PRB=0.018\nDUR=2\nAC=1", color=black]
    869 -> 75 [label="PRB=1\nDUR=18/83/982\nAC=56", color=black]
    71 -> 869 [label="PRB=0.015\nDUR=20/109/1628\nAC=56", color=black]
    860 -> 73 [label="PRB=0.018\nDUR=24\nAC=1", color=black]
    69 -> 71 [label="PRB=0.778\nDUR=2/117/1502\nAC=3395", color=black]
    27 -> 69 [label="PRB=0.996\nDUR=430/20932/38130\nAC=4345", color=blue]
    860 -> 69 [label="PRB=0.232\nDUR=10/19/30\nAC=13", color=black]
    69 -> 860 [label="PRB=0.001\nDUR=26/50/82\nAC=5", color=black]
    71 -> 69 [label="PRB=0.001\nDUR=2/7/14\nAC=5", color=black]
    27 -> 71 [label="PRB=0.004\nDUR=584/13675/37096\nAC=18", color=blue]
    If you remove about 8 lines it will not get stuck!
    Hope someone can help me figure out why this is happenning
    thanks
    eman

    Thanks ... somehow I missed this issue..
    The article you sent was really helpful :) recommended for every one
    Here's the code if anyone ever needs it... it runs with timeout so that the program does not get stuck
    Enjoy
    import java.io.BufferedInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Timer;
    import java.util.TimerTask;
    import java.util.concurrent.TimeoutException;
    import java.io.DataInputStream;
    import java.io.*;
    * Execute command from the Runtime. This class will make sure the external application will not hung the application by specifying
    * a timeout in which the application must return. If it does not an InterruptedException will be thrown
    class JPT_RuntimeExecutor
         private long timeout = Long.MAX_VALUE;
          * Default constructor - Timeout set to Long.MAX_VALUE
         public JPT_RuntimeExecutor()
         // Do nothing
          * Constructor
          * @param timeout Set the timeout for the external application to run
         public JPT_RuntimeExecutor(long timeout)
              this.timeout = timeout*3;
          Execute a Runtime process
         * @param command - The command to execute
         * @param env - Environment variables to put in the Runtime process
         * @return The output from the process
         * @throws IOException
         * @throws TimeoutException - Process timed out and did not return in the specified amount of time
         public InputStream execute(String command, String[] env , String outfileName) throws IOException, TimeoutException
              Process proc = Runtime.getRuntime().exec(command, env);
              boolean status = true;
              // Set a timer to interrupt the process if it does not return within the timeout period
              Timer timer = new Timer();
              timer.schedule(new InterruptScheduler(Thread.currentThread()), this.timeout);
        FileOutputStream fos = new FileOutputStream( outfileName );
        // any error message?
        StreamGobbler errorGobbler = new
        StreamGobbler(proc.getErrorStream(), "ERROR");           
        // any output?
        StreamGobbler outputGobbler = new
        StreamGobbler(proc.getInputStream(), "OUTPUT", fos);
        // kick them off
        errorGobbler.start();
        outputGobbler.start();
              try
          int exitVal = proc.waitFor();
          System.out.println("ExitValue: " + exitVal);
          fos.flush();
          fos.close();       
              } catch (InterruptedException e)
                   // Stop the process from running
                   proc.destroy();
                   status = false;
                   throw new TimeoutException(command + "did not return after "+this.timeout+" milliseconds");
              finally
                   // Stop the timer
                   timer.cancel();          
           BufferedReader in = null;
              try
                in = new BufferedReader(new FileReader( outfileName ));
              catch ( Exception e)
                System.out.println( " Could not open file" + outfileName + "!!!");
              System.out.println( "Start reading output " );
              System.out.println( " ============================== " );
              String input = null ;
              try
                 while ( (input= in.readLine() ) != null )
                    System.out.println( input );
              catch ( Exception e)
                System.out.println( " Could not read line !!!");
              return null;
         class StreamGobbler extends Thread
        InputStream is;
        String type;
        OutputStream os;
        StreamGobbler(InputStream is, String type)
            this(is, type, null);
        StreamGobbler(InputStream is, String type, OutputStream redirect)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    else
                      System.out.println(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
         private class InterruptScheduler extends TimerTask
              Thread target = null;
              public InterruptScheduler(Thread target)
                   this.target = target;
              public void run()
                   target.interrupt();
      public static void main(String[] args)
          try
              String cmd = "dot -Tplain " + args[0];
              System.out.println( " cmd = " + cmd );
                 JPT_RuntimeExecutor m_process = new JPT_RuntimeExecutor(5000);
                 DataInputStream tmpStreamReader = null;
                 try
                      tmpStreamReader =  new DataInputStream( m_process.execute(cmd, null , args[1] ));
                 } catch (IOException e)
                      e.printStackTrace();
                      return;
                 } catch (TimeoutException e)
                      e.printStackTrace();
                      return ;
                     System.out.println( "END");
          catch ( Exception e )
                      e.printStackTrace();
                      return ;
            return;
    }

  • Executable build failing with no error message with smtp email VIs

    I have a VI which I want to build into a .exe which will be used as an HMI for a real-time system. I am using the SMTP VIs to text/email me various notifications about the system state. The main VI works fine if run but will not build into an .exe. The error message comes back blank so no help there (LabView 2010). If I just simply disable the portion of the code in the HMI.VI which contains the email VI code, the application builds. I searched for anwers and was unable to resolve the problem. Any ideas? Do I need to include anything in the build that is specific to the LabView SMTP VIs? I'm new to building .exe's so I appologize for any rookie mistakes I may have made.
    Thanks.

    mikeporter wrote:
    You said you searched for answers (on the forum?).
    Yes.
    What did you find?
    I found a bunch of topics on email send errors after the application was built but nothing related to .exe building failures (related to the SMTP/email VIs). I also found topics dicussing the bug that fails to report an (any) error during the .exe build (for 2011). The solution was to install the service pack. if that's my problem then I will have to go through the motions to get that done (corporate computers / lack of persmissons and such).
    What have you tried? This question has been answered many, many, many times.
    I tried what I stated in the OP. If I disable the portion of the code which contains the email SMTP VIs, the application builds, otherwise, the build fails and no error code or description is given.
    PS: probably has nothing to do with the SMTP drivers, per se.
    If the answer has been given many, many times, then I appologize for not being able to find it before posting. Trust me, the last thing I want to is waste my time fishing for answers on the forum, especially when I get a response from forum members who would rather point out that my mis-identified problem has been answered many, many times, rather then just helping me out.

  • StackOverflow when executing Retry Failed Recon Events task for AD recon

    Hello,
    I'm encountering a strange problem and I'm not really sure how to solve it. What happens is that the "Retry Failed Reconciliation Events" starts, it never completes, its periodic schedule kicks in, it starts a second time, it still never completes, the periodic schedule kicks in, it starts a third time, etc. It does this until there is about 20 parallel instance of the task running and the OIM crashes with a stack overflow. Then, the logs are filled with about 50k of this kind of error :
    [2013-03-28T14:31:16.972-04:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.reconciliation.utils] [tid: OIMQuartzScheduler_Worker-10] [userId: oiminternal] [ecid: 412f90a39805a348:-223a0fa4:13db22c985e:-8000-0000000000000004,1:21295] [APP: oim#11.1.2.0.0] Generic Information: select min(RECON_EVENTS.RE_KEY) from RECON_EVENTS, RECON_BATCHES where RECON_EVENTS.RB_KEY = RECON_BATCHES.RB_KEY and RECON_EVENTS.RE_CURR_RETRY_CNT > 0 and RECON_EVENTS.RE_CHANGE_TYPE != 'DELETE' and (RECON_EVENTS.RE_STATUS IN ('Creation Failed','Update Failed') or (RECON_EVENTS.RE_ENTITY_TYPE = 'Account' and RECON_EVENTS.RE_STATUS IN ('No User Match Found','No Org Match Found')) or (RECON_EVENTS.RE_ENTITY_TYPE = 'User' and RECON_EVENTS.RE_STATUS IN 'Data Validation Failed') or (RECON_EVENTS.RE_ENTITY_TYPE = 'Role' and RECON_EVENTS.RE_STATUS = 'Data Validation Failed' and RECON_EVENTS.RE_NOTE like 'Invalid Role Category%') or (RECON_EVENTS.RE_ENTITY_TYPE = 'RoleRole' and RECON_EVENTS.RE_STATUS IN ('No Role Parent Found','No Role Match Found')) or (recon_events.RE_ENTITY_TYPE = 'RoleUser' and recon_events.RE_STATUS IN ('No Role Member Found','No Role Match Found')) or (RECON_EVENTS.RE_ENTITY_TYPE = 'Organization' and RECON_EVENTS.RE_STATUS IN 'Data Validation Failed')) and re_key>146942
    [2013-03-28T14:31:17.027-04:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.reconciliation.utils] [tid: OIMQuartzScheduler_Worker-10] [userId: oiminternal] [ecid: 412f90a39805a348:-223a0fa4:13db22c985e:-8000-0000000000000004,1:21295] [APP: oim#11.1.2.0.0] User 4 is granted access to operation PROCESS_EVENT
    [2013-03-28T14:31:17.030-04:00] [oim_server1] [ERROR] [] [oracle.iam.reconciliation.dao] [tid: OIMQuartzScheduler_Worker-10] [userId: oiminternal] [ecid: 412f90a39805a348:-223a0fa4:13db22c985e:-8000-0000000000000004,1:21295] [APP: oim#11.1.2.0.0] Calling stored procedure - XL_SP_RECONEVALUATEACCOUNT[[
    intUserKey_in = 4
    intEventKey_in = 146943
    strRequiredAttributesList_in = RA_ITRESOURCENAME70C9F928,RA_UNIQUEID575B37CA,RA_OIMORGNAME265C2A54
    strMappedTableName_in = UD_ADGRP
    strTargetTableName_in = RA_ADGROUPA80D3C22
    strEntityTableName_in = ACT
    strAccountMatchingRule_in = (UD_ADGRP.UD_ADGRP_SERVER=RA_ADGROUPA80D3C22.RA_ITRESOURCENAME70C9F928 and UD_ADGRP.UD_ADGRP_OBJECTGUID=RA_ADGROUPA80D3C22.RA_UNIQUEID575B37CA)
    strEntityMatchingRule_in = ((UPPER(ACT.act_name)=UPPER(RA_ADGROUPA80D3C22.RA_OIMORGNAME265C2A54)))
    strChildTargetTableName_in =
    strChildReqAttributesList_in =
    strStagingITResColName_in = RA_ITRESOURCENAME70C9F928
    [2013-03-28T14:31:17.094-04:00] [oim_server1] [NOTIFICATION] [] [oracle.iam.reconciliation.impl] [tid: OIMQuartzScheduler_Worker-10] [userId: oiminternal] [ecid: 412f90a39805a348:-223a0fa4:13db22c985e:-8000-0000000000000004,1:21295] [APP: oim#11.1.2.0.0] No action is performed for event 146,943 with status No Org Match Found
    Inspecting the event 146,943 in the event manager shows that it is about the reconciliation of an AD group and it has failed with "No Organization Match Found". However, the organization name mentioned in the "Reconciliation Data" section does show up in Lookup.ActiveDirectory.OrganizationalUnits. In fact, the group name also shows up in Lookup.ActiveDirectory.Groups. However, the OIM Organization Name mentioned in the Reconciliation Data points to an organizations that doesn't exist in OIM. I don't think that it is a problem since the Maintain Hierarchy parameter in my AD Recon task is set to "no".
    I've also taken a look at the tables mentioned in the logs. The UD_ADGRP table is completely empty, but RA_ADGROUPA80D3C22 is filled with all the groups contained in my AD.
    So I'm not really sure what what's happening. AD Group lookup recon seems to work but not AD Group recon because I don't have the necessary OIM organizations, even though Maintain Hierarchy is set to "no". Does that make sense? I yes, is there a way to bypass this requirement?
    Thanks,
    --jtellier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hey Nayan,
    Now i am came to the issue is not with user login, when i am trying to revaluate i getting create new entity option when i click on that page got stucks there.
    the issue is with password, bcz when i am creating user without password its not working it got stuck there and when i gave password i am able to create user.
    same thing is happening when reconciliation also. Password Auto-generation is not working i think.
    so how can i resolve it?
    Regards
    user7609

  • Invoking a call to a window executable fails when request output to file

    Hi,
    When invoking a call to a window executable it fails(returns 1 instead of 0) when requesting output to file by using "> filename.txt". This nornally works when run directly within a
    windows command prompt, and it also works if I don't add the "> filename.txt" at the end. Also instead of outputting to a file I would like the same called executable to output to a memory variable that I can extract data without going to a external text file.
    Below is the .java file
    package com.insequence.gv;
    public class Jinvoker {
              public static int invoke(String program) throws java.io.IOException, java.lang.InterruptedException
                   System.out.println("invoking program: " + program);
                   Process p = Runtime.getRuntime().exec(program);
                   int exitValue = p.waitFor();
                   return exitValue;
              public static void main(String[] argv)
                   try
                   System.out.println("invoker start");
    //               int retval = invoke("c:\\tvalesky\\java\\invoker\\targetexe arg1 arg2 arg3");
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe C:\\data\\EarthData2005\\Ortho\\no_collaged.tif");
                   String arg1 = "C:\\data\\EarthData2005\\Ortho\\no_collaged.tif > c:\\testing.txt";
    //               String arg1 = "C:\\data\\EarthData2005\\Ortho\\no_collaged.tif";
                   int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe " + arg1);
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalinfo.exe");
    //               String arg1 = "-s_srs epsg:26915 -t_srs epsg:4326 C:\\data\\EarthData2005\\Ortho\\no_collaged.tif C:\\data\\EarthData2005\\Ortho\\no_collaged2.tif";
    //               int retval = invoke("C:\\Program Files\\FWTools1.1.0\\bin\\gdalwarp.exe " + arg1);
    //               int retval = invoke("C:\\testing.bat C:\\data\\EarthData2005\\Ortho\\no_collaged2.tif");
                   System.out.println("invoker end: returned " + retval);
                   catch(java.io.IOException e)
                        System.out.println("IOException caught: " + e);
                   catch(java.lang.InterruptedException e)
                        System.out.println("InterruptedException caught: " + e);
    Thanks,
    John Mitchell

    Well, if you ultimately want the output from the process, you don't need to redirect it to a file first. Just read from the standard output of the process. See [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html#getInputStream()]Process.getInputStream and Process.getErrorStream. You'll need to read from both simultaneously so you'll need to create two threads. You could also use [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html]ProcessBuilder if you're using Java 1.5

  • Summarization is not running against any deployment 'Failed to execute spProcessSingleSummarizationRequests'

    Dear All,
    I'm facing this issue from couple of days while executing RUN SUMMARIZATION against any deployment like in my case its 'update deployment' it wont update any status in Deployments View. 
    I have One CA , One Primary and Two Secondary Sites.
    SQL Server 2012 SP1 at CA and Primary Site / SQL Express SP1 at Secondary Sites
    Found these errors in statesys.log
    Microsoft SQL Server reported SQL message 2812, severity 16: [42000][2812][Microsoft][SQL Server Native Client 11.0][SQL Server]Could not find stored procedure 'spTask_SUM_AssignmentComplianceEvaluator'. : spProcessSingleSummarizationRequests
    Failed to execute spProcessSingleSummarizationRequests
    Failed to process single summarization request.
    Need help/Suggestion... 
    Thanks
    REGARDS DANISH DANIE

    The recommendation to  contact CSS for support, there is very little that one on can do to help with SQL issues when it requires editing/changing  the
    database
    same question with no answer,
    Regards, Ibrahim Hamdy

  • Data load from DSO to cube fails

    Hi Gurus,
    The data loads have failed last night and when I try to dig inside the process chains I find out that the cube which should be loaded from DSO is not getting loaded.
    The DSO has been loaded without errors from ECC.
    Error Message say u201DThe unit/currency u2018source currency 0currencyu2019 with the value u2018spaceu2019 is assigned to the keyfigure u2018source keyfigure.ZARAMTu2019 u201D
    I looked in the  PSA has about 50, 000 records .
    and all data packages have green light and all amounts have 0currency assigned
    I went in to the DTP and looked at the error stack it has nothing in it then I  changed the error handling option from u2018 no update,no reportingu2019 to u2018valid records update, no reporting (resquest red)u2019 and executed then the error stactk showed 101 records
    The ZARAMT filed has 0currency blank for all these records
    I tried to assign USD to them and  the changes were saved and I tried to execute again but then the message says that the request ID should be repaired or deleted before the execution. I tried to repair it says can not be repaired so I deleted it and executed . it fails and the error stack still show 101 records.when I look at the records the changes made do not exist anymore.
    If I delete the request ID before changing and try to save the changes then they donu2019t get saved.
    What should I do to resolve the issue.
    thanks
    Prasad

    Hi Prasad....
    Error Stack is request specific.....Once you delete the request from the target the data in error stach will also get deleted....
    Actually....in this case what you are suppose to do is :
    1) Change the error handling option to u2018valid records update, no reporting (resquest red)u2019 (As you have already done....) and execute the DTP......all the erroneous records will get sccumulated in the error stack...
    2) Then correct the erroneos records in the Error Stack..
    3) Then in the DTP----in the "Update tab"....you will get the option "Error DTP".......if it is already not created you will get the option as "Create Error DT".............click there and execute the Error DTP..........The Error DTP will fetch the records from the Error Stack and will create a new request in the target....
    4) Then manually change the status of the original request to Green....
    But did you check why the value of this field is blank....if these records again come as apart of delta or full then your load will again fail.....chcek in the source system and fix it...for permanent solution..
    Regards,
    Debjani......

  • Process chain fails every time at "roll up of aggregates"

    hi all,
    A process is deffined in such a way that...                                        start
                                                                                    i
                                                                                    i
                                                            Delta loads to infocube1(load)  deltaload to infocube2(load)       deltaload to infocube3(load)
                                                                            i                                                 i                                          i
                                                                            i                                                 i                                          i
                                                            delta load of aggregate(cube1)   delta load  of aggregates(cube2)     delta load  of aggregates
    Every time when this process chain get executed,this fails at delta laod of aggregates step.If i repeat again it works fine.But repeating is not a solution for this.So,i want a permanent soltuion for this..
    Please guide me what to do?and explain me why this happens.
    Error message:-process rollup of filled aggregates/bia indexes,variant delta load of aggregates
    Thanks( in advance)
    Moushmi

    Hi Moushmi,
    Have you checked if the system has processes available while the chain is running?  It could be that your system is overloaded and the aggregates wouldn't roll up because you have no processes or available memory.
    Check with your Basis resource.  Also, try changing your chain to do only 1 at a time.  Do you have many aggregates to load, are they big, and most important are they being used.
    Kathleen

  • Error in process chain variant when executing BI IP planning sequence

    Hi All,
    I am trying to execute a planning sequnce as a background job using a process chain. Here one of the variant failed giving an error as : Overflow occurred when calculating <Key figure name> with value  6.5231044352058409E18+.
    I tried executing that process chain variant separately using the ABAP program RSPLS_PLSEQ_EXECUTE as a background job, but still its not working.
    At last I tried executing the individual planning step in the planning modeler, but again the same error.
    Earlier such case was resolved by compressing the planning cube requests and executing the failed variant using the ABAP program, but this time even compression is not helping to solve this.
    Can anyone please help on this issue ?

    Hi Andrey,
    This Key figure is created of the data type CURR (Stored as decimal) for Amount type. Now the length of CURR is maintained by SAP as 17 with 2 decimal places, so do you mean that I have to switch to other data type to hold the large value that is getting generated.
    My concern is : the error is coming for just one of the variant of the chain and not for other variants. If it has something to do with the KF data type, then certainly all others variants must have thrown the same error.

  • Olap worksheet copy and paste fails hard parse

    Hi
    i've noticed something strange in the AWM olap worksheet that may help anyone using it.
    when you copy and paste some code to be executed it fails with strange errors however if you then type the code it runs without problem.
    bizarrely if you copy and paste the code in again it works..
    shown below is the console: 1st is pasted, 2nd typed, 3rd pasted... had me bashing my head against the screen a few times before i worked out what was going on.
    ->ROW 'SMOOTHING' FCQUERY(fc smoothing trial loopindx)
    ERROR: (ORA-33776) ROW is not a command.
    ORA-33776: ROW is not a command.
    ->ROW 'SMOOTHING' FCQUERY(fc smoothing trial loopindx)
    SMOOTHING no
    ->ROW 'SMOOTHING' FCQUERY(fc smoothing trial loopindx)
    SMOOTHING no
    ->
    I assume this is a parsing problem (i'm cutting and pasting from notepad btw).
    Once typed and parsed properly it doesn't do a hard parse again perhaps.
    In any case watch out for it, especially when copying example programs from the help text :), you have to type them a la spectrum48k. (10 print 'start' .....;)

    If you are copying and pasting from the OLAP DML Help then this is a known issue. The DML Help contains hidden characters that stop the code from executing.
    Keith Laker
    Oracle EMEA Consulting
    BI Blog: http://oraclebi.blogspot.com/
    DM Blog: http://oracledmt.blogspot.com/
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Samples: http://www.oracle.com/technology/products/bi/samples/

Maybe you are looking for

  • Satellite L350 - Can't install Vista and how can I backup my data?

    Hi to all I have a Satellite L350 and recently I've installed Vista Home Premium in a different language (the OEM Vista was in English) hoping I could activate it with the OEM key, but I didn't succeed. When I wanted to re-install the OEM Vista from

  • Problem with Interaction Centre-Webclient

    Hai Experts, The problem in this issue is call HR center people when they end call the calls does not end itself and they are not able to receive any calls unless they close manually and reopen the session and We are not able to reproduce this issue

  • Repeated shutting-down after PMU reset

    Hello- Very suddenly I am having problems with my 8/2005 g4 iBook. It has started shutting down while in the sleep mode, so I came here to troubleshoot and found instructions to reset the PMU. I did so, but it continues to shut down. Any suggestions

  • Need infn about vc

    hi i am creating report using vc i want to populate values from rfc i mapped input paramers and output parameters of rfc values are not populating what could be the reason

  • How to split iPhoto library

    my library is too big.  What is the easiest way to split? Has to be simple to access.