geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Woods <drw_...@yahoo.com>
Subject Re: deployment error from HandlerChainAnnotationHelper.addHandlerChain when running jaxws-war test
Date Mon, 12 Mar 2007 19:24:22 GMT
Build on WinXP with a clean m2 repo worked for me.  Thanks.

-Donald

David Jencks wrote:
> 
> On Mar 12, 2007, at 1:05 PM, Donald Woods wrote:
> 
>> OK, it took about a half dozen tries but I got past that build problem.
>> There does seem to be a Schema build problem here, though....
>>
>> There is a released 1.0 level published at -
>> http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/geronimo/schema/geronimo-schema-jee_5/1.0/

>>
>> But the latest code that we need is in 1.0-SNAPSHOT -
>> http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/schema/geronimo-schema-jee_5/1.0-SNAPSHOT/

>>
>>
>>
>> Can someone fix the Schema versioning problem? be reving the versionId 
>> and republishing???
> 
> Fixed I hope, GERONIMO-2957.  Could you check it works?
> 
> thanks
> david jencks
> 
>>
>>
>> -Donald
>>
>>
>> Tim McConnell wrote:
>>> Hi Donald, please ensure you have the latest snapshot for 
>>> geronimo-schema-jee_5. That will resolve your compile error.....
>>> Thanks,
>>> Tim McConnell
>>> Donald Woods wrote:
>>>> I'm also now seeing a build failure with the latest Trunk code 
>>>> related to HandlerChainAnnotationHelper.java -
>>>> [INFO] Compiling 34 source files to 
>>>> E:\g20\server\modules\geronimo-j2ee-builder\target\classes
>>>> [INFO] 
>>>> ------------------------------------------------------------------------

>>>>
>>>> [ERROR] BUILD FAILURE
>>>> [INFO] 
>>>> ------------------------------------------------------------------------

>>>>
>>>> [INFO] Compilation failure
>>>> E:\g20\server\modules\geronimo-j2ee-builder\src\main\java\org\apache\geronimo\j2ee\deployment\annotation\HandlerChainAnnotationHelper.java:[34,41]

>>>> cannot find symbol
>>>> symbol  : class HandlerChainsDocument
>>>> location: package org.apache.geronimo.xbeans.javaee
>>>> E:\g20\server\modules\geronimo-j2ee-builder\src\main\java\org\apache\geronimo\j2ee\deployment\annotation\HandlerChainAnnotationHelper.java:[225,20]

>>>> cannot find symbol
>>>> symbol  : class HandlerChainsDocument
>>>> location: class 
>>>> org.apache.geronimo.j2ee.deployment.annotation.HandlerChainAnnotationHelper

>>>>
>>>> E:\g20\server\modules\geronimo-j2ee-builder\src\main\java\org\apache\geronimo\j2ee\deployment\annotation\HandlerChainAnnotationHelper.java:[225,49]

>>>> cannot find symbol
>>>> symbol  : class HandlerChainsDocument
>>>> location: class 
>>>> org.apache.geronimo.j2ee.deployment.annotation.HandlerChainAnnotationHelper

>>>>
>>>> E:\g20\server\modules\geronimo-j2ee-builder\src\main\java\org\apache\geronimo\j2ee\deployment\annotation\HandlerChainAnnotationHelper.java:[225,100]

>>>> cannot find  symbol
>>>> symbol  : variable HandlerChainsDocument
>>>> location: class 
>>>> org.apache.geronimo.j2ee.deployment.annotation.HandlerChainAnnotationHelper

