You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Paul Spencer <pa...@mindspring.com> on 2007/10/09 15:26:40 UTC
Missing xbean and commons-dbcp depenencies when building 3-beta1
examples
I am getting "Unable to get resource" errors for the following artifacts:
xbean-naming-3.2-r579367.pom
xbean-reflect-3.2-r579367.pom
commons-dbcp-1.3-r562808.pom
xbean-finder-3.2-r579367.pom
The following repositories are checked, and they artifacts are truly not
their:
http://snapshots.repository.codehaus.org
http://people.apache.org/repo/m2-snapshot-repository/
http://repo1.maven.org/maven2
Although I suspect this is related to the above, the unit tests are
failing with the following error:
FATAL - OpenEJB has encountered a fatal error and cannot be started:
The Assembler encountered an unexpected error while attempting
to build the container system.
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.<clinit>(TransactionManagerImpl.java:42)
Paul Spencer
Re: Missing xbean and commons-dbcp depenencies when building 3-beta1 examples
Posted by David Blevins <da...@visi.com>.
Looks like we need to add the repo (http://svn.apache.org/repos/asf/
openejb/repo) to the pom.xml in our examples.
Definitely something for 3.0-beta-2. Till then, as Dain notes, you
can add this:
<repository>
<id>openejb-3rdparty-builds</id>
<name>3rd Party Build Repository</name>
<url>http://svn.apache.org/repos/asf/openejb/repo/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
-David
On Oct 9, 2007, at 10:53 AM, Paul Spencer wrote:
> Dain
> I download "EJB 3.0 and other examples (source included)" from the
> download page.
>
> Paul Spencer
>
> Dain Sundstrom wrote:
>> That's weird. Those files are located in out openejb-3rdparty-
>> builds, which is listed in the 3.0-beta-1 tag with the url:
>> http://svn.apache.org/repos/asf/openejb/repo/org/apache/xbean/
>> xbean-naming/3.2-r579367/ What's really strange is this repository
>> is not listed in the error message below. Which source tree are
>> you trying to build?
>> If you really, just want to make the source you have build, add
>> this to the repository list in the root pom.xml file:
>> <repository>
>> <id>openejb-3rdparty-builds</id>
>> <name>3rd Party Build Repository</name>
>> <url>http://svn.apache.org/repos/asf/openejb/repo/</url>
>> <releases>
>> <enabled>true</enabled>
>> </releases>
>> <snapshots>
>> <enabled>false</enabled>
>> </snapshots>
>> </repository>
>> -dain
>> On Oct 9, 2007, at 6:26 AM, Paul Spencer wrote:
>>> I am getting "Unable to get resource" errors for the following
>>> artifacts:
>>> xbean-naming-3.2-r579367.pom
>>> xbean-reflect-3.2-r579367.pom
>>> commons-dbcp-1.3-r562808.pom
>>> xbean-finder-3.2-r579367.pom
>>>
>>> The following repositories are checked, and they artifacts are
>>> truly not their:
>>> http://snapshots.repository.codehaus.org
>>> http://people.apache.org/repo/m2-snapshot-repository/
>>> http://repo1.maven.org/maven2
>>>
>>>
>>> Although I suspect this is related to the above, the unit tests
>>> are failing with the following error:
>>> FATAL - OpenEJB has encountered a fatal error and cannot be
>>> started:
>>> The Assembler encountered an unexpected error while
>>> attempting
>>> to build the container system.
>>> java.lang.NoClassDefFoundError: org/apache/commons/logging/
>>> LogFactory
>>> at
>>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.<clin
>>> it>(TransactionManagerImpl.java:42)
>>>
>>> Paul Spencer
>
>
Re: Missing xbean and commons-dbcp depenencies when building 3-beta1
examples
Posted by Paul Spencer <pa...@mindspring.com>.
Dain
I download "EJB 3.0 and other examples (source included)" from the
download page.
Paul Spencer
Dain Sundstrom wrote:
> That's weird. Those files are located in out openejb-3rdparty-builds,
> which is listed in the 3.0-beta-1 tag with the url:
>
>
> http://svn.apache.org/repos/asf/openejb/repo/org/apache/xbean/xbean-naming/3.2-r579367/
>
>
> What's really strange is this repository is not listed in the error
> message below. Which source tree are you trying to build?
>
> If you really, just want to make the source you have build, add this to
> the repository list in the root pom.xml file:
>
> <repository>
> <id>openejb-3rdparty-builds</id>
> <name>3rd Party Build Repository</name>
> <url>http://svn.apache.org/repos/asf/openejb/repo/</url>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>false</enabled>
> </snapshots>
> </repository>
>
>
> -dain
>
> On Oct 9, 2007, at 6:26 AM, Paul Spencer wrote:
>
>> I am getting "Unable to get resource" errors for the following artifacts:
>> xbean-naming-3.2-r579367.pom
>> xbean-reflect-3.2-r579367.pom
>> commons-dbcp-1.3-r562808.pom
>> xbean-finder-3.2-r579367.pom
>>
>> The following repositories are checked, and they artifacts are truly
>> not their:
>> http://snapshots.repository.codehaus.org
>> http://people.apache.org/repo/m2-snapshot-repository/
>> http://repo1.maven.org/maven2
>>
>>
>> Although I suspect this is related to the above, the unit tests are
>> failing with the following error:
>> FATAL - OpenEJB has encountered a fatal error and cannot be started:
>> The Assembler encountered an unexpected error while attempting
>> to build the container system.
>> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
>> at
>> org.apache.geronimo.transaction.manager.TransactionManagerImpl.<clinit>(TransactionManagerImpl.java:42)
>>
>>
>> Paul Spencer
>
>
Re: Missing xbean and commons-dbcp depenencies when building 3-beta1 examples
Posted by Dain Sundstrom <da...@iq80.com>.
That's weird. Those files are located in out openejb-3rdparty-
builds, which is listed in the 3.0-beta-1 tag with the url:
http://svn.apache.org/repos/asf/openejb/repo/org/apache/xbean/
xbean-naming/3.2-r579367/
What's really strange is this repository is not listed in the error
message below. Which source tree are you trying to build?
If you really, just want to make the source you have build, add this
to the repository list in the root pom.xml file:
<repository>
<id>openejb-3rdparty-builds</id>
<name>3rd Party Build Repository</name>
<url>http://svn.apache.org/repos/asf/openejb/repo/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
-dain
On Oct 9, 2007, at 6:26 AM, Paul Spencer wrote:
> I am getting "Unable to get resource" errors for the following
> artifacts:
> xbean-naming-3.2-r579367.pom
> xbean-reflect-3.2-r579367.pom
> commons-dbcp-1.3-r562808.pom
> xbean-finder-3.2-r579367.pom
>
> The following repositories are checked, and they artifacts are
> truly not their:
> http://snapshots.repository.codehaus.org
> http://people.apache.org/repo/m2-snapshot-repository/
> http://repo1.maven.org/maven2
>
>
> Although I suspect this is related to the above, the unit tests are
> failing with the following error:
> FATAL - OpenEJB has encountered a fatal error and cannot be started:
> The Assembler encountered an unexpected error while
> attempting
> to build the container system.
> java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
> at
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.<clinit
> >(TransactionManagerImpl.java:42)
>
> Paul Spencer