tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Laws (JIRA)" <...@tuscany.apache.org>
Subject [jira] Assigned: (TUSCANY-2410) samples/calculator-distributed fails
Date Wed, 02 Jul 2008 12:21:45 GMT

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

Simon Laws reassigned TUSCANY-2410:
-----------------------------------

    Assignee: Simon Laws

> samples/calculator-distributed fails
> ------------------------------------
>
>                 Key: TUSCANY-2410
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2410
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Samples
>    Affects Versions: Java-SCA-1.3
>         Environment: WinXP SP2 IBM JDK5
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>            Priority: Blocker
>             Fix For: Java-SCA-1.3
>
>
> runNodeA:
>      [java] 19-Jun-2008 14:17:34 org.apache.tuscany.sca.node.impl.NodeImpl <init
> >
>      [java] INFO: Creating node: http://localhost:9990/node-config/NodeA
>      [java] 19-Jun-2008 14:17:35 org.apache.tuscany.sca.node.impl.NodeImpl confi
> gureNode
>      [java] INFO: Loading contribution: file:/C:/simon/tuscany/release/sca-r1.3-
> rc0/tuscany-sca-1.3-SNAPSHOT/samples/calculator-distributed/./src/main/resources
> /nodeA/
>      [java] 19-Jun-2008 14:17:36 org.apache.tuscany.sca.node.impl.NodeImpl confi
> gureNode
>      [java] INFO: Loading composite: http://localhost:9990/composite-resolved/co
> mposite:nodeA;http://sample;CalculatorA
>      [java] 19-Jun-2008 14:17:36 org.apache.tuscany.sca.node.impl.NodeImpl start
>      [java] INFO: Starting node: http://localhost:9990/node-config/NodeA
>      [java] CalculatorService - add 3.0 and 2.0
>      [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org
> .apache.tuscany.sca.databinding.jaxb.JAXBWrapperException: java.lang.TypeNotPres
> entException: Type javax.xml.bind.annotation.XmlElement not present
>      [java]     at node.LaunchCalculatorNodeA.main(LaunchCalculatorNodeA.java:64
> )
>      [java] Caused by: org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperExcept
> ion: java.lang.TypeNotPresentException: Type javax.xml.bind.annotation.XmlElemen
> t not present
>      [java]     at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler.se
> tChildren(JAXBWrapperHandler.java:82)
>      [java]     at org.apache.tuscany.sca.core.databinding.transformers.Input2In
> putTransformer.transform(Input2InputTransformer.java:181)
>      [java]     at org.apache.tuscany.sca.core.databinding.transformers.Input2In
> putTransformer.transform(Input2InputTransformer.java:45)
>      [java]     at org.apache.tuscany.sca.databinding.impl.MediatorImpl.mediate(
> MediatorImpl.java:81)
>      [java]     at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
> onInterceptor.transform(DataTransformationInterceptor.java:186)
>      [java]     at org.apache.tuscany.sca.core.databinding.wire.DataTransformati
> onInterceptor.invoke(DataTransformationInterceptor.java:76)
>      [java]     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:287)
>      [java]     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:154)
>      [java]     at $Proxy13.add(Unknown Source)
>      [java]     at calculator.CalculatorServiceImpl.add(CalculatorServiceImpl.ja
> va:56)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:64)
>      [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:43)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:615)
>      [java]     at org.apache.tuscany.sca.implementation.java.invocation.JavaImp
> lementationInvoker.invoke(JavaImplementationInvoker.java:132)
>      [java]     at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.inv
> oke(SCABindingInvoker.java:61)
>      [java]     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:287)
>      [java]     at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:154)
>      [java]     at $Proxy9.add(Unknown Source)
>      [java]     at node.LaunchCalculatorNodeA.main(LaunchCalculatorNodeA.java:46
> )
>      [java] Caused by: java.lang.TypeNotPresentException: Type javax.xml.bind.an
> notation.XmlElement not present
>      [java]     at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(Annotation
> Helper.java:38)
>      [java]     at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(A
> nnotationHelper.java:50)
>      [java]     at com.ibm.oti.reflect.Field.getDeclaredAnnotations(Field.java:3
> 2)
>      [java]     at java.lang.reflect.Field.getDeclaredAnnotations(Field.java:102
> 7)
>      [java]     at java.lang.reflect.AccessibleObject.getAnnotations(AccessibleO
> bject.java:191)
>      [java]     at com.ibm.oti.reflect.Field.getAnnotation(Field.java:20)
>      [java]     at java.lang.reflect.Field.getAnnotation(Field.java:1017)
>      [java]     at org.apache.tuscany.sca.databinding.jaxb.XMLRootElementUtil$2.
> run(XMLRootElementUtil.java:282)
>      [java]     at org.apache.tuscany.sca.databinding.jaxb.XMLRootElementUtil$2.
> run(XMLRootElementUtil.java:281)
>      [java]     at java.security.AccessController.doPrivileged(AccessController.
> java:193)
>      [java]     at org.apache.tuscany.sca.databinding.jaxb.XMLRootElementUtil.ge
> tAnnotation(XMLRootElementUtil.java:280)
>      [java]     at org.apache.tuscany.sca.databinding.jaxb.XMLRootElementUtil.ge
> tXmlElementRefOrElementQName(XMLRootElementUtil.java:260)
>      [java]     at org.apache.tuscany.sca.databinding.jaxb.XMLRootElementUtil.cr
> eatePropertyDescriptorMap(XMLRootElementUtil.java:191)
>      [java]     at org.apache.tuscany.sca.databinding.jaxb.JAXBWrapperHandler.se
> tChildren(JAXBWrapperHandler.java:80)
>      [java]     ... 19 more
>      [java] Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotati
> on.XmlElement
>      [java]     at java.lang.Class.forName(Class.java:163)
>      [java]     at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(Annotation
> Helper.java:33)
>      [java]     ... 32 more
>      [java] Java Result: 1

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


Mime
View raw message