[jira] Created: (TUSCANY-2275) Problem when with Bean[] and null

2008-04-28 Thread Nishant Joshi (JIRA)
Problem when with Bean[] and null
-

 Key: TUSCANY-2275
 URL: https://issues.apache.org/jira/browse/TUSCANY-2275
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Data Binding Runtime
Affects Versions: Java-SCA-1.2
 Environment: Tuscnay 1.2-RC4, WAS
Reporter: Nishant Joshi
 Fix For: Java-SCA-1.2


I have one service, in which i m passgin Bean[]... If i try to pass null 
instead then it gives exception 
-
Exception in thread "main" org.osoa.sca.ServiceRuntimeException: Target fault 
type cannot be resolved: null
at 
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:134)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
at $Proxy6.processBean(Unknown Source)
at com.client.Client.processBean(Client.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:109)
at 
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
at 
org.apache.tuscany.sca.core.invocation.CglibProxyFactory$CglibMethodInterceptor.intercept(CglibProxyFactory.java:149)
at com.client.Client$$EnhancerByCGLIB$$b5aedbbb.processBean()
at com.client.Client.main(Client.java:34)
Caused by: org.apache.tuscany.sca.interfacedef.util.FaultException: Array index 
out of range: 0
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:97)
at 
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)
... 15 more
Caused by: org.apache.axis2.AxisFault: Array index out of range: 0
at 
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:118)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:89)
... 16 more
-

please find the attached sample to reproduce it.
please note that this error was on client side and can be generated using 
attached sample...
same works for servcie having  bean (not an array of bean)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (TUSCANY-2275) Problem when with Bean[] and null

2008-04-28 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-2275:
---

Attachment: null problem.zip

> Problem when with Bean[] and null
> -
>
> Key: TUSCANY-2275
> URL: https://issues.apache.org/jira/browse/TUSCANY-2275
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Data Binding Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Tuscnay 1.2-RC4, WAS
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.2
>
> Attachments: null problem.zip
>
>
> I have one service, in which i m passgin Bean[]... If i try to pass null 
> instead then it gives exception 
> -
> Exception in thread "main" org.osoa.sca.ServiceRuntimeException: Target fault 
> type cannot be resolved: null
>   at 
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:134)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
>   at $Proxy6.processBean(Unknown Source)
>   at com.client.Client.processBean(Client.java:22)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:585)
>   at 
> org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:109)
>   at 
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286)
>   at 
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
>   at 
> org.apache.tuscany.sca.core.invocation.CglibProxyFactory$CglibMethodInterceptor.intercept(CglibProxyFactory.java:149)
>   at com.client.Client$$EnhancerByCGLIB$$b5aedbbb.processBean()
>   at com.client.Client.main(Client.java:34)
> Caused by: org.apache.tuscany.sca.interfacedef.util.FaultException: Array 
> index out of range: 0
>   at 
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:97)
>   at 
> org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)
>   ... 15 more
> Caused by: org.apache.axis2.AxisFault: Array index out of range: 0
>   at 
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
>   at 
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
>   at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
>   at 
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
>   at 
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>   at 
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:118)
>   at 
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:89)
>   ... 16 more
> -
> please find the attached sample to reproduce it.
> please note that this error was on client side and can be generated using 
> attached sample...
> same works for servcie having  bean (not an array of bean)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Reopened: (TUSCANY-2275) Problem when with Bean[] and null

2008-05-05 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi reopened TUSCANY-2275:



Hi Raymond,
You are absolutely right... but if you change the method signature as below 
then it will throw exception

SimpleBean processBean(int n,SimpleBean simpleBean[]);

and from client change it as...

SimpleBean fromServiceSimpleBean = service.processBean(1,null);

If you add the diff. parameter like i have added then error msg will change 
like 
SimpleBean processBean(int n, foat f, SimpleBean simpleBean[]);
then

java.lang.IndexOutOfBoundsException: Index: 2, Size: 2.

if you put "SimpleBean simpleBean[]" as first parameter then it will not come 
as null as what you have mentioned..like "SimpleBean processBean(SimpleBean 
simpleBean[], int n);"

Conclusion is if you put your Bean[] at last parameter place and pass null 
value from client it will throw error.

error on service side will come for "SimpleBean processBean(int n,SimpleBean 
simpleBean[]);"  like.



java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
 org.osoa.sca.ServiceRuntimeException: 
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:123)
at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:89)
at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:83)
at 
org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(RuntimeWireImpl.java:138)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTarget(Axis2ServiceProvider.java:641)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:68)
at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
at 
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at 
org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:102)
at 
org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:91)
at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
at 
com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
at 
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
at 
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:718)
at 
com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at 
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at 
com.ibm

[jira] Issue Comment Edited: (TUSCANY-2275) Problem when with Bean[] and null

