I create muy jboss.xml I post you it:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss_2_4.dtd">
<jboss>
<enterprise-beans>
<!--
To add beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called jboss-beans.xml that
contains
the <session></session>, <entity></entity> and
<message-driven></message-driven>
markup for those beans.
-->
<session>
<ejb-name>RequestDispatcher</ejb-name>
<jndi-name>ejb/RequestDispatcherHome</jndi-name>
<local-jndi-name>RequestDispatcherLocal</local-jndi-name>
</session>
<message-driven>
<ejb-name>CtsToFrontEnd</ejb-name>
<destination-jndi-name>queue/ctsToFrontEnd</destination-jndi-name>
</message-driven>
<!--
write a merge file jboss-webservices.ent for webservice-description
-->
</enterprise-beans>
<resource-managers>
</resource-managers>
<!--
| for container settings, you can merge in jboss-container.xml
| this can contain <invoker-proxy-bindings/> and <container-configurations/>
-->
</jboss>
---------- Initial Header -----------
>From : [EMAIL PROTECTED]
To : "End-user support for the XDoclet code generator"
[email protected]
Cc :
Date : Thu, 15 Jun 2006 17:02:23 +0100
Subject : Re: [Xdoclet-user] comp_name problem
> Are you generating the JBoss-specific ejb xml file, as unless I
> mis-remember, the actual mapping of the ejb to the jndi is the
> appserver-specific part, e.g. with weblogic, it's in the
> weblogic-ejb-jar.xml.
>
> /Gwyn
>
> On 15/06/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > hi all
> > i'm using xdoclet with myeclipse for generating ejb.
> > these are my tags :
> >
> > * @ejb.bean name="RequestDispatcher"
> > * display-name="Name for RequestDispatcher"
> > * description="Description for RequestDispatcher"
> > * jndi-name="ejb/RequestDispatcherHome"
> > * type="Stateless"
> > * view-type="remote"
> > * transaction-type="Bean"
> >
> > the problem is that xdoclet create in RequestDispatcherHome
> > the COMP_NAME="java:comp/env/ejb/RequestDispatcher";
> > I mean there is nothing wrong in that but when I try to see my jndi tree in
> > my jboss jndi viewer I cannot see that path bound.
> > What's wrong?
> > regards
>
>
> _______________________________________________
> xdoclet-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user