Return-Path: X-Original-To: apmail-openejb-users-archive@www.apache.org Delivered-To: apmail-openejb-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DDB179BCB for ; Sun, 12 Aug 2012 18:29:37 +0000 (UTC) Received: (qmail 43826 invoked by uid 500); 12 Aug 2012 18:29:37 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 43803 invoked by uid 500); 12 Aug 2012 18:29:37 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 43794 invoked by uid 99); 12 Aug 2012 18:29:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2012 18:29:37 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Aug 2012 18:29:32 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T0cuV-0007Dt-HM for users@openejb.apache.org; Sun, 12 Aug 2012 11:29:11 -0700 Date: Sun, 12 Aug 2012 11:29:11 -0700 (PDT) From: membersound To: users@openejb.apache.org Message-ID: <1344796151526-4656822.post@n4.nabble.com> In-Reply-To: References: <1344793883580-4656815.post@n4.nabble.com> Subject: Re: WebService cannot be Stateless? - ServletException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org http://openejb.979440.n4.nabble.com/file/n4656822/calculator.zip calculator.zip I just used the two classes from: http://openejb.apache.org/examples-trunk/simple-webservice/ and added the web.xml containing the content described in my initial post. As long as I deploy without the web.xml everything works fine. But adding the web.xml (which is necessary as I'd like to have a index.xhtml beside my webservices) results in the error. I use tomee+ 1.0, not snapshot. -- View this message in context: http://openejb.979440.n4.nabble.com/WebService-cannot-be-Stateless-ServletException-tp4656815p4656822.html Sent from the OpenEJB User mailing list archive at Nabble.com.