dev@glassfish.java.net

Re: Mac only problem with annotation scanning in WAB?

From: Sathyan Catari <Sathyan.Catari_at_oracle.com>
Date: Fri, 07 Jan 2011 08:43:49 -0800

  Yes, same result with this new war file.
I see only "bean:".

-Sathyan


On 1/7/11 7:28 AM, Ed Burns wrote:
>>>>>> On Thu, 06 Jan 2011 21:29:04 -0800, Sathyan Catari<Sathyan.Catari_at_oracle.com> said:
> SC> I tried this on my Mac 10.6.4 with JDK 6 U22 and when I launch the
> SC> app, I see only "bean:".
>
> SC> This is the build I have:
> SC> Version = GlassFish Server Open Source Edition 3.1-b36 (build 36), JRE
> SC> version 1.6.0_22
>
>
> SC> Another option would be if you could upload the war file into JIRA(that
> SC> was built on a non-mac OS),
> SC> I could use that and give it a try again. This would further narrow down
> SC> the cause.
>
> I have just attached the wab war built on Solaris X64 JDK 6u23.
>
> I tried it myself on my mac and observed the same failure.
>
> Please try it and lets see if we can figure out more.
>
> Thanks for your volunteering help.
>
> Ed
>
> SC> HTH
> SC> Sathyan
>
>
> SC> On 1/6/11 9:09 PM, Ed Burns wrote:
>>>>>>>> On Fri, 07 Jan 2011 09:32:12 +0530, Sahoo<sanjeeb.sahoo_at_oracle.com> said:
> EB> Do you see "foo"?
> SS> I see "bean: bar" as shown in the screenshot I attached to JIRA. I think
> SS> "bar" is the correct output.
>>> Ah, yes, it is.
>>>
>>> Sahoo and I spoke on Skype and I tried it on Solaris X64 with JDK 6u23.
>>> It worked there! It also worked for Sahoo on GNU/Linux Ubuntu.
>>> However, it does *not* work on Mac OS X 10.6.6 JDK 6u22.
>>>
>>> Can someone else with a Mac please try the latest GlassFish 3.1 with the
>>> i_11636_reproducer.zip from
>>> <http://java.net/jira/browse/GLASSFISH-11636>.
>>>
>>> Unzip the i_11636_reproducer.zip, cd to i_11636_reproducer and do mvn
>>> install. cp maven-module-that-makes-wab/target/Test1-0.0.2.war to your
>>> autodeploy/bundles directory, then visit
>>> <http://adc2110030:8080/test/login.page>. You should see "bean: bar".
>>> If you just see "bean:" the annotation was not scanned and you are
>>> observing the same problem I am.
>>>
>>> Sahoo and I will touch base tomorrow morning and hopefully we can get
>>> this integrated.
>>>
>>> Ed
>>>