Really?
My beans don't have remote interfaces specified at all... Only locals...
The log shows:
Bound Local ShoppingManager to groundswell/ShoppingManager
And my jboss.xml file has:
<session>
<ejb-name>ShoppingManager</ejb-name>
<local-jndi-name>groundswell/ShoppingManager</local-jndi-name>
</session>
Is really bound as: groundswell/local/ShoppingManager or something similar?
> From: Dave Smith <[EMAIL PROTECTED]>
> Date: Mon, 26 Nov 2001 15:05:50 -0500
> To: Hunter Hillegas <[EMAIL PROTECTED]>
> Cc: Dain Sundstrom <[EMAIL PROTECTED]>, JBoss 2
> <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] Re: [JBoss-dev] Local Interfaces in Rabbit Hole -
> Working?
>
> Looks like you are getting the remote interface. Local interfaces are
> bound under local so prob. ... groundswell/local/ShoppingManager. Check
> the log for where it is deployed.
>
>
> Hunter Hillegas wrote:
>
>> Okay, now we seem to have ClassCastExceptions...
>>
>> Jetty reports:
>>
>> 11:10:19,027 WARN [JettyService] java.lang.ClassCastException: $Proxy27
>>
>> The code is as follows:
>>
>> try {
>> theShoppingManagerHome =
>> (ShoppingManagerLocalHome)ctx.lookup("groundswell/ShoppingManager");
>> theShoppingManager = theShoppingManagerHome.create();
>>
>> }
>> catch (Exception e) {
>> throw new ServletException(e.toString());
>> }
>>
>> Any ideas what I might be doing wrong?
>>
>>
>>> From: Dain Sundstrom <[EMAIL PROTECTED]>
>>> Date: Sun, 25 Nov 2001 18:10:24 -0600
>>> To: "'marc fleury'" <[EMAIL PROTECTED]>, Hunter Hillegas
>>> <[EMAIL PROTECTED]>, JBoss Dev
>>> <[EMAIL PROTECTED]>
>>> Subject: RE: [JBoss-dev] Local Interfaces in Rabbit Hole - Working?
>>>
>>> Actually I didn't write the local interface code. I'll assume that you are
>>> using an integrated stack (integrated web server). Did you use the
>>> local-jndi-name in the jboss.xml file, which I did write? It looks like
>>> this: (I'm typing this on the fly so there may be errors)
>>>
>>> <jboss>
>>> <enterprise-beans>
>>> <entity>
>>> <ejb-name>OrderEJB</ejb-name>
>>> <local-jndi-name>commerce/Order</local-jndi-name>
>>> </entity>
>>> </enterprise-beans>
>>> </jboss>
>>>
>>> I know this works between EJBs, and it works with regular classes. I have
>>> not tested from a web tier, because I didn't know one was integrated yet.
>>>
>>> -dain
>>>
>>>
>>>> -----Original Message-----
>>>> From: marc fleury [mailto:[EMAIL PROTECTED]]
>>>> Sent: Sunday, November 25, 2001 4:46 PM
>>>> To: Hunter Hillegas; JBoss Dev
>>>> Subject: RE: [JBoss-dev] Local Interfaces in Rabbit Hole - Working?
>>>>
>>>>
>>>> I will let dain answer this, but afaik his stuff relies on it so if it
>>>> wasn't implemented you would see it.
>>>>
>>>> For the record, I will mention that only NEW features where
>>>> added to RH, it
>>>> is not like we went I rewrote the stuff, in fact MOST of the
>>>> codebase in RH
>>>> is the old one. We are rewriting as we go, but stuff that
>>>> dramatically
>>>> changes from one to the other just shouldn't be there.
>>>>
>>>> That being said is there a test for local stuff in RH? We
>>>> would need to run
>>>> that and make sure.
>>>>
>>>> marcf
>>>>
>>>> |-----Original Message-----
>>>> |From: [EMAIL PROTECTED]
>>>> |[mailto:[EMAIL PROTECTED]]On Behalf Of
>>>> |Hunter Hillegas
>>>> |Sent: Sunday, November 25, 2001 4:43 PM
>>>> |To: JBoss Dev
>>>> |Subject: [JBoss-dev] Local Interfaces in Rabbit Hole - Working?
>>>> |
>>>> |
>>>> |Is local interface support completely implemented in Rabbit
>>>> Hole at this
>>>> |point?
>>>> |
>>>> |I thought that it was but I am having trouble with my app
>>>> that uses only
>>>> |local interfaces...
>>>> |
>>>> |Basically any attempt to grab beans via their local
>>>> interfaces from my
>>>> |servlets fail with a NameNotFound exception. I verified the
>>>> JNDI names in
>>>> |the Jboss Web console but integrated Jetty fails to track them down.
>>>> |
>>>> |Julian Gosnell suggested that perhaps local interfaces were
>>>> not completely
>>>> |implemented...
>>>> |
>>>> |I was wondering if that is the case...
>>>> |
>>>> |Thanks for any info,
>>>> |Hunter
>>>> |
>>>> |
>>>> |_______________________________________________
>>>> |Jboss-development mailing list
>>>> |[EMAIL PROTECTED]
>>>> |https://lists.sourceforge.net/lists/listinfo/jboss-development
>>>>
>>>>
>>>> _______________________________________________
>>>> Jboss-development mailing list
>>>> [EMAIL PROTECTED]
>>>> https://lists.sourceforge.net/lists/listinfo/jboss-development
>>>>
>>>>
>>
>>
>> _______________________________________________
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user