From users-return-26118-apmail-tomee-users-archive=tomee.apache.org@tomee.apache.org Wed Sep 13 13:57:16 2017 Return-Path: X-Original-To: apmail-tomee-users-archive@www.apache.org Delivered-To: apmail-tomee-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 BE7011A90F for ; Wed, 13 Sep 2017 13:57:16 +0000 (UTC) Received: (qmail 90126 invoked by uid 500); 13 Sep 2017 13:57:16 -0000 Delivered-To: apmail-tomee-users-archive@tomee.apache.org Received: (qmail 89712 invoked by uid 500); 13 Sep 2017 13:57:16 -0000 Mailing-List: contact users-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tomee.apache.org Delivered-To: mailing list users@tomee.apache.org Received: (qmail 89700 invoked by uid 99); 13 Sep 2017 13:57:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Sep 2017 13:57:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5974A1A1F88 for ; Wed, 13 Sep 2017 13:57:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id lqNBEqBM0Pfa for ; Wed, 13 Sep 2017 13:57:14 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id ED3B960EEB for ; Wed, 13 Sep 2017 13:57:13 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id l196so866772lfl.1 for ; Wed, 13 Sep 2017 06:57:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=ZQXvwn9oOjmLDmQQ96rc23Ooxj0wyJqzB17wEnfc6E0=; b=S+dAcPoUGnG0dpjahnrSEYY0J5sNLQZcbBxTQK11VIV4bTHI+WUxJNNzdAPSixprtr 4tGWAotrw+9ywzjdlcxQPfF/EB7KUX4JjObW+i+wnosdA7s1/pv8lyJmKRvD0/SmVMnz hTBNJ5+5+eCT0HKuarSZ1WeMrLlYGUKRuX0yQMDs0tACHqIBw01aJdsKnvWQ9YlHiVcf Vw1RRhEFWJ8mefQRmEDkfERzs94NEcQT2Gxb77FRzF2NVy6dW4zDwNWiOUGLjiKmCWt3 wiFFRenpnOPtSNcdp6ZJS/1FWuU2AU+hqkpJW28laVAKgwY8bGUfcN9tnttoPTnRglph FLPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=ZQXvwn9oOjmLDmQQ96rc23Ooxj0wyJqzB17wEnfc6E0=; b=AmkU6p0MiYMswzE55IfqDNVLk4+Hx0wrkHfVpRP1ofzRBOspbBxuVFqg76s5GvmQPR NcOfNl7vfHBI0Ct7p5oOLIpyUjAypRw3tiVWCSjRTw5DkHU/LRUwrAECE+M0HTbn5db5 nsLQTEkrYtsznPmMoat2w+/W5KQ752BBXEjRfAa28wZxkxuchusSKATuLDNkLQlVUwZD jeZeHBR89KfsDDoF5+lbQcJ3XjhnrgoCVrQLNnAANtbfzvwvH81/2p5oi9BAW35L4Dn4 s8km/vGiP2FSi86ScpFUb6mALS1LFZd05TQdvj4WNkKmk4L1YJYLopNujRvrhC7wZnQN iQxg== X-Gm-Message-State: AHPjjUiURVMkD3OzfSyjNhOAKTDSQQLiuAKHd5x8474G6Cx0PvmlQtGQ 4LmLiG0Ag6bRPqgWmvSpHepPULOFQmVcNnGtD+UqIv5q X-Google-Smtp-Source: AOwi7QBkYMUsVlF39k2hbwyYdC/E05U+3/91yb3TOdsYLS98t7RKh0hckNLeH1FaDMtHK21VdcRQzccvDyA87aLxlIs= X-Received: by 10.46.85.145 with SMTP id g17mr574347lje.84.1505311026956; Wed, 13 Sep 2017 06:57:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.179.65.83 with HTTP; Wed, 13 Sep 2017 06:56:26 -0700 (PDT) In-Reply-To: References: From: Felipe Jaekel Date: Wed, 13 Sep 2017 10:56:26 -0300 Message-ID: Subject: Re: 404 on web services when webapp is deployed as ROOT.war To: users@tomee.apache.org Content-Type: multipart/alternative; boundary="94eb2c1ac28a09cdc80559128923" --94eb2c1ac28a09cdc80559128923 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Romain, I tried 7.0.3 and got the same result. I forgot to mention that I also change this line on system.properties: openejb.wsAddress.format =3D /{ejbName} 2017-09-13 2:20 GMT-03:00 Romain Manni-Bucau : > Hi Felipe > > Can you try with tomee 7.0.3? > > > > > > Le 12 sept. 2017 22:51, "Felipe Jaekel" a =C3=A9crit= : > > Hi, > > I have several TomEE 7.0.2 plus instances on production running a single > webapp each, so I deploy it as ROOT.war (parallel deployment). I have > implemented some web services, but when I try to access them I get a 404 > error. If I deploy the webapp with a different name from ROOT I'm able to > access these web services(also using parallel deployment). > > Changes I made on system.properties: > > tomee.jaxws.subcontext =3D ws > > openejb.deploymentId.format =3D {appId}/{ejbJarId}/{ejbName} > openejb.jndiname.format =3D {deploymentId}{interfaceType.annotationName} > > > I noticed this on the log: > > 12-Sep-2017 17:29:13.663 WARNING [localhost-startStop-1] > org.apache.catalina.core.StandardContext.setPath A context path must > either > be an empty string or start with a '/' and do not end with a '/'. The pat= h > [/] does not meet these criteria and has been changed to [] > > > Do I need additional config? > > Thanks > --94eb2c1ac28a09cdc80559128923--