@XmlID I meant in the PS, but really annoying (why??)
wim
-----Original Message-----
From: Wim Verreycken [mailto:wim_at_pizzastop.be]
Sent: maandag 8 september 2008 23:21
To: quality_at_glassfish.dev.java.net
Subject: RE: EJB 3.1 in b22.... some issues
Ok, I isolated this in a derby example (instead of the original ms sql 2008).
For this to run, create a derby user cat:cat and install the sql. Then create an XA datasource for the derby db exactly as I did with MS Sql (sec mech=3)
The problem (on b22, abnormal, but normal on gfv2) seems to be that the reference to the ejb cannot be resolved (no registration in jndi?).
However, when testing this b23 I run into bug 5890.
Wanted to post this quickly, since today’s the 8th . Have to say however, since this is a deployment issue, I had no time to debug this test code (merely copy-pasted from my original project).
So most web service methods return null (I know, ugly, I should be ashamed to post this), except for the find methods (which will correctly exec the named queries).
Hope you will not fire me ☺
wim
P.S. : While being at it, you know what is really annoying? That I can't declare an int as being an @XmlIDREF (need to be a String). Probably there's a good reason for that but I'd like to know what it is. Thanks. Wim
PPS : will get further into this/debug if necessary tomorrow but it's getting late here... so quickly post... and cu all 2morrow.
-----Original Message-----
From: Wim Verreycken [mailto:wim_at_pizzastop.be]
Sent: maandag 1 september 2008 20:41
To: quality_at_glassfish.dev.java.net
Subject: RE: EJB 3.1 in b22.... some issues
I’ll try to isolate the problem, then file bug and post war
wim
-----Original Message-----
From: Sherry.Shen_at_Sun.COM [mailto:Sherry.Shen_at_Sun.COM]
Sent: maandag 1 september 2008 18:03
To: quality_at_glassfish.dev.java.net
Subject: Re: EJB 3.1 in b22.... some issues
Hi Wim,
Yes, please file a bug and attech your test case in source code and war file.
Thanks!
Sherry
Wim Verreycken wrote, On 8/31/2008 10:15 AM:
I tried this on b22 and got the exact same error. Should I file this?
Thanks,
wim
-----Original Message-----
From: Sherry.Shen_at_Sun.COM [mailto:Sherry.Shen_at_Sun.COM]
Sent: zondag 31 augustus 2008 18:52
To: quality_at_glassfish.dev.java.net
Subject: Re: EJB 3.1 in b22.... some issues
Hi Wim,
EJB is a war file is an EJB3.1 feature, which
supported in GFv3, but not in GFv2.
As you find out, use ear file in GFv2.
Thanks!
Shrry
Wim Verreycken wrote, On 8/31/2008 7:41 AM:
Hi,
I deployed and -ejb jar inside a war file. When I deploy it on gfv2ur2 and
b20 I always get the same error (from netbeans or autodeploy)
When I deploy the ejb and war as an ear on gfV2ur2 there's no problem.
Is this a bug?
SEVERE: Exception while invoking class com.sun.enterprise.web.WebDeployer
prepare method
java.lang.RuntimeException: Cannot resolve reference Unresolved Ejb-Ref
com.lunchlink.services.web.tl.StoreWebTL/ejbRef_at_jndi:
@null_at_com.lunchlink.model.session.ToplinkSessionLocal_at_Session@null
Wim
---------------------------------------------------------------------
To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
--------------------------------------------------------------------- To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net For additional commands, e-mail: quality-help_at_glassfish.dev.java.net