How to run a VM  non standard directorie

By default, VMs, templates, etc are located on /OVS.
Is it possible to put a VM on a different directory, for example /OVS2/running_pool/<myVM>, and manage it from the VM Manager?
I tried using symblinks with no luck so far.
Thanks.

Well i'll do that:
public class launch
  public static String getJarPath()
    String path="";
    try
      StringTokenizer st = new StringTokenizer(System.getProperty( "java.class.path" ) ,System.getProperty( "path.separator" ) );
      String jarfile = "";
      while ( st.hasMoreTokens() )
        String token = st.nextToken();
        if ( token.indexOf("launch.jar") > -1 )
           jarfile = token;
           break;
      if ( jarfile.equals("") ) throw new Exception( "Jar not found in classpath" );
      path = jarfile.substring( 0 , jarfile.indexOf("launch.jar"));
   catch (Exception e)
    new AlertWin(e.toString());
   finally
    return path;
  public static void main(String[] args)
    try
      String path=launch.getJarPath();
      Runtime.getRuntime().exec("javaw -Xms128M -Xmx256M -jar " + path + "toBeExecuted.jar");
    catch(IOException e)
      new AlertWin(e.toString());
}The launch.jar has to be in the same dir with the toBeExecuted.jar. (ofcourse that could change and the code is much simpler).