2008-05-05 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594156#action_12594156
 ] 

nishantrjoshi edited comment on TUSCANY-2275 at 5/5/08 9:26 PM:


Hi Raymond,
You are absolutely right... but if you change the method signature as below 
then it will throw exception

SimpleBean processBean(int n,SimpleBean simpleBean[]);

and from client change it as...

SimpleBean fromServiceSimpleBean = service.processBean(1,null);

If you add the diff. parameter like i have added then error msg will change 
like 
SimpleBean processBean(int n, foat f, SimpleBean simpleBean[]);
then

java.lang.IndexOutOfBoundsException: Index: 2, Size: 2.

if you put "SimpleBean simpleBean[]" as first parameter then it will not come 
as null as what you have mentioned..like "SimpleBean processBean(SimpleBean 
simpleBean[], int n);"

Conclusion is if you put your Bean[] at last parameter place and pass null 
value from client it will throw error.

error on service side will come for "SimpleBean processBean(int n,SimpleBean 
simpleBean[]);"  like.

also please note that this error was come before executing anything of the 
method.

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
 org.osoa.sca.ServiceRuntimeException: 
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:123)
at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:89)
at 
org.apache.tuscany.sca.core.invocation.RuntimeWireInvoker.invoke(RuntimeWireInvoker.java:83)
at 
org.apache.tuscany.sca.core.assembly.RuntimeWireImpl.invoke(RuntimeWireImpl.java:138)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider.invokeTarget(Axis2ServiceProvider.java:641)
at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceInOutSyncMessageReceiver.invokeBusinessLogic(Axis2ServiceInOutSyncMessageReceiver.java:68)
at 
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42)
at 
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at 
org.apache.tuscany.sca.host.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:102)
at 
org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:91)
at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:688)
at 
com.ibm.ws.wswebcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:101)
at 
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:758)
at 
com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:718)
at 
com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:113)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at 
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewC

[jira] Created: (TUSCANY-2304) SCA client Hang Forver after getting handled exception from service

2008-05-08 Thread Nishant Joshi (JIRA)
SCA client Hang Forver after getting handled exception from service
---

 Key: TUSCANY-2304
 URL: https://issues.apache.org/jira/browse/TUSCANY-2304
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Embedded Runtime
Affects Versions: Java-SCA-1.2
 Environment: Tuscnay  SCA 1.2
Reporter: Nishant Joshi
Priority: Blocker


Hi there,
The problem here from SCA client is blocking me to go further.
Here  i m also attaching my client and service to give you idea.
Here from service i m throwing exception and handled them into my exception 
class.
Now on client side after getting two exception from service it was hang and not 
proceed further.
I have also tested with diff. sequence of call and behavior i noticed is after 
getting total 2 exception from service my SCA client hangs forever.
Its a very interesting scenario for me. please let me know if any body has 
faced same. 
By investigating my sample i guess many of us may face same problem.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (TUSCANY-2304) SCA client Hang Forver after getting handled exception from service

2008-05-08 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-2304:
---

Attachment: Client_Service.zip

> SCA client Hang Forver after getting handled exception from service
> ---
>
> Key: TUSCANY-2304
> URL: https://issues.apache.org/jira/browse/TUSCANY-2304
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Embedded Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Tuscnay  SCA 1.2
>Reporter: Nishant Joshi
>Priority: Blocker
> Attachments: Client_Service.zip
>
>
> Hi there,
> The problem here from SCA client is blocking me to go further.
> Here  i m also attaching my client and service to give you idea.
> Here from service i m throwing exception and handled them into my exception 
> class.
> Now on client side after getting two exception from service it was hang and 
> not proceed further.
> I have also tested with diff. sequence of call and behavior i noticed is 
> after getting total 2 exception from service my SCA client hangs forever.
> Its a very interesting scenario for me. please let me know if any body has 
> faced same. 
> By investigating my sample i guess many of us may face same problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TUSCANY-2304) SCA client Hang Forver after getting handled exception from service

2008-05-12 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596033#action_12596033
 ] 

Nishant Joshi commented on TUSCANY-2304:


Thanks Ant for investigating it. It would be convenient for me if you can 
provide me built jar for test.

> SCA client Hang Forver after getting handled exception from service
> ---
>
> Key: TUSCANY-2304
> URL: https://issues.apache.org/jira/browse/TUSCANY-2304
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Embedded Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Tuscnay  SCA 1.2
>Reporter: Nishant Joshi
>Priority: Blocker
> Fix For: Java-SCA-Next
>
> Attachments: Client_Service.zip
>
>
> Hi there,
> The problem here from SCA client is blocking me to go further.
> Here  i m also attaching my client and service to give you idea.
> Here from service i m throwing exception and handled them into my exception 
> class.
> Now on client side after getting two exception from service it was hang and 
> not proceed further.
> I have also tested with diff. sequence of call and behavior i noticed is 
> after getting total 2 exception from service my SCA client hangs forever.
> Its a very interesting scenario for me. please let me know if any body has 
> faced same. 
> By investigating my sample i guess many of us may face same problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TUSCANY-2304) SCA client Hang Forver after getting handled exception from service

