Return-Path: Delivered-To: apmail-tuscany-user-archive@www.apache.org Received: (qmail 48809 invoked from network); 15 Jun 2009 22:48:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 22:48:12 -0000 Received: (qmail 82446 invoked by uid 500); 15 Jun 2009 22:48:22 -0000 Delivered-To: apmail-tuscany-user-archive@tuscany.apache.org Received: (qmail 82387 invoked by uid 500); 15 Jun 2009 22:48:22 -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 81726 invoked by uid 99); 15 Jun 2009 22:48:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 22:48:20 +0000 X-ASF-Spam-Status: No, hits=-0.3 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of whiwill@us.ibm.com designates 32.97.182.146 as permitted sender) Received: from [32.97.182.146] (HELO e6.ny.us.ibm.com) (32.97.182.146) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 22:48:07 +0000 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e6.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id n5FMocfD030087 for ; Mon, 15 Jun 2009 18:50:38 -0400 Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v9.2) with ESMTP id n5FMlk80230164 for ; Mon, 15 Jun 2009 18:47:46 -0400 Received: from d01av05.pok.ibm.com (loopback [127.0.0.1]) by d01av05.pok.ibm.com (8.13.1/8.13.3) with ESMTP id n5FMlkIR015808 for ; Mon, 15 Jun 2009 18:47:46 -0400 Received: from d01mc097.pok.ibm.com (d01mc097.pok.ibm.com [9.63.9.227]) by d01av05.pok.ibm.com (8.13.1/8.12.11) with ESMTP id n5FMlkj4015805 for ; Mon, 15 Jun 2009 18:47:46 -0400 In-Reply-To: <71e1b5740906150031y13c865aci98aaf5312f6d00e4@mail.gmail.com> To: user@tuscany.apache.org MIME-Version: 1.0 Subject: Re: Example of Dojo and Tuscany on Eclipse and WebSphere (RAD) X-Mailer: Lotus Notes Release 7.0 HF277 June 21, 2006 Message-ID: From: Willis C White Date: Mon, 15 Jun 2009 18:47:45 -0400 X-MIMETrack: Serialize by Router on D01MC097/01/M/IBM(Release 8.0.2FP1|November 13, 2008) at 06/15/2009 18:47:46, Serialize complete at 06/15/2009 18:47:46 Content-Type: multipart/related; boundary="=_related 007D37A0852575D6_=" X-Virus-Checked: Checked by ClamAV on apache.org This is a multipart message in MIME format. --=_related 007D37A0852575D6_= Content-Type: multipart/alternative; boundary="=_alternative 007D37A1852575D6_=" --=_alternative 007D37A1852575D6_= Content-Type: text/plain; charset="US-ASCII" Sorry for that last post that didn't give much info. After working on this all day I am still getting the error. The output below is when the server is first starting console says: [6/15/09 18:38:31:812 EDT] 00000015 WebAppServlet I ContextPath: /HelloWorld [6/15/09 18:38:31:890 EDT] 00000015 NodeImpl I Creating node: null [6/15/09 18:38:32:875 EDT] 00000015 NodeImpl I Loading contribution: file:/C:/Documents%20and%20Settings/Administrator/IBM/rationalsdp/workspace/HelloWorld/WebContent/ [6/15/09 18:38:34:078 EDT] 00000015 NodeImpl I Starting node: null [6/15/09 18:38:34:234 EDT] 00000015 WebAppServlet I Added Servlet mapping: /HelloWorldService/* [6/15/09 18:38:34:234 EDT] 00000015 WebAppServlet I Added Servlet mapping: /HelloWorldService [6/15/09 18:38:34:250 EDT] 00000015 WebAppServlet I Added Servlet mapping: /HelloWorld/SCADomain/scaDomain.js [6/15/09 18:38:34:421 EDT] 00000017 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [HelloWorldEAR] [/HelloWorld] [FilterProxyServlet]: Initialization successful. [6/15/09 18:38:34:437 EDT] 00000017 FfdcProvider I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_57025702_09.06.15_18.38.34.4216224.txt com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch 312 below is the last thing entered in server1_57025702_09.06.15_18.38.34.4216224.txt [6/15/09 18:38:34:421 EDT] FFDC Exception:com.ibm.ws.webcontainer.webapp.WebAppErrorReport SourceId:com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch ProbeId:312 Reporter:com.ibm.ws.webcontainer.servlet.FilterProxyServlet@600c600c com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0190E: File not found: /HelloWorldService at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:839) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527) Caused by: java.io.FileNotFoundException: /HelloWorldService at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:502) ... 16 more Reporter BEGIN:com.ibm.ws.webcontainer.servlet.FilterProxyServlet@600c600c javax.servlet.GenericServlet::LSTRING_FILE:javax.servlet.LocalStrings javax.servlet.GenericServlet::lStrings BEGIN:java.util.PropertyResourceBundle@28042804 java.util.PropertyResourceBundle@28042804 END:java.util.PropertyResourceBundle@28042804 in log another file that was updated 9 seconds earlier [6/15/09 18:38:25:328 EDT] FFDC Exception:org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException SourceId:com.ibm.ws.odc.cell.TreeBuilder ProbeId:Removing: /cell/IBM-8D73E7986F4Node02Cell/application/HelloWorldEAR<> Reporter:com.ibm.ws.odc.cell.TreeBuilder@6d9c6d9c org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException: IWAE0037E Could not open C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear Stack trace of nested exception: java.io.FileNotFoundException: IWAE0036E URI Name: C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear; File name: C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.createLoadStrategy(CommonarchiveFactoryImpl.java:513) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.primOpenArchive(CommonarchiveFactoryImpl.java:1599) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:1203) at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:552) at com.ibm.ws.odc.cell.TreeBuilder.getEAR(TreeBuilder.java:3647) at com.ibm.ws.odc.cell.TreeBuilder.readApplication(TreeBuilder.java:1647) at com.ibm.ws.odc.cell.TreeBuilder.obtainAppNode(TreeBuilder.java:2660) at com.ibm.ws.odc.cell.TreeBuilder.stateChanged(TreeBuilder.java:370) at com.ibm.ws.odc.cell.TreeBuilder$LocalEventListener.stateChanged(TreeBuilder.java:4622) at com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationMgrImpl.java:1114) at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEvent(DeployedApplicationImpl.java:1296) at com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApplicationImpl.java:277) at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:928) at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740) at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2092) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437) at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:105) at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:928) at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527) Reporter BEGIN:com.ibm.ws.odc.cell.TreeBuilder@6d9c6d9c com.ibm.ws.odc.cell.TreeBuilderHelper::tc BEGIN:com.ibm.ejs.ras.TraceComponent@35583558 com.ibm.ejs.ras.TraceElement::ivLevel:10 com.ibm.ejs.ras.TraceElement::ivName:com.ibm.ws.odc.cell.TreeBuilderHelper Willis C White III IQ Technology Projects IBM CIO Technology & Innovation Home office 845 331-5134 Cell 845 853-3827 ant elder 06/15/2009 03:31 AM Please respond to user@tuscany.apache.org To user@tuscany.apache.org cc Subject Re: Example of Dojo and Tuscany on Eclipse and WebSphere (RAD) 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 assistance > getting the example below to work. > > I tried to convert the example at the following address to work on Eclipse > with Websphere and I ran into problems. > https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/samples/helloworld-dojo-webapp/ > > I am not sure what the issue was but i think it had something to do with the > sca-contribution.xml and 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 find > 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 last)" 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.war ...ant --=_alternative 007D37A1852575D6_= Content-Type: text/html; charset="US-ASCII"
Sorry for that last post that didn't give much info. After working on this all day I am still getting the error.

