Java CDF hangs up Essbase application - Kindly help

Hi!
I compiled the below java code which i am using to run a batch script from a calculation script using RUNJAVA.
import java.*;
import java.io.*;
import com.hyperion.essbase.calculator.*;
public class IRUN {
public IRUN() {
public static void main(com.hyperion.essbase.calculator.Context ctx, String[] args)
     try{
          Runtime.getRuntime().exec ("cmd /c start E:\\Hyperion\\ISIS_Scr\\email_users.bat");
     catch(Exception e){
*After I run the calculation script which simply says RUNJAVA IRUN; the batch script executes successfully and I get an email from the batch script. But after that if I stop my application and try starting it again I get an error saying "Unable to load database [Basic]". The application log gives the below error:*
[Wed Mar 03 09:00:46 2010]Local/Demo///Error(1120006)
Unable to lock file [E:\Hyperion\products\Essbase\EssbaseServer\APP\Demo\Basic\Basic.esm]. Essbase will try again after a short delay.
[Wed Mar 03 09:00:47 2010]Local/Demo///Error(1120005)
Unable to lock file [E:\Hyperion\products\Essbase\EssbaseServer\APP\Demo\Basic\Basic.esm]. Please make sure other processes do not access Essbase files while Essbase server is running.
[Wed Mar 03 09:00:47 2010]Local/Demo///Warning(1007089)
Unable to open [E:\Hyperion\products\Essbase\EssbaseServer\APP\Demo\Basic\Basic.esm] for database [Basic]
[Wed Mar 03 09:00:47 2010]Local/Demo///Error(1002097)
Unable to load database [Basic]
[Wed Mar 03 09:00:47 2010]Local/Demo///Error(1002097)
Unable to load database []
[Wed Mar 03 09:00:47 2010]Local/Demo///Error(1002097)
Unable to load database []
*Please note that I registered the IRUN class's main function as a global function instead of local to an application. I consistently end up screwing applications once I try using this java function in multiple applications.*
Thanks!
Arun

I managed to fix this problem. The batch script which was being called from the Java class did not have an exit statement at the end. I included that and the problem with application crashing got resolved. It looks like maybe the script is locked in memory or something like that.
The exact reason as to how this would affect .esm file in the database is still not clear to me. Any clarifications would be great.
Thanks,
Arun
[email protected]

Similar Messages

  • Displaying Picture in a Java APPLICATION please help!!

    I have been trying to write a method that Displays a .jpg file when called. However I have not gotten far, every book I have tell you how to display pictures in an applet but not an application. I did find some code that is supposed to be for an application, but It does not compile right. Any help would be apprecidated!
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class PictureIt{
    public void makeImage() {
    //***Image Output Stream
    String imgFile
    = "d:\\temp\\TestImage.jpeg";
    out = new FileOutputStream(imgFile);
    BufferedImage image = null;
    image = (BufferedImage)createImage
    (panelJpeg.size.width, panelJpeg.size.height);
    Graphics g = image.getGraphics();
    panelJpeg.paintAll(g);
    }

    Displaying Picture in a Java APPLICATION please help!!
    Hope this helps.There is going to be two classes compile seperatly first class is what does the drawing
    here it is
    import javax.swing.*;
    import java.awt.*;
    public class draww extends JPanel {
    Image ball;
    int width1 = 100;
    int height1 = 100;
    public draww() {
    super();
    Toolkit kit = Toolkit.getDefaultToolkit();
    ball = kit.getImage("pic1.gif");
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D) comp;
    comp2D.drawImage(ball, 20, 20, width1, height1, this);
    sound class is the container JFrame here it is
    import javax.swing.*;
    import java.awt.*;
    public class drawing extends JFrame {
    public drawing() {
    super("draw");
    setSize(400,400);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container pane = getContentPane();
    draww d = new draww();
    pane.add(d);
    setContentPane(pane);
    setVisible(true);
    public static void main(String[] args) {
    drawing drawing1 = new drawing();
    PS Hope this helps and see you around

  • My iphone is hanging while working with whats up. kindly help

    my iphone is hanging while working with whats up. kindly help

    I assume you mean whatsapp.
    First double click the home button and swipe the app closed.
    If it still doesn't work try a reset. Press and hold the home and power buttons until the Apple logo appears. Release both buttons. Wait until your iPhone starts on it's own.
    If whatsapp is still giving you problems try deleting and reinstalling the app.

  • Using Workspace to access Essbase Application - HELP

    I have created an application in Essbase. Is there anyway that I can register and import the app into Workspace; more specifically Performance Managment Architect or are Essbase applications completely isolated? Please help. The Essbase application is registered in Shared Service but that's as far as it will go.

    How do I access the app through workspace? I have done the following steps:
    - created the application in Essbase Administration console.
    - Registered the app with shared services
    - Exported the dimensions to ss
    - provisioned the user to have a global role on ss of application and dimension creator and on the essbase app as application manager
    - synchronized ss; logged onto workspace
    The app created in EAS does not reflect.

  • My IPhone 4S is hanged during updating IOS 6 to IOS 8, PHONE was connected WIFI and under charging with computor. Kindly help, it is not switching off, not restarting

    My IPhone 4S is hanged during updating IOS 6 to IOS 8, PHONE was connected WIFI and under charging with computor. Kindly help, it is not switching off, not restarting

    Hi HARISH INDIA,
    That is not good but lets see if we can get it back to life. If you can, see if you can put your iPhone into recovery mode and then use iTunes to restore it. If you can get it to restore, it will erase everything off your iPhone. If you have a back up in iTunes or iCloud then you can put that on after the restore is complete. Take a look at the article below for more information. 
    If you can't update or restore your iPhone, iPad, or iPod touch
    http://support.apple.com/en-us/HT201263
    Take it easy,
    -Norm G. 

  • HT4009 I can not buy in-app purchase in application name clash of clan My balance in Apple ID is sufficient to buy that item. Please kindly help me on this issue.Your help would be appreciated.

    I can not buy in-app purchase in application name clash of clan My balance in Apple ID is sufficient to buy that item. Please kindly help me on this issue.Your help would be appreciated.

    What happens when you tru buy items in it ?
    If you are getting a message to contact iTunes support then you can do so via this page and ask them why the message is appearing (we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • Essbase Applications Not Starting..........Error 1054001

    Hi Experts,
    Issue: Essbase 9.3.1 Applications are not starting.
    Error: 1054001 Cannot load application "Inventory" with error number [4294967295] - see server log file.
    Server: Windows 2003.
    Till last friday all the applications were working fine. We have shutdown the Hyperion server on that day and rebooted it on Monday. Since then we are unable to start any of the applications.
    We have refered few links for help but with no success,
    1. http://download.oracle.com/docs/cd/E12032_01/doc/epm.921/html_errmsgs/eragent.htm#1054001
    We shut down our Hyperion server every Friday and reboot it on Monday but never had such issue before.
    Could you please help us in this regard.
    Thanks in advance.
    Kishore.

    Dear Atul,
    I am not sure about the syntax to issue this command. Anyhow when I type "C:\>ESSCMD" in command prompt, I got below information,
    C:\>esscmd
    Essbase Command Mode Interface - Release 9.3.1 (ESB9.3.1.0.0B181)
    Copyright (c) 1991, 2007, Oracle and/or its affiliates. All rights reserved.
    U.S. Patent Number 5,359,724
    U.S. Patent Number 6,317,750
    Failed in GCInit(). Return code [10]
    Using ARBORPATH [C:\Hyperion\AnalyticServices;C:\Hyperion/common/EssbaseRTC/9.3.1]
    ARBORPATH dump: C(43) :(3a) \(5c) H(48) y(79) p(70) e(65) r(72) i(69) o(6f) n(6e) \(5c) A(41) n(6e) a(61) l(6c) y(79) t(74) i(69) c(63) S(53) e(65) r(72) v(76)i(69) c(63) e(65) s(73) ;(3b) C(43) :(3a) \(5c) H(48) y(79) p(70) e(65) r(72) i(69) o(6f) n(6e) /(2f) c(63) o(6f) m(6d) m(6d) o(6f) n(6e) /(2f) E(45) s(73) s(73) b(62) a(61) s(73) e(65) R(52) T(54) C(43) /(2f) 9(39) .(2e) 3(33) .(2e) 1(31)
    Path to locale files passed to GCInit() was [C:\Hyperion\AnalyticServices;C:\Hyperion/common/EssbaseRTC/9.3.1\locale]
    ESSLANG variable set to [English_UnitedStates.Latin1@Binary]
    Could not find the locale files at specified location
    Could you please help me out in writing the syntax so as to execute the Validate command.
    The help document is not providing such information.
    Appreciate you kind help.
    Kishore.

  • Requesting for your kind help...(want to preserve Leading & trailing spaces)

    Hello Team,<br /><br />Can you please help in the following issue:<br />I am trying to preserve white space(leading and trailing  L&T) as is on the User Interface.  We have built our UI using Flex 3.0 SDK. <br /><br />From Java side, I am able to carry the value with L&T spaces till the call goes to Flex .mxml and here response object assigning as  <br /><br /> var metaConfig:XML = event.result as XML;<br />But here L&T spaces are not visible along with value of ID.<br />I used to see it by using Alert.show(event.result.toString());<br /> <br />Flex Output is as:<br /><br />       <allScalarMetadataFields><br />      <id>TEST</id><br />      <name>test name</name> <br />.<br /><br />But from java[in Servlet/in service] side I can see the output as:<br /><br />   <allScalarMetadataFields><br />       <id>   TEST  </id><br />       <name>   test name    </name><br />.<br /><br />Java(Servlet) code is as follows:<br />      OutputStream writer = response.getOutputStream();<br />      OutputStreamWriter outputStreamWriter = new OutputStreamWriter(writer,"UTF-8");<br />JAXBContext context = JAXBContext.newInstance(object.getClass(), object.getClass());<br />         Marshaller m = context.createMarshaller();<br />         m.marshal(object, writer);<br />.Here marshal follow a standard structure for XML to map  it into writer same as what Flex XML follows.....<br /><br />Note, there is no any other issue/fault  with Flex and java except this white spaces.<br /> <br />Flex .mxml code is as:<br /><br />protected var _fieldXml:XML;<br />      public function MetadataFieldWrapper(xml:XML = null)<br />            {<br />                  if (xml == null)<br />                  {<br />       xml = <allScalarMetadataFields xml:space="preserve"><br />               <id /><br />                <name /><br /><br />...<br /><br /> Servlet is getting called as :<br /><br />            _webService = new HTTPService();<br />                  _webService.url = serviceUrl;<br />                  _webService.method = "POST";<br />                  _webService.resultFormat = "e4x";<br />                  _webService.contentType = "application/xml";<br /><br />.<br />_webService.headers = { "serviceName":serviceName, "serviceMethod":serviceMethod };<br />                  _webService.send(param);<br /><br />I want to preserve the L&T spaces along with ID/name .<br />Please help me how to allow these L& T spaces in Flex XML object?<br /><br /> <br />Thanks in Advance.<br />Regards,<br />Venu.

    In the future this type of question should be asked on flexcoders as<br />it doesn't relate to the development of the Flex SDK.<br /><br />To preserve whitespace look at the documentation for XML.ignoreWhitespace.<br /><br />-- Daniel R. <[email protected]> [http://danielr.neophi.com/]<br /><br />On Wed, Nov 12, 2008 at 8:19 AM, venubwal <[email protected]> wrote:<br />> A new discussion was started by venubwal in<br />><br />> Developers --<br />>   Requesting for your kind help...(want to preserve Leading & trailing<br />> spaces)<br />><br />> Hello Team,<br />><br />> Can you please help in the following issue:<br />> I am trying to preserve white space(leading and trailing  L&T) as is on the<br />> User Interface. We have built our UI using Flex 3.0 SDK.<br />><br />> From Java side, I am able to carry the value with L&T spaces till the call<br />> goes to Flex .mxml and here response object assigning as

  • HI,I AM THE NEW MEMBER OF I PHONE 4  FAMILY.ANY ONE AN GUIDE ME , HOW TO ADD  MY NOKIA PHONE BOOK CONTACTS IN I PHONE 4 . I USES NOKIA E-5 MODEL. KINDLY HELP PLEASE. THANKS AND BEST WISHES . SHRIJI MAHARAJ

    HI,I AM THE NEW MEMBER OF I PHONE 4  FAMILY.ANY ONE AN GUIDE ME , HOW TO ADD  MY NOKIA PHONE BOOK CONTACTS IN I PHONE 4 . I USES NOKIA E-5 MODEL. KINDLY HELP PLEASE. THANKS AND BEST WISHES . SHRIJI MAHARAJ

    Hi, I see I haven't had any responses but these problems haven't been fixed.
    I still haven't been able to transfer purchases from my phone to my comp so consequently have stopped purchasing on my phone.
    I bought a couple of albums recently via itunes on my comp, and tried to tranfer them to my phone via a playlist, but the sync often crashes. One album transferred except for one song, and the other hasn't at all. What happens is that when I autofill from a playlist it often hangs for ages on the first song and then I have to quit the application altogether as nothing happens for ages. Basically, the whole Itunes software freezes. 
    After this I find it hasn't transferred any songs, but they do appear greyed out on my phone, which means it has transferred some basic data such as the titles, but not the song itself. When I try to repeat the process to complete the transfer Itunes tells me that it can't transfer because the songs are already on the phone, but they are not!! I can't click or remove on the greyed out items, so now I have a couple of almost full albums on my computer that I can't tranfer or install on my phone, and a whole bunch of greyed out songs on my phone that I can't play or remove!
    The rest of the problems as above still stand. I downloaded the latest itunes OS updates but nothing's changed. I haven't done the very latest iphone update yet though because it says you need to make sure your stuff is backed up, and I don't want to lose the purchases I made on the phone that I can't transfer to my comp. I'm planning on uninstalling itunes completely and reinstalling but I have little faith that this will fix the issue.
    Can someone please help at all?? I'm so sick of this!

  • Kindly help to develop alv grid display

    Hi ,
    I have a requirement in which I need to display ALV GRID display and in its tool bar 4 butons are required. In the same view down to alv display i want to develop a tabstrip and its functionalities.I have designed classic alv using SALV_WD_TABLE component. I want a good GRID Display, not like flat field names that comes in list display, looking for bulged fields(like what comes for ALV GRID in normal abap)  display with print version etc hidden and buttons at the top of ALV.  Kindly help
    Highly rewarded
    Kindly help
    Regards,
    Lakshmi
    Edited by: Lakshmi Menon on Nov 27, 2008 4:49 PM

    Well Web Dynpro is generally output in HTML so the output formatting is never going to quite look like a desktop application (which is the case with the ALV Grid).  You have very little control over the look of the column headers.  In fact you can only manipulate what is available via the Portal Theme. 
    There is a new Tradeshow Plus theme available in NetWeaver 7.01 which uses a gradiant background for the column headers.  This gives them a little more depth:
    http://www.flickr.com/photos/tjung/3068850120/
    The other option is next year when NetWeaver Business Client version 3.0 comes out, you will be able to render Web Dynpro applications using the NWBC Smart Client Rendering.  This will render Web Dynpro applications using desktop libraries instead of HTML/Browser. This gives Web Dynpro a more SAPGUI/Desktop appears of course.
    http://www.flickr.com/photos/tjung/2685619882/in/set-72157606418550143/

  • After Upgrade from 11.1.1.3 to 11.1.2.2 Essbase Application Not Shown in Calculation Manager

    I have upgraded from EPM 11.1.1.3 to 11.1.2.2 and now want to import Business Rules to Calculation Manager for use with Essbase.
    However I cannot see my Essbase Application in Calculation Manager; (only the provided sample applications are shown in the hierarchy)
    How do I check my configuration? How does Calculation Manager connect to Essbase and find my app?
    I haven't knowingly altered Essbase server/port details during the upgrade as I opted not to re-host.

    Yes the EAS schema was upgraded by the configurator.
    I ran upgrade_ps2.sh (unix) without changing any configuration just to see what it does and (after I had to manually create the directory structure for the log file) it created an HBRrules.xml file successfully fo the first time under EPMData/planning (The missing log file directory structure may have been why the configurator didn't create the HBrrules.xml file at the first attempt during the Planning upgrade)
    Anyway not entirely sure where upgrade_ps2.sh got its rules information but the file it created was very similar to the HBR file exported from EAS prior to starting the upgrade.
    I attempted a 'migrate' again with Calculation Manager but still get the "No objects were found in the document for importing", i.e. kind of back to square one.
    I really need to understand what is Calc Managers problem?
    Q .What server should the upgrade_ps2.sh be run on? Planning or Shared Services? (I did it in on both)
    Q. How can I get Calc Manager to tell me more with logging or tracing somehow?
    Any other suggestions gratefully received
    Many Thanks

  • Essbase Application Corrupted

    I have an Planning Application...
    When i am Refreshing the Applicaiton to Essbase i got an error
    " *com.hyperion.planning.olap.EssbaseException: Unable to load database [%s] (1002097)* "
    .... my essbase is corrupt.... I guess...
    I could not able to log into the EAS"Essbase application"
    but I can still log into the Planning Application....
    Can any one tell me how to restore the database in essbase... which is corrupted i guess...

    Hi,
    the Application"ABC" consists of two databases
    DB1 and DB2
    so you want me to go to
    Z:\Hyperion\products\Essbase\EssbaseServer\app\ABC\DB1
    Z:\Hyperion\products\Essbase\EssbaseServer\app\ABC\DB2
    and rename the DB1.dbb and DB2.dbb in resp databases to .db?
    One more thing i can see the DB1.db already exist in the Database folder :(
    Can you tell me what do i need to do?
    Is there anything releated to delete .esm file and restart database for the recovery? does this help???
    Please do reply

  • Error upon starting an Essbase Application

    Good day Guys,
    I'm having problems on starting an Essbase application. When I try to start the application, I get this error message:
    *Cannot load application [App Name] with error number [1052003] - see server log file.*+
    I tried the solutions in the Error Message Reference but to no avail. I increased the NETDELAY and NETRETRYCOUNT, I restarted Essbase server.
    Anyone please help.
    Thanks in advance.

    Hi,
    I have one reverse approach for your problem, open EAS console copy the application databases to some other application folder in EAS. Once you are done with this delete the database of the application, please be sure you are deleting the database which is having the issue now start the application. Now log on to he Planning and deploy the application from Planning to Essbase by manage database in Administration module.
    Once this is done come back to the EAS console here you will see a new database is created in the application folder, now you can compare the older database with the new database which is newly created. This will help you in determining what may be the issue.
    --XAT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I have amny duplicate contact numbers under various names , coz when i syncronised my i phone with facebook this happened , now i want to identify them and delete  them kindly help how i can save my time

    i was using blackberry earlier and when i syncronized it with facebook and gmail it added many contacts to my phonebook leading to duplication , now i have got all thoes contacts transfered to my i phone and even downloaded appliciation to delete duplicates in i phone though it is paid application but of no use as it has not recognised the duplicate contact numbers in phonebook but it recognise only exact duplicates kindly help me how i can delete duplicate contact numbers with diffrent names

    Just go ahead and go to settings>Facebook> Contacts OFF and do the same with Gmail. THe contacts related to those acct will dissapear. Then when you sync again with Gmail be carefull BCS IT SAYS IF YOU WANT TO JUST ADD THE CONTACTS OR MERGE THEM!!!!

  • Kindly help if u can...urgent

    m yproblem is that i hav autonumber field user_id in my oracle table;
    wen i insert sequence seq.nextval from oracle ide it workz fine...bt now i hav user profil nd i hav to make entries thru java code...nd wen i use
    pt=con.prepareStatement("insert into user_basic(user_id,f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(seq.nextval,?,?,?,?,?,?,?,?,?,?)");
    it gives null pointer exception....
    i hav tried:
    1.
    "insert into user_basic(user_id,f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(?,?,?,?,?,?,?,?,?,?,?)");
    pt.setString(1,null);
    2.
    "insert into user_basic(f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(?,?,?,?,?,?,?,?,?,?)");
    pt.setString(1,fname);
    pt.setString(2,mname);
    ans so on all entries
    bt diz way oracle leavez user_id blank.....
    kindly help regarding usage of autonumber in prepared statement....thanxx....
    code:
    public boolean validate() throws Exception
    Connection con=null;
    PreparedStatement pt=null;
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con=DriverManager.getConnection("jdbc:odbc:ds;Uid=SYSTEM;Pwd=manager");
    pt=con.prepareStatement("insert into user_basic(user_id,f_name,m_name,l_name,email,password,pet_name,age,gender,mari,citizen) values(seq.nextval,?,?,?,?,?,?,?,?,?,?)");
    pt.setString(1,fname);
    pt.setString(2,mname);
    pt.setString(3,lname);
    pt.setString(4,em);
    pt.setString(5,pwd);
    pt.setString(6,petname);
    pt.setInt(7,ag);
    pt.setString(8,gender);
    pt.setString(9,marital);
    pt.setString(10,citizenship);
    x=pt.executeUpdate();
    pt.close();
    catch(ClassNotFoundException ex)
    {System.out.println(ex);
    //out.println("Couldn't load database driver: " + ex.getMessage());
    catch(SQLException ex){
    System.out.println(ex);
    //out.println("SQLException caught: " + ex.getMessage());
    catch (Exception ex){System.out.println(ex);
    // out.println(ex);
    finally {
    // Always close the database connection.
    try {
    if (con!= null)
    con.close();
    catch (SQLException ignored){
    System.out.println(ignored);
    if(x==1)
    return true;}
    else
    {return false;}
    }

    it is my first day in these forums...it takes time to get to know how things work sumwhere....but kind of response im getting is very discouraging....im sorry if i havent followed any rules....but my intentions arent bad in any way...all i can say is sorryy...nd if nobody can help me in my query and problem it is ok....1. Don't cross post. Many people especially the ones that answer a lot of questions do not like it. And I have never seen anyone that claimed that they liked it.
    2. Use english as best that you can. Do NOT use sms type speech.
    3. There is a big difference between being able to help you and wanting to help you. The two are not the same.

Maybe you are looking for

  • Layout de contas a pagar replica contas bancarias

    Grupo, Preciso de ajuda, estou configurando o contas a pagar para ser impresso, mais no momento que o contas a pagar se refere a pagamento com cheque ele replica todas as contas bancarias, o que devo fazer para que não aconteça isto? Estou utilizando

  • Thunar, xfce4 and polkit-gnome

    I've spent 3 hours this morning trying to understand mount permissions in Thunar and, thus, how polkit controls user access.  I'm pleased to say it hasn't been a total waste of time because I have a much better understanding of what polkit does and w

  • LDAP user sync - CanonicalName is null

    Hi! I need to setup user sync from LDAP to LiveCycle. It seems to be very intuitive and easy, but ... I can connect LDAP well, but no users are transfered. I found the LDAP query was OK and LDAP response was OK. LiveCycle complains about: This record

  • JSP with JDBC on Fedora Core

    Hi all, I have Windows XP and Fedora Core Project 1 on my PC. I am trying to learn JSP and JDBC. I am using Wrox's Professional JSP book for reference. I was able to executed the code successfully on Windows XP with SQL Server 2000 as database. I tri

  • InDesign Trial Version for iMac is Crashing - Can only Force Quit at hello .. Help!

    Hello Smart Adobe Users.. I'm a publishing designer and wanted to upgrade to the new InDesign 5.5, but the trial version keeps crashing on my brand new iMac - Lion. HELP! I uninstalled then installed it twice, but it still happens. Its only a trial,