2008-05-12 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596037#action_12596037
 ] 

Nishant Joshi commented on TUSCANY-2304:


I m using 1.2 incubating so it will be best if fix included in next release i m 
using lib\tuscany-sca-manifest when i run it in Eclipse, Actually i will 
replace the afftected jar into my deployment so if you can provide me all the 
modifed jar for this fix then it will be best

> SCA client Hang Forver after getting handled exception from service
> ---
>
> Key: TUSCANY-2304
> URL: https://issues.apache.org/jira/browse/TUSCANY-2304
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Embedded Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Tuscnay  SCA 1.2
>Reporter: Nishant Joshi
>Priority: Blocker
> Fix For: Java-SCA-Next
>
> Attachments: Client_Service.zip
>
>
> Hi there,
> The problem here from SCA client is blocking me to go further.
> Here  i m also attaching my client and service to give you idea.
> Here from service i m throwing exception and handled them into my exception 
> class.
> Now on client side after getting two exception from service it was hang and 
> not proceed further.
> I have also tested with diff. sequence of call and behavior i noticed is 
> after getting total 2 exception from service my SCA client hangs forever.
> Its a very interesting scenario for me. please let me know if any body has 
> faced same. 
> By investigating my sample i guess many of us may face same problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TUSCANY-2304) SCA client Hang Forver after getting handled exception from service

2008-05-12 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596047#action_12596047
 ] 

Nishant Joshi commented on TUSCANY-2304:


Hi Ant,
Still I m facing same issue. please can you check the jar you have attached ?
I have replaced this jar into lib of my war and also in my 1.2 incubating 
\modules... As i have explianed you in above i m using 
\lib\tuscnay-sca-manifest on client side to invoke the SCA client.


> SCA client Hang Forver after getting handled exception from service
> ---
>
> Key: TUSCANY-2304
> URL: https://issues.apache.org/jira/browse/TUSCANY-2304
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Embedded Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Tuscnay  SCA 1.2
>Reporter: Nishant Joshi
>Priority: Blocker
> Fix For: Java-SCA-Next
>
> Attachments: Client_Service.zip, 
> tuscany-binding-ws-axis2-1.2-incubating.jar
>
>
> Hi there,
> The problem here from SCA client is blocking me to go further.
> Here  i m also attaching my client and service to give you idea.
> Here from service i m throwing exception and handled them into my exception 
> class.
> Now on client side after getting two exception from service it was hang and 
> not proceed further.
> I have also tested with diff. sequence of call and behavior i noticed is 
> after getting total 2 exception from service my SCA client hangs forever.
> Its a very interesting scenario for me. please let me know if any body has 
> faced same. 
> By investigating my sample i guess many of us may face same problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TUSCANY-2304) SCA client Hang Forver after getting handled exception from service

2008-05-12 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596058#action_12596058
 ] 

Nishant Joshi commented on TUSCANY-2304:


Sorry for my last comment, problem is resolved now 
thanks Ant 

> SCA client Hang Forver after getting handled exception from service
> ---
>
> Key: TUSCANY-2304
> URL: https://issues.apache.org/jira/browse/TUSCANY-2304
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Embedded Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Tuscnay  SCA 1.2
>Reporter: Nishant Joshi
>Priority: Blocker
> Fix For: Java-SCA-Next
>
> Attachments: Client_Service.zip, 
> tuscany-binding-ws-axis2-1.2-incubating.jar
>
>
> Hi there,
> The problem here from SCA client is blocking me to go further.
> Here  i m also attaching my client and service to give you idea.
> Here from service i m throwing exception and handled them into my exception 
> class.
> Now on client side after getting two exception from service it was hang and 
> not proceed further.
> I have also tested with diff. sequence of call and behavior i noticed is 
> after getting total 2 exception from service my SCA client hangs forever.
> Its a very interesting scenario for me. please let me know if any body has 
> faced same. 
> By investigating my sample i guess many of us may face same problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (TUSCANY-2304) SCA client Hang Forver after getting handled exception from service

2008-05-12 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596083#action_12596083
 ] 

Nishant Joshi commented on TUSCANY-2304:


Yeah your are right, now you can closed this issue.
thanks a lot for all your help

