Re: @promote documentation

2007-12-18 Thread Mahi
Thanks Luciano. 
   
  I was looking for it in SCA Java Component Implementation V1.00 spec

  Thanks
   
  Mahi
  
Luciano Resende [EMAIL PROTECTED] wrote:
  There are some examples of promotion in the SCA Assembly Spec,
although I believe there is no annotation defined for promotion. You
can also find some more info on lines 1059..1073 from the assembly
spec.



 I was looking for the documentation of @promote of the element reference.
 I could not find it in the specs...

 Can someone help me with this?

 Thanks

 Mahi



 You must be the change you wish to see in the world -- Mahatma Gandhi.

 -
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.



-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




You must be the change you wish to see in the world -- Mahatma Gandhi.
   
-
Never miss a thing.   Make Yahoo your homepage.

@promote documentation

2007-12-17 Thread Mahi
   body { margin: 0 0 0 0; padding:0 0 0 0 } td,div { 
font-family:Tahoma;font-size:8pt;vertical-align:top } body { margin: 0 0 0 0; 
padding:0 0 0 0 } .transcript { background-color:#d2d2d2; } .messageBlock { 
margin-left:4px; margin-bottom:3px } .message { margin-left:100px; 
word-wrap:break-word; white-space:-moz-pre-wrap; _white-space:pre; } 
.messageCont { margin-left:100px; word-wrap:break-word; 
white-space:-moz-pre-wrap; _white-space:pre;} .other { 
color:#39577a;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .myself { 
color:#da8103;font-style:normal;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont { font-size:8px;text-align:right; 
color:#39577a;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .myselfCont { font-size:8px;text-align:right; 
color:#da8103;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left;
 width:95px; } .system { margin-left:4px; 
word-wrap:break-word;color:#da8103;font-style:normal;font-weight:normal; 
white-space:-moz-pre-wrap; _white-space:pre; } .showTimestamp { 
margin-right:3px; float:right; 
color:#99;font-style:normal;font-weight:normal; } .other1 { 
color:#ac2000;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont1 { font-size:8px;text-align:right; 
color:#ac2000;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .other2 { 
color:#3c9fa8;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont2 { font-size:8px;text-align:right; 
color:#3c9fa8;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .other3 { 
color:#e25614;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont3 { font-size:8px;text-align:right;
 color:#e25614;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .other4 { 
color:#0b6ac8;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont4 { font-size:8px;text-align:right; 
color:#0b6ac8;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .other5 { 
color:#b23290;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont5 { font-size:8px;text-align:right; 
color:#b23290;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .other6 { 
color:#02e7c7;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont6 { font-size:8px;text-align:right; 
color:#02e7c7;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .other7 {
 
color:#5b3284;vertical-align:top;font-weight:bold;font-style:normal;float:left; 
width:95px; } .otherCont7 { font-size:8px;text-align:right; 
color:#5b3284;font-family:Arial,Lucida 
Grande;font-style:normal;vertical-align:top;font-weight:bold;float:left; 
width:95px; } .tsDisplay { display:block }   I was looking for the 
documentation of @promote of the element reference. I could not find it in the 
specs...
   
  Can someone help me with this?
   
  Thanks
   
  Mahi
  


You must be the change you wish to see in the world -- Mahatma Gandhi.
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: [jira] Problems calling the real stock quote

2007-12-06 Thread Mahi
I started from scratch and I am not hitting with the following exception, any 
idea what might be going on?

Text in the console:
Dec 6, 2007 10:41:11 AM org.apache.axis2.deployment.DeploymentEngine 
loadFromClassPath
INFO: Module validation failed: The system is attempting to engage a module 
that is not available: rampart
java.lang.IllegalArgumentException: Can't handle mixed payloads betweem 
OMElements and other types.
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.createOperationClient(Axis2BindingInvoker.java:128)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:93)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:75)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
at $Proxy6.getQuote(Unknown Source)
at stockquote.StockQuoteServiceImpl.getQuotes(StockQuoteServiceImpl.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
at 
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:49)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
at $Proxy5.getQuotes(Unknown Source)
at test.StockClient.main(StockClient.java:20)
Exception in thread main java.rmi.RemoteException: 
java.lang.IllegalArgumentExceptionCan't handle mixed payloads betweem 
OMElements and other types.; nested exception is: 
java.lang.IllegalArgumentException: Can't handle mixed payloads betweem 
OMElements and other types.
at 
stockquote.StockQuoteServiceImpl.getQuotes(StockQuoteServiceImpl.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:105)
at 
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:49)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
at $Proxy5.getQuotes(Unknown Source)
at test.StockClient.main(StockClient.java:20)
Caused by: java.lang.IllegalArgumentException: Can't handle mixed payloads 
betweem OMElements and other types.
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.createOperationClient(Axis2BindingInvoker.java:128)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:93)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:75)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
at $Proxy6.getQuote(Unknown Source)
at stockquote.StockQuoteServiceImpl.getQuotes(StockQuoteServiceImpl.java:66)
... 10 more

