Hey,

So I'm seeing this behaviour in the samples too....

sample-calculator-ws-webapp:

I moved to composite into META-INF as previously discussed
(http://davesowerby.blogspot.com/2008/02/using-tuscany-with-weblogic.html)
Deployed to my weblogic 9.2 domain
Request http://localhost:7001/sample-calculator-ws-webapp/calc.jsp I
get a HTTP 500
The server side stack is attached, once again it contains:

java.lang.IllegalArgumentException: The uri may not be theempty string.

Does anyone have any ideas?  If I find more time I'll see if I can
investigate further than I have, though I haven't been able to make
much progress....

Cheers,

Dave.

--
Dave Sowerby MEng MBCS

On Tue, Aug 5, 2008 at 10:10 AM, Dave Sowerby <[EMAIL PROTECTED]> wrote:
> Hey Simon,
>
> This is a webapp I've taken directly from websphere 6.1 and deployed
> it to weblogic so I'd have expected it to work.
>
> The last time I tried Tuscany on weblogic was back on 1.2, so I'll
> give some of the example webapps a go in their default state and see
> if I can the same exceptions there.
>
> Cheers,
>
> Dave.
>
> --
> Dave Sowerby MEng MBCS
>
>
>
> On Tue, Aug 5, 2008 at 10:06 AM, Simon Laws <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Mon, Aug 4, 2008 at 5:14 PM, Dave Sowerby <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi All,
>>>
>>> I'm currently trying to use a Tuscany binding.ws webapp service on
>>> weblogic 9.2 - the service itself starts fine and I can access the
>>> appropriate ?wsdl endpoint.
>>>
>>> However, when I attempt to use this service through a Tuscany client I
>>> get an Exception with a root cause of:
>>>
>>> Caused by: org.apache.axis2.AxisFault:
>>> java.lang.IllegalArgumentException: The uri may not be theempty
>>> string.
>>>        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$1.run(Axis2BindingInvoker.java:128)
>>>
>>> Is this something anyone has seen?
>>>
>>> I've attached a service and client example which reproduces this fault
>>> along with the full Exception.
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Cheers,
>>>
>>> Dave.
>>>
>>> --
>>> Dave Sowerby MEng MBCS
>>
>> Hi Dave
>>
>> Unfortunately I don't have a WebLogic server I can test on. Looking at the
>> test case and the stack trace it looks like it didn't even get past
>> sayHello(). Is that right? Does the app runs ok in other containers?
>>
>> Regards
>>
>> Simon
>>
>
<[EMAIL PROTECTED] - appName: 'sample-calculator-ws-webapp', name: 
'sample-calculator-ws-webapp.war', context-path: 
'/sample-calculator-ws-webapp'] Servlet failed with Exception
java.lang.IllegalArgumentException: The uri may not be theempty string.
        at 
weblogic.xml.stax.util.NamespaceContextImpl.getPrefix(NamespaceContextImpl.java:76)
        at 
com.sun.xml.bind.v2.runtime.StAXPostInitAction.run(StAXPostInitAction.java:95)
        at 
com.sun.xml.bind.v2.runtime.MarshallerImpl.prewrite(MarshallerImpl.java:365)
        at 
com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:327)
        at 
com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:175)
        at 
org.apache.tuscany.sca.databinding.jaxb.axiom.JAXBDataSource$1.run(JAXBDataSource.java:81)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.tuscany.sca.databinding.jaxb.axiom.JAXBDataSource.serialize(JAXBDataSource.java:76)
        at 
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerializeAndConsume(OMSourcedElementImpl.java:599)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:785)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:814)
        at 
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:237)
        at 
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:225)
        at 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerializeAndConsume(OMElementImpl.java:814)
        at 
org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:421)
        at 
org.apache.axis2.transport.http.SOAPMessageFormatter.getBytes(SOAPMessageFormatter.java:99)
        at 
org.apache.axis2.transport.http.AxisRequestEntity.getContentLength(AxisRequestEntity.java:109)
        at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.getRequestContentLength(EntityEnclosingMethod.java:332)
        at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.addContentLengthRequestHeader(EntityEnclosingMethod.java:402)
        at 
org.apache.commons.httpclient.methods.EntityEnclosingMethod.addRequestHeaders(EntityEnclosingMethod.java:370)
        at 
org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2036)
        at 
org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1919)
        at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:191)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
        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$1.run(Axis2BindingInvoker.java:128)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invokeTarget(Axis2BindingInvoker.java:126)
        at 
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.invoke(Axis2BindingInvoker.java:94)
        at 
org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:78)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:287)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
        at $Proxy85.add(Unknown Source)
        at calculator.CalculatorServiceImpl.add(CalculatorServiceImpl.java:54)
        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:132)
        at 
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:287)
        at 
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154)
        at $Proxy80.add(Unknown Source)
        at jsp_servlet.__calc._jspService(__calc.java:120)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at 
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.tuscany.sca.host.webapp.TuscanyServletFilter.doFilter(TuscanyServletFilter.java:98)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
        at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
        at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
> 

Reply via email to