> SCA client Hang Forver after getting handled exception from service
> ---
>
> Key: TUSCANY-2304
> URL: https://issues.apache.org/jira/browse/TUSCANY-2304
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Embedded Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Tuscnay  SCA 1.2
>Reporter: Nishant Joshi
>Priority: Blocker
> Fix For: Java-SCA-Next
>
> Attachments: Client_Service.zip, 
> tuscany-binding-ws-axis2-1.2-incubating.jar, 
> tuscany-sca-all-1.2-incubating.jar
>
>
> Hi there,
> The problem here from SCA client is blocking me to go further.
> Here  i m also attaching my client and service to give you idea.
> Here from service i m throwing exception and handled them into my exception 
> class.
> Now on client side after getting two exception from service it was hang and 
> not proceed further.
> I have also tested with diff. sequence of call and behavior i noticed is 
> after getting total 2 exception from service my SCA client hangs forever.
> Its a very interesting scenario for me. please let me know if any body has 
> faced same. 
> By investigating my sample i guess many of us may face same problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Reopened: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-09 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi reopened TUSCANY-1562:



Hi there, Sorry to back in this issue after long time,
I have tested a sample in which i can successfully get a java.lang,Exception on 
client side.
Now when i m trying to throw a Custom Exception class following error was 
coming to me.
"org.apache.tuscany.sca.databinding.TransformationException: No matching source 
fault type is found"
Here i am using 1.0 incubating and client is Tuscany client. Same example was 
working fine when i m throwing java.lang.Exception class. My Exception class is 
com.my.myexception.MyException.
Here i m also attaching SOAP response for same

> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> jira1562.zip, localhost.2007-08-24.log
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationExcept

[jira] Updated: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-09 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-1562:
---

Attachment: SOAP_Response_CustomException_extends_Exception.txt

This is the SOAP response file for custom Exception.Here please note that wsdl 
was generated successfully. I m explicitly throwing Custom Exception from 
service to check whether it was working or not and result was attached here.


> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADoma

[jira] Updated: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-09 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-1562:
---

Attachment: Exception_Sample.zip

This is the sample for more help. This is the Service from where i got 
exception which i have posted as a SOAP response as above.


> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> Exception_Sample.zip, jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:169)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230

[jira] Updated: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-10 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-1562:
---

Attachment: SOAP_Response_CustomException_extends_Exception_2.txt

Hi Simon, i have tested as you have suggested me but now i can see the 
exception reason in SOAP response but still i m not able to catch exception on 
client and get a message from it. I have attached 
SOAP_Response_CustomException_extends_Exception_2.txt file for more detail. my 
exception class is 

 private String message;
private static final long serialVersionUID = 6432710203736992658L;

public MyException() {
super();
}

public MyException(String s) {
super(s);
setMessage(s);
}

public String getMessage() {
return message;
}

public void setMessage(String s) {
message = s;
}

If i m try to catch exception in java.lang.Exception getMessage() gives me null

> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> Exception_Sample.zip, jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt, 
> SOAP_Response_CustomException_extends_Exception_2.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   at sun.reflect.NativeMethodAcces

[jira] Commented: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-10 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550323
 ] 

Nishant Joshi commented on TUSCANY-1562:


Sorry for my last post actually there is no change in SOAP Response it was same 
as you can see in SOAP_Response_CustomException_extends_Exception.txt 
again sorry for inconvenience.

> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> Exception_Sample.zip, jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt, 
> SOAP_Response_CustomException_extends_Exception_2.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.ja

[jira] Issue Comment Edited: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-10 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550323
 ] 

nishantrjoshi edited comment on TUSCANY-1562 at 12/10/07 10:09 PM:
---

Sorry for my last post actually there is no change in SOAP Response it was same 
as you can see in SOAP_Response_CustomException_extends_Exception.txt.
SOAP_Response_CustomException_extends_Exception_2.txt is you get when you will 
extends Throwable  
again sorry for inconvenience.

  was (Author: nishantrjoshi):
Sorry for my last post actually there is no change in SOAP Response it was 
same as you can see in SOAP_Response_CustomException_extends_Exception.txt 
again sorry for inconvenience.
  
> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> Exception_Sample.zip, jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt, 
> SOAP_Response_CustomException_extends_Exception_2.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catal

[jira] Commented: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-11 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550375
 ] 

Nishant Joshi commented on TUSCANY-1562:


I have tested itest\exceptions-simple-ws, it was working fine.But when i have 
created war of this service and deployed it Tomcat 6 and try to access from 
service using following composite file i got same error that i have posted 
earlier.
Here ExampleTestCase.java contains implementation of ExampleService.

composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; 
   targetNamespace="http://www.example.com";
   xmlns:hw="http://www.example.com";
   name="example">





http://localhost:8080/itest-exceptions-simple-ws-1.1-incubating-SNAPSHOT/ExampleServiceComponent";
 />


   


my client is tuscany client and i m using above composite file to access 
service which was deployed in Tomcat.
In Service side following composite file i have used which was modified to 
generate wsdl on the fly

