Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 92717 invoked from network); 27 Oct 2008 11:25:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Oct 2008 11:25:31 -0000 Received: (qmail 57643 invoked by uid 500); 27 Oct 2008 11:25:35 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 57620 invoked by uid 500); 27 Oct 2008 11:25:34 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 57609 invoked by uid 99); 27 Oct 2008 11:25:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2008 04:25:34 -0700 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 adam@clownsinmycoffee.net designates 69.89.24.4 as permitted sender) Received: from [69.89.24.4] (HELO outbound-mail-114.bluehost.com) (69.89.24.4) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Oct 2008 11:24:19 +0000 Received: (qmail 4597 invoked by uid 0); 27 Oct 2008 11:23:57 -0000 Received: from unknown (HELO box142.bluehost.com) (69.89.22.142) by outboundproxy3.bluehost.com with SMTP; 27 Oct 2008 11:23:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=clownsinmycoffee.net; h=Received:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer:X-Identified-User; b=JtBsPPxH6i4T+HBFjfj5JFH7sKuoNCI47zVk9Dw1Fg3crtigrubcRHELeSbVjlqygTWHd30Vanw9xuHioX+Gt6tzJmwoVIYNOOLhSnBwrE/IbU5M+1jsL+axiDwrMz/w; Received: from h-68-165-9-239.atlngahp.dynamic.covad.net ([68.165.9.239] helo=[192.168.11.2]) by box142.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1KuQCT-0006Bg-6K for abdera-dev@incubator.apache.org; Mon, 27 Oct 2008 05:23:57 -0600 Message-Id: From: Adam Constabaris To: abdera-dev@incubator.apache.org In-Reply-To: <19181934.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: Not able to run Abdera Server on GlassFish Date: Mon, 27 Oct 2008 07:23:56 -0400 References: <19181934.post@talk.nabble.com> X-Mailer: Apple Mail (2.929.2) X-Identified-User: {702:box142.bluehost.com:clownsin:clownsinmycoffee.net} {sentby:smtp auth 68.165.9.239 authed with adam@clownsinmycoffee.net} X-Virus-Checked: Checked by ClamAV on apache.org It's pretty hard to say what you might need to do without more details what's not working. I have not had any problems getting the application to successfully deploy into Glassfish V1 and V2, but I have seen some issues with XML serialization. It's worth knowing that without poking and prodding, Glassfish will use the JDK's StAX implementation, which -- in my experience -- AXIOM has trouble with. So, try taking woodstox and the stax-api jars from your Abdera app's WEB-INF/lib and copy them into $GLASSFISH_HOME/domains/[your domain]/lib/ext and restart Glassfish. This will tell Glassfish to use Woodstox for its StAX implementation when it runs that domain (by default, 'domain1'). (btw, for anybody working on the troubleshooting guide, consider this an as-yet uncorroborated fix; here's the behaviour I've observed: Glassfish V2UR2 Mac OS X 10.5 [JDK 1.5.0_16] Custom provider running through subclassed AbderaServlet Environment: Result w/Abdera 0.4.0, default StAX: Service document blank w/Abdera trunk, default StAX: Service document output without namespace information (i.e. the local names of the elements are all correct but there are no namespace declarations). w/Abdera trunk, Woodstox: Correct output. ) HTH, AC On 27-Aug-08, at 10:15 AM, pratimat wrote: > > Hello All, > > I have been trying a lot to run the sample Abdera server (0.4.0) > employee > example using Glassfish instead of Jetty. > > What exactly should I be modifying in AppServer.java in to order to > run the > Abdera server on Glassfish. I have incorporated the web.xml, but it > is not > working. > Also just a note that, I am using the CustomProvider and not the > Default > Provider that came in the original program. My changes work fine w/ > Jetty. > > Thanks in advance! > > > -- > View this message in context: http://www.nabble.com/Not-able-to-run-Abdera-Server-on-GlassFish-tp19181934p19181934.html > Sent from the abdera-dev mailing list archive at Nabble.com. >