Tomat (5.5.x)error when expanding war file with .cvsignore

I am using the sysdeo Eclipse Tomcat plugin (V3.0) that allows me to create a war file from my eclipse project. In that war file is a .cvsignore file at the top level. Apparently, that cause the war expansion to fail with the following message. Any idea why it failed when encountering .cvsignore?
Thanks.
Sep 6, 2005 5:09:30 AM org.apache.catalina.startup.HostConfig deployWARs
WARNING: Exception while expanding web application archive magicbillboard.war
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed
Catalina.start using conf/server.xml: java.io.FileNotFoundException: /opt/lampp/webapps/magicbillboard/.cvsignore (No such file or directory)
java.io.FileNotFoundException: /opt/lampp/webapps/magicbillboard/.cvsignore (No such file or directory)

hi Marco
Thanks for the advice. I have made some progress but still getting an error when i deploy on tomcat but not on the bundeled server. I will add the error at the end and hope you may be able to directly me again. There is another Q regarding the page you adviced me to look at . It suggests in step 2 copying two .jar files but fails to indicate copying them to which directory. Can u help?
ERROR:
Cannot read USERS database: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'users' at line 1)
Thanks
zak

Similar Messages

  • Tomcat error when deploying WAR file

    Hi
    I have written my first program using Creator 2. It runs with no problems when i use the sun appserver. however I wanted it to run on tomcat and having deplowed the war file on tomcat when i run the program I get the following error message which i will add at the end of the message.
    Is this because tomcat is using java \jre1.5.0_06 library and Creator 2 deploy using j2ee1.4 ?
    ERROR MESSAGE:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet execution threw an exception
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    root cause
    java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
         com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:123)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs.

    hi Marco
    Thanks for the advice. I have made some progress but still getting an error when i deploy on tomcat but not on the bundeled server. I will add the error at the end and hope you may be able to directly me again. There is another Q regarding the page you adviced me to look at . It suggests in step 2 copying two .jar files but fails to indicate copying them to which directory. Can u help?
    ERROR:
    Cannot read USERS database: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'users' at line 1)
    Thanks
    zak

  • Error when deploying war file into application server

    I wrote a web service in java using RAD and managed to check it using a web service client with no errors.
    However, after creating a war file and tried to deploy this into the Sun application server, the following can be seen at the application server console:
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception ; requested operation cannot be completed Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    In the server.log file, the following appears:
    loyment|_ThreadID=13;|DPL5035:Error while running ejbc
    com.sun.enterprise.deployment.backend.IASDeploymentException: Fatal Error from EJB Compiler -- j axrpc compilation exception
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206 )
    at com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1101 )
    at com.sun.enterprise.deployment.Application.visit(Application.java:1346)
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
    at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:42 7)
    at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:213)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:967)
    at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java :193)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.j ava:140)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.ja va:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentS ervice.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:188)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:520)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
    |#]
    [#|2007-11-14T11:21:10.083+0930|INFO|sun-appserver-ee8.1_02|javax.enterprise.system.tools.deploy ment|_ThreadID=13;|Total Deployment Time: 14145 msec, Total EJB Compiler Module Time: 0 msec, Po rtion spent EJB Compiling: 0%|#]
    [#|2007-11-14T11:21:10.116+0930|SEVERE|sun-appserver-ee8.1_02|javax.enterprise.system.tools.depl oyment|_ThreadID=13;|Exception occured in J2EEC Phase
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.accept(JaxRpcRICodegen.java:206 )
    at com.sun.enterprise.deployment.WebBundleDescriptor.visit(WebBundleDescriptor.java:1101 )
    at com.sun.enterprise.deployment.Application.visit(Application.java:1346)
    at com.sun.enterprise.webservice.codegen.JaxRpcRICodegen.run(JaxRpcRICodegen.java:103)
    at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:785)
    at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:563)
    at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:42 7)
    at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:213)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:967)
    at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java :193)
    at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.j ava:140)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:146)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.ja va:71)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentS ervice.java:633)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:188)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService. java:520)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:143)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:172)
    |#]

    I got a similar error deploying to Weblogic with JBuilder 6 and it proved to be
    the Manifest.mf file inside war, which is very sensitive to CLASSPATH entry. Finally
    I used the file generated by JBuilder and it worked ...
    Stefan
    Frank Sun <[email protected]> wrote:
    Hi, this is Frank.
    I have a war file and want to deploy it. but somehow I got java.lang.StringIndexOutOfBoundsException:
    String index out of range: -1
    error
    Would anyone please help me?
    This war file is able to be deplyed using Tomcat 4.0.3.
    Please help.

  • Error while deploying war file with jsp precompile option in weblogic 7.0

              Hi
              I am trying to precompile jsp file which is there in a war.Main jsp file code
              includes one more jsp which is there in other folder under defaultweb directory.
              While deploying the war i am getting the following error.Can any bosy help me
              in this regard
              <Nov 23, 2002 5:01:28 PM IST> <Error> <HTTP> <101045> <[ServletContext(id=464413
              3,name=ArkinTestWeb,context-path=/ArkinTestWeb-3)] translation of /Admin/account
              _access.jsp failed: weblogic.utils.ParsingException: nested TokenStreamException
              : antlr.TokenStreamException: Could not include ./../includes/sessionStatusPage.
              jsp>
              <Nov 23, 2002 5:01:28 PM IST> <Error> <Deployer> <149201> <The Slave Deployer
              fa
              iled to complete the deployment task with id 1 for the application ArkinTestWeb.
              weblogic.management.ApplicationException: Prepare failed. Task Id = 5
              Module Name: ArkinTestWeb, Error: Could not load ArkinTestWeb: weblogic.utils.Ne
              stedException: ArkinTestWeb:ArkinTestWeb Failure while Precompiling JSPs: weblog
              ic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamExcepti
              on: Could not include ./../includes/sessionStatusPage.jsp - with nested exceptio
              n:
              [weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStream
              Exception: Could not include ./../includes/sessionStatusPage.jsp]
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:657)
              at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
              er.java:548)
              at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
              veDeployer.java:1026)
              at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
              loyer.java:700)
              at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
              dler.java:24)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              Regards
              Anand Mohan
              

    Hi,
    1] Remove following from server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    2] Paste SEA.WAR (test WAR file) into /webapps of TOMCAT
    3] Start Tomcat Server - This will create SEA folder under webapps
    4] Stop server.
    5] Add following to server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    6] Start Tomcat Server
    7] Access the URL.
    This will work. Somehow Tomcat does not extract war file contents which are mentioned in server.xml.
    I have Apache Tomcat 4.0.3 and faced this problem. The above solution works for it.
    Regards,
    Sandesh
    hi.
    I have put my SEA.WAR (test WAR file) into /webapps of
    TOMCAT.
    I checked the server.xml and put:
         <Context path="/SEA" docBase="SEA" debug="0"/>
    I restarted TOMCAT and tried to execute the file:
         http://localhost:8080/SEA/index.jsp
    But I got error message:
    Apache Tomcat/4.0.3 - HTTP Status 404 -
    /SEA/index.jsp
    What was happenning?
    Anyone can help me?
    Thank you.

  • Error when save word file with easy dms

    Hey,
    When I want to save an word file with easy dms I got the following error:
    "An error occured while creating the original attribute for WWI".
    I have no idea why.
    Thanks for your support.
    BR,
    Christoph

    Hi Christoph,
    You need to check the following configurations
    1) Transaction DC20: Whether data carrier has been defined
    2) Transaction DC10: Define document types
    3) Transaction DC30: Define workstation application
    4) Transaction OAC0: Define content repositories
    5) Transaction CSADMIN: Check status of content repository
    Regards,
    Deepak Kori

  • Error when deploying war file

    Hi,
    I develop application using visual web pack + netbeans, it work fine with tomcat but when i want deploy it in our prod environment (Oracle ias) i have the following error:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version
    the web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><context-param><param-name>javax.faces.STATE_SAVING_METHOD</param-name><param-value>server</param-value></context-param><context-param><param-name>javax.faces.CONFIG_FILES</param-name><param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value></context-param><context-param><param-name>com.sun.faces.validateXml</param-name><param-value>true</param-value></context-param><context-param><param-name>com.sun.faces.verifyObjects</param-name><param-value>false</param-value></context-param><filter><filter-name>UploadFilter</filter-name><filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class><init-param><description>
    The maximum allowed upload size in bytes. If this is set
    to a negative value, there is no maximum. The default
    value is 1000000.
    </description><param-name>maxSize</param-name><param-value>1000000</param-value></init-param><init-param><description>
    The size (in bytes) of an uploaded file which, if it is
    exceeded, will cause the file to be written directly to
    disk instead of stored in memory. Files smaller than or
    equal to this size will be stored in memory. The default
    value is 4096.
    </description><param-name>sizeThreshold</param-name><param-value>4096</param-value></init-param></filter><filter-mapping><filter-name>UploadFilter</filter-name><servlet-name>Faces Servlet</servlet-name></filter-mapping><servlet><servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup> 1 </load-on-startup></servlet><servlet><servlet-name>ExceptionHandlerServlet</servlet-name><servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class><init-param><param-name>errorHost</param-name><param-value>localhost</param-value></init-param><init-param><param-name>errorPort</param-name><param-value>24444</param-value></init-param></servlet><servlet><servlet-name>ThemeServlet</servlet-name><servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class></servlet><servlet-mapping><servlet-name>Faces Servlet</servlet-name><url-pattern>/faces/*</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ExceptionHandlerServlet</servlet-name><url-pattern>/error/ExceptionHandler</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ThemeServlet</servlet-name><url-pattern>/theme/*</url-pattern></servlet-mapping><welcome-file-list><welcome-file>faces/Page4.jsp</welcome-file></welcome-file-list><error-page><exception-type>javax.servlet.ServletException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>java.io.IOException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>javax.faces.FacesException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type><location>/error/ExceptionHandler</location></error-page><jsp-config><jsp-property-group><url-pattern>*.jspf</url-pattern><is-xml>true</is-xml></jsp-property-group></jsp-config>
    <resource-ref>
    <description>Creator generated DataSource Reference</description>
    <res-ref-name>jdbc/dataSource32</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    thanks for your help
    Walid

    Quick and short answer:
    Oracle AS/OC4J 10.1.2.x only supports J2EE 1.3
    Oracle AS/OC4J 10.1.3.x supports J2EE 1.4
    --olaf                                                                                                                                                                                                                                                               

  • Error when opening XLSX file with Excel 2003 SP3, file does open but in read only mode with temporary name

    I am using Excel 2003 SP3 and have the Office 2007 compatibility pack installed.  When I open Office 2007 formatted Excel files (XSLX) directly in Windows Explorer, I receive the following error if I do not have Excel already opened:
    "Windows cannot find '<path to file>'.  Make sure you typed the name correctly, and then try again.  To search for a file, click the Start button, and then click Search."
    Even though I receive the error, the file does open; however, it opens in Read Only mode with a name such as "Xl0000024.xls".  The number seems to increment up each time it happens.
    Now here is the strange part.  If I have Excel already open and try to open the file in Windows Explorer, the file opens fine in Modify mode with no error and with the correct file name.
    I Googled the error I was getting and found KB211494.  It says I should uncheck the box in Options on the General tab that says "Ignore other applications", but this box is already unchecked in my case.  Any other ideas?  This is
    really frustrating as a small percentage of our company has upgraded to Office 2007 with the rest still on Office 2003.

    This may be a file association problem.  To solve that:
    In Windows 7:
    1. Right-click the file,
    2. Select "Open With" 
    select [Your Program Here]
    3. Check always use this program. 
    In Windows XP:
    1. Locate the file as you have described above
    2. Right click the file
    3. Select Open with from the pop-up menu
    4. Click Choose default program…
    5. Select Excel in the Recommended Programs box
    6. Check Always use the selected program to open this kind of file
    7. Click on OK.
    1.  Make Excel not available from Office 2007 listed under Programs and Features in Control Panel.
    2. Take a registry backup using the steps given here
    3. In the registry editor window expand HKEY_CLASSES_ROOT and navigate to .xls right and delete it.
    4. Exit Registry Editor
    5. Undo Step 1 to make Excel available.
    6.  Restart the computer and verify it the issue is fixed.
    If this answer solves your problem, please check Mark as Answered. If this answer helps, please click the Vote as Helpful button. Cheers, Shane Devenshire

  • Error when saving a file with whatever text

    Suddenly when I am going to save a file wich has text, unknow error ocurs and can not save the file, if I delete the text, the file saves fine, no matter what text or font I choose. It is weird. The app was working fine a few days ago.
    I have 3 users and the same for all....
    I already deleted the AI preferences but the problem persists
    Ai CS3
    Windows Xp
    2gb Ram
    Any Ideas?

    Thanks all for responses, No, none font added recently, however, I went to C/Windows/Fonts and moved almost any font there to a a folder at the desktop. I know there are some fonts needed by the system and by the app, the problem is to know which exactly they are...
    The trick didnt' work, even I reinstalled the app, but notthig works..
    My daugther tells me that the problem begun when she opened an Illustrator file someone sent her by email....so, may be a virus

  • Error in InfoPackage: Error when uploading Flat Files

    Hello Experts,
    I encoutered this error in Info Package when uploading a flat file.
    When i try to click on the "Preview" button, this errors appear:
    "Error 8 when compiling the upload program: Row
      237, message: Data Type / BIC/ CCCBMA1_COCTR2 was found in a newer"
    Please help to advise what is this error about and how to resolve this?

    hi Annie,
    run RSA1 and try again
    Error when compiling the upload program (Message no. RSAR233)
    other similar problem solved by run program(SE38)RS_TRANSTRU_ACTIVATE_ALL and relogon
    A newer version of the data type error when loading
    Flat File Preview error message
    Error when loading from Flat File
    Error message when previewing data in InfoPackage
    hope this helps.

  • Error when publishing to file

    i keep getting "an unknown error" when publishing to file or publishing all to mobileme...
    It still works if i just publish to mobileme.
    Any ideas?
    Im trying to get my site going on go daddy, and kinda really need it in a folder...

    If you are still getting the error then its likely that you have a corrupt domain file.
    To prove this, quit iWeb, create a new folder on your desktop and drag your domain file out of - Home Folder/Library/Application Support/iWeb - into this.
    Relaunch iWeb to force it to create a new domain file, add some content and try publishing to a folder.
    If this works, your original file is corrupt.

  • Error when install sap license with 'saplicense -install'

    Dear experts,
    Error when install sap license with 'saplicense -install':
    SAPLICENSE (Release 640) ERROR ***
        ERROR:   Can not set DbSl trace function
        DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
        RC-INFO: error loading dynamic db-library - check environment for:
                 dbms_type = <db-type>  (e.g. ora)
                 DIR_LIBRARY = <path to db-dll>  (e.g. /usr/sap/SID/SYS/exe/run)
    Could you gvie me any ieda?

    Another way is to open a command prompt as nspadm and run saplicense -install
    To do this follow the steps below
    Click "Start" -> "Run..." and enter:
    runas /u:nspadm cmd
    Enter nspadm's password. A command prompt appears running as user nspadm. Now change to \usr\sap\nsp\SYS\exe\run and run
    saplicense -install
    Hope this helps.
    Regards,
    Klause

  • Error when trying to chat with more than one perso...

    I am getting an error when trying to chat with more than one person at a time.
    The message is like below:
    There has been an error while proccesing.
    Do you want to start debugging.
    Row: 0
    Error: No authorization
    Thank you in advance for assistance.
    Kind Regards
    Marcin
    Attachments:
    error.jpg ‏12 KB

    What is the version of Internet Explorer installed on your computer?
    In Internet Explorer go to Help -> About Internet Explorer.
    P.S. Please, don’t say that you are not using Internet Explorer. This is irrelevant. Skype depends on Internet Explorer.

  • Multiple JavaScript errors when opening aspx file in Dreamweaver

    I get multiple javascript errors when opening aspx file in Dreamweaver similar to... "While executing translateHyperLink in ExternalRenderers.htm, a JavaScript error occurred."

    Hi Steven,
    Not sure if this is related, but can  you try the solutions in Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Thanks,
    Preran

  • Error when creating ZIP file (return value 2 when IGS was called)

    Hello All
    I attempted to Schedule a Query to the Portal folders and executes fine.  However when it's scheduled to and email, I am getting this message
    'Error when creating ZIP file (return value 2 when IGS was called)'
    Any ideas?
    Thanks ...BK

    Hello Kai
    Thanks very much for the info.  how would I know what patch the IGS is?
    Thank you.
    Regards..BK

  • Building a war file with a folder structure

    How do a build a war file with a folder structure? I have code that creates JarEntrys and writes jar files and resource files etc. to the war. When I look at the war that gets created using winzip the path names for all the entries are correct and everything appears correct. When I try to deploy this to Tomcat nothing deploys. It appears my war is in a folder structure. How can a build this folder structure in the war? When I look at a good war using BeyondCompare I see folders and files in the folders just like I would see looking at a directory on my system. When I use BeyondCompare to view one of my "bad" war files that I have created everything is in the root. There are no folders and no folder structure. I am using the java.util.jar API to create the war but I don't see any methods or any API that will let me build up any sort of folder structure. It seems like I am missing something basic here.

    command is same for creating jar/war/ear.
    u simply need to execute jar /? for detail.

Maybe you are looking for