Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 83011 invoked from network); 28 Apr 2008 14:51:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Apr 2008 14:51:18 -0000 Received: (qmail 70789 invoked by uid 500); 28 Apr 2008 14:51:19 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 70225 invoked by uid 500); 28 Apr 2008 14:51:18 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 70214 invoked by uid 99); 28 Apr 2008 14:51:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 07:51:18 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 14:50:25 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JqUgn-0006km-Jc for user@geronimo.apache.org; Mon, 28 Apr 2008 07:50:45 -0700 Message-ID: <16940625.post@talk.nabble.com> Date: Mon, 28 Apr 2008 07:50:45 -0700 (PDT) From: newbie-gero To: user@geronimo.apache.org Subject: Re: File structure of the files when deploying on Geronimo In-Reply-To: <22d56c4d0804270227n2a71dd5cga8df7cdb92960654@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: chongming@e7tech.com References: <16921303.post@talk.nabble.com> <22d56c4d0804270227n2a71dd5cga8df7cdb92960654@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi, Thanks for the help. I have deploy the directory named ims.war into Geronimo containing the application artifacts using this command: java -jar bin/deployer.jar --user system --password manager deploy --inPlace ims.war This are the errors in prompt: Error: Unable to distribute ims.war: xml problem for web app . Invalid deployment descriptor: errors: error: cvc-complex-type.2.4a: Expected elements 'work-dir@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 clustering@http://geronimo.apache.org/xml/ns/j2ee/application-2.0 web-container@http://geronimo.apache.org/xml/ns/naming-1.2 host@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 cross-context@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 disable-cookies@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 valve-chain@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 listener-chain@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 tomcat-realm@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 manager@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 cluster@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 abstract-naming-entry@http://geronimo.apache.org/xml/ns/naming-1.2 ejb-ref@http://geronimo.apache.org/xml/ns/naming-1.2 ejb-local-ref@http://geronimo.apache.org/xml/ns/naming-1.2 service-ref@http://geronimo.apache.org/xml/ns/naming-1.2 resource-ref@http://geronimo.apache.org/xml/ns/naming-1.2 resource-env-ref@http://geronimo.apache.org/xml/ns/naming-1.2 message-destination@http://geronimo.apache.org/xml/ns/naming-1.2 security-realm-name@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 service@http://geronimo.apache.org/xml/ns/deployment-1.2 persistence@http://java.sun.com/xml/ns/persistence' instead of 'type@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1' here Descriptor: sample2.applications IMSApp 2.1 ims war This is the geronimo-web.xml i wriiten and placed inside the WEB-INF directory sample2.applications IMSApp 2.1 ims war What can i do? Thanks for the guidance.. Vamsavardhana Reddy-2 wrote: > > You can use inPlace deployment to deploy your application without having > to > create a war file. You will need to use the command line deployer with > --inPlace option. The syntax would be something like the following: > deploy --inPlace c:\mydir\ims.war > > Here c:\mydir\ims.war is the directory containing application artifacts. > > ++Vamsi > > On Sun, Apr 27, 2008 at 2:46 PM, newbie-gero wrote: > >> >> Greetings, >> i have questions and i hope you all can help me. >> I have been trying out geronimo and i do have some questions on which >> type >> of file structure to deploy the codes. >> >> I have been deploying my codes all in a directory without compressing >> them >> in .war or .ear extension on jboss and tomcat. Below is the tree of the >> directory i deployed in jboss or tomcat and it is running well. The >> ims.war >> name in the tree below is the name of the directory, not a compress file. >> >> ims.war/ >> |-- WEB-INF >> | |-- classes >> | | `-- com >> | | `-- IMS >> | | |-- IMSObj >> | | | |-- loginDataObj.class >> | | | |-- loginDataObj.java >> | | | |-- newUserObj.class >> | | | `-- newUserObj.java >> | | |-- bean >> | | | |-- loginDataBean.class >> | | | |-- loginDataBean.java >> | | | |-- newUserBean.class >> | | | `-- newUserBean.java >> | | `-- connect >> | | |-- ConnectData.class >> | | |-- ConnectData.java >> | | `-- connection.properties >> | |-- geronimo-web.xml >> | |-- geronimo-web.xml~ >> | |-- lib >> | `-- web.xml >> |-- checkLogin.inc >> |-- checkUser.inc >> |-- default_style.css >> |-- index.jsp >> |-- indexError.jsp >> |-- login-logic.jsp >> |-- loginPage.jsp >> |-- logout-logic.jsp >> |-- main_page.jsp >> |-- style.css >> `-- top-bannerTest.jsp >> >> So my question for this topic is, is it possible to deploy the above >> structure as shown above into geronimo and see it runs or when using >> geronimo applicaion server, it is a must for me to compress it as a war >> file? >> >> These are the file i deploy into jboss and tomcat. I have zip up the >> contents. To deploy, i will unzip and copy the ims.war directory(not >> compress) into the deploy folder for jboss and tomcat >> http://www.nabble.com/file/p16921303/ims.war.zip ims.war.zip >> >> This is the compress file of the ims.war which i use to deploy in >> geronimo >> http://www.nabble.com/file/p16921303/ims.war ims.war >> >> Thanks in advance and waiting for the guidance >> >> >> -- >> View this message in context: >> http://www.nabble.com/File-structure-of-the-files-when-deploying-on-Geronimo-tp16921303s134p16921303.html >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/File-structure-of-the-files-when-deploying-on-Geronimo-tp16921303s134p16940625.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.