Re: BigBank trouble

2007-02-23 Thread Jean-Sebastien Delfino

Snehit Prabhu wrote:

Hi,
I'm new to Tuscany. A little help with the Bigbank example would be 
appreciated.
Im using the SCA samples that I downloaded from here : 
http://incubator.apache.org/tuscany/sca_downloads.html 
http://incubator.apache.org/tuscany/sca_downloads.html. I downloaded 
the source zip files from windows and built the same. My understanding 
of the BigBank example is - copy the .war files into the webapps 
directory of Tomcat (Im running Tomcat 5.5.20), and you should be 
ready to go. The two WARs in question are : 
$sca_samples\applications\bigbank\account\target\sample- 
bigbank-account.war and 
$sca_samples\applications\bigbank\webclient\target\sample-bigbank-webclient.war.


Everything works fine till here; I open the Tomcat Manager 
WebInterface - the two newly added WARs (sample-bigbank-account.war 
and sample-bigbank-webclient.war) are reflected in the list of 
applications. Now, when I try to start sample-bigbank-account 
application, Tomcat throws the following error :
FAIL - Application at context path /sample-bigbank-account could not 
be started.


I stopped and restarted Tomcat to get a fresh error trace. Here is the 
error log (stdout) of Tomcat as it initializes :


[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven2 ( http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-incubating-repository 
(http://people.apache.org/repo/m2-incubating-repository 
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-snapshot-repository ( 
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven2 ( http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-incubating-repository 
(http://people.apache.org/repo/m2-incubating-repository 
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-snapshot-repository ( 
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven2 ( http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-incubating-repository 
(http://people.apache.org/repo/m2-incubating-repository 
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-snapshot-repository ( 
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven2 ( http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-incubating-repository 
(http://people.apache.org/repo/m2-incubating-repository 
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-snapshot-repository ( 
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven2 ( http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-incubating-repository 
(http://people.apache.org/repo/m2-incubating-repository 
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-snapshot-repository ( 
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven2 ( http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-incubating-repository 
(http://people.apache.org/repo/m2-incubating-repository 
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository 
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository 
http___people.apache.org_repo_m2-snapshot-repository ( 
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository apache.incubator ( 
http://people.apache.org/repo/m2-incubating-repository/)

BigBank trouble

2007-02-22 Thread Snehit Prabhu

Hi,
I'm new to Tuscany. A little help with the Bigbank example would be
appreciated.
Im using the SCA samples that I downloaded from here :
http://incubator.apache.org/tuscany/sca_downloads.html. I downloaded the
source zip files from windows and built the same. My understanding of the
BigBank example is - copy the .war files into the webapps directory of
Tomcat (Im running Tomcat 5.5.20), and you should be ready to go. The two
WARs in question are :
$sca_samples\applications\bigbank\account\target\sample-bigbank-account.warand
$sca_samples\applications\bigbank\webclient\target\sample-
bigbank-webclient.war.

Everything works fine till here; I open the Tomcat Manager WebInterface -
the two newly added WARs (sample-bigbank-account.war and
sample-bigbank-webclient.war) are reflected in the list of applications.
Now, when I try to start sample-bigbank-account application, Tomcat throws
the following error :
FAIL - Application at context path /sample-bigbank-account could not be
started.

I stopped and restarted Tomcat to get a fresh error trace. Here is the error
log (stdout) of Tomcat as it initializes :

[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven2 (http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-incubating-repository (
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-snapshot-repository (
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven2 (http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-incubating-repository (
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-snapshot-repository (
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven2 (http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-incubating-repository (
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-snapshot-repository (
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven2 (http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-incubating-repository (
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-snapshot-repository (
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven2 (http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-incubating-repository (
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-snapshot-repository (
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven2 (http://repo1.maven.org/maven2)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-incubating-repository (
http://people.apache.org/repo/m2-incubating-repository)
[WARNING] Unable to get resource from repository
http___repo1.maven.org_maven (http://repo1.maven.org/maven)
[WARNING] Unable to get resource from repository
http___people.apache.org_repo_m2-snapshot-repository (
http://people.apache.org/repo/m2-snapshot-repository)
[WARNING] Unable to get resource from repository apache.incubator (
http://people.apache.org/repo/m2-incubating-repository/)
org.apache.tuscany.runtime.webapp.ServletLauncherInitException:
org.apache.tuscany.spi.component.TargetException: Error initializing
component instance [extender]
   at org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(
WebappRuntimeImpl.java:147)
   at
org.apache.tuscany.runtime.webapp.TuscanyContextListener.contextInitialized(
TuscanyContextListener.java:74)
   at org.apache.catalina.core.StandardContext.listenerStart(
StandardContext.java:3763)
   at