dev@glassfish.java.net

Re: can't start GF with the recently updated workspace

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Tue, 30 Apr 2013 10:14:22 -0700

On 4/30/13 10:08 AM, Romain Grecourt wrote:
> On 4/30/13 7:05 PM, Romain Grecourt wrote:
>> On 4/30/13 6:54 PM, Marina Vatkina wrote:
>>> I didn't update my workspace after that - I locally built
>>> javax.transaction-api and javax.ejb-api with the final versions and
>>> copied them over to the GF install.
> Forgot this part... There are other jars that you should have copied:
> new javax.management.j2ee and new javax.xml.rpc
> Next time, please do a full build before reporting such kind of issues.

I did run the full build. I did mvn clean install from 'main'. Or does
the full build mean something else.

I did replace javax.ejb-api.jar and javax.transaction-api.jar in the
unzipped GF because what was built prevented GF from starting (which I
had reported at the beginning of this thread).

thanks,
-marina

>> Since I've made updates to those final version, you have to cleanup
>> your repo.
>>> BTW, javax-transactopn-api failed to build in its current setup.
>> It's expected, it's failing due to spec-version-maven-plugin because
>> the project version is wrong (the one that has been incremented
>> automatically by the release-plugin).
>>
>> Thanks,
>> Romain
>>>
>>> thanks,
>>> -marina
>>>
>>> On 4/30/13 3:18 AM, Romain Grecourt wrote:
>>>> Why did you revert it ? Hudson was all blue right ?
>>>>
>>>> - Tang, your repository/local repository might be outdated since
>>>> I've updated this dependency to match the final version.
>>>> - Marina, did you update your workspace, performed a full build and
>>>> verified it locally ?
>>>>
>>>> Thanks,
>>>> Romain
>>>>
>>>> On 4/30/13 4:11 AM, Jill Sato wrote:
>>>>> Reverted 61734.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On 4/29/13 6:38 PM, Tang Yong wrote:
>>>>>> Marina,Romain
>>>>>>
>>>>>> javax.ejb-api 3.2.0 's pom should be updated, and I guess
>>>>>>
>>>>>> <dependency>
>>>>>> <groupId>javax.transaction</groupId>
>>>>>> <artifactId>javax.transaction-api</artifactId>
>>>>>> <version>1.2-b03</version>
>>>>>> </dependency>
>>>>>>
>>>>>> should be updated into
>>>>>>
>>>>>> <dependency>
>>>>>> <groupId>javax.transaction</groupId>
>>>>>> <artifactId>javax.transaction-api</artifactId>
>>>>>> <version>1.2</version>
>>>>>> </dependency>
>>>>>>
>>>>>> Because currently, in appserver/pom.xml
>>>>>>
>>>>>> <javax.transaction-api.version>1.2</javax.transaction-api.version>
>>>>>>
>>>>>> So, should be consist with appserver/pom.xml
>>>>>>
>>>>>> Thanks
>>>>>> --Tang
>>>>>>
>>>>>> Marina Vatkina wrote:
>>>>>>> I got:
>>>>>>>
>>>>>>> Caused by: org.osgi.framework.BundleException: Unresolved
>>>>>>> constraint in bundle org.glassfish.main.ejb.gf-ejb-connector
>>>>>>> [82]: Unable to resolve 82.0: missing requirement [82.0]
>>>>>>> osgi.wiring.package;
>>>>>>> (&(osgi.wiring.package=javax.ejb)(version>=3.2.0)(!(version>=4.0.0)))
>>>>>>> [caused by: Unable to resolve 131.0: missing requirement [131.0]
>>>>>>> osgi.wiring.package;
>>>>>>> (&(osgi.wiring.package=javax.transaction)(version>=1.2.0.b03))]
>>>>>>>
>>>>>>> -marina
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>