Raymond Feng [EMAIL PROTECTED] wrote: Hi,

It seems that the component business logic ran into a RemoteException and the 
Tuscany runtime doesn't know how to map it to a fault for the Web Service. The 
bad news is that we don't dump the orginal exception in this case. The error 
handling could be improved. 

I suggest you look into the component implementation code to figure out what's 
behind the exception.

Thanks,
Raymond
  - Original Message - 
  From: Mahi 
  To: tuscany-dev@ws.apache.org 
  Sent: Monday, December 03, 2007 1:58 PM
  Subject: [jira] Problems calling the real stock quote


  Driver: apache-tuscany-sca-1.0.1-incubating-src

  I am trying to invoke the live stock service that was used in older (m1 ans 
m2) drivers.  I have attached the WSDL file. I have tested this web service in 
Web Services Explorer in RAD, and it works.

  I am pasting code followed by the exception when I run it.
  Stockquote.composite
  
  
 xmlns:wsdli=http://www.w3.org/2006/01/wsdl-instance

Re: [jira] Problems calling the real stock quote

2007-12-06 Thread Mahi
Adding '@Remotable' annotation did take me further, but now I am see'ing the 
same exception I saw the first time, i.e
org.apache.tuscany.sca.databinding.TransformationException: (for complete stack 
trace see all the way below that is stated in my first email).

Running this thru the debugger, the following is the actual exception that is 
occuring which is not being thrown..

org.apache.axis2.AxisFault: The system cannot infer the transport information 
from the / URL.

Axis2BindingInvoker.java
public Message invoke(Message msg) {
try {
Object resp = invokeTarget(msg);
msg.setBody(resp);
} catch (AxisFault e) {
if (e.getDetail() != null) {
FaultException f = new FaultException(e.getMessage(), 
e.getDetail());
f.setLogical(e.getDetail().getQName());
msg.setFaultBody(f);
} else {
msg.setFaultBody(e);
}
} catch (Throwable e) {
msg.setFaultBody(e);
}

return msg;
}

I am attaching the message object from the debug session..

Raymond Feng [EMAIL PROTECTED] wrote: Good catch. For local interfaces, we 
won't apply databinding transformers.

Thanks,
Raymond