http://www.osoa.org/xmlns/sca/1.0"; 
   targetNamespace="http://www.example.com";
   xmlns:hw="http://www.example.com";
   name="example">





  



> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> Exception_Sample.zip, jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt, 
> SOAP_Response_CustomException_extends_Exception_2.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)

[jira] Issue Comment Edited: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-11 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550375
 ] 

nishantrjoshi edited comment on TUSCANY-1562 at 12/11/07 1:49 AM:
--

I have tested itest\exceptions-simple-ws, it was working fine.But when i have 
created war of this service and deployed it Tomcat 6 and try to access from 
service using following composite file i got same error that i have posted 
earlier.
Here ExampleTestCase.java contains implementation of ExampleClient.

composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; 
   targetNamespace="http://www.example.com";
   xmlns:hw="http://www.example.com";
   name="example">





http://localhost:8080/itest-exceptions-simple-ws-1.1-incubating-SNAPSHOT/ExampleServiceComponent";
 />


   


my client is tuscany client and i m using above composite file to access 
service which was deployed in Tomcat.
In Service side following composite file i have used which was modified to 
generate wsdl on the fly

http://www.osoa.org/xmlns/sca/1.0"; 
   targetNamespace="http://www.example.com";
   xmlns:hw="http://www.example.com";
   name="example">





  



  was (Author: nishantrjoshi):
I have tested itest\exceptions-simple-ws, it was working fine.But when i 
have created war of this service and deployed it Tomcat 6 and try to access 
from service using following composite file i got same error that i have posted 
earlier.
Here ExampleTestCase.java contains implementation of ExampleService.

composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; 
   targetNamespace="http://www.example.com";
   xmlns:hw="http://www.example.com";
   name="example">





http://localhost:8080/itest-exceptions-simple-ws-1.1-incubating-SNAPSHOT/ExampleServiceComponent";
 />


   


my client is tuscany client and i m using above composite file to access 
service which was deployed in Tomcat.
In Service side following composite file i have used which was modified to 
generate wsdl on the fly

http://www.osoa.org/xmlns/sca/1.0"; 
   targetNamespace="http://www.example.com";
   xmlns:hw="http://www.example.com";
   name="example">





  


  
> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> Exception_Sample.zip, jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt, 
> SOAP_Response_CustomException_extends_Exception_2.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:

[jira] Commented: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-12-18 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553233
 ] 

Nishant Joshi commented on TUSCANY-1562:


Sorry to reply late, Simon, your example works on my machine :) and still i m 
investigating it more.
Thanks for your support

> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> Exception_Sample.zip, jira1562.zip, localhost.2007-08-24.log, 
> SOAP_Response_CustomException_extends_Exception.txt, 
> SOAP_Response_CustomException_extends_Exception_2.txt
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:169)
>   at 
> org.apache.tuscany.sca.host.embedded.SC

[jira] Created: (TUSCANY-2219) Patch support "wsjar" in host embedded

2008-04-11 Thread Nishant Joshi (JIRA)
Patch support "wsjar" in host embedded
--

 Key: TUSCANY-2219
 URL: https://issues.apache.org/jira/browse/TUSCANY-2219
 Project: Tuscany
  Issue Type: Improvement
  Components: Java SCA Embedded Runtime
Affects Versions: Java-SCA-1.2
 Environment: Tuscany 1.2-incubating RC3b, WAS 6.1
Reporter: Nishant Joshi
 Fix For: Java-SCA-1.2


When you need to call with SCADomain under structure like
my_war.ear/my.war/WEB-INF/lib/some_jar_under_war.jar!/my.composite
then your "contributionArtifactURL" will comes like "wsjar:file:/C:/Program 
Files/IBM/WebSphere/AppServer/profiles/bmw/installedApps/bmw/my_war.ear/my.war/WEB-INF/lib/some_jar_under_war.jar!/my.composite"
 so... to resolve this issue somebody needs to apply patch in file 
"DefaultSCADomain.java" and method is "getContributionLocation" the patch is as 
below

 else if ("jar".equals(protocol)) {
// jar contribution
String location = url.substring(4, url.lastIndexOf("!/"));
// workaround for evil url/uri from maven
contributionURL = FileHelper.toFile(new 
URL(location)).toURI().toURL();
} else if ("wsjar".equals(protocol)) {
// wsjar contribution
String location = url.substring(6, url.lastIndexOf("!/"));
// workaround for evil url/uri from maven
contributionURL = FileHelper.toFile(new 
URL(location)).toURI().toURL();

} 




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (TUSCANY-2251) Problem with 1.2 RC4 with simple JavaBean

2008-04-21 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-2251:
---

Attachment: SimpleBeanProblem.zip

Sample for more detail... "SimpleBeanProblem.zip"

