Return-Path: Delivered-To: apmail-tuscany-user-archive@www.apache.org Received: (qmail 79207 invoked from network); 19 Jun 2009 09:47:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jun 2009 09:47:16 -0000 Received: (qmail 82028 invoked by uid 500); 19 Jun 2009 09:47:27 -0000 Delivered-To: apmail-tuscany-user-archive@tuscany.apache.org Received: (qmail 81947 invoked by uid 500); 19 Jun 2009 09:47:27 -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 81939 invoked by uid 99); 19 Jun 2009 09:47:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 09:47:27 +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.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; Fri, 19 Jun 2009 09:47:19 +0000 Received: by bwz26 with SMTP id 26so1520432bwz.20 for ; Fri, 19 Jun 2009 02:46:57 -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=ljpSGvCC0NwhcCkGsY8hgTPwTL+EM9LBmFK8nsK6WX0=; b=wpwtJR5tcn7U1q5Ejsf4PO9bfKYg3EJoPbyxGshn4en555zjPX7XhWa8ELy1P94bYi uS9fClmfCg2QOEvWj+Bgf8f9NfwKo6lOYTzVn0Ik4qZoOHVsnMuHuagzftwrYjHkgOLA lOoGvMUW67woqbquIlVHfvVh8cxjO6Eds8QhU= 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=O1YNfZSfcsiF7AyNGRHFXHsDYrFvRTUFFgliV1qUCR/+n1stvDX8qew2WGzQelrjwE gQqWyPwS6voPnoOZG9u88lX0CGYrtcsxmwfuFvqoVBcBPKIDyAR2FqZ9JFGHuEp672Un 5knv83vix+rXCeBChi8XFdxM5fowvPO7DoVaM= MIME-Version: 1.0 Received: by 10.204.51.210 with SMTP id e18mr2400762bkg.38.1245404817468; Fri, 19 Jun 2009 02:46:57 -0700 (PDT) Reply-To: antelder@apache.org In-Reply-To: References: <71e1b5740906150031y13c865aci98aaf5312f6d00e4@mail.gmail.com> Date: Fri, 19 Jun 2009 10:46:57 +0100 Message-ID: <71e1b5740906190246t2be97e1ble23e3de14ae76785@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 >From that first stacktrace the error is: "IWAE0037E Could not open C:\Program> Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D73= E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear" That makes it sound like something didn't go right when depolying the application, is it possible something is wrong with the ear or there was something else like some other program locking it while it was being deployed? ...ant On Mon, Jun 15, 2009 at 11:47 PM, Willis C White wrote: > > Sorry for that last post that didn't give much info. After working on thi= s > 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 =A0 ContextPath: > /HelloWorld > [6/15/09 18:38:31:890 EDT] 00000015 NodeImpl =A0 =A0 =A0I =A0 Creating no= de: null > [6/15/09 18:38:32:875 EDT] 00000015 NodeImpl =A0 =A0 =A0I =A0 Loading con= tribution: > file:/C:/Documents%20and%20Settings/Administrator/IBM/rationalsdp/workspa= ce/HelloWorld/WebContent/ > [6/15/09 18:38:34:078 EDT] 00000015 NodeImpl =A0 =A0 =A0I =A0 Starting no= de: null > [6/15/09 18:38:34:234 EDT] 00000015 WebAppServlet I =A0 Added Servlet map= ping: > /HelloWorldService/* > [6/15/09 18:38:34:234 EDT] 00000015 WebAppServlet I =A0 Added Servlet map= ping: > /HelloWorldService > [6/15/09 18:38:34:250 EDT] 00000015 WebAppServlet I =A0 Added Servlet map= ping: > /HelloWorld/SCADomain/scaDomain.js > [6/15/09 18:38:34:421 EDT] 00000017 servlet =A0 =A0 =A0 I > com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: > [HelloWorldEAR] [/HelloWorld] [FilterProxyServlet]: Initialization > successful. > [6/15/09 18:38:34:437 EDT] 00000017 FfdcProvider =A0I > 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_5= 7025702_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] =A0 =A0 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 fou= nd: > /HelloWorldService > =A0 =A0 =A0 =A0 at > com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest= (DefaultExtensionProcessor.java:839) > =A0 =A0 =A0 =A0 at > com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610) > =A0 =A0 =A0 =A0 at > com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274) > =A0 =A0 =A0 =A0 at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926) > =A0 =A0 =A0 =A0 at > com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:= 1557) > =A0 =A0 =A0 =A0 at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:17= 3) > =A0 =A0 =A0 =A0 at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination= (HttpInboundLink.java:455) > =A0 =A0 =A0 =A0 at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation= (HttpInboundLink.java:384) > =A0 =A0 =A0 =A0 at > com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL= ReadCallback.java:83) > =A0 =A0 =A0 =A0 at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Aio= ReadCompletionListener.java:165) > =A0 =A0 =A0 =A0 at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.j= ava:217) > =A0 =A0 =A0 =A0 at > com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFut= ure.java:161) > =A0 =A0 =A0 =A0 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.jav= a:138) > =A0 =A0 =A0 =A0 at com.ibm.io.async.ResultHandler.complete(ResultHandler.= java:202) > =A0 =A0 =A0 =A0 at > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:= 766) > =A0 =A0 =A0 =A0 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.jav= a:896) > =A0 =A0 =A0 =A0 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:= 1527) > Caused by: java.io.FileNotFoundException: /HelloWorldService > =A0 =A0 =A0 =A0 at > com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest= (DefaultExtensionProcessor.java:502) > =A0 =A0 =A0 =A0 ... 16 more > > Reporter BEGIN:com.ibm.ws.webcontainer.servlet.FilterProxyServlet@600c600= c > javax.servlet.GenericServlet::LSTRING_FILE:javax.servlet.LocalStrings > javax.servlet.GenericServlet::lStrings > BEGIN:java.util.PropertyResourceBundle@28042804 > =A0java.util.PropertyResourceBundle@28042804 > =A0END:java.util.PropertyResourceBundle@28042804 > > > > in log another file that was updated 9 seconds earlier > > [6/15/09 18:38:25:328 EDT] =A0 =A0 FFDC > Exception:org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenF= ailureException > 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.OpenFailureExce= ption: > IWAE0037E Could not open C:\Program > Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D= 73E7986F4Node02Cell\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-8D= 73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear; > File name: C:\Program > Files\IBM\SDP\runtimes\base_v7\profiles\was70profile1\config\cells\IBM-8D= 73E7986F4Node02Cell\applications\HelloWorldEAR.ear\HelloWorldEAR.ear > =A0 =A0 =A0 =A0 at > org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactory= Impl.createLoadStrategy(CommonarchiveFactoryImpl.java:513) > =A0 =A0 =A0 =A0 at > org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactory= Impl.primOpenArchive(CommonarchiveFactoryImpl.java:1599) > =A0 =A0 =A0 =A0 at > org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactory= Impl.openEARFile(CommonarchiveFactoryImpl.java:1203) > =A0 =A0 =A0 =A0 at > com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(Co= mmonarchiveFactoryImpl.java:552) > =A0 =A0 =A0 =A0 at com.ibm.ws.odc.cell.TreeBuilder.getEAR(TreeBuilder.jav= a:3647) > =A0 =A0 =A0 =A0 at > com.ibm.ws.odc.cell.TreeBuilder.readApplication(TreeBuilder.java:1647) > =A0 =A0 =A0 =A0 at > com.ibm.ws.odc.cell.TreeBuilder.obtainAppNode(TreeBuilder.java:2660) > =A0 =A0 =A0 =A0 at > com.ibm.ws.odc.cell.TreeBuilder.stateChanged(TreeBuilder.java:370) > =A0 =A0 =A0 =A0 at > com.ibm.ws.odc.cell.TreeBuilder$LocalEventListener.stateChanged(TreeBuild= er.java:4622) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationM= grImpl.java:1114) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEv= ent(DeployedApplicationImpl.java:1296) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApp= licationImpl.java:277) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplic= ationImpl.java:928) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applicat= ionMgrImpl.java:740) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.= java:2092) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnit= MgrImpl.java:437) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImp= l.java:122) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnit= MgrImpl.java:380) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(Compositio= nUnitMgrImpl.java:105) > =A0 =A0 =A0 =A0 at > com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(Com= positionUnitMgrImpl.java:928) > =A0 =A0 =A0 =A0 at > com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(Ws= ComponentImpl.java:349) > =A0 =A0 =A0 =A0 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 > =A0com.ibm.ejs.ras.TraceElement::ivLevel:10 > =A0com.ibm.ejs.ras.TraceElement::ivName:com.ibm.ws.odc.cell.TreeBuilderHe= lper > > > > > 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 Eclip= se >> with Websphere and I ran into problems. >> >> https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/samples/h= elloworld-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 >> 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 > > =A0 ...ant > >