Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 6982 invoked from network); 26 Jun 2009 06:40:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jun 2009 06:40:21 -0000 Received: (qmail 21190 invoked by uid 500); 26 Jun 2009 06:40:31 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 21096 invoked by uid 500); 26 Jun 2009 06:40:31 -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 21088 invoked by uid 99); 26 Jun 2009 06:40:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2009 06:40:31 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS 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; Fri, 26 Jun 2009 06:40:21 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MK56O-0005V0-Cf for dev@geronimo.apache.org; Thu, 25 Jun 2009 23:40:00 -0700 Message-ID: <24215687.post@talk.nabble.com> Date: Thu, 25 Jun 2009 23:40:00 -0700 (PDT) From: Shanmu To: dev@geronimo.apache.org Subject: Error when deployin JAx-Ws web service in geronimo 2.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: shanmu_tp@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using geronimo 2.1.4 with JRE 1.5. Have got an requirement of converting an eJB to web service. We used @web service annotation and converted the EJB to webservice. As mentioned in the link http://cwiki.apache.org/GMOxDOC21/developing-a-jax-ws-ejb-stateless-session-bean-web-service.html But now when deploying the EAR during run time it throws an error WSGEN - WSDL generation failed unable to locate tools jar. We have set JRE_HOME pointing to the JRE 1.5 installation. NO java_HOME set. such as JRE_HOME=d:\jre1.5. The error I get is d:\lib\tools.jar missing. As a work around I put tools jar and created a folder lib in D drive, the deployment was succesful, and we were able to hook up to the service. Based on my analysis it looks like for geronimo wsgen tool requires JRE_HOME to be set to JRE of JDK installation. Say for instance if JDK is installed in d:\jdk it is expecting the JRE_HOME to be set as JRE_HOME=D:\jdk\jre so when wsgen tool is executed during deployment time it goes to the previous directory (i.e. d:\jdk\lib) and refers to the tools jar. Is this a bug (or) is it a pre-requisite that for geronimo JAx-WS engine to work properly we need to set JRE_HOMe pointing to the jre that is installed as part of the JDK. Is the work around the right way of doing it. I also tried specifying the wsdl location to avoid WDL generation but got an error ERROR [startup] Unable to read wsdl file , and found this to be a bug in 2.1.x. http://www.nabble.com/Resolving-wsdlLocation-with-jax-ws-catalog.xml-td20955744s134.html Best Regards Shanmu -- View this message in context: http://www.nabble.com/Error-when-deployin-JAx-Ws-web-service-in-geronimo-2.1.4-tp24215687s134p24215687.html Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.