Hi,
i want to use the maven plugin "appc" to compile my .ear files in our project. I use Bea Weblogic 10.0 as Webserver and Apache Maven in the version 2.1.0 as configuration tool. Java is used in version 1.5.0_20.
The pom.xml where the plugin is mapped looks like:
.
.
.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<exploded>false</exploded>
<forceGeneration>false</forceGeneration>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>appc</goal>
</goals>
</execution>
</executions>
</plugin>
.
.
.
The Problem is now, each time i try to compile my .ear file the following exception is thrown.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[WARNING] POM for 'com.projects.cdp.libraries:contentintegration_ejbom:0.1.2-SNAPSHOT:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [ear:generate-application-xml]
[INFO] Generating application.xml
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [ear:ear]
[INFO] Copy ear sources to /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT
[INFO] Copy ear resources to /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT
[INFO] Could not find manifest file: /home/tboss/workspace/CDP/libraries/contentintegration_ear/src/main/application/META-INF/MANIFEST.MF - Generating one
[INFO] Building jar: /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT.ear
[INFO] [weblogic:appc {execution: default}]
[INFO] Setting weblogic.home = /opt/bea/wlserver_10.0
[INFO] Weblogic APPC processing beginning for artifact /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT.ear
[INFO] Detailed Appc settings information AppcMojo[
basicClientJar = false
forceGeneration = false
keepGenerated = true
lineNumbers = false
inputArtifactPath = /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT.ear
outputArtifactPath = null
artifacts = [com.projects.cdp.libraries:contentintegration_ejb:ejb:0.1.2-SNAPSHOT:compile, com.bmw.plattforms.b2v:b2vlogging:jar:1.5:compile, com.frameworks.ehl:ehl:jar:2:compile, com.thirdparty.javaee:javaee-api:jar:5.0rovided, javax.servlet:servlet-api:jar:2.4rovided, weblogic:wls-api:jar:${weblogic.version}:system, weblogic:weblogic:jar:${weblogic.version}:system]
project Packaging = ear
verbose = true]
[INFO] Using Classpath /home/tboss/mavendata/com/projects/cdp/libraries/contentintegration_ejb/0.1.2-SNAPSHOT/contentintegration_ejb-0.1.2-SNAPSHOT.jar:/home/tboss/mavendata/com/plattforms/b2v/b2vlogging/1.5/b2vlogging-1.5.jar:/home/tboss/mavendata/com/frameworks/ehl/ehl/2/ehl-2.jar:/home/tboss/mavendata/com/thirdparty/javaee/javaee-api/5.0/javaee-api-5.0.jar:/home/tboss/mavendata/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/opt/bea/wlserver_10.0/server/lib/wls-api.jar:/opt/bea/wlserver_10.0/server/lib/weblogic.jar:/opt/jdk/jre/../lib/tools.jar:/opt/bea/wlserver_10.0/server/lib/api.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.utils.full_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.i18n_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.rmi.client_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.security.wls_2.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.security_2.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.workmanager_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.transaction_2.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.logging_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.descriptor_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.management.core_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.utils.classloaders_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/weblogic.jar:/opt/bea/wlserver_10.0/server/lib/webservices.jar:/opt/bea/wlserver_10.0/server/lib/wljmsclient.jar:/opt/bea/wlserver_10.0/server/lib/wls-api.jar:/opt/bea/wlserver_10.0/server/lib/wlsafclient.jar:/opt/bea/wlserver_10.0/server/lib/wlclient.jar:/home/tboss/mavendata/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/home/tboss/mavendata/ant/ant/1.6.5/ant-1.6.5.jar:/opt/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar:/opt/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar
Created working directory: /tmp/appcgen_1253892637796_contentintegration_ear-0.1.2-SNAPSHOT.ear
<25.09.2009 16.30 Uhr GMT+01:00> <Info> <J2EE> <BEA-160186> <Compiling EAR module 'contentintegration_ejb-0.1.2-SNAPSHOT.jar'>
java.lang.NoSuchMethodError: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ejb.container.ejbc.VersionHelperImpl.addHashForDD(VersionHelperImpl.java:284)
at weblogic.ejb.container.ejbc.VersionHelperImpl.makeFileHash(VersionHelperImpl.java:272)
at weblogic.ejb.container.ejbc.VersionHelperImpl.<init>(VersionHelperImpl.java:78)
at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:187)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:511)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:471)
at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:58)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:46)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:177)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:188)
at weblogic.appc.main(appc.java:14)
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:592)
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:165)
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:592)
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)
[ERROR] Exception encountered during APPC processing
weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:299)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:165)
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:592)
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)
Caused by: weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:177)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:188)
at weblogic.appc.main(appc.java:14)
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:592)
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
... 21 more
Caused by: java.lang.NoSuchMethodError: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ejb.container.ejbc.VersionHelperImpl.addHashForDD(VersionHelperImpl.java:284)
at weblogic.ejb.container.ejbc.VersionHelperImpl.makeFileHash(VersionHelperImpl.java:272)
at weblogic.ejb.container.ejbc.VersionHelperImpl.<init>(VersionHelperImpl.java:78)
at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:187)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:511)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:471)
at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:58)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:46)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
... 32 more
--- Nested Exception ---
weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:177)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:188)
at weblogic.appc.main(appc.java:14)
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:592)
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:165)
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:592)
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)
Caused by: java.lang.NoSuchMethodError: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ejb.container.ejbc.VersionHelperImpl.addHashForDD(VersionHelperImpl.java:284)
at weblogic.ejb.container.ejbc.VersionHelperImpl.makeFileHash(VersionHelperImpl.java:272)
at weblogic.ejb.container.ejbc.VersionHelperImpl.<init>(VersionHelperImpl.java:78)
at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:187)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:511)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:471)
at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:58)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:46)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
... 32 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Exception encountered during APPC processing
Embedded error: weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Fri Sep 25 16:30:48 GMT+01:00 2009
[INFO] Final Memory: 23M/41M
[INFO] ------------------------------------------------------------------------
tboss@Carey:~/workspace/CDP/libraries/contentintegration_ear$
Has anyone an idea where the problem could be?
I haven't found anything around the net...
Thanking you in anticipation!
i want to use the maven plugin "appc" to compile my .ear files in our project. I use Bea Weblogic 10.0 as Webserver and Apache Maven in the version 2.1.0 as configuration tool. Java is used in version 1.5.0_20.
The pom.xml where the plugin is mapped looks like:
.
.
.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>weblogic-maven-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<exploded>false</exploded>
<forceGeneration>false</forceGeneration>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>appc</goal>
</goals>
</execution>
</executions>
</plugin>
.
.
.
The Problem is now, each time i try to compile my .ear file the following exception is thrown.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
[WARNING] POM for 'com.projects.cdp.libraries:contentintegration_ejbom:0.1.2-SNAPSHOT:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [ear:generate-application-xml]
[INFO] Generating application.xml
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [ear:ear]
[INFO] Copy ear sources to /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT
[INFO] Copy ear resources to /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT
[INFO] Could not find manifest file: /home/tboss/workspace/CDP/libraries/contentintegration_ear/src/main/application/META-INF/MANIFEST.MF - Generating one
[INFO] Building jar: /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT.ear
[INFO] [weblogic:appc {execution: default}]
[INFO] Setting weblogic.home = /opt/bea/wlserver_10.0
[INFO] Weblogic APPC processing beginning for artifact /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT.ear
[INFO] Detailed Appc settings information AppcMojo[
basicClientJar = false
forceGeneration = false
keepGenerated = true
lineNumbers = false
inputArtifactPath = /home/tboss/workspace/CDP/libraries/contentintegration_ear/target/contentintegration_ear-0.1.2-SNAPSHOT.ear
outputArtifactPath = null
artifacts = [com.projects.cdp.libraries:contentintegration_ejb:ejb:0.1.2-SNAPSHOT:compile, com.bmw.plattforms.b2v:b2vlogging:jar:1.5:compile, com.frameworks.ehl:ehl:jar:2:compile, com.thirdparty.javaee:javaee-api:jar:5.0rovided, javax.servlet:servlet-api:jar:2.4rovided, weblogic:wls-api:jar:${weblogic.version}:system, weblogic:weblogic:jar:${weblogic.version}:system]
project Packaging = ear
verbose = true]
[INFO] Using Classpath /home/tboss/mavendata/com/projects/cdp/libraries/contentintegration_ejb/0.1.2-SNAPSHOT/contentintegration_ejb-0.1.2-SNAPSHOT.jar:/home/tboss/mavendata/com/plattforms/b2v/b2vlogging/1.5/b2vlogging-1.5.jar:/home/tboss/mavendata/com/frameworks/ehl/ehl/2/ehl-2.jar:/home/tboss/mavendata/com/thirdparty/javaee/javaee-api/5.0/javaee-api-5.0.jar:/home/tboss/mavendata/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar:/opt/bea/wlserver_10.0/server/lib/wls-api.jar:/opt/bea/wlserver_10.0/server/lib/weblogic.jar:/opt/jdk/jre/../lib/tools.jar:/opt/bea/wlserver_10.0/server/lib/api.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.utils.full_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.i18n_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.rmi.client_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.security.wls_2.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.security_2.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.weblogic.workmanager_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.transaction_2.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.logging_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.descriptor_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.management.core_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/wseeclient/com.bea.core.utils.classloaders_1.0.1.0.jar:/opt/bea/wlserver_10.0/server/lib/weblogic.jar:/opt/bea/wlserver_10.0/server/lib/webservices.jar:/opt/bea/wlserver_10.0/server/lib/wljmsclient.jar:/opt/bea/wlserver_10.0/server/lib/wls-api.jar:/opt/bea/wlserver_10.0/server/lib/wlsafclient.jar:/opt/bea/wlserver_10.0/server/lib/wlclient.jar:/home/tboss/mavendata/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/home/tboss/mavendata/ant/ant/1.6.5/ant-1.6.5.jar:/opt/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar:/opt/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar
Created working directory: /tmp/appcgen_1253892637796_contentintegration_ear-0.1.2-SNAPSHOT.ear
<25.09.2009 16.30 Uhr GMT+01:00> <Info> <J2EE> <BEA-160186> <Compiling EAR module 'contentintegration_ejb-0.1.2-SNAPSHOT.jar'>
java.lang.NoSuchMethodError: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ejb.container.ejbc.VersionHelperImpl.addHashForDD(VersionHelperImpl.java:284)
at weblogic.ejb.container.ejbc.VersionHelperImpl.makeFileHash(VersionHelperImpl.java:272)
at weblogic.ejb.container.ejbc.VersionHelperImpl.<init>(VersionHelperImpl.java:78)
at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:187)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:511)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:471)
at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:58)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:46)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:177)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:188)
at weblogic.appc.main(appc.java:14)
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:592)
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:165)
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:592)
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)
[ERROR] Exception encountered during APPC processing
weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:299)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:165)
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:592)
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)
Caused by: weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:177)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:188)
at weblogic.appc.main(appc.java:14)
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:592)
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
... 21 more
Caused by: java.lang.NoSuchMethodError: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ejb.container.ejbc.VersionHelperImpl.addHashForDD(VersionHelperImpl.java:284)
at weblogic.ejb.container.ejbc.VersionHelperImpl.makeFileHash(VersionHelperImpl.java:272)
at weblogic.ejb.container.ejbc.VersionHelperImpl.<init>(VersionHelperImpl.java:78)
at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:187)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:511)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:471)
at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:58)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:46)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
... 32 more
--- Nested Exception ---
weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:177)
at weblogic.utils.compiler.Tool.run(Tool.java:158)
at weblogic.utils.compiler.Tool.run(Tool.java:115)
at weblogic.application.compiler.Appc.main(Appc.java:188)
at weblogic.appc.main(appc.java:14)
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:592)
at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:290)
at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:250)
at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:159)
at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:165)
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:592)
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)
Caused by: java.lang.NoSuchMethodError: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
at weblogic.ejb.container.ejbc.VersionHelperImpl.addHashForDD(VersionHelperImpl.java:284)
at weblogic.ejb.container.ejbc.VersionHelperImpl.makeFileHash(VersionHelperImpl.java:272)
at weblogic.ejb.container.ejbc.VersionHelperImpl.<init>(VersionHelperImpl.java:78)
at weblogic.ejb.container.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:187)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:511)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:471)
at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:103)
at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:58)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:46)
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
... 32 more
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Exception encountered during APPC processing
Embedded error: weblogic.utils.compiler.ToolFailureException: weblogic.descriptor.internal.AbstractDescriptorBean.getHashValue()Ljava/lang/String;
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Fri Sep 25 16:30:48 GMT+01:00 2009
[INFO] Final Memory: 23M/41M
[INFO] ------------------------------------------------------------------------
tboss@Carey:~/workspace/CDP/libraries/contentintegration_ear$
Has anyone an idea where the problem could be?
I haven't found anything around the net...
Thanking you in anticipation!