> Problem with 1.2 RC4 with simple JavaBean
> -
>
> Key: TUSCANY-2251
> URL: https://issues.apache.org/jira/browse/TUSCANY-2251
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Data Binding Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Eclipse 3.3, Tuscany SCA 1.2 - RC4
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.2
>
> Attachments: SimpleBeanProblem.zip
>
>
> Hi there,
> I have one sample which was perfectly working with 1.0 incubating... when i 
> have tried same with 1.2 RC4 all the data come from client was null for all 
> the values for a simple bean.
> Please note that I m creating Client on Eclipse 3.3... using WebService 
> client generation facility of eclipse...
> I m attaching detail for more detail...
> When tried same with SCA client it was giving me perfect result... 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TUSCANY-2251) Problem with 1.2 RC4 with simple JavaBean

2008-04-21 Thread Nishant Joshi (JIRA)
Problem with 1.2 RC4 with simple JavaBean
-

 Key: TUSCANY-2251
 URL: https://issues.apache.org/jira/browse/TUSCANY-2251
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Data Binding Runtime
Affects Versions: Java-SCA-1.2
 Environment: Eclipse 3.3, Tuscany SCA 1.2 - RC4
Reporter: Nishant Joshi
 Fix For: Java-SCA-1.2
 Attachments: SimpleBeanProblem.zip

Hi there,
I have one sample which was perfectly working with 1.0 incubating... when i 
have tried same with 1.2 RC4 all the data come from client was null for all the 
values for a simple bean.
Please note that I m creating Client on Eclipse 3.3... using WebService client 
generation facility of eclipse...
I m attaching detail for more detail...

When tried same with SCA client it was giving me perfect result... 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (TUSCANY-2251) Problem with 1.2 RC4 with simple JavaBean

2008-04-22 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-2251:
---

Attachment: generatedClientCode.zip

I m using TopDown approch to generate proxy from wsdl
i have WTP version 1.0.101, JST version 1.0.2, WST version 1.0.2, and Axis only 
(not Axis2)

> Problem with 1.2 RC4 with simple JavaBean
> -
>
> Key: TUSCANY-2251
> URL: https://issues.apache.org/jira/browse/TUSCANY-2251
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Data Binding Runtime
>Affects Versions: Java-SCA-1.2
> Environment: Eclipse 3.3, Tuscany SCA 1.2 - RC4
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.2
>
> Attachments: generatedClientCode.zip, SimpleBeanProblem.zip
>
>
> Hi there,
> I have one sample which was perfectly working with 1.0 incubating... when i 
> have tried same with 1.2 RC4 all the data come from client was null for all 
> the values for a simple bean.
> Please note that I m creating Client on Eclipse 3.3... using WebService 
> client generation facility of eclipse...
> I m attaching detail for more detail...
> When tried same with SCA client it was giving me perfect result... 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-08-21 Thread Nishant Joshi (JIRA)
Service method's "throws Exception" clause create problem at time of on fly 
generation of wsdl
--

 Key: TUSCANY-1562
 URL: https://issues.apache.org/jira/browse/TUSCANY-1562
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core Runtime
 Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, Eclipse, 
Tomcat 6, maven
Reporter: Nishant Joshi


Hi, I am creating a simple programme in which when i declared throws clause in 
my method, following error is occured, when i try to deploy my war file in to 
Tomcat. WAR is generated using maven.

I have also tried using custom Exception but result is same.

 Now when i have catch the exception in service method then problem 
is solved and wsdl is generated.(so now there is no throws clause).

So in sort problem is defining throws clause in service method create problem.

Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
environment.


