geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rahul.soa" <rahul....@googlemail.com>
Subject Re: Build Error
Date Fri, 03 Jul 2009 10:39:27 GMT
Hello Shawn,

Thanks for your immediate reply.

To explain the problem, I am going to be a little verbose here.

*Root of the problem/To recreate the problem:*

1. I updated the
/home/rahul/G/plugins/j2ee/geronimo-naming-builder/src/main/xsd/geronimo-naming-1.2.xsd
with the "UsernameToken" and generated some classes with mvn clean install

1.1.
Added this following elements in  geronimo-naming-1.2.xsd under the portType

---
plugins/j2ee/geronimo-naming-builder/src/main/xsd/geronimo-naming-1.2.xsd
(revision 790466)
+++
plugins/j2ee/geronimo-naming-builder/src/main/xsd/geronimo-naming-1.2.xsd
(working copy)
@@ -986,6 +986,17 @@
                     </xsd:documentation>
                 </xsd:annotation>
             </xsd:element>
+            <xsd:element name="usertoken" type="gernaming:userTokenType"
+                    minOccurs="0" maxOccurs="1">
+                    <xsd:annotation>
+                        <xsd:documentation>
+                           The element usertoken defines the username and
+                password for accessing the secure service.
+                If this element doesn't exist the port information
+                should be available in WSDL.
+                        </xsd:documentation>
+                    </xsd:annotation>
+                </xsd:element>
         </xsd:sequence>
     </xsd:complexType>

1.2.

And this,

+    <xsd:complexType name="userTokenType">
+        <xsd:sequence>
+            <xsd:element name="username" type="xsd:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        The element username provides the name of the
+                        username to authenticate and to access the
+                        secure service.
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+            <xsd:element name="password" type="xsd:string">
+                <xsd:annotation>
+                    <xsd:documentation>
+                        The element password provides the password of
+             the username to authenticate and to access the
+                        secure service.
+                    </xsd:documentation>
+                </xsd:annotation>
+            </xsd:element>
+        </xsd:sequence>
+    </xsd:complexType>
+


2. I wanted to use the generated usertoken classes in the
/home/rahul/G/plugins/jaxws/geronimo-jaxws module, accessing the UserToken
class, passing the UserTokenType object into EndpointInfo and
PortMethodInterceptor
(/home/rahul/G/plugins/jaxws/geronimo-jaxws/src/main/java/org/apache/geronimo/jaxws/client)

so for that purpose, I added the dependency in the pom of geronimo-jaxws
module
like this,

        <dependency>
            <groupId>org.apache.geronimo.modules</groupId>
            <artifactId>geronimo-naming-builder</artifactId>
            <version>${version}</version>
        </dependency>

so when i do mvn clean install on /G/plugins/, I receive the dependency
problem on
/home/rahul/G/plugins/webservices/webservices-common/

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Dependencies have changed:
    Added dependencies are saved here:
/home/rahul/G/plugins/webservices/webservices-common/src/main/history/dependencies.added.xml
    Tree listing is saved here:
/home/rahul/G/plugins/webservices/webservices-common/src/main/history/treeListing.txt
Delete
/home/rahul/G/plugins/webservices/webservices-common/src/main/history/dependencies.xml
if you are happy with the dependency changes.
[INFO]
------------------------------------------------------------------------
[INFO] Trace


I think, EndpointInfo and other classes are the dependency of
weservices-common moduleso when I modify the EndpointInfo class to take
another argument, the UserTokenType class, the classloader which loads
EndpointInfo should also be responsible to load UserTokenType

3. for something very quick, there in the
/home/rahul/G/plugins/webservices/webservices-common/src/main/history/ I
remove the dependencies.xml file. (I think i am making some mistake here, Is
it okay if we remove the dependencies.xml at the time of dependecies error)
as there were a couple of dependecyies which I was not sure about

and when i do mvn clean install on /G/plugins I get that error:


[INFO]
------------------------------------------------------------------------
[INFO] Building Geronimo Plugins, AXIS2 :: EJB Deployer
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting file set:
/home/rahul/G/plugins/axis2/axis2-ejb-deployer/target (included: [**],
excluded: [])
[INFO] [genesis:validate-configuration {execution: default}]
[INFO] [enforcer:enforce {execution: default}]
[INFO] [remote-resources:process {execution: default}]
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $
license.name is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $
license.name is not a valid reference.
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/rahul/G/plugins/axis2/axis2-ejb-deployer/src/main/resources
[INFO] skip non existing resourceDirectory
/home/rahul/G/plugins/axis2/axis2-ejb-deployer/src/main/filtered-resources
[INFO] Copying 3 resources
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated:
/home/rahul/G/plugins/axis2/axis2-ejb-deployer/target/work/plan.xml
[INFO] [car:verify-no-dependency-change]
[INFO] [car:package]
[INFO] Packaging module configuration:
/home/rahul/G/plugins/axis2/axis2-ejb-deployer/target/work/plan.xml
[INFO] Started deployer:
org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
[ERROR] Deployment failed due to
java.lang.VerifyError: (class:
org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension, method:
addGBeans signature:
(Lorg/apache/geronimo/j2ee/deployment/EARContext;Lorg/apache/geronimo/j2ee/deployment/Module;Ljava/lang/ClassLoader;Ljava/util/Collection;)V)
Incompatible argument to function
    java.lang.Class.getDeclaredMethods0(Native Method)
    java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    java.lang.Class.getDeclaredMethod(Class.java:1935)

org.apache.geronimo.gbean.BasicGBeanInfoFactory.getGBeanInfo(BasicGBeanInfoFactory.java:47)

org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:60)

org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:112)

org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:107)

org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:46)

org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:240)

org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:199)
    org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
    sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)

org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)

org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)

org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)

org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)

org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:483)

org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:309)

org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:209)

org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)

org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
    org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
    org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[FATAL ERROR] org.apache.geronimo.mavenplugins.car.PackageMojo#execute()
caused a linkage error (java.lang.VerifyError) and may be out-of-date. Check
the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.apache.geronimo.buildsupport:car-maven-plugin:2.2-SNAPSHOT]
urls[0] =
file:/home/rahul/.m2/repository/org/apache/geronimo/buildsupport/car-maven-plugin/2.2-SNAPSHOT/car-maven-plugin-2.2-SNAPSHOT.jar
urls[1] =
file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-jaxb_2.1_spec/1.0-SNAPSHOT/geronimo-jaxb_2.1_spec-1.0-SNAPSHOT.jar
urls[2] =
file:/home/rahul/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.7/jaxb-impl-2.1.7.jar
urls[3] =
file:/home/rahul/.m2/repository/com/envoisolutions/sxc/sxc-jaxb/0.7.2/sxc-jaxb-0.7.2.jar
urls[4] =
file:/home/rahul/.m2/repository/com/envoisolutions/sxc/sxc-runtime/0.7.2/sxc-runtime-0.7.2.jar
urls[5] =
file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar
urls[6] =
file:/home/rahul/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar
urls[7] =
file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
urls[8] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-common/2.2-SNAPSHOT/geronimo-common-2.2-SNAPSHOT.jar
urls[9] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-kernel/2.2-SNAPSHOT/geronimo-kernel-2.2-SNAPSHOT.jar
urls[10] = file:/home/rahul/.m2/repository/asm/asm/3.1/asm-3.1.jar
urls[11] =
file:/home/rahul/.m2/repository/asm/asm-commons/3.1/asm-commons-3.1.jar
urls[12] =
file:/home/rahul/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar
urls[13] =
file:/home/rahul/.m2/repository/org/apache/xbean/xbean-reflect/3.6-SNAPSHOT/xbean-reflect-3.6-SNAPSHOT.jar
urls[14] =
file:/home/rahul/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar
urls[15] =
file:/home/rahul/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
urls[16] =
file:/home/rahul/.m2/repository/org/slf4j/slf4j-api/1.5.5/slf4j-api-1.5.5.jar
urls[17] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-system/2.2-SNAPSHOT/geronimo-system-2.2-SNAPSHOT.jar
urls[18] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-cli/2.2-SNAPSHOT/geronimo-cli-2.2-SNAPSHOT.jar
urls[19] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-crypto/2.2-SNAPSHOT/geronimo-crypto-2.2-SNAPSHOT.jar
urls[20] =
file:/home/rahul/.m2/repository/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
urls[21] =
file:/home/rahul/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar
urls[22] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-plugin/2.2-SNAPSHOT/geronimo-plugin-2.2-SNAPSHOT.jar
urls[23] =
file:/home/rahul/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
urls[24] =
file:/home/rahul/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
urls[25] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-service-builder/2.2-SNAPSHOT/geronimo-service-builder-2.2-SNAPSHOT.jar
urls[26] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-deployment/2.2-SNAPSHOT/geronimo-deployment-2.2-SNAPSHOT.jar
urls[27] =
file:/home/rahul/.m2/repository/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
urls[28] =
file:/home/rahul/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
urls[29] =
file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-javaee-deployment_1.1MR3_spec/1.0/geronimo-javaee-deployment_1.1MR3_spec-1.0.jar
urls[30] =
file:/home/rahul/.m2/repository/org/apache/geronimo/framework/geronimo-deploy-tool/2.2-SNAPSHOT/geronimo-deploy-tool-2.2-SNAPSHOT.jar
urls[31] =
file:/home/rahul/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
urls[32] =
file:/home/rahul/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
urls[33] =
file:/home/rahul/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.jar
urls[34] =
file:/home/rahul/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar
urls[35] =
file:/home/rahul/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.jar
urls[36] =
file:/home/rahul/.m2/repository/org/codehaus/groovy/maven/support/slf4j-gossip/1.0-rc-2/slf4j-gossip-1.0-rc-2.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/home/rahul/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] (class:
org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension, method:
addGBeans signature:
(Lorg/apache/geronimo/j2ee/deployment/EARContext;Lorg/apache/geronimo/j2ee/deployment/Module;Ljava/lang/ClassLoader;Ljava/util/Collection;)V)
Incompatible argument to function
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.VerifyError: (class:
org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension, method:
addGBeans signature:
(Lorg/apache/geronimo/j2ee/deployment/EARContext;Lorg/apache/geronimo/j2ee/deployment/Module;Ljava/lang/ClassLoader;Ljava/util/Collection;)V)
Incompatible argument to function
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.getDeclaredMethod(Class.java:1935)
    at