The output below is when the server is first starting

console says:

[6/15/09 18:38:31:812 EDT] 00000015 WebAppServlet I   ContextPath: /HelloWorld
[6/15/09 18:38:31:890 EDT] 00000015 NodeImpl      I   Creating node: null
[6/15/09 18:38:32:875 EDT] 00000015 NodeImpl      I   Loading contribution: file:/C:/Documents%20and%20Settings/Administrator/IBM/rationalsdp/workspace/HelloWorld/WebContent/
[6/15/09 18:38:34:078 EDT] 00000015 NodeImpl      I   Starting node: null
[6/15/09 18:38:34:234 EDT] 00000015 WebAppServlet I   Added Servlet mapping: /HelloWorldService/*
[6/15/09 18:38:34:234 EDT] 00000015 WebAppServlet I   Added Servlet mapping: /HelloWorldService
[6/15/09 18:38:34:250 EDT] 00000015 WebAppServlet I   Added Servlet mapping: /HelloWorld/SCADomain/scaDomain.js
[6/15/09 18:38:34:421 EDT] 00000017 servlet       I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [HelloWorldEAR] [/HelloWorld] [FilterProxyServlet]: Initialization successful.
[6/15/09 18:38:34:437 EDT] 00000017 FfdcProvider  I com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\logs\ffdc\server1_57025702_09.06.15_18.38.34.4216224.txt com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch 312




below is the last thing entered in server1_57025702_09.06.15_18.38.34.4216224.txt

[6/15/09 18:38:34:421 EDT]     FFDC Exception:com.ibm.ws.webcontainer.webapp.WebAppErrorReport SourceId:com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch ProbeId:312 Reporter:com.ibm.ws.webcontainer.servlet.FilterProxyServlet@600c600c
com.ibm.ws.webcontainer.webapp.WebAppErrorReport: SRVE0190E: File not found: /HelloWorldService
        at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:839)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
        at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
        at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
        at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: java.io.FileNotFoundException: /HelloWorldService
        at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:502)
        ... 16 more

Reporter BEGIN:com.ibm.ws.webcontainer.servlet.FilterProxyServlet@600c600c
javax.servlet.GenericServlet::LSTRING_FILE:javax.servlet.LocalStrings
javax.servlet.GenericServlet::lStrings BEGIN:java.util.PropertyResourceBundle@28042804
 java.util.PropertyResourceBundle@28042804
 END:java.util.PropertyResourceBundle@28042804



in log another file that was updated 9 seconds earlier

[6/15/09 18:38:25:328 EDT]     FFDC Exception:org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException SourceId:com.ibm.ws.odc.cell.TreeBuilder ProbeId:Removing: /cell/IBM-8D73E7986F4Node02Cell/application/HelloWorldEAR<<com.ibm.ws.odc.ODCNodeImpl@3bd13bd1>> Reporter:com.ibm.ws.odc.cell.TreeBuilder@6d9c6d9c
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException: IWAE0037E Could not open C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear
Stack trace of nested exception:
java.io.FileNotFoundException: IWAE0036E URI Name: C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear; File name: C:\Program Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear
        at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.createLoadStrategy(CommonarchiveFactoryImpl.java:513)
        at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.primOpenArchive(CommonarchiveFactoryImpl.java:1599)
        at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:1203)
        at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:552)
        at com.ibm.ws.odc.cell.TreeBuilder.getEAR(TreeBuilder.java:3647)
        at com.ibm.ws.odc.cell.TreeBuilder.readApplication(TreeBuilder.java:1647)
        at com.ibm.ws.odc.cell.TreeBuilder.obtainAppNode(TreeBuilder.java:2660)
        at com.ibm.ws.odc.cell.TreeBuilder.stateChanged(TreeBuilder.java:370)
        at com.ibm.ws.odc.cell.TreeBuilder$LocalEventListener.stateChanged(TreeBuilder.java:4622)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationMgrImpl.java:1114)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEvent(DeployedApplicationImpl.java:1296)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApplicationImpl.java:277)
        at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:928)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
        at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2092)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
        at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:105)
        at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:928)
        at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

Reporter BEGIN:com.ibm.ws.odc.cell.TreeBuilder@6d9c6d9c
com.ibm.ws.odc.cell.TreeBuilderHelper::tc BEGIN:com.ibm.ejs.ras.TraceComponent@35583558
 com.ibm.ejs.ras.TraceElement::ivLevel:10
 com.ibm.ejs.ras.TraceElement::ivName:com.ibm.ws.odc.cell.TreeBuilderHelper




Willis C White III

IQ Technology Projects
IBM CIO Technology & Innovation
Home office 845 331-5134
Cell 845 853-3827
 

 


ant elder <ant.elder@gmail.com>

06/15/2009 03:31 AM
Please respond to
user@tuscany.apache.org

To
user@tuscany.apache.org
cc
Subject
Re: Example of Dojo and Tuscany on Eclipse and WebSphere (RAD)





On Sat, Jun 13, 2009 at 8:54 PM, Willis C White<whiwill@us.ibm.com> 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 assistance
> getting the example below to work.
>
> I tried to convert the example at the following address to work on Eclipse
> with Websphere and I ran into problems.
> https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/samples/helloworld-dojo-webapp/
>
> I am not sure what the issue was but i think it had something to do with the
> sca-contribution.xml  and 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 find
> 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 last)"
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.war

  ...ant

--=_alternative 007D37A1852575D6_=-- --=_related 007D37A0852575D6_= Content-Type: image/gif Content-ID: <_1_072C783C072C7480007D379D852575D6> Content-Transfer-Encoding: base64 R0lGODlhaABTAOYAADdhj///58/U1bC8xIyps+fj0IqRmMXFxaSlq+Tv9tTg4V2Qwl9tdqO+13Wi zOTn787g8KS0vu3///Hhw0mBuLLJ3XWBlMXGzdbX1p+mqpmZmff39729vZSmzmV2o7W1tbnE13Kj xN7e3tzm7f///0JpnPTy43qhyYqTo7rV6sXP3u7196yts9zHoouv07LP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