- Original Message - 
From: Venkata Krishnan 
To: 
Sent: Thursday, December 06, 2007 8:55 AM
Subject: Re: [jira] Problems calling the real stock quote


 Hi,

 Also, can you check if your service interface class has the '@Remotable'
 annotation ?
 In a recent experience with our demos missing this ended me up in the
 exception that you state.

 Thanks

 - Venkat

 On Dec 6, 2007 10:11 PM, Raymond Feng  wrote:

 Hi,

 What data types are you using the invoke the Web Service? It seems that
 the
 required databinding is missing on the classpath.

 Thanks,
 Raymond

 - Original Message -
 From: Mahi 
 To: 
 Sent: Thursday, December 06, 2007 7:49 AM
 Subject: Re: [jira] Problems calling the real stock quote


 I started from scratch and I am not hitting with the following 
 exception,
 any idea what might be going on?
 
  Text in the console:
  Dec 6, 2007 10:41:11 AM org.apache.axis2.deployment.DeploymentEngine
  loadFromClassPath
  INFO: Module validation failed: The system is attempting to engage a
  module that is not available: rampart
  java.lang.IllegalArgumentException: Can't handle mixed payloads betweem
  OMElements and other types.
 at
 
 org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.createOperationClient
 (Axis2BindingInvoker.java:128)
 at
  org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget
 (Axis2BindingInvoker.java:93)
 at
  org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(
 Axis2BindingInvoker.java:75)
 at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:233)
 at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:130)
 at $Proxy6.getQuote(Unknown Source)
 at
  stockquote.StockQuoteServiceImpl.getQuotes(StockQuoteServiceImpl.java
 :66)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
  sun.reflect.NativeMethodAccessorImpl.invoke(
 NativeMethodAccessorImpl.java:64)
 at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(
 DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:615)
 at
 
 org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke
 (JavaImplementationInvoker.java:105)
 at
 
 org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke
 (PassByValueInterceptor.java:49)
 at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:233)
 at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:130)
 at $Proxy5.getQuotes(Unknown Source)
 at test.StockClient.main(StockClient.java:20)
  Exception in thread main java.rmi.RemoteException:
  java.lang.IllegalArgumentExceptionCan't handle mixed payloads betweem
  OMElements and other types.; nested exception is:
 java.lang.IllegalArgumentException: Can't handle mixed payloads
 betweem
  OMElements and other types.
 at
  stockquote.StockQuoteServiceImpl.getQuotes(StockQuoteServiceImpl.java
 :118)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
  sun.reflect.NativeMethodAccessorImpl.invoke(
 NativeMethodAccessorImpl.java:64)
 at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(
 DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:615)
 at
 
 org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke
 (JavaImplementationInvoker.java:105)
 at
 
 org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke
 (PassByValueInterceptor.java:49

Re: [jira] Problems calling the real stock quote

2007-12-06 Thread Mahi

I was using the old syntax, i.e using of endpoint attribute for binding.ws, 
once I changed it to the SCA 1.0 spec syntax, it works fine.
 
 Thanks Raymond for pointing it out.
 

Raymond Feng [EMAIL PROTECTED] wrote: The attachment cannot go through the 
ML. Can you attach it to a JIRA? The composite file and WSDL will be helpful 
too.

Thanks,
Raymond
  - Original Message - 
  From: Mahi 
  To: tuscany-dev@ws.apache.org 
  Sent: Thursday, December 06, 2007 9:45 AM
  Subject: Re: [jira] Problems calling the real stock quote


  Adding '@Remotable' annotation did take me further, but now I am see'ing the 
same exception I saw the first time, i.e
  org.apache.tuscany.sca.databinding.TransformationException: (for complete 
stack trace see all the way below that is stated in my first email).

  Running this thru the debugger, the following is the actual exception that is 
occuring which is not being thrown..

  org.apache.axis2.AxisFault: The system cannot infer the transport information 
from the / URL.

  Axis2BindingInvoker.java
  public Message invoke(Message msg) {
  try {
  Object resp = invokeTarget(msg);
  msg.setBody(resp);
  } catch (AxisFault e) {
  if (e.getDetail() != null) {
  FaultException f = new FaultException(e.getMessage(), 
e.getDetail());
  f.setLogical(e.getDetail().getQName());
  msg.setFaultBody(f);
  } else {
  msg.setFaultBody(e);
  }
  } catch (Throwable e) {
  msg.setFaultBody(e);
  }

  return msg;
  }

  I am attaching the message object from the debug session..

  Raymond Feng  wrote:
Good catch. For local interfaces, we won't apply databinding transformers.

Thanks,
Raymond

- Original Message - 
From: Venkata Krishnan 
To: 
Sent: Thursday, December 06, 2007 8:55 AM
Subject: Re: [jira] Problems calling the real stock quote


 Hi,

 Also, can you check if your service interface class has the '@Remotable'
 annotation ?
 In a recent experience with our demos missing this ended me up in the
 exception that you state.

 Thanks

 - Venkat

 On Dec 6, 2007 10:11 PM, Raymond Feng wrote:

 Hi,

 What data types are you using the invoke the Web Service? It seems that
 the
 required databinding is missing on the classpath.

 Thanks,
 Raymond

 - Original Message -
 From: Mahi 
 To: 
 Sent: Thursday, December 06, 2007 7:49 AM
 Subject: Re: [jira] Problems calling the real stock quote


 I started from scratch and I am not hitting with the following 
 exception,
 any idea what might be going on?
 
  Text in the console:
  Dec 6, 2007 10:41:11 AM org.apache.axis2.deployment.DeploymentEngine
  loadFromClassPath
  INFO: Module validation failed: The system is attempting to engage a
  module that is not available: rampart
  java.lang.IllegalArgumentException: Can't handle mixed payloads betweem
  OMElements and other types.
  at
 
 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.createOperationClient
 (Axis2BindingInvoker.java:128)
  at
  
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget
 (Axis2BindingInvoker.java:93)
  at
  org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(
 Axis2BindingInvoker.java:75)
  at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:233)
  at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:130)
  at $Proxy6.getQuote(Unknown Source)
  at
  stockquote.StockQuoteServiceImpl.getQuotes(StockQuoteServiceImpl.java
 :66)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
  sun.reflect.NativeMethodAccessorImpl.invoke(
 NativeMethodAccessorImpl.java:64)
  at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(
 DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:615)
  at
 
 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke
 (JavaImplementationInvoker.java:105)
  at
 
 
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke
 (PassByValueInterceptor.java:49)
  at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:233)
  at
  org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(
 JDKInvocationHandler.java:130)
  at $Proxy5.getQuotes(Unknown Source)
  at test.StockClient.main(StockClient.java:20)
  Exception in thread main java.rmi.RemoteException:
  java.lang.IllegalArgumentExceptionCan't

