Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 60914 invoked from network); 20 Mar 2008 21:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Mar 2008 21:27:23 -0000 Received: (qmail 40744 invoked by uid 500); 20 Mar 2008 21:27:15 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 40728 invoked by uid 500); 20 Mar 2008 21:27:15 -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 40714 invoked by uid 99); 20 Mar 2008 21:27:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 14:27:14 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,HTTP_ESCAPED_HOST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ashjain2@gmail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Mar 2008 21:26:36 +0000 Received: by wf-out-1314.google.com with SMTP id 28so1149921wfa.25 for ; Thu, 20 Mar 2008 14:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=02zC5RhUI7u2mVqiXHkMwl3X6vUShNF86XWQgTln8Tk=; b=meBHkQf4g4AUZShkSSWE0EYjLAcbkkVyr4SckT1WeTZy+GjcN6I86z9RANLkqHdrfShbxtARnC12nn9KMCu3se17CCshRYdXDaN4WRQ/pZ3cyGcKImIHUxThYAtkF84VjDVY1iWFKhal9a9nC6mw2axWmSoJ3A4Sg0WzfrqVB1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EKa/IfjZxV0KmwSWHd/1eSsn+OVrHH1QHDw5srR5U6iiI9+AyIBGp5tIh4zlWyjpTwrQQNzEUYVftitbk8AO2Ih633/FmDKKZ5sm1wmtM9EF0CZAt/3LC216bxQEOu6ZUTOC6bmWEgU6RXrZQiVu9fy5P5HSrZipJtff0wD/jNM= Received: by 10.142.48.14 with SMTP id v14mr1865309wfv.121.1206048407664; Thu, 20 Mar 2008 14:26:47 -0700 (PDT) Received: by 10.142.158.2 with HTTP; Thu, 20 Mar 2008 14:26:47 -0700 (PDT) Message-ID: <14af40510803201426k44f36be8k2e4563d2c04d95cc@mail.gmail.com> Date: Fri, 21 Mar 2008 02:56:47 +0530 From: "Ashish Jain" To: user@geronimo.apache.org Subject: Re: Getting class not found exception while running the jaxws-tools.bat In-Reply-To: <5eb405c70803191102n5982f238u317be44d6236dea2@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2589_33141145.1206048407663" References: <14af40510803190722i48c76eb3p125d049cefc31c2d@mail.gmail.com> <5eb405c70803191102n5982f238u317be44d6236dea2@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_2589_33141145.1206048407663 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jarek, I found the JIRA GERONIMO-3831 associated with this issue but could not find a workaround. Is there a workaround available for this issue in AG 2.1? Thanks Ashish On Wed, Mar 19, 2008 at 11:32 PM, Jarek Gawor wrote: > Yes, this problem exists in 2.1 but it is already fixed in svn and > will be included in 2.1.1. You can use 2.1.1-SNAPSHOT if you want in > the meantime (http://geronimo.apache.org/maven/server/binaries/2.1/). > > Jarek > > On Wed, Mar 19, 2008 at 10:22 AM, Ashish Jain wrote: > > Hi, > > I am using the jaxws-tools.bat to create the required artifacts for > jax-ws > > webservice. > > I ran the command jaxws-tools.bat wsgen on a command window and got the > > following error. > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > org.apache.geronimo.c > > ommon.DeploymentException > > at java.lang.J9VMInternals.verifyImpl(Native Method) > > at java.lang.J9VMInternals.verify(J9VMInternals.java:68) > > at java.lang.J9VMInternals.initialize(J9VMInternals.java:129) > > at > > org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.run(JAXWSToolsCLI.jav > > a:71) > > at > > org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(JAXWSToolsCLI.ja > > va:61) > > > > I could find this class at > > > \repository\org\apache\geronimo\framework\geronimo-common\2.1. > > > > The previous version of geronimo on running the same command will give a > > help menu > > > > Usage: wsgen [options] > > > > where [options] include: > > -classpath specify where to find input class files > > -cp same as -classpath > > -d specify where to place generated output > files > > -extension allow vendor extensions - functionality not > > specifi > > ed > > by the specification. Use of extensions > may > > result in applications that are not > portable or > > may not interoperate with other > implementations > > -help display help > > -keep keep generated files > > -r resource destination directory, specify > where > > to > > place resouce files such as WSDLs > > -s specify where to place generated source > files > > -verbose output messages about what the compiler is > > doing > > -version print version information > > -wsdl[:protocol] generate a WSDL file. The protocol is > > optional. > > Valid protocols are soap1.1 and Xsoap1.2, > the > > defau > > lt > > is soap1.1. Xsoap1.2 is not standard and > can > > only > > be > > used in conjunction with the -extension > option > > -servicename specify the Service name to use in the > > generated WS > > DL > > Used in conjunction with the -wsdl option. > > -portname specify the Port name to use in the > generated > > WSDL > > Used in conjunction with the -wsdl option. > > > > Examples: > > wsgen -cp . example.Stock > > wsgen -cp . example.Stock -wsdl -servicename { > http://mynamespace}MyService > > > > Note: Previous version of geronimo had the class DeploymentException at > > > \repository\org\apache\geronimo\modules\geronimo-common\2.0.1 > > > > Thanks > > Ashish > > > ------=_Part_2589_33141145.1206048407663 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Jarek,
I found the JIRA GERONIMO-3831 associated with this issue but could not find a workaround. Is there a workaround available for this issue in AG 2.1?

