Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 3839 invoked from network); 24 Jan 2010 20:32:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jan 2010 20:32:02 -0000 Received: (qmail 36457 invoked by uid 500); 24 Jan 2010 20:32:02 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 36396 invoked by uid 500); 24 Jan 2010 20:32:01 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 36386 invoked by uid 99); 24 Jan 2010 20:32:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 20:32:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sig.rinde@gmail.com designates 209.85.218.226 as permitted sender) Received: from [209.85.218.226] (HELO mail-bw0-f226.google.com) (209.85.218.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jan 2010 20:31:53 +0000 Received: by bwz26 with SMTP id 26so2272043bwz.27 for ; Sun, 24 Jan 2010 12:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=hlZMIm1ANuoh1Oy1KAy9bzGnGkg8XntdP5GHhTKz2JY=; b=sdVAXJiDtRuWuE80trAm5r/7ZLOzqFihNU/eDcFOyn78BgdGl29qblqOUT1GxsanYZ oku9z9XTKT9caslK1++qXnWyQckvT1UBbX/KAE1Pk0enHkyYOTJsgdJPumTSiLDMfz7e cEvaHjFjE8BFkOcPGKpiDdco5Kzt7PrZAraf0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=Z+gW9WgkZynK8qoMQkYuAMhxm085MBbFkHfU6u5rGnGBRlBAddS6LNfMfl5DU+rFHk Az+who9UpeqgqVf1zEkSXl+sOPoEQS74KMBhqYyAV028a2A0urpDYs5LERKdT7hpqmot ixgHVCpM4ZAdDlGKFr1Z1WwvgTDgGFooBNM9A= MIME-Version: 1.0 Sender: sig.rinde@gmail.com Received: by 10.204.10.136 with SMTP id p8mr719288bkp.56.1264365093183; Sun, 24 Jan 2010 12:31:33 -0800 (PST) In-Reply-To: <68f4a0e81001241213l9363a1dkfdbd4bc10f49a1ce@mail.gmail.com> References: <9cbd74ac1001241040h32eed541wad74ce2cf51c84ee@mail.gmail.com> <9cbd74ac1001241114o39b0c9a7u6c26822ef2a78ffa@mail.gmail.com> <9cbd74ac1001241115t464d5c85g1a8fa79a7b12da19@mail.gmail.com> <68f4a0e81001241213l9363a1dkfdbd4bc10f49a1ce@mail.gmail.com> From: Sig Rinde Date: Sun, 24 Jan 2010 21:31:12 +0100 X-Google-Sender-Auth: 1f9feef0b30dacf2 Message-ID: <9cbd74ac1001241231qdb13db3pe3b55cefe437e622@mail.gmail.com> Subject: Re: Wee error To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Only user api_test. All other users are added via api getting tokens directly (i.e. I do not have a password for those). First thing first time the ESME server was started I signed up api_test in order to create the api_test token that allows the rest to happen from our side. Not entirely sure why 'api_test' was chosen, I assume any user could be used as long as the default.props file has the user name. Locally we have no problems using exact same setup with 'api_test' as admin user. Installation is on an Amazon instance, same as where the Thingamy instances are running. Tried server restart, svn anew, the usual, no change. OK, have to admit to one (amateur) stunt as follows: 1. After having signed up as api_test and produced the token I renamed webapp folder to disallow any access to admin interface. 2. Forgot about that when we did an svn up later, which of course produced a new webapp. Could that have messed up? 2010/1/24 Ethan Jewett : > Hi Sig, > > I am surprised that you are getting this error. When I try to log in > as api_test, I just get a message that says "Unknown credentials". In > other words, I can't recreate your error, so we need some more > information, I think. > > A bit of further information: "api_test" is the test user that is > created for use in the api unit tests. It is created by those tests, > so if you are running a "mvn jetty:run" that user will not exist. > Still should not result in that error, but just wanted to be clear > that this user probably won't help you much. > > Ethan > > On Sun, Jan 24, 2010 at 2:03 PM, Richard Hirsch w= rote: >> Is the login problem just api_test or all users? >> >> Is the installation local or in the cloud? >> >> Tried a server restart to see if problem disappears? >> >> D. >> >> On Sun, Jan 24, 2010 at 8:15 PM, Sig Rinde wrote: >> >>> (Sorry for not doing all in one :) >>> >>> Server works, pools behaving as they should. Only the login messed up..= . >>> >>> >>> 2010/1/24 Sig Rinde : >>> > Actually this happened when logging in as 'api_test' >>> > >>> > [default.props has this extra line: role.api_test=3Dintegration-admin= ] >>> > >>> > >>> > 2010/1/24 Sig Rinde : >>> >> When trying to get into urltohost:8080 I get this (just the upper pa= rt >>> >> of a ton): >>> >> >>> >> Exception occured while processing/ >>> >> Message: java.lang.UnsupportedOperationException: unsuitable as hash= key >>> >> =A0 =A0 =A0 =A0scala.collection.mutable.Buffer$class.hashCode(Buffer= .scala:280) >>> >> >>> =A0scala.collection.mutable.ArrayBuffer.hashCode(ArrayBuffer.scala:26) >>> >> =A0 =A0 =A0 =A0scala.xml.Utility$.hashCode(Utility.scala:263) >>> >> =A0 =A0 =A0 =A0scala.xml.Elem.hashCode(Elem.scala:64) >>> >> >>> =A0scala.collection.mutable.FlatHashTable$class.elemHashCode(FlatHashTa= ble.scala:144) >>> >> =A0 =A0 =A0 =A0scala.collection.immutable.HashSet.elemHashCode(HashS= et.scala:39) >>> >> >>> =A0scala.collection.mutable.FlatHashTable$class.containsEntry(FlatHashT= able.scala:56) >>> >> >>> =A0scala.collection.immutable.HashSet.containsEntry(HashSet.scala:39) >>> >> =A0 =A0 =A0 =A0scala.collection.immutable.HashSet.$plus(HashSet.scal= a:60) >>> >> >>> =A0scala.collection.immutable.Set$$anonfun$$plus$plus$1.apply(Set.scala= :73) >>> >> >>> =A0scala.collection.immutable.Set$$anonfun$$plus$plus$1.apply(Set.scala= :73) >>> >> =A0 =A0 =A0 =A0scala.Iterator$class.foldLeft(Iterator.scala:520) >>> >> >>> >> Latest per svn, jetty:run behaved... server seems to be running, >>> >> although I'm suspecting some pool issues... that's what I wanted to >>> >> check. >>> >> >>> >> Sig >>> >> >>> > >>> >> >