org.apache.geronimo.gbean.BasicGBeanInfoFactory.getGBeanInfo(BasicGBeanInfoFactory.java:47)
    at
org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:60)
    at
org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:112)
    at
org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:107)
    at
org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:46)
    at
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:240)
    at
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:199)
    at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257)
    at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
    at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
    at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
    at
org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:483)
    at
org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:309)
    at
org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:209)
    at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
    at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
    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:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 minutes 26 seconds
[INFO] Finished at: Fri Jul 03 14:30:08 CEST 2009
[INFO] Final Memory: 280M/540M
[INFO]
------------------------------------------------------------------------
[rahul@localhost plugins]$


Above are the steps to reproduce this error. Please point me to my mistakes.
For more information about dependencies, I have attached the dependencies
files created in the step2 under
/home/rahul/G/plugins/webservices/webservices-common/src/main/history.

Many Thanks,

Best Regards,
Rahul




On Thu, Jul 2, 2009 at 9:11 AM, Shawn Jiang <genspring@gmail.com> wrote:

> I can't recreate your problem locally.  Anyway, things you could give it a
> try:
>
> 1, Change setting.xml to use a  clean local repo.
>
> 2, Switch to JDK 1.5.
>
>
>
>
> On Thu, Jul 2, 2009 at 2:55 PM, rahul.soa <rahul.soa@googlemail.com>wrote:
>
>> Thanks for your reply Shawn.
>>
>> I am using version 6. I have not changed my JDK recently.
>>
>> [rahul@localhost modules]$ java -version
>> java version "1.6.0_12"
>> Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
>> Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode)
>>
>>
>> I also tried the mvn clean build after removing the
>> /.m2/repository/org/apache/geronimo/modules/geronimo-jaxws-ejb-builder. but
>> received the similar error.
>>
>> Thanks again.
>>
>> Best Regards,
>> Rahul
>>
>>
>> Full traces are below:
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Geronimo Plugins, AXIS2 :: EJB Deployer
>> [INFO]    task-segment: [install]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] [genesis:validate-configuration {execution: default}]
>> [INFO] [enforcer:enforce {execution: default}]
>> [INFO] [remote-resources:process {execution: default}]
>> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
>> reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $
>> license.name is not a valid reference.
>> [WARNING] org.apache.velocity.runtime.exception.ReferenceException:
>> reference : template = META-INF/DEPENDENCIES.vm [line 40,column 14] : $
>> license.name is not a valid reference.
>> [INFO] [resources:resources]
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>> /home/rahul/GeronimoServer/plugins/axis2/axis2-ejb-deployer/src/main/resources
>> [INFO] skip non existing resourceDirectory
>> /home/rahul/GeronimoServer/plugins/axis2/axis2-ejb-deployer/src/main/filtered-resources
>> [INFO] Copying 3 resources
>> [INFO] [car:validate-configuration]
>> [INFO] [car:prepare-plan]
>> [INFO] Generated:
>> /home/rahul/GeronimoServer/plugins/axis2/axis2-ejb-deployer/target/resources/META-INF/plan.xml
>> [INFO] [car:verify-no-dependency-change]
>> [INFO] [car:package]
>> [INFO] Packaging module configuration:
>> /home/rahul/GeronimoServer/plugins/axis2/axis2-ejb-deployer/target/resources/META-INF/plan.xml
>> [INFO] Started deployer:
>> org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
>> [ERROR] Deployment failed due to
>> java.lang.VerifyError: (class:
>> org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension, method:
>> addGBeans signature:
>> (Lorg/apache/geronimo/j2ee/deployment/EARContext;Lorg/apache/geronimo/j2ee/deployment/Module;Ljava/lang/ClassLoader;Ljava/util/Collection;)V)
>> Incompatible argument to function
>>     java.lang.Class.getDeclaredMethods0(Native Method)
>>     java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>     java.lang.Class.getDeclaredMethod(Class.java:1935)
>>
>> org.apache.geronimo.gbean.BasicGBeanInfoFactory.getGBeanInfo(BasicGBeanInfoFactory.java:47)
>>
>> org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:60)
>>
>> org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:112)
>>
>> org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:107)
>>
>> org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:46)
>>
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:240)
>>
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:199)
>>     org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256)
>>     sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
>>
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     java.lang.reflect.Method.invoke(Method.java:597)
>>
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>>
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>>
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
>>
>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
>>
>> org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:483)
>>
>> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:309)
>>
>> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:209)
>>
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>>     org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>>     org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     java.lang.reflect.Method.invoke(Method.java:597)
>>     org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>     org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>     org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>     org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> [FATAL ERROR] org.apache.geronimo.mavenplugins.car.PackageMojo#execute()
>> caused a linkage error (java.lang.VerifyError) and may be out-of-date. Check
>> the realms:
>> [FATAL ERROR] Plugin realm =
>> app0.child-container[org.apache.geronimo.buildsupport:car-maven-plugin:2.2-SNAPSHOT]
>> urls[0] =
>> file:/home/rahul/GeronimoServer/framework/buildsupport/car-maven-plugin/target/car-maven-plugin-2.2-SNAPSHOT.jar
>> urls[1] =
>> file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-jaxb_2.1_spec/1.0-SNAPSHOT/geronimo-jaxb_2.1_spec-1.0-SNAPSHOT.jar
>> urls[2] =
>> file:/home/rahul/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.7/jaxb-impl-2.1.7.jar
>> urls[3] =
>> file:/home/rahul/.m2/repository/com/envoisolutions/sxc/sxc-jaxb/0.7.2/sxc-jaxb-0.7.2.jar
>> urls[4] =
>> file:/home/rahul/.m2/repository/com/envoisolutions/sxc/sxc-runtime/0.7.2/sxc-runtime-0.7.2.jar
>> urls[5] =
>> file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar
>> urls[6] =
>> file:/home/rahul/.m2/repository/org/codehaus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar
>> urls[7] =
>> file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
>>  urls[8] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-common/target/geronimo-common-2.2-SNAPSHOT.jar
>> urls[9] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-kernel/target/geronimo-kernel-2.2-SNAPSHOT.jar
>> urls[10] = file:/home/rahul/.m2/repository/asm/asm/3.1/asm-3.1.jar
>> urls[11] =
>> file:/home/rahul/.m2/repository/asm/asm-commons/3.1/asm-commons-3.1.jar
>> urls[12] =
>> file:/home/rahul/.m2/repository/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar
>> urls[13] =
>> file:/home/rahul/.m2/repository/org/apache/xbean/xbean-reflect/3.6-SNAPSHOT/xbean-reflect-3.6-SNAPSHOT.jar
>> urls[14] =
>> file:/home/rahul/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar
>> urls[15] =
>> file:/home/rahul/.m2/repository/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
>> urls[16] =
>> file:/home/rahul/.m2/repository/org/slf4j/slf4j-api/1.5.5/slf4j-api-1.5.5.jar
>> urls[17] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-system/target/geronimo-system-2.2-SNAPSHOT.jar
>> urls[18] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-cli/target/geronimo-cli-2.2-SNAPSHOT.jar
>> urls[19] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-crypto/target/geronimo-crypto-2.2-SNAPSHOT.jar
>> urls[20] =
>> file:/home/rahul/.m2/repository/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
>> urls[21] =
>> file:/home/rahul/.m2/repository/log4j/log4j/1.2.15/log4j-1.2.15.jar
>> urls[22] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-plugin/target/geronimo-plugin-2.2-SNAPSHOT.jar
>> urls[23] =
>> file:/home/rahul/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
>> urls[24] =
>> file:/home/rahul/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar
>> urls[25] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-service-builder/target/geronimo-service-builder-2.2-SNAPSHOT.jar
>> urls[26] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-deployment/target/geronimo-deployment-2.2-SNAPSHOT.jar
>> urls[27] =
>> file:/home/rahul/.m2/repository/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
>> urls[28] =
>> file:/home/rahul/.m2/repository/xml-resolver/xml-resolver/1.2/xml-resolver-1.2.jar
>> urls[29] =
>> file:/home/rahul/.m2/repository/org/apache/geronimo/specs/geronimo-javaee-deployment_1.1MR3_spec/1.0/geronimo-javaee-deployment_1.1MR3_spec-1.0.jar
>>  urls[30] =
>> file:/home/rahul/GeronimoServer/framework/modules/geronimo-deploy-tool/target/geronimo-deploy-tool-2.2-SNAPSHOT.jar
>>
>> urls[31] =
>> file:/home/rahul/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
>> urls[32] =
>> file:/home/rahul/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
>> urls[33] =
>> file:/home/rahul/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.jar
>> urls[34] =
>> file:/home/rahul/.m2/repository/org/apache/maven/shared/maven-filtering/1.0-beta-2/maven-filtering-1.0-beta-2.jar
>> urls[35] =
>> file:/home/rahul/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.jar
>> urls[36] =
>> file:/home/rahul/.m2/repository/org/codehaus/groovy/maven/support/slf4j-gossip/1.0-rc-2/slf4j-gossip-1.0-rc-2.jar
>> [FATAL ERROR] Container realm = plexus.core
>> urls[0] = file:/home/rahul/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] (class:
>> org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension, method:
>> addGBeans signature:
>> (Lorg/apache/geronimo/j2ee/deployment/EARContext;Lorg/apache/geronimo/j2ee/deployment/Module;Ljava/lang/ClassLoader;Ljava/util/Collection;)V)
>> Incompatible argument to function
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.VerifyError: (class:
>> org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension, method:
>> addGBeans signature:
>> (Lorg/apache/geronimo/j2ee/deployment/EARContext;Lorg/apache/geronimo/j2ee/deployment/Module;Ljava/lang/ClassLoader;Ljava/util/Collection;)V)
>> Incompatible argument to function
>>     at java.lang.Class.getDeclaredMethods0(Native Method)
>>     at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
>>     at java.lang.Class.getDeclaredMethod(Class.java:1935)
>>     at
>> org.apache.geronimo.gbean.BasicGBeanInfoFactory.getGBeanInfo(BasicGBeanInfoFactory.java:47)
>>     at
>> org.apache.geronimo.gbean.MultiGBeanInfoFactory.getGBeanInfo(MultiGBeanInfoFactory.java:60)
>>     at
>> org.apache.geronimo.deployment.service.GBeanBuilder.addGBeanData(GBeanBuilder.java:112)
>>     at
>> org.apache.geronimo.deployment.service.GBeanBuilder.build(GBeanBuilder.java:107)
>>     at
>> org.apache.geronimo.deployment.NamespaceDrivenBuilderCollection.build(NamespaceDrivenBuilderCollection.java:46)
>>     at
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:240)
>>     at
>> org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:199)
>>     at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256)
>>     at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
>>
>>     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>     at java.lang.reflect.Method.invoke(Method.java:597)
>>     at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>>     at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
>>     at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
>>     at
>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
>>     at
>> org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:483)
>>     at
>> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:309)
>>     at
>> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:209)
>>     at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>>     at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>>     at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>>     at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>>     at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>>     at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>>     at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>>     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:597)
>>     at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>     at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 13 minutes
>> [INFO] Finished at: Thu Jul 02 10:34:05 CEST 2009
>> [INFO] Final Memory: 341M/619M
>> [INFO]
>> ------------------------------------------------------------------------
>> [rahul@localhost GeronimoServer]$
>>
>>
>>
>>
>>
>> On Thu, Jul 2, 2009 at 3:45 AM, Shawn Jiang <genspring@gmail.com> wrote:
>>
>>> What's JDK version are you using ?  Did you change your JDK recently ?
>>>
>>> Seems like a imcompatiblity classes problem in
>>> geronimo-jaxws-ejb-builder. You can delete your
>>> localrepo/org/apache/modules/geronimo-jaxws-ejb-builder and try the build
>>> again.
>>>
>>> On Thu, Jul 2, 2009 at 7:30 AM, rahul.soa <rahul.soa@googlemail.com>wrote:
>>>
>>>> JAXWSEJBModuleBuilderExtension
>>>
>>>
>>>
>>>
>>> --
>>> Shawn
>>>
>>
>>
>
>
> --
> Shawn
>

Mime
View raw message