[JBoss-user] [JNDI/Naming/Network] - Re: 4.0.2 putting @xxxxxx in JNDI name for entity beans. 4.0

2005-05-19 Thread mcdonalda
Right, after a lot more digging firstly I found a reference to adding 
local-jndi-name to the individual -jboss.xml descriptor files.  This worked 
for me, but I notice from postings on the web that it doesn't work for 
everyone.  Hmmm, I wonder if they are using a version of JBoss earlier than 
4.0.2.

I certainly didn't need this extra tag when running our app under 4.0.1.

I also found this reference

http://www.jboss.org/?module=bbop=viewtopict=60753

which explained the need for the local-jndi-name tag.  It should have been 
needed for 4.0.1, but somehow out app worked without this tag.

For expediancy I will have to add this tag to all our entity bean descriptors.  
Now, should I numb my mind and do it manually (there are 40 to 50 of the 
buggers) or should I write a Java program to step through each of the 
descriptors.

Then again I can always go and get a drink from the 'coffee machine', which 
dispenses a warm brown liquid, almost but not quite entirely like tea.

Angus

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878376#3878376

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878376


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: 4.0.2 putting @xxxxxx in JNDI name for entity beans. 4.0

2005-05-19 Thread [EMAIL PROTECTED]
You should never have been looking up the local ejbs from the global jndi 
namespace in the first place. Its only an implementation detail of jboss that 
allowed you to do this. I doubt it would work an any other app server. You 
should be using the ejb-local-ref mechanism to access the local home in a 
portable way:

http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIAccessALocalHome


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878419#3878419

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878419


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user