Running a batch file that calls my ear file

hi, can anyone help out on this?
i have a Schedule.class in my ear file (project.ear) and i need to write a batch file to run this class file inside the ear file. is this possible and if so, how shall my batch file looks? thanks in advance!

thanx 4 replying
but as i am a developer and i am developing the aplication for a client, so should i speak to the client for this or can i do this without interrupting them?
-ashish

Similar Messages

  • Question about having a master sql scrpit/file that calls other sql files

    I know that in SQL Plus, the following works:
    master.sql:
    @script1.sql
    @script2.sql
    @scriptn.sql
    My problem is, I'm using the sql maven plugin and the jdbc driver doesn't seem to like the @script.sql syntax. So the question is two-fold. Is it possible to get this master script behavior using the jdbc driver and not SQL Plus. Second, is the @script.sql syntax, specific to SQL Plus?
    Thanks!
    Justin

    The @<<script>> syntax is specific to SQL*Plus. I'm not familiar with the "sql maven plugin", so I have no idea whether it has some analogous syntax for calling scripts in other files or not. The JDBC API works just with SQL statements, not scripts, so whatever application (I'm guessing SQL Maven?) that is using the JDBC driver has to interpret the @<<script>> syntax.
    Justin

  • I have a created a directory structure ias\ias-samples\myapps\src\docroot.In docroot folder i have a single jsp.i created a war file having that jsp,and ear file having the war file

    I deployed the ear file.Now i try calling http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?

    Hi,
    This is right provided you have installed the webserver & app server
    on the same machine and the port number for the web server is 80 by
    default.
    Regards
    Raj
    Arif Khan wrote:
    I have a created a directory structure
    ias\ias-samples\myapps\src\docroot.In docroot folder i have a single
    jsp.i created a war file having that jsp,and ear file having the war
    file
    I deployed the ear file.Now i try calling
    http://localhost/myapps/test.jsp ??
    i'm i doing the right thing ?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Hi,Can a WAR file be deployed as EAR file and vice versa.

    Hi,Can a WAR file be deployed as EAR file and vice versa.If so what are the changes we need to do.

    hi tel me in detail why u want 2 do that
    why u want to cnvert a web arch into enterp arch

  • Ever-expanding file w/ "Deploy to EAR file"

    If I don't delete any pre-existing EAR file in JDeveloper prior to choosing "Deploy to EAR file" for my application, JDeveloper seems to include the existing EAR file in the new EAR file, such that my EAR file grows with each deployment each time, from 60K to 120K to 240K to ... 10, 20 megabytes, etc. I can only get a clean "deploy to ear file" (chosen from right-clicking on the .deploy file in the Navigator) if I first delete the existing ear file. Is there a way to get JDeveloper to not do this, in case I forget to delete from disk first? Thanks.

    I am exporting using the default settings for QT conversion for Broadband high quality. I didn't mess with any settings other than that. Any ideas?

  • I by accident deleted an important Note that had all my passwords on my Notes Ap on my Iphone 5.  I can not find a file that has deleted Notes files so I can recover it.  Any idea how I can get it back?  Thanks,Mike

    I by accident deleted an important Note that had all my passwords on my Notes Ap on my Iphone 5.  I can not find a file that has deleted Notes files so I can recover it.  Any idea how I can get it back?  Thanks,Mike

    Do you have a backup of your iPhone?   If so, do a restore and whatever Notes were backed up should reappear.
    You will lose any changes made since that backup though.

  • Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    No. This is NOT true. I've been battling with this for a couple hours.
    I choose Export>Versions
    choose
    Subfolder Format: Project Name
    no custom subfolder
    Name Format: Current Version Name.
    Aperture creates project folders for each image and names them Projects1, Projects2, Projects3 etc.
    To be sure, I have no project named Projects
    x
    This particular Aperture library has 16 projects. you can see in the screen grab it's created more than 30 folders
    If I uncheck the Subfolder, that is say NONE, I just get images and images and images, not in their project folders (of course, because I've said NONE, so why would it put them in project folders?)
    I just want to export the entire library and have the versions placed in folders named by the projects from which they came.... ez enough, no?

  • How to call Fortran .dll file that using other library files?

    Hi,
    I am trying to do some arkward tasks using LabView, and I am desperately need help....
     A little bit background:
    1. My co-worker has some code written in Fortran, where he called other libraries (many from CERNLAB or PAW). Those stuffs are pretty powerful in mathmatical calculation and simulations.
    2. In some of my LabView code, I need to call his Fortran source code in order to do some complicated calculations. I have no capablility to translate his Fortran code to Labview (or is it even possible??), so we end up with trying to use "Call library function node" where I just provide input/outputs to communicate with his code. The idea sounds simple enough?
    3. We complie the Fortran code into .dll, and then specifiy the dll in "Call library function node". The first try with a very simple Fortran code, something like c = a+b*a, was sucessful. The dll file and Call lib function worked good. It's sort of proved the concept.
    4. Now I am trying more complicated Fortran code (say Test.dll), which calling other library (.lib files) that using typical "call xxx(a,b,c)" line, and my nightmare started....  It seems nothing was excuted when I call Test.dll in LabView.
    Questions:
    1. How do LabView know if the Test.dll code needs functions from other .lib files? Do I need to copy all the .lib files to a specific folder?
    2. When I create .dll file, for LabView to be able to use it, are there any special requirement on the way the .dll is compiled?
    3. Seems there is mismatch btw the data type in Fortran and LabView. For example, LabView's  Signed 8-bit Integer seems different with a integer in Fortran. How can i know the correlation btw data type in different langurage, i.e. LabView vs Fortran?
    4. Are there any good examples that I can take a look?
    I would highly appreicate any suggestions/helps!
    Rgds,
    Harry

    You are aware that Intel Visual Fortran is the successor to Compaq Visual Fortran (I think you made a mistype with the Virtual)? So an upgrade might be at its place.
    Anyhow I'm really not familiar with Fortran at all, but lib files are usually compiled into an EXE or DLL and not loaded dynamically. 1) 
    So there should be no problem with locating those libs. What most likely is a problem are other DLL dependencies such as any Fortran Runtime library or possibly other third party DLLs the more advanced code in your DLL might be using.
    Typically most compilers can be configured to link the runtime library code statically into the DLL, as altenbach reports for the Intel compiler, otherwise you must make sure to install the  redistributable Fortran Runtime Library for your compiler. Besides that you must make sure to find out what other runtime dependencies your code might have and install them.
    1) One exception I know of is LabWindows CVI which allows to also load lib files dynamically. This is supposedly a legacy feature from LabWindows for DOS, which allowed that feature to simulate dynamic module loading in order to swap modules at runtime to work around the 640k memory limitation of DOS.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Insert SWF that calls external XML files and images

    Hi
    I am using Acrobat XI Pro on a Windows 7 system.
    I have a PDF in which I have an SWF file. This SWF file contains text content that is called from an XML file and also some images that is called externally. I have added the folder that contains the XML file and the images by right-clicking the SWF > Properties > Resources > Add Directory. However, none of the content is loading.
    I have tried adding the images and xml file separately as well. Even that did not work.
    What could be wrong? Please advise.
    Sreekanth

    Debugging Flash content in a PDF from the Flash Pro or Flex editor is possible, but it's complicated (you need to juggle about with the SDK to load a special Acrobat plugin). If you're creating these SWFs yourself, the fastest way to debug is to add a bunch of ActionScript calls that report to Acrobat's console to tell you what's going on. Use ActionScript's externalInterface.call() and the Acrobat JS console.println() functions, just like if you were talking to JavaScript in a web page.
    Rich media resources cannot be imported globally in Acrobat. In theory it's possible (the ISO standard allows XObject references to shared assets) but there's no authoring tool.

  • Jdev 10.1.2 errors in making a project file/ repackaging into an ear file

    Hi Guys
    I am new to jdeveloper. I am using jdev 10g (10.1.2) for an old application modification and need help in running it.
    I used ear files to create a workspace which was consisted of two projects. One was myfiles.jpr and the other-one myfiles-ear.jpr. I went into the htdocs of myfiles.jpr and modified some of the jsp files in one of them. Can you please tell how to repackage it into an ear file.
    I tried to deploy it into an ear but I do not get the option for Deployment to an ear (right click on project, New, Deploy to an ear). I also tried to make the file and received a whole bunch of errors.
    please help.
    thanks!

    As far as I know repackaging always means recompile the Java classes. If you only have changed jsps, you can try to just change the original ear file and deploy this.
    Don't you have access to the original project or workspace?
    Timo

  • Problems regarding the manifest file in deploying an ear file

    I have developed one jar file(classes.jar) for my all my classes built.
    I have now one ejb module jar file which refers to my classes.jar throgh the mainfest.mf file of ejbmodule.jar file.
    I have one war file(web pplication) which also refers to my classes.jar file throgh its manifest.mf file.
    I am now making an ear file of all these (classes.jar,ejbmodule.jar and web.war).
    All these are at the same level.
    Now when the server starts,it needs some classes to refer.
    The deployed ear should be able refer to my classes.jar through the
    manifest.mf of the ejb as well as the web module file.
    But it not refering.I dont know what is the problem.
    <b>
    Manifest-Version: 1.0
    Class-Path: classes.jar
    Created-By: 1.4.2 (Sun Microsystems Inc.)
    </b>
    Is there something else I need to do?

    if you structure is:
    myear.ear
    -->myejb.jar
    -->mywar.war
    -->classes.jar
    -->META-INF
    ---->manifest.mf
    ---->application.xml
    and the manifest myejb.jar and mywar.war are:
    Manifest-Version: 1.0
    Class-Path: classes.jar
    Created-By: 1.4.2 Sun Microsystems Inc.
    all is fine.
    perhaps your error is when you startup the server. Can you send me you error when is starting server?
    Message was edited by:
    javichin

  • J2EE .class file compiling for jar, ear files.

    I know that using the former Sun/present Oracle .class java source code compiler,
    I create a platform independet class file which can be used by the java language
    on any OS environment with the appropriate Java Runtime Environment installed.
    I know that there are obfuscation tools available to prevent the .class file decompilation
    related issues.
    I have also been using the GNU gcj compiler with great success. However,
    I havn't been able to find a non-commercial purchase compiler that can create
    .class files, with the same platform independence, but that can't be easily decompiled
    based on the simple content in .class files. Can someone point me to someone on the net
    for a free for commercial development java compiler, past about 1.5.X ?

    If it were possible, don't you think Oracle would have built the compiler like that themselves?

  • Importing .aaf file that links to .m2t file

    Hi, I've been asked to do some sound editing for a video that was edited in Vegas. The video editor is able to export a .aaf file which I know STP will read. However, the video was done in HDV and the audio/video files that the .aaf file refers to are .m2t files.
    STP seems to barf on those files, because when I try to import the .aaf, it says it can't find the .aaf file. So, I show it the path to the file, and then is says again that it can't find it. I take this to be a poorly designed alternative to a dialog box that says, "File format not supported."
    Regardless, after doing some quick online research, I learned that .m2t files aren't natively supported by FCP, and I'm guessing that's why it's not supported by STP, too.
    Does anyone have advice on a workflow that would work for this scenarios? Unfortunately, each video clip was imported to the Sony Vegas computer as a separate file. So the video project consists of literally hundreds of little .m2t files.
    Any advice?
    Cheers,
    Todd.

    That is definitely true. So I could convert the 100 .m2t files into 100 QT files. but what do I do about the fact that the .aaf file still references the .m2t files?

  • How to delete all "files that cannot be found" files faster! Desperate!!

    Hey!! So for the past year and a half, i have had hundreds and hundreds of songs that read "----- file cannot be found--" due to me listening to cd's through itunes, without properly importing them. The result was every song file was saved without the song! So now after i imported the CD's correctly, i have quite a few duplicates of hundreds of songs, and the only way i find out which song is the duplicate is by manually trying to play the individual song. I wish to DELETE all the BLANK songs whether they be duplicates or just single files. I was just tolerating it all this time, but now that i ordered my itouch, i need to consolidate my library! Please help, thanks!!
    PS: I saw other threads where people wanted to delete duplicate songs, but i didn't know if the programs that where reccomended to them deleted a random duplicate, because if that is the case, it could delete the good copy of the song, where i would want it to delete the blank copy. Thanks again.
    = ]
    THANKS AGAIN!!! PLEASE HELP THIS PROBLEM IS KILLING ME! =O
    Message was edited by: mr.nooby

    Here is a script to find dead tracks.
    Rename it to FindDeadTracks.js
    Run iTunes.
    While iTunes is running, double click FindDeadTracks.js to run the script.
    http://ottodestruct.com/itunes/FindDeadTracks.txt
    You can look at the resulting Notepad document it creates, if you like, to make sure it found files you were expecting.
    Then to get rid of those tracks, download this: http://ottodestruct.com/iTunes/RemoveDeadTracks.txt
    Rename it to RemoveDeadTracks.js.
    Run iTunes.
    While iTunes is running, double click RemoveDeadTracks.js to run the script. It'll remove all the exclamation marked tracks.
    For the duplicate tracks, you pretty much need to look at those on a case-by-case basis.

  • Where's the file that stores the Recent Files list? (Mac OS)

    I closed a document yesterday that I had finished after saving a PDF from a saved AI file. When I went to "Open Recent File" and selected either the AI or the PDF, it says the file cannot be found.
    I would like to take a look at the path of where Illustrator thinks the file should be so I can narrow down why the file is missing.
    I've looked in /Users/(me)/Library/Preferences and haven't found anything.
    Thank you!

    I doubt this *.plist file will be any use to you… Why don't you go outside the app and use spotlight…?
    or just comm+f

Maybe you are looking for

  • Can anyone help me, please(again)

    Hello : I am sorry that my massage is not clearly. Please run my coding first, and get some view from my coding. you can see somes buttons are on the frame. Now I want to click the number 20 of the buttons, and then I want to display a table which fr

  • I want to change the country of my itunes account but I do not have a credit card of the country

    I had my account registered in the itunes store and has changed the store from Japan to UK. I also had some apps downloaded in the Japan itunes store and I am not able to update these apps. I want to change my account back to the Japan store since I

  • My Lenovo says that power adapter is not supported on brand new laptop

    Hi, I bought new Lenovo laptop two weeks ago (Lenovo Y50-70) and everything worked fine up until this morning. When i turned it on baterry icon showed that laptop was not pluged in, so i checked if everything is connected properly. Next thing a pop-u

  • Help! My application uses a Single Thread !

    Hi all ! I have a web application which performs some long running tasks. This can be easily simulated with: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {           System.out.pr

  • HT201317 Fill my Photo-stream

    My photo stream is only showing me the last months worth of photos. I want to know if there is a way to get all of the photos from my photo stream (I have about 450).