[jira] Problems calling the real stock quote

2007-12-03 Thread Mahi
)
at 
org.apache.tuscany.sca.core.databinding.wire.PassByValueInterceptor.invoke(PassByValueInterceptor.java:49)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
at $Proxy5.getQuotes(Unknown Source)
at test.StockClient.main(StockClient.java:20)
Caused by: org.apache.tuscany.sca.databinding.TransformationException: Target 
fault type cannot be resolved: class java.rmi.RemoteException 
org.apache.axiom.om.OMElement Element: {http://stockquote/}RemoteException 
Type: null
at 
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:126)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:233)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:130)
at $Proxy6.getQuote(Unknown Source)
at stockquote.StockQuoteServiceImpl.getQuotes(StockQuoteServiceImpl.java:64)
... 10 more

Any thoughts?

Thanks


Mahi

You must be the change you wish to see in the world -- Mahatma Gandhi.
   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with deploying bigbank sample

2007-04-23 Thread Mahi
 
  Anyone has deployable sample-bigbank-webclient.war and 
sample-bigbank-account.war files that you can pass on to me?
   
  Thanks in advance:-)
   
  Mahi

Mahi [EMAIL PROTECTED] wrote:
  Is there a link from where I can get self-contained 
sample-bigbank-webclient.war and sample-bigbank-account.war files that I can 
use?

Thanks

Mahi

Mahi wrote: After installing tuscany-sca-1.0-incubator-M2-samples and running 
the mvn command, when I deploy sample-bigbank-account.war and 
sample-bigbank-webclient.war, I see the following problems while it is 
deploying.. Any clue what I might be missing?