SEVERE: exception initializing SCADomain
org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.core.runtime.ActivationException: 
java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts for 
fault message : {http://example.com}Exception
at 
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
at 
org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
at 
org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
at 
org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:516)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
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:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.osoa.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.core.runtime.ActivationException: 
java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts for 
fault message : {http://example.com}Exception
at 
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:169)
at 
org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
... 27 more
Caused by: org.apache.tuscany.sca.core.runtime.ActivationException: 
java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts for 
fault message : {http://example.com}Exception
at 
org.apache.tuscany.sca.core.runtime.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:747)
at 
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:167)
... 28 more
Caused by: java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no 
parts for fault message : {http://example.com}Exception
at 
org.apache.tuscany.sca.binding.axis2.Axis2ServiceClient.createServiceClient(Axis2ServiceClient.java:89)
at 
org.apache.tuscany.sca.bi

[jira] Created: (TUSCANY-1563) WSDL generated on the fly has some problem

2007-08-21 Thread Nishant Joshi (JIRA)
WSDL generated on the fly has some problem
--

 Key: TUSCANY-1563
 URL: https://issues.apache.org/jira/browse/TUSCANY-1563
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core Runtime
 Environment: Eclipse, tuscany-sca-1.0-incubating-SNAPSHOT (Tuscany 
Nightly Build), Windows XP
Reporter: Nishant Joshi


Hi, I have generated wsdl on the fly using Tuscany Nightly Build.It was 
creating wsdl with some problem.
problem is in generation of tag "http://XX:XX:XX:XX:8080/ExampleComponent/MyService"; />". 
here root folder name of Tomcat/webapps is missing.Here in my example root 
folder name is "Example-0.0.1"
so soap address will be like "http://XX:XX:XX:XX:8080/Example-0.0.1/ExampleComponent/MyService"; />" 
not "http://XX:XX:XX:XX:8080/ExampleComponent/MyService"; />".

So here root folder name is missing in soap address location.

Because it was creating problem when I have tried to create WebService client 
using Eclipse Europa's plugins facility.


Thanks in advance
Nishant Joshi
 

 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-08-23 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-1562:
---

Attachment: localhost.2007-08-24.log

Note: When i am starting my Tomcat(which has the war 
file),localhost.2007-08-24.log is generated.

> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-0.99
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, 
> localhost.2007-08-24.log
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:169)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
>   ... 27 more
> Caused by: org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault me

[jira] Updated: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-08-23 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-1562:
---

Attachment: Example(Using axis2_1.3-RC2).wsdl

Please Note: This WSDL was generated using axis2_1.3-RC2 not with Tuscany.

> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-0.99
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:169)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:230)
>   ... 27 more
> Caused by: org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
> 

[jira] Commented: (TUSCANY-1563) WSDL generated on the fly has some problem

2007-08-29 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523518
 ] 

Nishant Joshi commented on TUSCANY-1563:


Try with latest code but it got error java.lang.IllegalStateException: No 
servlet registered for path:

> WSDL generated on the fly has some problem
> --
>
> Key: TUSCANY-1563
> URL: https://issues.apache.org/jira/browse/TUSCANY-1563
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
> Environment: Eclipse, tuscany-sca-1.0-incubating-SNAPSHOT (Tuscany 
> Nightly Build), Windows XP
>Reporter: Nishant Joshi
> Fix For: Java-SCA-0.99
>
>
> Hi, I have generated wsdl on the fly using Tuscany Nightly Build.It was 
> creating wsdl with some problem.
> problem is in generation of tag " location="http://XX:XX:XX:XX:8080/ExampleComponent/MyService"; />". 
> here root folder name of Tomcat/webapps is missing.Here in my example root 
> folder name is "Example-0.0.1"
> so soap address will be like " location="http://XX:XX:XX:XX:8080/Example-0.0.1/ExampleComponent/MyService"; 
> />" not " location="http://XX:XX:XX:XX:8080/ExampleComponent/MyService"; />".
> So here root folder name is missing in soap address location.
> Because it was creating problem when I have tried to create WebService client 
> using Eclipse Europa's plugins facility.
> Thanks in advance
> Nishant Joshi
>  
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (TUSCANY-1562) Service method's "throws Exception" clause create problem at time of on fly generation of wsdl

2007-08-29 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-1562:
---

Attachment: Example.zip

I am attaching my complete example to help you out.please note that i have 
thrown java.lang.Exception, but if you throw any other user defined exception 
you get same result.Here i have used java.lang.Exception because log file that 
i have already attached is generated with this example.
thanks

