Can't create a .war file....

Hi,
I feel a little stupid but I can't create a .war file.
I'm under the folder tuto which contains WEB-INF and index.html
and I write this instruction on the command line:
C:\tomcat\tuto>jar -cvfM ../tuto.war
Unfortunately, it's not accepted.
Can you help me please?
Thanks in advance,
Steevy.

Hi,
Thanks for your response.
In fact, it doesn't change anything to remplace ../tuto.war by ..\tuto.war.
I suppose the root cause isn't at this level because when I write just the following
C:\tomcat\webapps\tuto>jar -cvf tuto.war
I obtain exactly the same message:
Usage: jar {ctxu}[vfm0M] [jar-file] [manifest-file] [-C
Options:
-c create new archive
-t list table of contents for archive
-x extract named (or all) files from archive
-u update existing archive
-v generate verbose output on standard output
Best,
Steevy.

Similar Messages

  • How to create the War file

    Can you help me , how to create the war file.
    I am using the tomcat 5.0 server, i have book folder in webapp.
    how i can create the war file? what is command?
    help me
    ramya

    using jar command u can create a war file
    jar -cmf myweb.war *.*<files to be included in war file>
    regd,
    ritu

  • How to create a .war file

    Hi Guyz,.............
    how can i make a war file from a project directory
    i had searched the forums but that did not help me.
    i used this command
    C:\My Project\source>jar cvf MyProj.war
    'c' flag requires that input files be specified!
    Usage: jar {ctxu}[vfm0M] [jar-file] [manifest-file] [-C dir] files ...
    Options:
    -c create new archive
    -t list table of contents for archive
    -x extract named (or all) files from archive
    -u update existing archive
    -v generate verbose output on standard output
    -f specify archive file name
    -m include manifest information from specified manifest file
    -0 store only; use no ZIP compression
    -M do not create a manifest file for the entries
    -i generate index information for the specified jar files
    -C change to the specified directory and include the following file
    If any file is a directory then it is processed recursively.
    The manifest file name and the archive file name needs to be specified
    in the same order the 'm' and 'f' flags are specified.
    Example 1: to archive two class files into an archive called classes.jar:
    jar cvf classes.jar Foo.class Bar.class
    Example 2: use an existing manifest file 'mymanifest' and archive all the
    files in the foo/ directory into 'classes.jar':
    jar cvfm classes.jar mymanifest -C foo/ .
    please help me out guyz

    You are nearly there already and the error message is telling you exactly what is missing from your command.
    Try
    jar cvf MyProj.war file1.class file2.class
    or maybe
    jar cvf MyProj.war classes/*.class
    or even
    jar cvf MyProj.war classes/
    etc
    All the info is in the output you supplied!

  • Creating a .war file?

    i want to know what .war file is supposed to be??
    is it an exe file so i can run the web application instead of run it from inside the IDE (like jar file)??

    abulseed wrote:
    ok to make it clear is this the steps i should follow:
    1- develop the application using an IDE (ex: netbeans)which will be running on a bundled server.
    2- create a .war file to deploy the application on an external server.Yes.

  • How can I create an Excel file?

    Hi,
    How can I create an Excel file using Forms 6i.
    What I'm doing is to create a file using TEXT_IO package an name it .XLS. If a read it double-clicking over the file, it opens Ok but If I open directly from Excel it opens the Convert dialog.
    I need to create an excel file as it was made from within Excel.
    Thank in advance,
    Benjamin

    When you are talking about subfiles, are you talking like Package contents of an application?
    Terminal application in Applications -> Utilities can give a command line grasp of all your files using the du command.
    Type
    man du
    when entering the terminal, followed by the enter key.
    Note, by default the terminal opens at the Home folder.   To navigate outside the Home folder enter "/Volumes/name of mounted drive/folder/subfolder" as your path.  If there are spaces in the name, putting quotes around the whole path can help.    If you end your du command with a > name.txt a text file with the name name.txt will be plugged into your Home directory.  That you can open with Excel and parse by /es thus giving you everything in Excel.

  • How can I Create a exe file were a tab control on it work`s

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?"
    Attachments:
    project7.1.jpg ‏129 KB

    Make the tab control a control and not an indicator. If you want to write
    to it you need to create a local variable.
    "Carlos-R." wrote in message
    news:[email protected]..
    I have a VI with many controls and indicators,these are spread on a
    tab control.This tab control works with out any problems but if i
    create a exe file then the tab control is fixed. How can I create a
    exe file so that the tab control on it work´s ?"

  • How can I create a exe file with a tab control on it that work´s ?

    I have a VI with many controls and indicators,these are spread on a tab control.This tab control works with out any problems but if i create a exe file then the tab control is fixed. How can I create a exe file so that the tab control on it work´s ?

    I have made a new Posting with the same question but this time I added a screenshot of the VI.
    Attachments:
    project7.1.jpg ‏129 KB

  • How to create a war file of web application

    Hi Techies
    How to create a war file of the web application?
    And plz tell me the utilities used for it.

    hi,
    To compress a 'abc' web application into a "Web Archive" file named abc.war, follow the steps below:
    1> Open a command prompt and cd to the application's dir:
    <TOMCAT_HOME>\webapps\abc
    2> Use the java archive command 'jar' to bundle up your application:
    jar -cvf abc.war *
    3> Move this to any other server and work with it!! :)
    -- Abdel Raoof Olakara
    http://olakara.googlepages.com

  • How can we create the DBC file?

    Hi all,
    I am attempting to run the test_fwktutorial.jsp within the toolbox.jws/Tutorial.jpr project in Jdeveloper . We have to provide the Oracle application DB connection in the project properties ( we have to provide this as a DBC file) . How can we create the dbc file from the Database connection ? i tried to export the DB connection in Jdev , but it is getting exported to xml file rather than dbc file . Please help to fix this.

    Yes, you can do that.
    Put both the DBC files under dbc_files\secure folder.
    You can change the dbc files from project settings and point to the desired file.
    I am not sure, but maybe you need to stop JDevloper and start again for the new DBC file to take effect.

  • Can you create a .ics file from entries in a PDF?

    Hi,
    I'm wondering if anyone can help me: Can you create a .ics file from entries in PDF?
    Example:
    I'm wanting people to be able to choose a number of dates for some events within a PDF, then click a button that will then create a (or number of) .ics files so they can add those dates to the calendar of their choice. Is this possible?
    Thanks

    Using the solution supplied by Leonia, and cited by Keith, you can do the same thing (flopping the Curve profiles) in LightRoom. So, it makes sense. Though I didn't know know it worked for Color Negatives.
    A friend of mine with a Nikon Coolscan is going to scan nearly 150 B&W rolls of 35mm negatives for me, and I want to import them all into Aperture, naming and keywording as I go. The objective is, of course, to have the convenience of a diigtal library. But also to have some made into large prints for framing.

  • 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!

  • How can i create my own file from the Adobe Export PDF to Word ?

    How can I create my own file from the file of the Adobe Export PDF to Wodrd?

    If there is handwritten content in your PDF then ExportPDF can't convert that to word.
    ~Deepak

  • Update to Muse 2.3 Crashes. Windows 7 x64. "openCreate can't create database over file..."

    I updated to Muse 2.3. Everytime I open an old site or create a new one then try to save or save site as, I get error message "openCreate can't create database over file that already exists"
    I have tried uninstalling then reinstalling Muse and Air (a couple of times). Also tried the cleaner.
    Any suggestions? Of course a tad urgent. Muse is great program, but its usefulness seems to be inversely proportional to the urgency of need.
    Thank you for any help.
    Alan

    Thanks Zak for getting back to me so quickly. I seem to have solved the problem (fingers crossed).
    I restored my Windows 7 system to a point before I installed the latest update to Muse (2.3) [the restore also went back before large windows update that happened this week]. I tried to start Muse up and I got an error message saying it was a damaged installation. I uninstalled then reinstalled AIR. Then I reinstalled Muse. Seem to be working fine now.
    The only thing I can think that happened to mess things up was that I used the Cleaner after I uninstalled Muse originally? I used it for the CS6 version. I noticed that Muse was listed under my CS 5.5 installation too (I think it said Muse 16 - maybe v1 or the beta?). I uninstalled that too so maybe I had a corrupted installation from earlier or the beta still hanging around my system?
    I really appreciate the prompt support. I will let you know if anything else happens - let me know if you'd like any more info.
    Alan

  • How can i create a pdf file from Indesing, whit out loosing resolution...

    How can i create a pdf file from Indesing, whit out loosing resolution...
    in linked images (bitmap) idon´t know where or how can i keep the same resolution "image" that is from the original file ......

    In the export settings there is a panel called Compression. You can set downsampling and compression, or lack thereof, there.

  • How can I create a jar file

    Hello!
    How can a create a jar file?
    I want to run an application just clicking in a icon.
    How can I do this?
    Thanks a lot.
    K�tia.

    Get to the command prompt
    change directories to the directory where the main class resides.
    Open your text editor and type the following in it:
    Manifest-Version: 1.0
    Main-Class: NameOfMainClass //Just name without ".class"!!!
    Created-By: Your Name Here
    Save this file as whatever you want to name it with ".mf" as the extension.
    Then go back into the command prompt and type the following:
    jar cfm "NameOfJarFile".jar "NameOfManifestFile".mf *.class
    (without the quote marks of course)
    Hit "Enter"
    This will jar it up and make it executable.
    If you have any images associated with the program you can add them in the same way as above. Just add *.gif or *.jpg after the *.class portion.
    Good luck!
    LEEMAX I. T.

Maybe you are looking for

  • How do I rename a part in a 3D PDF?

    In 9 Pro Extended I have a 3D PDF that I need to rename parts in the model tree. The model was from Pro-Engineer. I tried opening 3D Reviewer and renaming but when I "save back to PDF" the name change doesn't show. If I export to PDF from 3D Reviewer

  • FAGLL03 - Line item display in ECC 6.0

    Hi We are on ECC 6.0.  When i execute the report FAGLL03 for Line item display and double click on a line, system pops up a window with Line item details rather than actually taking me to Document display for that Line item What settings do i need to

  • Sync Question that I know has been asked a million times

    All, I had a user that we had to replace the hard drive in his iMac and now we are trying to re sync is iPod Touch back to the computer with the new hard drive. When we first plug the unit it, it gives the standard "this unit is synced with another i

  • Transferin​g pictures from laptop to 8520

    i have connected my 8520 to my laptop and my blackberry is showing up on my computer as a removable drive, i have tried to copy and paste a picture from my laptop to the bb and it says to insert a disk to the drive! my mass storage support is set as

  • How to pull all the txt files from an application server to oracle server

    hi i got some 30 txt files on java application server. i have two questions 1) can java guys will be able to move those files to some oracle directory that will be used by create external table command. 2) can oracle do that using a stored procedure