Similar Messages

  • How I can set the Non-standard option of -Xmxn of jvm

    Hi there,
    Can any one tell me how I can set the Non-standard option of -Xmxn of jvm (setp by step).Iam using Sun's jvm(jdk1.2.2).Iam facing a error(java.lang .OutOfMemory).I want to set the maximum size of the memory allocation pool.Any help will be highly appreciated.
    Thanks for ur valuable Time
    Bikash

    you can use the following sample options to specify memory size.
    EX:java -Xms128mb -Xmx512mb myClassFile

  • How can ftp service on non-standard port be load balanced using Cisco ACE.

    How can ftp service on non-standard port be load balanced using Cisco ACE.For example ftp service required on tcp 2000 port

    Hi Samarjit,
    you can do this by specifying the port number in the class map that you create . Please find the below mentioend config guide where you can specify the tcp/udp port , range or ports or even the wild card to match the port.
    http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A1/configuration/administration/guide/mapolcy.html#wp1318826
    Regards
    Abijith

  • How to run an iPhone non-GUI application in background

    Hi All,
    While looking into the web fouond that only one application can be run at a time in iPhone. So is there any way or work around to run a non-GUI app in iPhone in Background.
    This app will continuously query certain requests to iPhone regardign some internal iPhone events.
    Thanks in advance.
    Regards.
    Amit

    No.

  • How to run JDeveloper on non-windows platforms?

    I downloaded the base install package from http://www.oracle.com/technology/software/products/jdev/htdocs/soft11tp.html and unzipped the resulting package. It seems to have Windows .exe files in it and not shell scripts or pure Java.
    How does one launch JDeveloper from this package on Linux or OS X? Or is there an alternative package somewhere to look for that is intended for use on non-Windows platforms?

    Alansil,
    The [url http://www.oracle.com/technology/products/jdev/htdocs/11tp/install.html]install guide has specific instructions for both Linux and OSX.
    You may also be aware - the JDev 11g ADF version is going to be released within a week or so (announced at OOW)
    John

  • Running the BO servers on non standard ports XIR2

    Hi all,
    I need to know how to get the bo servers to register with the cms when it is running on a non-standard port. The port I'm using is 6409, so I have tried adding -port 6409 to the command line string, but that didn't work.
    I'm running two instanceson BO on the box hence the need for non standard ports.
    Any thoughts?
    TIA,
    Jeff

    -port switch is the correct way to accomplish this.
    So your CMS will have -port 6409, the rest of servers will have -ns cmsname:6409 in their comand line.
    You might want to look at adding -requestport switches as well....
    Please review Admin guide for more details on usage of those switches.

  • In FireFox 9, loading secure web pages running on non-standard ports works just fine. In FireFox 10, those same pages do not load and a "The connection was reset" message is displayed.

    How can this be fixed so functionality returns as per FF9 and below?
    This occurs on any secured website running on a non-standard port, with FF10.

    < X-Post from https://support.mozilla.org/en-US/questions/917315#answer-315144 >
    I don't think this is restricted to Firefox. I've noted this behaviour with IE9, Firefox 10.0.2, Opera Mobile (on my phone) and Chrome(latest version) with my Linksys E3000 router (I access it from https://<IP>) and my 3ware RAID card management suite, 3DM2 (I access it from https://localhost:888 ).
    Notably, the only thing amiss that I've been able to see in the certificates (I'm no expert) is that the one from Linksys has issue and expiry dates in 1969 and 1970 respectively. However, I don't think this is the cause since 3DM2 has proper looking issue dates and has the identical problem.
    Coincidentally, I noticed this happening after a fresh reinstall of Windows 7 x64 with virtually nothing installed on it (FF, Office 2007), so I don't think it's something wrong with the other software on the machine.

  • Mount smb-share from non-standard port

    Hi everybody!
    I have an SMB-Server running on a non-standard port (>1024) how can I establish a connection from the Finder? I have tried smb://serverip:port/share but unless I did something wrong, it didn't work...
    Any ideas?
    confusion
    quad g5 | MacBook 2GHz   Mac OS X (10.4.7)   Geforce 7800GT, 2.5GB RAM | 1GB RAM

    try the browse button to see if it comes up.
    you are trying the right syntax i.e one would have thought that would work.
    smb://server:1024

  • List NON-standard SAP objects

    How can I list all NON-Standard objects on a SAP Oracle database?
    Reason: I believe I have objects that were created with SAP naming conventions that were not part of the installed SAP modules.
    My understanding is that there are SAP documentation tables like DOKIL that I could use to join against current objects.

    I can confirm the table OIURV_DOC_DTL_BK is a standard table in ERP, it seems to be part of IS-OIL.
    Let me wrap up the information to check, whether an object is standard or not:
    - If it is in the ABAP dictionary (table TADIR), then use SE11 to find the creator and package information
    - If it is not in the ABAP dictionary then the object was most likely created directly on the database. You can then query dba_objects for creation date (created). You will have to talk to the folks with direct database access about it. Generally objects should never be manipulated directly on the database.
    Cheers Michael

  • Calling non standard servlet methods

    How can we call the non standard servlet methods like OPTIONS, HEAD, TRACE, etc.? Like to call the GET method of the servlet located on server xyz from some HTML page, we write the HTML form as follows :
    <form name="frmname" action="http://xyz.com/servlet/MyServlet" "method=get">
    So what should we write to call the other methods?
    Ankit.

    You can't do it directly from HTML, you need to open a connection over HTTP and then send the appropriate HTTP request. Not all web servers support these methods.

  • Accessing websites running on non-standard ports or with self-signed ssl certs?

    I've got some sites running using self-signed ssl's that also run on non-standard ports. Firefox home doesn't seem to open these pages it just sits there with the spinner loading and a blank screen...
    Anyone else noticed this?

    If the ASA is using a certificate issued by a CA that is in the client's trusted root CA store, then the ASA identity certificate does not need to be imported by the client.
    That's why it's generally recommend to go the route of using a well-know public CA as they are alreay included in most modern browsers and thus the client doesn't need to know how to import certificates etc.
    If you are using a local CA that is not in the client's trusted root CA store to issue your ASA identity certificate or self-signing certificates on the ASA then you need to take additional steps at the client.
    In the first case, you would import the root CA certificate in the trusted root CA store of the client. After that, any certificates it has issued (i.e the ASA's identity certificate) would automatically be trusted by the client.
    In the second case, the ASA's identity certificate itself would have be installed on the client since it (the ASA) is essentially acting as it's own root CA. I usually install them in my client's Trusted Root CA store but I guess that's technically not required, as long as the client knows to trust that certificate.

  • How To Configure non-standard SMTP port

    My ISP has blocked port 25. I have a service that will deliver mail to the port of my choosing. How do I configure Leopard Server to listen on a non-standard SMTP port? 2525 for example.
    Also, I assume all I have to do on my Airport Express is set up NAT to rake external port 2525 and point it to the private address of my email server on port 2525. Is this correct?
    Thanks,
    -ernie

    Assuming such is offered, look to acquire a business-class ISP service level, and move on to the next issue? The business-class services typically provide static IP address(es), opens up server ports, and sets up DNS and ISP-side server connections for your hosts. And you can call your ISP or other assistance when your network craters; non-standard connections are (as you've found) harder to support.
    One subtlety here: in a number of cases, simply having a business-class service means you're supported by a different group within (larger) ISPs. This can be a significant advantage at times, given that the scripts and tools and such that are available for the business group will be rather more targeted than the scripts that are available for the residential services group at the ISP.
    There are a number of folks that have sought and have tried this (try a few Google searches for SMTP and non-standard port), and it mostly works. But it is fragile, and tends to be derailed when something goes weird, or when the ISP spots and shapes or blocks the server traffic.
    Also check your ISP's terms of service here, lest your network pipe be subject to summary disconnection.
    The other option is to VPN or tunnel into to a co-lo or dedicated server or a virtual hosting service; to run your servers or virtual servers somewhere without firewalls blocking the standard ports.

  • How To: Use FCPX to create iPhone Portrait Movies (and other non-standard formats)

    Goal: Use Final Cut Pro X 10.0.7 to produce a 640x1136 video (iPhone 5 Portrait). You can use these same steps to produce virtually any dimensions you want. My example is for the iPhone 5, in Portrait mode.
    This information is available in various places, but you have to realy work to find it, so I thought I'd post a step-by-step guide here.
    By the way, you might think you could just create a FCPX Project with your desired dimensions, but you can't (at least with 10.0.7). Projects only support certainly dimensions. But there are other ways, as the rest of this post describes:
    1) Create an initial movie with the desired dimensions, to serve as a template. We'll call it "Template.mov". The only thing that matters is the dimensions. It can be in any codec FCPX understands, and virtually any length.
    I'm using a 2 second video shot on my iPhone for the template. You could also create a blank image (.png, whatever) with the proper dimensions, copy and paste it into a new Quick Time Pro 7 window, and Export it using custom settings. There's lots of different ways to do this.
    2) Drop Template.mov into a FCPX event.
    3) Select Template.mov in the Event browser, and select File->Duplicate (or command-D). You probably could just edit "Template.mov", but it's a good idea to save it for reuse.
    3) Change the name of the copied video. I'm using "iPhone Video".
    4) Right-click "iPhone Video" and select "Open in Timeline".
    5) If you made the Template video from a still image, you may need to change the duration (ctrl+D). You don't have to make it very long, but it needs to be longer than 1 frame. A few seconds should be enough.
    6) Use this timeline like you'd use a project's timeline. Drop in new content, trim, transition, etc. There may be things you can't do in it, but I haven't found any yet. I'm guessing Chapters may not work, but I haven't tried them.
    7) Note that when you drop new content into the timeline, it may size funny. That's because the default setting for "Spacial Conform" is "Fit". Simply select the newly-dropped content, and in the Video settings inspector, scroll down to "Spacial Conform" and change it. You could use "Fill", which fills the frame vertically, or "None", which uses the source's original height. Then crop/transform/whatever to get what you want.
    8) When you're ready to render, select "iPhone Video" in the Event browser, then use the "Share" button. You want to use the "Export File" destination, which you may have to add. Pick your codec, and let 'er rip.
    9) When the rendering is done, you should have a video in your desired dimensions.
    That's all there is to it. Hope this helps someone.
    Dan
    PS: Don't ask why someone would want to create an iPod video using FCPX. The point is that you may need to create a video with non-standard  dimensions at some point in time, and this is how to do it.
    PPS: Most of this information came from http://library.creativecow.net/articles/payton_t/FCPX_Custom-Resolution-Timeline s/video-tutorial. I just wrote it down, while I tried to do what the video suggested.

    Instructions for using QuickTime Pro 7 to create a template video with unusual dimensions.
    I suspect that anyone savy enough to be using FCPX has probably already figured out how to do this, either using my technique or another, so there probably isn't a real need for me to post this. For that matter, I may be the only person who cares about this at all. However, while I was trying to learn how to do all of this, I would have really appreciated having all the information in one place, so here goes.
    If you want to create a video with unusual dimensions (like 640x1136) using my steps above, you'll need a "template" video first. Here's an easy way to create one, using any image editor, and QuickTime Pro 7.
    1) Open QuickTime Pro 7 (QTP for short).
    2) From the menu, select File->New Player. You'll get a window with just the bottom portion of the player, i.e. the playback controls.
    3) Using an image editor, create a still image in the desired dimensions. You can use any image editor. It doesn't matter what the image contains (although it will end up showing as a thumbnail in FCPX).
    4) Copy the image to the clipboard.
    5) Switch back to QTP, and paste the image into the new player. Don't worry that there isn't a video window showing - just paste it into the window that has only playback controls. As soon as you do, the video window appears.
    6) Advance to the end of the movie (the short, 1-frame movie), then hold down Command+V (paste) and keep holding it down to paste multiple images in. Watch the time advance. You could, if you want, just hold down Command+V until you get the length you want. But if you want a long video, there's an easier way:
    7) When you reach a few seconds (or whatever duration your patience allows), select all (Command+A) and copy (Command+C). Then hold down Command+V to keep pasting in the longer clips. Wait until you reach a longer duration, then repeat the process. So, for example, 1 second, then 10 seconds, then 1 minute, then 10 minutes, then 1 hour. Or whatever you want.
    8) Save the video however you want. I usually use File->Export with H.264, with Quality set to "Least". Just make sure you don't let it change the dimensions. If you resized the player window, depending on which "save" or "export" method you've chosen, it might default to the resized dimensions, so double check that to make sure.
    That's it. You now have a template video you can use with my previous post(s).
    Dan

  • How to use non-standard port for vnc?

    Our Windows users who use RDC to connect to their desktops from off-site come in on a non-standard port number. Part of our security setup.
    I'd like to do the same with Mac users who use screen sharing and vnc to connect remotely.
    How can I specify another port number at both ends to accomplish this?
    I can find nothing in the Network Utility app, or in the KB.
    Surely there's a short sequence of Terminal commands that will do this?

    I haven't tried this so don't know whether it will work. But I think it will. Presuming the target machine is a Mac, see if editing its /etc/services file will do it. Find the two lines that start with "vnc-server" and change the port number there. Launch Terminal.app as an administratively privileged user, sudo pico /etc/services, ^w to search for vnc-server, make the changes, ^x to exit, y to save and overwrite. Also, you will need to have screen sharing enabled in the target machine's System Preferences' Sharing, and the authorized users defined there, too. Reboot. Now, on the remote client, assuming it is also a Mac, the user would type ⌘k in the Finder (or mouse to Finder > Go > Connect to Server), and enter something like vnc://123.45.67.89:55900 where you substitute the actual IP address or host name for where I have entered 123.45.67.89, and where you substitute the actual alternate port number where I have entered 55900. Of course, in the clients' Screen Sharing's Preferences, they should choose to encrypt the entire session, not just the login. Like I said, I haven't tried this because I just tunnel my vnc stuff through ssh, but I'm thinking that this should work.

  • Oracle DB: How to parse XML where element names are non-standard ?

    I'm in the unfortunate situation that I have illegal XML that I would like Oracle to parse. By 'illegal' in my case is that there are element names that start with an illegal character, such as a digit. Apart from this the XML is syntactically valid.
    Here is an example of the XML I have stored as a column in the database:
    <schedule>
        <1stweek>
        </1stweek>
        <2ndweek>
        </2ndweek>
    </schedule>Right now I'm doing text search-and-replace on the XML text before I let Oracle parse it, for example replacing '<1stweek>' with '<x1stweek>' and so on. Needless to say this is very slow.
    My question is if there is a way to tell the XML parser in the Oracle DB (I'm using version 10.2) to be a bit more forgiving ? ... so that it will accept element names that start with e.g. a digit ? I know that such an option exist in some XML parsers but what about Oracle's and if so how to set the option?
    And before you ask I'll answer myself: No, I'm not the one who created the non-standard XML. It is from a third-party application which I cannot change myself and cannot get the vendor to change either.
    Thank you.

    if you cast your clob to an xmltype then you can search and extract values based on tags.
    Heres an example where the table is a clob and value is cast and I'm looking for an existing attribute_name.
    Check out the Oracle XML developers Guide
    select u.*
    FROM preload_xml
    , XMLTable(
    '/ApplicationProfile/ScriptFragment' PASSING xmltype(xml)
    COLUMNS name varchar2(50 char) PATH '/ScriptFragment/@Name'
    ) u

Maybe you are looking for

  • Blank screen, error msg on phones

    Phase one of my client website project is done. We reviewed and proofread the production site on my server. I did not design a phone/tablet version yet (that's phase two). I exported the final files from Muse and uploaded everything to the client's s

  • Archlinux in Twinhead e10

    Hi everyone. I got a Twinhead e10 laptop recently and decided to install Archlinux (the pre-installed Neoshine distro was too slow; had to replace it). I installed Archlinux previously on my PC and on another laptop without major problems, but I ran

  • Upgrading adobe standard 7.0

    Hi, Can adobe standard 7.0 be upgraded to any higher version that are still in support by adobe?

  • IPod Touch Earphone Jack issue

    Hey guys. I'm currently having a problem with my iPod Touch (1G, firmware 2.1). A few months ago, while I was listening to music with it (with both earphones), suddenly the left earphone "died" without warning. However, if I wiggled the cable around,

  • Widgets Freeze in Leopard

    All my widgets worked in Tiger, but in Leopard they freeze. When I first open Dashboard all the widgets work fine, but when I hide the Dashboard, then open it again, all the widgets are frozen. When I open Activity Monitor and force quit the Dashboar