> Service method's "throws Exception" clause create problem at time of on fly 
> generation of wsdl
> --
>
> Key: TUSCANY-1562
> URL: https://issues.apache.org/jira/browse/TUSCANY-1562
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99, Java-SCA-Next
> Environment: Windows XP, tuscany-sca-1.0-incubating-SNAPSHOT, 
> Eclipse, Tomcat 6, maven
>Reporter: Nishant Joshi
> Fix For: Java-SCA-1.0
>
> Attachments: Example(Using axis2_1.3-RC2).wsdl, Example.zip, 
> localhost.2007-08-24.log
>
>
> Hi, I am creating a simple programme in which when i declared throws clause 
> in my method, following error is occured, when i try to deploy my war file in 
> to Tomcat. WAR is generated using maven.
> I have also tried using custom Exception but result is same.
>  Now when i have catch the exception in service method then 
> problem is solved and wsdl is generated.(so now there is no throws clause).
> So in sort problem is defining throws clause in service method create problem.
> Note: Following error is in localhost.log file of Tomcat 6.0 at time of 
> starting of Tomcat.I am using Nightly build SNAPSHOT that i have mentioned in 
> environment.
> SEVERE: exception initializing SCADomain
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADomain.java:264)
>   at 
> org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.java:82)
>   at 
> org.apache.tuscany.sca.webapp.SCADomainHelper.initSCADomain(SCADomainHelper.java:63)
>   at 
> org.apache.tuscany.sca.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:37)
>   at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
>   at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
>   at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>   at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>   at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>   at 
> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>   at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>   at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
>   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:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.runtime.ActivationException: 
> java.lang.RuntimeException: org.apache.axis2.AxisFault: There are no parts 
> for fault message : {http://example.com}Exception
>   at 
> org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.(DefaultSCADomain.java:169)
>   at 
> org.apache.tuscany

[jira] Commented: (TUSCANY-1563) WSDL generated on the fly has some problem

2007-09-03 Thread Nishant Joshi (JIRA)

[ 
https://issues.apache.org/jira/browse/TUSCANY-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524491
 ] 

Nishant Joshi commented on TUSCANY-1563:


Thanks Simon, Ant and Tuscany team to solve this problem. 

Here With 0.99,  "services" component in the URL is required, however it was 
creating WSDL correctly.

thanks again

> WSDL generated on the fly has some problem
> --
>
> Key: TUSCANY-1563
> URL: https://issues.apache.org/jira/browse/TUSCANY-1563
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
> Environment: Eclipse, tuscany-sca-1.0-incubating-SNAPSHOT (Tuscany 
> Nightly Build), Windows XP
>Reporter: Nishant Joshi
> Fix For: Java-SCA-0.99
>
>
> Hi, I have generated wsdl on the fly using Tuscany Nightly Build.It was 
> creating wsdl with some problem.
> problem is in generation of tag " location="http://XX:XX:XX:XX:8080/ExampleComponent/MyService"; />". 
> here root folder name of Tomcat/webapps is missing.Here in my example root 
> folder name is "Example-0.0.1"
> so soap address will be like " location="http://XX:XX:XX:XX:8080/Example-0.0.1/ExampleComponent/MyService"; 
> />" not " location="http://XX:XX:XX:XX:8080/ExampleComponent/MyService"; />".
> So here root folder name is missing in soap address location.
> Because it was creating problem when I have tried to create WebService client 
> using Eclipse Europa's plugins facility.
> Thanks in advance
> Nishant Joshi
>  
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Created: (TUSCANY-1664) Get error: faultCode=UNBOUND_PREFIX: Unable to determine namespace of 'ax21:MyException'

2007-09-05 Thread Nishant Joshi (JIRA)
Get error: faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
'ax21:MyException'


 Key: TUSCANY-1664
 URL: https://issues.apache.org/jira/browse/TUSCANY-1664
 Project: Tuscany
  Issue Type: Bug
  Components: Java SCA Core Runtime
Affects Versions: Java-SCA-0.99
 Environment: Windows XP, maven, Tuscany-0.99
Reporter: Nishant Joshi
 Fix For: Java-SCA-0.99


When I am deploying my Service to Tomcat following error log comes to me

org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
org.apache.tuscany.sca.core.assembly.ActivationException: 
java.lang.RuntimeException: javax.wsdl.WSDLException: WSDLException (at 
/wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: Unable 
to determine namespace of 'ax21:MyException'.

I am throwing Exception (my.exception.MyException) from Service method.
detailed Exception log and source code is attached here.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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



[jira] Updated: (TUSCANY-1664) Get error: faultCode=UNBOUND_PREFIX: Unable to determine namespace of 'ax21:MyException'

2007-09-05 Thread Nishant Joshi (JIRA)

 [ 
https://issues.apache.org/jira/browse/TUSCANY-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nishant Joshi updated TUSCANY-1664:
---

Attachment: ExampleService.java
MyException.java
localhost1.log

Please find the attached files for more help

> Get error: faultCode=UNBOUND_PREFIX: Unable to determine namespace of 
> 'ax21:MyException'
> 
>
> Key: TUSCANY-1664
> URL: https://issues.apache.org/jira/browse/TUSCANY-1664
> Project: Tuscany
>  Issue Type: Bug
>  Components: Java SCA Core Runtime
>Affects Versions: Java-SCA-0.99
> Environment: Windows XP, maven, Tuscany-0.99
>Reporter: Nishant Joshi
> Fix For: Java-SCA-0.99
>
> Attachments: ExampleService.java, localhost1.log, MyException.java
>
>
> When I am deploying my Service to Tomcat following error log comes to me
> org.osoa.sca.ServiceRuntimeException: org.osoa.sca.ServiceRuntimeException: 
> org.apache.tuscany.sca.core.assembly.ActivationException: 
> java.lang.RuntimeException: javax.wsdl.WSDLException: WSDLException (at 
> /wsdl:definitions/wsdl:message[3]/wsdl:part): faultCode=UNBOUND_PREFIX: 
> Unable to determine namespace of 'ax21:MyException'.
> I am throwing Exception (my.exception.MyException) from Service method.
> detailed Exception log and source code is attached here.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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