You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Craig Johannsen <cj...@shaw.ca> on 2004/09/30 18:19:25 UTC
2 Connector tests failed
It would appear to be the same problem in both test cases (revision 47593).
RAR_1_0ConfigBuilderTest
Testcase:
testBuildUnpackedModule(org.apache.geronimo.connector.deployment.RAR_1_0ConfigBuilderTest):
Caused an ERROR
org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/deployment/EJBReferenceBuilder;)V
java.lang.NoSuchMethodError:
org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/deployment/EJBReferenceBuilder;)V
at
org.apache.geronimo.connector.deployment.RAR_1_0ConfigBuilderTest.executeTestBuildModule(RAR_1_0ConfigBuilderTest.java:191)
at
org.apache.geronimo.connector.deployment.RAR_1_0ConfigBuilderTest.testBuildUnpackedModule(RAR_1_0ConfigBuilderTest.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
RAR_1_5ConfigBuilderTest
Testcase:
testBuildUnpackedModule(org.apache.geronimo.connector.deployment.RAR_1_5ConfigBuilderTest):
Caused an ERROR
org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/deployment/EJBReferenceBuilder;)V
java.lang.NoSuchMethodError:
org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/deployment/EJBReferenceBuilder;)V
at
org.apache.geronimo.connector.deployment.RAR_1_5ConfigBuilderTest.executeTestBuildModule(RAR_1_5ConfigBuilderTest.java:134)
at
org.apache.geronimo.connector.deployment.RAR_1_5ConfigBuilderTest.testBuildUnpackedModule(RAR_1_5ConfigBuilderTest.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Re: 2 Connector tests failed
Posted by Dain Sundstrom <ds...@gluecode.com>.
On Sep 30, 2004, at 10:38 AM, Craig Johannsen wrote:
> "maven rebuild" got me past the Connector module test failure problem.
> Now encountering the compile problem we had yesterday where package
> org.openejb.client.naming does not exist. Deleting
> openejb-core-2.0-SNAPSHOT.jar from the Maven repository and then
> running "maven -Dmodules=client-builder" didn't help. Must be the
> case that an additional jar file added yesterday by Dain is not yet
> reflected in the repository or defined to be a dependency.
It must not be in the repo yet, as there is a dependency at
modules/client-builder/project.xml:57
-dain
Re: 2 Connector tests failed
Posted by Craig Johannsen <cj...@shaw.ca>.
Thanks for pointing out how to get the source of the related projects.
"maven getotherprojects" got me the source for openejb, howl, activemq,
etc. But "maven multiproject:install" hung in howl's XALoggerTest.
Taking a different approach, I was able to get a clean geronimo build by
running "maven" in the openejb module and then copying the
openejb-core-2.0-SNAPSHOT.jar from openejb/modules/core/target to the
maven repository. Then plain old "maven" in the top-level geronimo
directory worked fine.
Cheers,
Craig
PS: I wonder why the repo takes so long to sync.
David Jencks wrote:
> Others may have different opinions, but I gave up on trying to deal
> with the inter-project dependencies via snapshots and created an
> all-projects build.
>
> There's a short description here:
> http://wiki.apache.org/geronimo/Building#head
> -2a72064daf87017de58dd77916b4376e55326bd8
>
> Ask if you have any problems.
>
> thanks
> david jencks
>
Re: 2 Connector tests failed
Posted by David Jencks <da...@yahoo.com>.
Others may have different opinions, but I gave up on trying to deal
with the inter-project dependencies via snapshots and created an
all-projects build.
There's a short description here:
http://wiki.apache.org/geronimo/Building#head
-2a72064daf87017de58dd77916b4376e55326bd8
Ask if you have any problems.
thanks
david jencks
On Sep 30, 2004, at 10:38 AM, Craig Johannsen wrote:
> "maven rebuild" got me past the Connector module test failure problem.
> Now encountering the compile problem we had yesterday where package
> org.openejb.client.naming does not exist. Deleting
> openejb-core-2.0-SNAPSHOT.jar from the Maven repository and then
> running "maven -Dmodules=client-builder" didn't help. Must be the
> case that an additional jar file added yesterday by Dain is not yet
> reflected in the repository or defined to be a dependency.
>
> /home/craigj/geronimo/modules/client-builder/src/java/org/apache/
> geronimo/client/builder/AppClientModuleBuilder.java:74: package
> org.openejb.client.naming does not exist
> import org.openejb.client.naming.RemoteEJBObjectFactory;
>
> Tried downloading latest release of openejb (0.9.2) from openejb.org,
> but none of the jar files include the org.openejb.client.naming
> package. I don't see an openejb2 in their cvs repository.
>
> Cheers,
> Craig
>
>
> David Jencks wrote:
>
>> I ran into this last night and solved it by doing a rebuild of (IIRC)
>> the connector module. Certainly a complete rebuild should fix it.
>> I think the EARContext interface changed in a minor way and the
>> dependency tracking in maven wasn't quite enough to trigger an
>> automatic recompile.
>>
>> Please speak up if a rebuild doesn't fix this for you!
>>
>> thanks
>> david jencks
>>
>>
>
Re: 2 Connector tests failed
Posted by Craig Johannsen <cj...@shaw.ca>.
"maven rebuild" got me past the Connector module test failure problem.
Now encountering the compile problem we had yesterday where package
org.openejb.client.naming does not exist. Deleting
openejb-core-2.0-SNAPSHOT.jar from the Maven repository and then running
"maven -Dmodules=client-builder" didn't help. Must be the case that an
additional jar file added yesterday by Dain is not yet reflected in the
repository or defined to be a dependency.
/home/craigj/geronimo/modules/client-builder/src/java/org/apache/geronimo/client/builder/AppClientModuleBuilder.java:74:
package org.openejb.client.naming does not exist
import org.openejb.client.naming.RemoteEJBObjectFactory;
Tried downloading latest release of openejb (0.9.2) from openejb.org,
but none of the jar files include the org.openejb.client.naming
package. I don't see an openejb2 in their cvs repository.
Cheers,
Craig
David Jencks wrote:
> I ran into this last night and solved it by doing a rebuild of (IIRC)
> the connector module. Certainly a complete rebuild should fix it. I
> think the EARContext interface changed in a minor way and the
> dependency tracking in maven wasn't quite enough to trigger an
> automatic recompile.
>
> Please speak up if a rebuild doesn't fix this for you!
>
> thanks
> david jencks
>
>
Re: 2 Connector tests failed
Posted by David Jencks <da...@yahoo.com>.
I ran into this last night and solved it by doing a rebuild of (IIRC)
the connector module. Certainly a complete rebuild should fix it. I
think the EARContext interface changed in a minor way and the
dependency tracking in maven wasn't quite enough to trigger an
automatic recompile.
Please speak up if a rebuild doesn't fix this for you!
thanks
david jencks
On Sep 30, 2004, at 9:19 AM, Craig Johannsen wrote:
> It would appear to be the same problem in both test cases (revision
> 47593).
>
> RAR_1_0ConfigBuilderTest
>
> Testcase:
> testBuildUnpackedModule(org.apache.geronimo.connector.deployment.RAR_1_
> 0ConfigBuilderTest): Caused an ERROR
>
> org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/
> JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/
> ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/
> Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/
> management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/
> ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/
> deployment/EJBReferenceBuilder;)V
> java.lang.NoSuchMethodError:
> org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/
> JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/
> ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/
> Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/
> management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/
> ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/
> deployment/EJBReferenceBuilder;)V
> at
> org.apache.geronimo.connector.deployment.RAR_1_0ConfigBuilderTest.execu
> teTestBuildModule(RAR_1_0ConfigBuilderTest.java:191)
> at
> org.apache.geronimo.connector.deployment.RAR_1_0ConfigBuilderTest.testB
> uildUnpackedModule(RAR_1_0ConfigBuilderTest.java:95)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImpl.java:25)
>
> RAR_1_5ConfigBuilderTest
>
> Testcase:
> testBuildUnpackedModule(org.apache.geronimo.connector.deployment.RAR_1_
> 5ConfigBuilderTest): Caused an ERROR
>
> org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/
> JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/
> ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/
> Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/
> management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/
> ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/
> deployment/EJBReferenceBuilder;)V
> java.lang.NoSuchMethodError:
> org.apache.geronimo.j2ee.deployment.EARContext.<init>(Ljava/util/jar/
> JarOutputStream;Ljava/net/URI;Lorg/apache/geronimo/kernel/config/
> ConfigurationModuleType;Ljava/net/URI;Lorg/apache/geronimo/kernel/
> Kernel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/
> management/ObjectName;Ljavax/management/ObjectName;Ljavax/management/
> ObjectName;Ljavax/management/ObjectName;Lorg/apache/geronimo/j2ee/
> deployment/EJBReferenceBuilder;)V
> at
> org.apache.geronimo.connector.deployment.RAR_1_5ConfigBuilderTest.execu
> teTestBuildModule(RAR_1_5ConfigBuilderTest.java:134)
> at
> org.apache.geronimo.connector.deployment.RAR_1_5ConfigBuilderTest.testB
> uildUnpackedModule(RAR_1_5ConfigBuilderTest.java:96)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
> va:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
> rImpl.java:25)
>
>