Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 1033 invoked from network); 21 Dec 2007 17:47:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Dec 2007 17:47:47 -0000 Received: (qmail 84596 invoked by uid 500); 21 Dec 2007 17:47:35 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 84545 invoked by uid 500); 21 Dec 2007 17:47:35 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 84534 invoked by uid 99); 21 Dec 2007 17:47:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2007 09:47:35 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jgawor@gmail.com designates 72.14.252.159 as permitted sender) Received: from [72.14.252.159] (HELO po-out-1718.google.com) (72.14.252.159) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2007 17:47:11 +0000 Received: by po-out-1718.google.com with SMTP id c31so1837769poi.0 for ; Fri, 21 Dec 2007 09:47:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=B6ELyAae4PWr87H79CMcGiwFmXLbUQLo0eoxMrOvRK0=; b=QJkFoISPjdyaH6wqAfZv8LiOqJemlSYRTWKCh1b4ofP5cUP+iYPNTytvxWUW8vYBRSlmJkFOu4dbRe9W/BAbPYPeppbaxA0psQGygH8n2fSVgcJW6h8OM65+1WL/yVR2SaMr51DaQNv2SuHCNkpiu+OMHkFJOdJ9mQpHeJlHyTo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZbajKsKn2IzZmI27ftREBeo3UW9arwLNasn4gr6WFnN08ON3A9WE19+/U6cDGtmEOAGs0OmK4DDQQL1d21KGpEaq/IsBbl+FRgmJ3yTRwXnqg0C/29PF/NcPSUFiAsmwGCPQrOwpmHahlwJlyVZ4giuEA9b8FVe8SwKgE6ETBQQ= Received: by 10.115.94.1 with SMTP id w1mr1697709wal.85.1198259235265; Fri, 21 Dec 2007 09:47:15 -0800 (PST) Received: by 10.114.150.10 with HTTP; Fri, 21 Dec 2007 09:47:15 -0800 (PST) Message-ID: <5eb405c70712210947s5aa44341kabc062b6e82f84cc@mail.gmail.com> Date: Fri, 21 Dec 2007 12:47:15 -0500 From: "Jarek Gawor" To: dev@geronimo.apache.org Subject: Re: J2EE application client in geronimo 2.0.2 In-Reply-To: <14451227.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <14434684.post@talk.nabble.com> <14439820.post@talk.nabble.com> <14451227.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org The manifest file is missing the new line characters at the end of the Main-Class attribute. Add a new empty line to your manifest file (after main-class) attribute and this should be working. Jarek On Dec 21, 2007 1:54 AM, ivanrc wrote: > > I has tried with deploy.bat and it happen the same > > D:\temp\ejb3\geronimo_client>%GERONIMO_HOME%\bin\deploy deploy > app_client.jar > GERONIMO_OPTS=3D > JAVA_OPTS=3D > Using GERONIMO_BASE: D:\geronimo-tomcat6-jee5-2.0.2 > Using GERONIMO_HOME: D:\geronimo-tomcat6-jee5-2.0.2 > Using GERONIMO_TMPDIR: var\temp > Using JRE_HOME: C:\Archivos de programa\Java\jdk1.5.0_07\\jre > Username: system > Password: ******* http://www.nabble.com/file/p14451227/app_client.jar > app_client.jar > Error: Unable to distribute app_client.jar: Cannot deploy the > requested application module because no deployer is able to handle > it. This can happen if you have omitted the J2EE deployment > descriptor, disabled a deployer module, or if, for example, you are > trying to deploy an EJB module on a minimal Geronimo server that > does not have EJB support installed. > > (moduleFile=3DD:\geronimo-tomcat6-jee5-2.0.2\servers\node1\var\temp\geron= imo-d > eployer42380.tmpdir\app_client.jar) > > Can you try a little example in your geronimo 2.0.2? > > > > prasad wrote: > > > > My first guess is that the deploy tool could be broken. The client > > jars in the webservices-testsuite are deployed with the help of > > geronimo-maven-plugin:deploy-module. > > > > Just for kicks, can you please try using the deploy.bat ? > > > > Cheers > > Prasad > > > > On Dec 20, 2007 11:24 AM, ivanrc wrote: > >> > >> I=B4m has created application client with that deployment descriptors > >> (geronimo-application-client.xml and application-client.xml) but whe= n I > >> deploy it, I obtain this error: > >> > >> D:\temp\ejb3\geronimo_client>java -jar > >> D:\geronimo-tomcat6-jee5-2.0.2/bin/deploy > >> er.jar --user system --password manager --host localhost --port 1099 > >> deploy > >> app_ > >> client.jar > >> Error: Unable to distribute app_client.jar: Cannot deploy the > >> requested application module because no deployer is able to handle > >> it. This can happen if you have omitted the J2EE deployment > >> descriptor, disabled a deployer module, or if, for example, you ar= e > >> trying to deploy an EJB module on a minimal Geronimo server that > >> does not have EJB support installed. > >> > >> (moduleFile=3DD:\geronimo-tomcat6-jee5-2.0.2\servers\node1\var\temp\ge= ronimo-d > >> eployer42379.tmpdir\app_client.jar) > >> > >> D:\temp\ejb3\geronimo_client>pause > >> Presione una tecla para continuar . . . > >> > >> > >> Do you know what is the problem? > >> > >> My jar is named app_client.jar and it contains.. > >> > >> - client/MainClient.class that contains main static method > >> > >> - META-INF/application-client.xml: > >> > >> > >> >> xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > >> xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee > >> http://java.sun.com/xml/ns/j2ee/applicationclient_1_4.xsd" > >> version=3D"1.4"> > >> > >> JAXB Client > >> > >> > >> > >> - META-INF/geronimo-application-client.xml: > >> > >> > >> >> xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/application-client-= 1.2" > >> xmlns:dep=3D"http://geronimo.apache.org/xml/ns/deployment-1.2"> > >> > >> > >> > >> JEE5 > >> JAXBClient > >> 1.1 > >> car > >> > >> > >> > >> > >> > >> JEE5 > >> JAXBClientServer > >> 1.1 > >> car > >> > >> > >> > >> > >> > >> - META-INF/MANIFEST.MF contains: Main-Class: client.MainClient > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> prasad wrote: > >> > > >> > Most of the tests in the webservices-testsuite have a client piece i= n > >> > it. You will find simple examples of the plan there. > >> > > >> > > >> http://svn.apache.org/repos/asf/geronimo/server/branches/2.0/testsuite= /webservices-testsuite/ > >> > > >> > Cheers > >> > Prasad > >> > > >> > On Dec 20, 2007 6:33 AM, ivanrc wrote: > >> >> > >> >> Hello, > >> >> > >> >> Can I deploy J2EE 5 application client in geronimo 2.0.2?. there i= s > >> no > >> >> way > >> >> to do it work!. The previous versions of application-client.xml and > >> >> geronimo-application-client.xml for geronimo 1.1 don=B4t work in > >> geronimo > >> >> 2.0.2. > >> >> > >> >> Please write me down some examples of application-client.xml and > >> >> geronimo-application-client.xml. > >> >> > >> >> Thanks. > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/J2EE-application-client-in-geronimo-2.0.2-tp1443= 4684s134p14434684.html > >> >> Sent from the Apache Geronimo - Dev mailing list archive at > >> Nabble.com. > >> >> > >> >> > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/J2EE-application-client-in-geronimo-2.0.2-tp1443= 4684s134p14439820.html > >> > >> Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com= . > >> > >> > > > > > > -- > View this message in context: http://www.nabble.com/J2EE-application-clie= nt-in-geronimo-2.0.2-tp14434684s134p14451227.html > > Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com. > >