Bugs item #496550, was opened at 2001-12-24 13:18
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=496550&group_id=31602

Category: jboss
Group: None
>Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Nicolas Carranza (nicarran)
Assigned to: Vincent Harcq (vharcq)
Summary: local-jndi-name: ignored by jboss.xml

Initial Comment:
The local-jndi-name parameter does not generate the
appropriate local-jndi-name in jboss.xml

----------------------------------------------------------------------

Comment By: Vincent Harcq (vharcq)
Date: 2002-01-15 22:37

Message:
Logged In: YES 
user_id=125677

Fixed
Thanks again !

----------------------------------------------------------------------

Comment By: Vincent Harcq (vharcq)
Date: 2002-01-11 14:47

Message:
Logged In: YES 
user_id=125677

Ooooooh right !
Sorry
I will correct

----------------------------------------------------------------------

Comment By: Marcus Brito (pazu)
Date: 2002-01-11 11:42

Message:
Logged In: YES 
user_id=360347

It's not on the DTD, but JBoss does recognizes
<local-jndi-name> and acts accordingly. AFAIK, Local
Interfaces are working in JBoss since 2.4.x, and is pretty
solid in 3.0-alpha (which I currently use).

Here is a link to a JBoss Forum message that says it does
support <local-jndi-name>.

http://www.jboss.org/forums/thread.jsp?forum=47&thread=4951&message=361177

----------------------------------------------------------------------

Comment By: Vincent Harcq (vharcq)
Date: 2002-01-11 10:33

Message:
Logged In: YES 
user_id=125677

Where did you see that a local-jndi-name exists in 
jboss.xml ?
On my previous post I forgot the "no"
AFAIK There is NO local-jndi-name in jboss.xml

----------------------------------------------------------------------

Comment By: Marcus Brito (pazu)
Date: 2002-01-11 06:10

Message:
Logged In: YES 
user_id=360347

Here is a patch to solve this bug
<pre>
diff -u -r1.17 jboss_xml.j
--- xdoclet/core/resources/xdoclet/ejb/vendor/jboss_xml.j       2002/01/06 18:57:04    
 1.17
+++ xdoclet/core/resources/xdoclet/ejb/vendor/jboss_xml.j       2002/01/11 14:06:21
@@ -13,6 +13,9 @@
       <entity>
          <ejb-name><XDtEjb:ejbName/></ejb-name>
          <jndi-name><XDtEjbHome:jndiName
type="remote"/></jndi-name>
+         <XDtEjbIntf:ifLocalEjb>
+         <local-jndi-name><XDtEjbHome:jndiName
type="local"/></local-jndi-name>
+         </XDtEjbIntf:ifLocalEjb>
         <XDtClass:ifHasClassTag
tagName="jboss:container-configuration">
          <configuration-name><XDtClass:classTagValue
tagName="jboss:container-configuration"
paramName="name"/></configuration-name>
         </XDtClass:ifHasClassTag>
@@ -47,6 +50,9 @@
       <session>
          <ejb-name><XDtEjb:ejbName/></ejb-name>
          <jndi-name><XDtEjbHome:jndiName
type="remote"/></jndi-name>
+         <XDtEjbIntf:ifLocalEjb>
+         <local-jndi-name><XDtEjbHome:jndiName
type="local"/></local-jndi-name>
+         </XDtEjbIntf:ifLocalEjb>
         <XDtClass:ifHasClassTag
tagName="jboss:container-configuration">
          <configuration-name><XDtClass:classTagValue
tagName="jboss:container-configuration"
paramName="name"/></configuration-name>
         </XDtClass:ifHasClassTag>
</pre>

----------------------------------------------------------------------

Comment By: Vincent Harcq (vharcq)
Date: 2002-01-07 21:20

Message:
Logged In: YES 
user_id=125677

There is local-jndi-name in jboss.xml
But there was one problem in xdoclet with local interfaces.
Can you try the latest cvs and come back if it does not 
work with a full example

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=496550&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to