INFO: Deploying web application archive sample-bigbank-account.war
[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.a
pache.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.apa
che.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.a
pache.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.apa
che.org/repo/m2-snapshot-repository)
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___repo1.maven.org_maven2
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___people.apache.org_repo_
m2-incubating-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___repo1.maven.org_maven
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___people.apache.org_repo_
m2-snapshot-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___repo1.maven.org_mave
n2
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___people.apache.org_re
po_m2-incubating-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___repo1.maven.org_mave
n
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___people.apache.org_re
po_m2-snapshot-repository
[WARNING] POM for 'org.apache.axis2:axis2-kernel:pom:1.1:runtime' is invalid. 
It will be ignored for artifact resolution
. Reason: Failed to validate POM
[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.a
pache.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.apa
che.org/repo/m2-snapshot-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: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

Problems with deploying bigbank sample

2007-04-20 Thread Mahi
After installing tuscany-sca-1.0-incubator-M2-samples and running the mvn 
command, when I deploy sample-bigbank-account.war and 
sample-bigbank-webclient.war, I see the following problems while it is 
deploying.. Any clue what I might be missing?

INFO: Deploying web application archive sample-bigbank-account.war
[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.a
pache.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.apa
che.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.a
pache.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.apa
che.org/repo/m2-snapshot-repository)
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___repo1.maven.org_maven2
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___people.apache.org_repo_
m2-incubating-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___repo1.maven.org_maven
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___people.apache.org_repo_
m2-snapshot-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___repo1.maven.org_mave
n2
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___people.apache.org_re
po_m2-incubating-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___repo1.maven.org_mave
n
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___people.apache.org_re
po_m2-snapshot-repository
[WARNING] POM for 'org.apache.axis2:axis2-kernel:pom:1.1:runtime' is invalid. 
It will be ignored for artifact resolution
. Reason: Failed to validate POM
[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.a
pache.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.apa
che.org/repo/m2-snapshot-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: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 

Re: Problems with deploying bigbank sample

2007-04-20 Thread Mahi
Is there a link from where I can get self-contained 
sample-bigbank-webclient.war and sample-bigbank-account.war files that I can 
use?

Thanks

Mahi

Mahi [EMAIL PROTECTED] wrote: After installing 
tuscany-sca-1.0-incubator-M2-samples and running the mvn command, when I deploy 
sample-bigbank-account.war and sample-bigbank-webclient.war, I see the 
following problems while it is deploying.. Any clue what I might be missing?

INFO: Deploying web application archive sample-bigbank-account.war
[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.a
pache.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.apa
che.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.a
pache.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.apa
che.org/repo/m2-snapshot-repository)
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___repo1.maven.org_maven2
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___people.apache.org_repo_
m2-incubating-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___repo1.maven.org_maven
[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:SNAPSHOT: checking for 
updates from http___people.apache.org_repo_
m2-snapshot-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___repo1.maven.org_mave
n2
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___people.apache.org_re
po_m2-incubating-repository
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___repo1.maven.org_mave
n
[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:SNAPSHOT: checking for 
updates from http___people.apache.org_re
po_m2-snapshot-repository
[WARNING] POM for 'org.apache.axis2:axis2-kernel:pom:1.1:runtime' is invalid. 
It will be ignored for artifact resolution
. Reason: Failed to validate POM
[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.a
pache.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.apa
che.org/repo/m2-snapshot-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: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

Unable to build samples in M2 driver (SCA-JAVA)

2007-01-22 Thread Mahi

I started with extacting the SCA JAVA M2 driver for Windows from 
http://incubator.apache.org/tuscany/sca_downloads.html.
   
  When I tried to build the samples by running mvn command at the root 
samples directory, I am getting the following  Build Error.. I am seeing this 
problem for most of last week.
   ...
   ...
   [INFO] 

   [ERROR] BUILD ERROR
   [INFO] 

   [INFO] Failed to resolve artifact.
   
   Error transferring file
 org.apache.ws.commons.axiom:axiom-impl:jar:1.2
   
   from the specified remote repositories:
 apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
 codehaus-snapshot (http://snapshots.repository.codehaus.org),
 eclipse.emf (http://download.eclipse.org/tools/emf/maven2),
 central  (http://repo1.maven.org/maven2),
 apache.m1 (http://people.apache.org/repository),
 apache.incubator (http://people.apache.org/repo/m2-incubating-repository/)
   Path to dependency:
   1) 
org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:
   1.0-incubator-M2
   2) org.apache.tuscany.sca:sca-tools:jar:1.0-incubator-M2
   3) org.apache.ws.commons.axiom:axiom-impl:jar:1.2
   
   
   
   Caused by I/O exception: Server returned HTTP response code: 403 for URL: 
http:/
   
/download.eclipse.org/tools/emf/maven2/org/apache/ws/commons/axiom/axiom-impl/1.
   2/axiom-impl-1.2.jar
   
   [INFO] 

   [INFO] For more information, run Maven with the -e switch
   [INFO]  

   [INFO] Total time: 12 seconds
   [INFO] Finished at: Mon Jan 22 14:00:41 PST 2007
   [INFO] Final Memory: 11M/37M
   [INFO] 
 
   
   
   Result of running mvn -U command
   ...
   ...
   [INFO] 

   [ERROR] BUILD ERROR
   [INFO] 

   [INFO] Failed to resolve artifact.
   
   Error transferring file
 org.apache.neethi:neethi:jar:2.0
   
   from the specified remote repositories:
 apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
 codehaus-snapshot (http://snapshots.repository.codehaus.org),
 eclipse.emf (http://download.eclipse.org/tools/emf/maven2),
 central  (http://repo1.maven.org/maven2),
 apache.m1 (http://people.apache.org/repository),
 apache.incubator (http://people.apache.org/repo/m2-incubating-repository/)
   Path to dependency:
   1) 
org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:
   1.0-incubator-M2
   2) org.apache.tuscany.sca:sca-tools:jar:1.0-incubator-M2
   3) org.apache.neethi:neethi:jar:2.0
   
   
   
   Caused by I/O exception: Server returned HTTP response code: 403 for URL: 
http:/
   
/download.eclipse.org/tools/emf/maven2/org/apache/neethi/neethi/2.0/neethi-2.0.j
   ar
   
   
   [INFO] 

   [INFO] For more information, run Maven with the -e switch
   [INFO] 

[INFO] Total time: 26 seconds
   [INFO] Finished at: Mon Jan 22 13:59:48 PST 2007
   [INFO] Final Memory: 11M/27M
   [INFO] ---

You must be the change you wish to see in the world -- Mahatma Gandhi.
 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.

Unable to build samples in M2 driver

2007-01-22 Thread Mahi
I started with extacting the SCA JAVA M2 driver for Windows from 
http://incubator.apache.org/tuscany/sca_downloads.html.
  
  When I tried to build the samples by running mvn command at the root  
samples directory, I am getting the following  Build Error.. I am  seeing this 
problem for most of last week.
  ...
  ...
  [INFO] 

  [ERROR] BUILD ERROR
  [INFO] 

  [INFO] Failed to resolve artifact.
  
  Error transferring file
org.apache.ws.commons.axiom:axiom-impl:jar:1.2
  
  from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
eclipse.emf (http://download.eclipse.org/tools/emf/maven2),
central (http://repo1.maven.org/maven2),
apache.m1 (http://people.apache.org/repository),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository/)
  Path to dependency:
  1) 
org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:
  1.0-incubator-M2
  2) org.apache.tuscany.sca:sca-tools:jar:1.0-incubator-M2
  3) org.apache.ws.commons.axiom:axiom-impl:jar:1.2
  
  
  
  Caused by I/O exception: Server returned HTTP response code: 403 for URL: 
http:/
  
/download.eclipse.org/tools/emf/maven2/org/apache/ws/commons/axiom/axiom-impl/1.
  2/axiom-impl-1.2.jar
  
  [INFO] 

  [INFO] For more information, run Maven with the -e switch
  [INFO] 

  [INFO] Total time: 12 seconds
  [INFO] Finished at: Mon Jan 22 14:00:41 PST 2007
  [INFO] Final Memory: 11M/37M
  [INFO] 
 
  
  
  Result of running mvn -U command
  ...
  ...
  [INFO] 

  [ERROR] BUILD ERROR
  [INFO] 

  [INFO] Failed to resolve artifact.
  
  Error transferring file
org.apache.neethi:neethi:jar:2.0
  
  from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
codehaus-snapshot (http://snapshots.repository.codehaus.org),
eclipse.emf (http://download.eclipse.org/tools/emf/maven2),
central (http://repo1.maven.org/maven2),
apache.m1 (http://people.apache.org/repository),
apache.incubator (http://people.apache.org/repo/m2-incubating-repository/)
  Path to dependency:
  1) 
org.apache.tuscany.sca.plugins:tuscany-plugin-wsdl2java:maven-plugin:
  1.0-incubator-M2
  2) org.apache.tuscany.sca:sca-tools:jar:1.0-incubator-M2
  3) org.apache.neethi:neethi:jar:2.0
  
  
  
  Caused by I/O exception: Server returned HTTP response code: 403 for URL: 
http:/
  
/download.eclipse.org/tools/emf/maven2/org/apache/neethi/neethi/2.0/neethi-2.0.j
  ar
  
  
  [INFO] 

  [INFO] For more information, run Maven with the -e switch
  [INFO] 

  [INFO] Total time: 26 seconds
  [INFO] Finished at: Mon Jan 22 13:59:48 PST 2007
  [INFO] Final Memory: 11M/27M
  [INFO] ---
  

You must be the change you wish to see in the world -- Mahatma Gandhi.
 
-
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.