Build Failed - org.ofbiz.geronimo.GeronimoTransactionFactory

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Build Failed - org.ofbiz.geronimo.GeronimoTransactionFactory

jazerb
I received the following while trying to build the latest from trunk:

 [javac15] E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr
nsactionFactory.java:74: incompatible types
 [javac15] found   : org.apache.geronimo.transaction.manager.GeronimoTransactio
Manager
 [javac15] required: javax.transaction.UserTransaction
 [javac15]         return geronimoTransactionManager;
 [javac15]                ^
 [javac15] 1 error

This is strange since GeronimoTransactionManager implements UserTransaction.
I did a ant clean prior but still got this message.

For what it's worth, I also got some deprecation warnings for org.ofbiz.entity.util.ByteWrapper

Thanks for your help!
Bryan
Reply | Threaded
Open this post in threaded view
|

Re: Build Failed - org.ofbiz.geronimo.GeronimoTransactionFactory

Jacopo Cappellato-3
No problem for me...

Please try the following steps
1) ant clean
2) ant build
Also verify if you have old jars in the classpath (svn status may help  
you to spot them).

Jacopo

On Jul 2, 2008, at 7:05 AM, jazerb wrote:

>
> I received the following while trying to build the latest from trunk:
>
> [javac15]
> E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr
> nsactionFactory.java:74: incompatible types
> [javac15] found   :
> org.apache.geronimo.transaction.manager.GeronimoTransactio
> Manager
> [javac15] required: javax.transaction.UserTransaction
> [javac15]         return geronimoTransactionManager;
> [javac15]                ^
> [javac15] 1 error
>
> This is strange since GeronimoTransactionManager implements  
> UserTransaction.
> I did a ant clean prior but still got this message.
>
> For what it's worth, I also got some deprecation warnings for
> org.ofbiz.entity.util.ByteWrapper
>
> Thanks for your help!
> Bryan
> --
> View this message in context: http://www.nabble.com/Build-Failed---org.ofbiz.geronimo.GeronimoTransactionFactory-tp18230384p18230384.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Build Failed - org.ofbiz.geronimo.GeronimoTransactionFactory

Jacques Le Roux
Administrator
It's ok here too...

Jacques

From: "Jacopo Cappellato" <[hidden email]>

> No problem for me...
>
> Please try the following steps
> 1) ant clean
> 2) ant build
> Also verify if you have old jars in the classpath (svn status may help  you to spot them).
>
> Jacopo
>
> On Jul 2, 2008, at 7:05 AM, jazerb wrote:
>
>>
>> I received the following while trying to build the latest from trunk:
>>
>> [javac15]
>> E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr
>> nsactionFactory.java:74: incompatible types
>> [javac15] found   :
>> org.apache.geronimo.transaction.manager.GeronimoTransactio
>> Manager
>> [javac15] required: javax.transaction.UserTransaction
>> [javac15]         return geronimoTransactionManager;
>> [javac15]                ^
>> [javac15] 1 error
>>
>> This is strange since GeronimoTransactionManager implements  UserTransaction.
>> I did a ant clean prior but still got this message.
>>
>> For what it's worth, I also got some deprecation warnings for
>> org.ofbiz.entity.util.ByteWrapper
>>
>> Thanks for your help!
>> Bryan
>> --
>> View this message in context:
>> http://www.nabble.com/Build-Failed---org.ofbiz.geronimo.GeronimoTransactionFactory-tp18230384p18230384.html
>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Build Failed - org.ofbiz.geronimo.GeronimoTransactionFactory

Ashish Vijaywargiya
Working for me as well without any problem.

--
Ashish

On Wed, Jul 2, 2008 at 4:35 AM, Jacques Le Roux <
[hidden email]> wrote:

> It's ok here too...
>
> Jacques
>
> From: "Jacopo Cappellato" <[hidden email]>
>
>  No problem for me...
>>
>> Please try the following steps
>> 1) ant clean
>> 2) ant build
>> Also verify if you have old jars in the classpath (svn status may help
>>  you to spot them).
>>
>> Jacopo
>>
>> On Jul 2, 2008, at 7:05 AM, jazerb wrote:
>>
>>
>>> I received the following while trying to build the latest from trunk:
>>>
>>> [javac15]
>>> E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr
>>> nsactionFactory.java:74: incompatible types
>>> [javac15] found   :
>>> org.apache.geronimo.transaction.manager.GeronimoTransactio
>>> Manager
>>> [javac15] required: javax.transaction.UserTransaction
>>> [javac15]         return geronimoTransactionManager;
>>> [javac15]                ^
>>> [javac15] 1 error
>>>
>>> This is strange since GeronimoTransactionManager implements
>>>  UserTransaction.
>>> I did a ant clean prior but still got this message.
>>>
>>> For what it's worth, I also got some deprecation warnings for
>>> org.ofbiz.entity.util.ByteWrapper
>>>
>>> Thanks for your help!
>>> Bryan
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Build-Failed---org.ofbiz.geronimo.GeronimoTransactionFactory-tp18230384p18230384.html
>>> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Build Failed - org.ofbiz.geronimo.GeronimoTransactionFactory

jazerb
In reply to this post by Jacopo Cappellato-3
Thanks for the pointers.  As it turns out, I still had geronimo-transaction-1.0.jar and jencks-1.1.3.jar on the classpath.  My assumption was that ant clean would take care of this, but for me this was not the case.  I removed these two jars and the build went fine.

Thanks again!
-B
Jacopo Cappellato-3 wrote
No problem for me...

Please try the following steps
1) ant clean
2) ant build
Also verify if you have old jars in the classpath (svn status may help  
you to spot them).

Jacopo

On Jul 2, 2008, at 7:05 AM, jazerb wrote:

>
> I received the following while trying to build the latest from trunk:
>
> [javac15]
> E:\OFBiz\latest\framework\geronimo\src\org\ofbiz\geronimo\GeronimoTr
> nsactionFactory.java:74: incompatible types
> [javac15] found   :
> org.apache.geronimo.transaction.manager.GeronimoTransactio
> Manager
> [javac15] required: javax.transaction.UserTransaction
> [javac15]         return geronimoTransactionManager;
> [javac15]                ^
> [javac15] 1 error
>
> This is strange since GeronimoTransactionManager implements  
> UserTransaction.
> I did a ant clean prior but still got this message.
>
> For what it's worth, I also got some deprecation warnings for
> org.ofbiz.entity.util.ByteWrapper
>
> Thanks for your help!
> Bryan
> --
> View this message in context: http://www.nabble.com/Build-Failed---org.ofbiz.geronimo.GeronimoTransactionFactory-tp18230384p18230384.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>