[ http://issues.apache.org/jira/browse/TUSCANY-732?page=all ]
Lee Surprenant updated TUSCANY-732:
-----------------------------------
Attachment: jsonrpcPatch.patch
tuscany.zip
Had problems trying to create a patch which created files... Therefore, the
patch includes updates to a number of pom.xml files to include this sample as
well as updates to the web.xml file for this project. Additionally, the
tuscany.zip folder includes some basic scdl files required by the war. Please
unzip the directory and add to the project at
java/samples/sca/helloworldjsonrpc/src/main/webapp/META-INF/
It seems to me that these files should be added to the war automagically (via
the <include> in the web.xml or using the tuscany-war-plugin), but including
them directly is consistent with the helloworldws sample for now.
> errors in helloworldjsonrpc Java SCA example
> --------------------------------------------
>
> Key: TUSCANY-732
> URL: http://issues.apache.org/jira/browse/TUSCANY-732
> Project: Tuscany
> Issue Type: Bug
> Affects Versions: Java-M2
> Environment: winXP
> Reporter: Lee Surprenant
> Attachments: jsonrpcPatch.patch, tuscany.zip
>
>
> Problems in project web.xml and/or missing scdl files prevent proper
> execution of the helloworldjsonrpc war.
> INFO: Deploying web application archive
> sample-helloworldjsonrpc-1.0-incubator-M2-SNAPSHOT.war
> Sep 18, 2006 7:12:39 PM org.apache.catalina.core.ApplicationContext log
> SEVERE: org.apache.tuscany.spi.loader.LoaderException: No application scdl
> found
> org.apache.tuscany.runtime.webapp.ServletLauncherInitException:
> org.apache.tuscany.spi.loader.LoaderException: No application scdl found
> at
> org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(WebappRuntimeImpl.java:169)
> at
> org.apache.tuscany.runtime.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:75)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
> at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.tuscany.spi.loader.LoaderException: No application scdl
> found
> at
> org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(LauncherImpl.java:175)
> at
> org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(WebappRuntimeImpl.java:159)
> ... 25 more
> Sep 18, 2006 7:12:39 PM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Exception sending context initialized event to listener instance of
> class org.apache.tuscany.runtime.webapp.TuscanyContextListener
> org.apache.tuscany.runtime.webapp.ServletLauncherInitException:
> org.apache.tuscany.spi.loader.LoaderException: No application scdl found
> at
> org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(WebappRuntimeImpl.java:169)
> at
> org.apache.tuscany.runtime.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:75)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
> at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
> at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
> at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.tuscany.spi.loader.LoaderException: No application scdl
> found
> at
> org.apache.tuscany.core.launcher.LauncherImpl.bootApplication(LauncherImpl.java:175)
> at
> org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(WebappRuntimeImpl.java:159)
> ... 25 more
> Sep 18, 2006 7:12:39 PM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Sep 18, 2006 7:12:39 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/sample-helloworldjsonrpc-1.0-incubator-M2-SNAPSHOT] startup
> failed due to previous errors
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]