Thanks
Ashish

On Wed, Mar 19, 2008 at 11:32 PM, Jarek Gawor <jgawor@gmail.com> wrote:
Yes, this problem exists in 2.1 but it is already fixed in svn and
will be included in 2.1.1. You can use 2.1.1-SNAPSHOT if you want in
the meantime (http://geronimo.apache.org/maven/server/binaries/2.1/).

Jarek

On Wed, Mar 19, 2008 at 10:22 AM, Ashish Jain <ashjain2@gmail.com> wrote:
> Hi,
> I am using the jaxws-tools.bat to create the required artifacts for jax-ws
> webservice.
> I ran the command jaxws-tools.bat wsgen on a command window and got the
> following error.
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.apache.geronimo.c
>  ommon.DeploymentException
>         at java.lang.J9VMInternals.verifyImpl(Native Method)
>         at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
>         at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
>          at
> org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.run(JAXWSToolsCLI.jav
> a:71)
>         at
> org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(JAXWSToolsCLI.ja
> va:61)
>
> I could find this class at
> <GERONIMO_HOME>\repository\org\apache\geronimo\framework\geronimo-common\2.1.
>
> The previous version of geronimo on running the same command will give a
> help menu
>
> Usage: wsgen [options] <SEI>
>
> where [options] include:
>   -classpath <path>          specify where to find input class files
>    -cp <path>                 same as -classpath <path>
>   -d <directory>             specify where to place generated output files
>   -extension                 allow vendor extensions - functionality not
> specifi
>  ed
>                              by the specification.  Use of extensions may
>                              result in applications that are not portable or
>                              may not interoperate with other implementations
>    -help                      display help
>   -keep                      keep generated files
>   -r <directory>             resource destination directory, specify where
> to
>                              place resouce files such as WSDLs
>    -s <directory>             specify where to place generated source files
>   -verbose                   output messages about what the compiler is
> doing
>   -version                   print version information
>    -wsdl[:protocol]           generate a WSDL file.  The protocol is
> optional.
>                              Valid protocols are soap1.1 and Xsoap1.2, the
> defau
> lt
>                              is soap1.1.  Xsoap1.2 is not standard and can
> only
>  be
>                              used in conjunction with the -extension option
>   -servicename <name>        specify the Service name to use in the
> generated WS
> DL
>                              Used in conjunction with the -wsdl option.
>    -portname <name>           specify the Port name to use in the generated
> WSDL
>                              Used in conjunction with the -wsdl option.
>
> Examples:
>   wsgen -cp . example.Stock
>   wsgen -cp . example.Stock -wsdl -servicename {http://mynamespace}MyService
>
> Note: Previous version of geronimo had the class DeploymentException at
> <GERONIMO_HOME>\repository\org\apache\geronimo\modules\geronimo-common\2.0.1
>
> Thanks
> Ashish
>

------=_Part_2589_33141145.1206048407663--