Return-Path: Delivered-To: apmail-tuscany-user-archive@www.apache.org Received: (qmail 63997 invoked from network); 15 Jun 2009 07:31:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 07:31:28 -0000 Received: (qmail 33817 invoked by uid 500); 15 Jun 2009 07:31:39 -0000 Delivered-To: apmail-tuscany-user-archive@tuscany.apache.org Received: (qmail 33743 invoked by uid 500); 15 Jun 2009 07:31:38 -0000 Mailing-List: contact user-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@tuscany.apache.org Delivered-To: mailing list user@tuscany.apache.org Received: (qmail 33735 invoked by uid 99); 15 Jun 2009 07:31:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 07:31:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ant.elder@gmail.com designates 209.85.220.207 as permitted sender) Received: from [209.85.220.207] (HELO mail-fx0-f207.google.com) (209.85.220.207) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 07:31:30 +0000 Received: by fxm3 with SMTP id 3so1256714fxm.20 for ; Mon, 15 Jun 2009 00:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qsYfUJcPUuLfgATG01D1HJBXoIQxepkFKW6xDrPB9YM=; b=uviCJU4pxxgVbR1M3KbBTCTx47tPujtpXXOXNwpd+cXFh8+x5KW17jvlyOlQBaPHl0 d06aGTlTJohoQiAONL9hItboDWBrWBsME+Ihih6BMYmPaCJXu3bUvVNjigW9xGamz77Z kR0Ee0L2j0JGS7QpENtm+Aj171qX38m7zODTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=GVBjTOQYS5ru8cWXTEw1gT74eqFq2WY1hleRpKuVq+ZBzGFGbMWECAOc02NPHm2I9I XapyAvQRj/ayqIzyJy11lVjx+SiRokNb1Og1Gyb4eBRRXr59lqBK9e+SFBQPDhsmYOte abvwGZfNIggCrh+6aaq/vyslcJE8VmWx08WVs= MIME-Version: 1.0 Received: by 10.204.97.140 with SMTP id l12mr6704023bkn.133.1245051069064; Mon, 15 Jun 2009 00:31:09 -0700 (PDT) Reply-To: antelder@apache.org In-Reply-To: References: Date: Mon, 15 Jun 2009 08:31:09 +0100 Message-ID: <71e1b5740906150031y13c865aci98aaf5312f6d00e4@mail.gmail.com> Subject: Re: Example of Dojo and Tuscany on Eclipse and WebSphere (RAD) From: ant elder To: user@tuscany.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Jun 13, 2009 at 8:54 PM, Willis C White wrote: > > I am looking for an example of running Dojo with Tuscany on Eclipse with > Websphere (Rational Application Developer). Can some one point me to a > working example? > > If there is no example to do exactly what I need could I get some assista= nce > getting the example below to work. > > I tried to convert the example at the following address to work on Eclips= e > with Websphere and I ran into problems. > https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/samples/he= lloworld-dojo-webapp/ > > I am not sure what the issue was but i think it had something to do with = the > sca-contribution.xml =A0and the web.xml file or possibly not having jars = in > the WEB-INF/lib dir (not sure which jars to put in there) > > RAD 7.5 > Eclipse 3.4 > Websphere 7 > > It goes to this address > http://localhost:9081/HelloWorld/HelloWorldJSONRPC.html > > and I get this error > > Error 500: javax.servlet.ServletException: Filter [tuscany]: Could not fi= nd > required filter class - > org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.class > > > > Willis White > > I've just tried the helloworld dojo sample from the Tuscany 1.5 release in WebSphere 7.0 and it worked ok for me. As with all Tuscany webapps in WebSphere you do need to correctly configure the classloading, so in the Admin console application configuration click on: "Class loading and update detection" and then set: Class loader order: "Classes loaded with local class loader first (parent l= ast)" WAR class loader policy: "Class loader for each WAR file in application" So you can see what jars are included in the build webapp i've uploaded the one that worked for me to: http://people.apache.org/~antelder/tuscany/sample-helloworld-dojo-webapp.wa= r ...ant