>>>>
>>>>
>>>>
>>>> -Donald
>>>>
>>>>
>>>> Lin Sun wrote:
>>>>> Hi,
>>>>>
>>>>> I am getting a deployment error at 
>>>>> andlerChainAnnotationHelper.addHandlerChain with the jaxws-war test 
>>>>> case  (located at 
>>>>> testsuite\webservices-testsuite\jaxws-tests\jaxws-war).
>>>>>
>>>>> This is new with the webservice annotation support dropped in very 
>>>>> recently.   I got this error as the method and field are both null 
>>>>> and serviceRefName.equals(""), thus  getInjectionJavaType(method, 
>>>>> field) (line 195) is called.
>>>>>
>>>>> I'd appreciate if someone can provide a workaround for this.  
>>>>> Thanks, Lin
>>>>>
>>>>> 10:46:39,328 DEBUG [HandlerChainAnnotationHelper] addHandlerChain( 
>>>>> <xml-fragment
>>>>>  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
>>>>> http://java.sun.com/xml/
>>>>> ns/javaee/web-app_2_5.xsd" version="2.5" 
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSc
>>>>> hema-instance" xmlns:jav="http://java.sun.com/xml/ns/javaee">
>>>>>   <jav:display-name>Geronimo POJO WS War</jav:display-name>
>>>>>   <jav:servlet>
>>>>>     <jav:display-name>Geronimo POJO WS</jav:display-name>
>>>>>     <jav:servlet-name>POJOServlet</jav:servlet-name>
>>>>>
>>>>> <jav:servlet-class>org.apache.greeter_control.GreeterImpl</jav:servlet-class

>>>>>
>>>>>  >
>>>>>     <jav:load-on-startup>0</jav:load-on-startup>
>>>>>   </jav:servlet>
>>>>>   <jav:servlet-mapping>
>>>>>     <jav:servlet-name>POJOServlet</jav:servlet-name>
>>>>>     <jav:url-pattern>/servlet</jav:url-pattern>
>>>>>   </jav:servlet-mapping>
>>>>>   <jav:env-entry>
>>>>>     <jav:description>Welcome message</jav:description>
>>>>>     <jav:env-entry-name>greeting</jav:env-entry-name>
>>>>>     <jav:env-entry-type>java.lang.String</jav:env-entry-type>
>>>>>     <jav:env-entry-value>Hello</jav:env-entry-value>
>>>>>   </jav:env-entry>
>>>>>   <jav:service-ref>
>>>>>     <jav:service-ref-name>services/Greeter</jav:service-ref-name>
>>>>>     
>>>>> <jav:service-interface>javax.xml.ws.Service</jav:service-interface>
>>>>>     <jav:wsdl-file>WEB-INF/wsdl/greeter_control.wsdl</jav:wsdl-file>
>>>>>   </jav:service-ref>
>>>>> </xml-fragment>,
>>>>> org.apache.greeter_control.GreeterImpl,
>>>>> null,
>>>>> null ): Entry
>>>>>
>>>>> ....
>>>>>
>>>>> Caused by: java.lang.IllegalArgumentException: You must supply 
>>>>> exactly one of Me
>>>>> thod, Field
>>>>>         at 
>>>>> org.apache.geronimo.j2ee.deployment.annotation.AnnotationHelper.getIn
>>>>> jectionJavaType(AnnotationHelper.java:46)
>>>>>         at 
>>>>> org.apache.geronimo.j2ee.deployment.annotation.HandlerChainAnnotation
>>>>> Helper.addHandlerChain(HandlerChainAnnotationHelper.java:195)
>>>>>         at 
>>>>> org.apache.geronimo.j2ee.deployment.annotation.HandlerChainAnnotation
>>>>> Helper.processHandlerChain(HandlerChainAnnotationHelper.java:114)
>>>>>         at 
>>>>> org.apache.geronimo.j2ee.deployment.annotation.HandlerChainAnnotation
>>>>> Helper.processAnnotations(HandlerChainAnnotationHelper.java:91)
>>>>>         at 
>>>>> org.apache.geronimo.naming.deployment.SwitchingServiceRefBuilder.proc
>>>>> essAnnotations(SwitchingServiceRefBuilder.java:197)
>>>>>         at
>>>>>
>>>>>
> 
> 
> 

Mime
View raw message