dev@glassfish.java.net

Re: V3 trunk won't build: ejb/ejb-container (EJBContextImpl)

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Tue, 04 Nov 2008 14:16:33 -0800

Maybe...
I see that Mahesh has removed "import
com.sun.enterprise.admin.monitor.*;" in his latest check-in of
StatefulSessionContainer.java:

http://fisheye4.atlassian.com/browse/glassfish-svn/trunk/v3/ejb/ejb-container/src/main/java/com/sun/ejb/containers/StatefulSessionContainer.java?r1=23297&r2=23637

We should no longer see this build error.



Marina Vatkina wrote:

> Can there be a (broken) StatefulSessionContainer.java file in one of
> the published jars?
>
> thanks,
> -marina
>
> Lloyd Chambers wrote:
>
>> In fact I did 'svn up' twice.
>>
>> But today things build fine, doing the same 'mvn clean; svn up; mvn
>> -U install'.
>>
>> Lloyd
>>
>>
>>
>> On Nov 3, 2008, at 9:07 PM, Jerome Dochez wrote:
>>
>>> Lloyd did mention he is doing a svn up before building, yet if I
>>> open my local copy of the offending file
>>>
>>> /Volumes/Speedy/v3/code/ejb/ejb-container/src/main/java/com/sun/ejb/
>>> containers/StatefulSessionContainer.java:66: package
>>> com.sun.enterprise.admin.monitor does not exist
>>> import com.sun.enterprise.admin.monitor.*;
>>> ^
>>>
>>> StatefulSessionContainer.java, line 66 is not the import statement
>>> shown above.
>>>
>>> jerome
>>>
>>> Jane Young wrote:
>>>
>>>> I just did a build on a fresh workspace and didn't see this failure.
>>>> Perhaps you need to checkout to a new workspace to avoid getting
>>>> this build failure.
>>>>
>>>> Jane
>>>>
>>>>
>>>> Jerome Dochez wrote:
>>>>
>>>>> I bet it is related to my checkin on friday. I wonder if one of
>>>>> the modules is not being pushed correctly to the repository and
>>>>> depending if you build it locally or not, you get the right or
>>>>> wrong version.
>>>>>
>>>>> Jerome
>>>>>
>>>>> Mahesh Kannan wrote:
>>>>>
>>>>>> Well I am seeing this on my machine now (and I didn't till
>>>>>> friday evening).
>>>>>>
>>>>>> Anyway, I am trying to see if I can remove the offending import.
>>>>>>
>>>>>> Thanks,
>>>>>> --Mahesh
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> --Mahesh
>>>>>>
>>>>>> Jane Young wrote:
>>>>>>
>>>>>>> Looks like it's random... it's passing on Kohsuke's Hudson but
>>>>>>> it's failing on the last build on Terena's.
>>>>>>> I could not reproduce it on Mac and Solaris with an old
>>>>>>> workspace using JDK 1.5 and 1.6 and maven 2.0.9.
>>>>>>> Lloyd, can you try just compiling ejb module and see if see the
>>>>>>> same build failure.
>>>>>>> I'm building on a clean workspace right now to see if I can
>>>>>>> reproduce it.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Marina Vatkina wrote:
>>>>>>>
>>>>>>>> Is it also random? I saw this error on Friday, but it went
>>>>>>>> away after rebuild and I've never saw it again.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> -marina
>>>>>>>>
>>>>>>>> Jane Young wrote:
>>>>>>>>
>>>>>>>>> Terena's hudson is also failing with the same error.
>>>>>>>>> I'll look into this.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Lloyd Chambers wrote:
>>>>>>>>>
>>>>>>>>>> I've done a 'clean; svn up; mvn -U install'
>>>>>>>>>>
>>>>>>>>>> [INFO] [hk2:hk2-compile]
>>>>>>>>>> [INFO] Compiling 188 source files to /Volumes/Speedy/v3/code/
>>>>>>>>>> ejb/ejb-container/target/classes
>>>>>>>>>> Note:
>>>>>>>>>> /Volumes/Speedy/v3/code/ejb/ejb-container/src/main/java/
>>>>>>>>>> com/sun/ejb/containers/EJBContextImpl.java uses or overrides
>>>>>>>>>> a deprecated API.
>>>>>>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>>>>>>> /Volumes/Speedy/v3/code/ejb/ejb-container/src/main/java/com/
>>>>>>>>>> sun/ejb/containers/StatefulSessionContainer.java:66: package
>>>>>>>>>> com.sun.enterprise.admin.monitor does not exist
>>>>>>>>>> import com.sun.enterprise.admin.monitor.*;
>>>>>>>>>> ^
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ..............................................
>>>>>>>>>> Lloyd Chambers
>>>>>>>>>> lloyd.chambers_at_sun.com <mailto:lloyd.chambers_at_sun.com>
>>>>>>>>>> GlassFish team, LSARC member
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>