I've never seen a failure quite like this before but yesterday I ran into some weird problems that produced a slightly similar message when trying to start a geronimo instance that I had built with java 6 on java 5.  Is there any chance there is a mix of jvms involved here?

david jencks

On May 29, 2009, at 2:40 AM, Sheshank Dudyala wrote:

Hi, I am new to geronimo, i am tried to build geronimo from sources using maven and
I get a message saying that Gbean deployer has failed
when i try to build just the Gbean deployer project using  command "mvn -U -e install"

i get the following error

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Geronimo Framework, Configs :: GBean Deployer
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://people.apache.org/repo/m2-incubating-repository//woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.pom
Downloading: http://repo1.maven.org/maven2/woodstox/wstx-asl/3.2.1/wstx-asl-3.2..1.pom
[INFO] [enforcer:enforce {execution: default}]
[INFO] [shitty:clean {execution: default}]
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [car:validate-configuration]
[INFO] [car:prepare-plan]
[INFO] Generated: C:\GS\server\framework\configs\geronimo-gbean-deployer\target\resources\META-INF\plan.xml
[INFO] [car:package]
[INFO] Packaging module configuration: C:\GS\server\framework\configs\geronimo-gbean-deployer\target\resources\META-INF\plan.xml
[INFO] Started deployer: org.apache.geronimo.framework/geronimo-gbean-deployer-bootstrap/2.1.4/car
[INFO] [car:prepare-metadata]
[INFO] [car:archive-car]
[INFO] Building jar: C:\GS\server\framework\configs\geronimo-gbean-deployer\target\geronimo-gbean-deployer-2.1.4.car
[INFO] [shitty:install {execution: default}]
[INFO] Installing C:\GS\server\framework\configs\geronimo-gbean-deployer\target\geronimo-gbean-deployer-2.1.4.car to C:\M2REPO\org\apache\geronimo\framework\geronimo-gbean-deployer\2.1.4\geronimo-gbean-deployer-2.1.4.car
[INFO] [shitty:test {execution: default}]
[INFO] Starting 4 test build(s)
[INFO]
[INFO] -------------------------------------------------------------------------------
[INFO]
[INFO] j2ee-system-2        RUNNING
[INFO] j2ee-system-2        FAILURE (0:00:00.109) No such property: loh for class: org.codehaus.mojo.shitty.TestBuild
[INFO] j2ee-system          RUNNING
[INFO] j2ee-system          FAILURE (0:00:00.031) No such property: loh for class: org.codehaus.mojo.shitty.TestBuild
[INFO] metadatageneration-2 RUNNING
[INFO] metadatageneration-2 FAILURE (0:00:00.015) No such property: loh for class: org.codehaus.mojo.shitty.TestBuild
[INFO] metadatageneration   RUNNING
[INFO] metadatageneration   FAILURE (0:00:00.000) No such property: loh for class: org.codehaus.mojo.shitty.TestBuild
[INFO]
[INFO] -------------------------------------------------------------------------------
[INFO] Test Summary (0:00:00.266)
[INFO]     Passed: 0
[INFO]     Failed: 4
[INFO] -------------------------------------------------------------------------------
[INFO]
[INFO] The following tests failed:
[INFO]     * j2ee-system-2 - C:\GS\server\framework\configs\geronimo-gbean-deployer\src\it\j2ee-system-2\build.log
[INFO]     * j2ee-system - C:\GS\server\framework\configs\geronimo-gbean-deployer\src\it\j2ee-system\build.log
[INFO]     * metadatageneration-2 - C:\GS\server\framework\configs\geronimo-gbean-deployer\src\it\metadatageneration-2\build.log
[INFO]     * metadatageneration - C:\GS\server\framework\configs\geronimo-gbean-deployer\src\it\metadatageneration\build.log
[INFO]
[INFO] Error for project: Geronimo Framework, Configs :: GBean Deployer (during install)
[INFO] ------------------------------------------------------------------------
[INFO] 4 of 4 tests failed
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: 4 of 4 tests failed
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
    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.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: org.apache.maven.plugin.MojoExecutionException: 4 of 4 tests failed
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:535)
    at groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2356)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1255)
    at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1185)
    at org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:809)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:230)
    at org.codehaus.groovy.maven.mojo.GroovyMojo.fail(GroovyMojo.groovy:65)
    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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
    at org.codehaus.mojo.shitty.TestMojo.report(TestMojo.groovy:521)
    at org.codehaus.mojo.shitty.TestMojo.this$5$report(TestMojo.groovy)
    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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:112)
    at org.codehaus.mojo.shitty.TestMojo.runAll(TestMojo.groovy:429)
    at org.codehaus.mojo.shitty.TestMojo.this$5$runAll(TestMojo.groovy)
    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.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
    at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
    at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrent0(ScriptBytecodeAdapter.java:112)
    at org.codehaus.mojo.shitty.TestMojo.execute(TestMojo.groovy:251)
    at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
    ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD ERRORS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Mon Jun 29 11:40:53 IST 2009
[INFO] Final Memory: 34M/62M
[INFO] ------------------------------------------------------------------------

can anyone please tell me where am I going wrong..


Thank you..
--
Sheshank Dudyala
4th year, Computer Science and Engineering
IIT Madras , Chennai -600036, India