Re: from jboss.xml to openejb.xml
leonard flournoy escribi: Have you checked the other configurtation files to ensure that you've not mistyped the jndi name, you should take a look at your applicatoin.xml. At what point did you recieve the error, was it deployment or runtime? I dont think there are problems with my configuration files as the application runs well under JBoss, also the error is generated at runtime when it tries to lookup the "ejb" jndi name. On 2/2/06, Alejandro Montenegro [EMAIL PROTECTED] wrote: Hi I'm starting to work with Geronimo and would really like to make the switch form jboss to Geronimo, my problem is when I deploy my ears I got a javax.naming.NameNotFoundException: ejb I would believe there is something wrong with my openejb-jar.xml here it is: ?xml version="1.0"? openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" configId="com/bat/cl/arquitectura" parentId="org/apache/geronimo/Server" enterprise-beans session ejb-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session /enterprise-beans /openejb-jar I builded this based on the one in the Geronimo Wiki at http://wiki.apache.org/geronimo/Deployment#head-e0e0f00a4eae99eb5b4a22fb05287ffb6f10e72d My Jboss.xml file look as: ?xml version="1.0" encoding="UTF-8"? !DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.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-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session !-- write a merge file jboss-webservices.ent for webservice-description -- /enterprise-beans !-- To specify your own assembly descriptor info here, add a file to your XDoclet merge directory called jboss-assembly-descriptor.xml that contains the assembly-descriptor/assembly-descriptor markup. -- assembly-descriptor !-- message destinations -- !-- To specify additional message-destination elements, add a file in the merge directory called jboss-message-destinations.ent that contains them. -- /assembly-descriptor resource-managers /resource-managers !-- | for container settings, you can merge in jboss-container.xml | this can contain invoker-proxy-bindings/ and container-configurations/ -- /jboss Could any help with find my error? Regards Alejandro
Re: from jboss.xml to openejb.xml
Please show the exact code you are using to look up the ejb, and also the portion of ejb-jar.xml that specifies the ejb-ref. The jndi-name in openejb-jar xml is only useful for corba and non-j2ee clients. Usually specifying an ejb-link is the most convenient way to look up an ejb within an earAlso be aware that you need to follow the ejb spec and look up ejbs in java:comp/env.thanksdavid jencksOn Feb 3, 2006, at 4:23 AM, Alejandro Montenegro wrote: leonard flournoy escribió: Have you checked the other configurtation files to ensure that you've not mistyped the jndi name, you should take a look at your applicatoin.xml. At what point did you recieve the error, was it deployment or runtime?I dont think there are problems with my configuration files as the application runs well under JBoss, also the error is generated at runtime when it tries to lookup the "ejb" jndi name. On 2/2/06, Alejandro Montenegro [EMAIL PROTECTED] wrote: Hi I'm starting to work with Geronimo and would really like to make the switch form jboss to Geronimo, my problem is when I deploy my ears I got a javax.naming.NameNotFoundException: ejb I would believe there is something wrong with my openejb-jar.xml here it is:?xml version="1.0"? openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" configId="com/bat/cl/arquitectura" parentId="org/apache/geronimo/Server" enterprise-beans session ejb-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session /enterprise-beans /openejb-jarI builded this based on the one in the Geronimo Wiki athttp://wiki.apache.org/geronimo/Deployment#head-e0e0f00a4eae99eb5b4a22fb05287ffb6f10e72d My Jboss.xml file look as:?xml version="1.0" encoding="UTF-8"? !DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN""http://www.jboss.org/j2ee/dtd/jboss_4_0.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-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session !-- write a merge file jboss-webservices.ent for webservice-description -- /enterprise-beans !-- To specify your own assembly descriptor info here, add a file to your XDoclet merge directory called jboss-assembly-descriptor.xml that contains the assembly-descriptor/assembly-descriptor markup. -- assembly-descriptor !-- message destinations -- !-- To specify additional message-destination elements, add a file in the merge directory called jboss-message-destinations.ent that contains them. -- /assembly-descriptor resource-managers /resource-managers !-- | for container settings, you can merge in jboss-container.xml | this can contain invoker-proxy-bindings/ and container-configurations/ -- /jbossCould any help with find my error? RegardsAlejandro
from jboss.xml to openejb.xml
Hi I'm starting to work with Geronimo and would really like to make the switch form jboss to Geronimo, my problem is when I deploy my ears I got a javax.naming.NameNotFoundException: ejb I would believe there is something wrong with my openejb-jar.xml here it is: ?xml version="1.0"? openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar" configId="com/bat/cl/arquitectura" parentId="org/apache/geronimo/Server" enterprise-beans session ejb-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session /enterprise-beans /openejb-jar I builded this based on the one in the Geronimo Wiki at http://wiki.apache.org/geronimo/Deployment#head-e0e0f00a4eae99eb5b4a22fb05287ffb6f10e72d My Jboss.xml file look as: ?xml version="1.0" encoding="UTF-8"? !DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.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-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session !-- write a merge file jboss-webservices.ent for webservice-description -- /enterprise-beans !-- To specify your own assembly descriptor info here, add a file to your XDoclet merge directory called jboss-assembly-descriptor.xml that contains the assembly-descriptor/assembly-descriptor markup. -- assembly-descriptor !-- message destinations -- !-- To specify additional message-destination elements, add a file in the merge directory called jboss-message-destinations.ent that contains them. -- /assembly-descriptor resource-managers /resource-managers !-- | for container settings, you can merge in jboss-container.xml | this can contain invoker-proxy-bindings/ and container-configurations/ -- /jboss Could any help with find my error? Regards Alejandro
Re: from jboss.xml to openejb.xml
Have you checked the other configurtation files to ensure that you've not mistyped the jndi name, you should take a look at your applicatoin.xml. At what point did you recieve the error, was it deployment or runtime? On 2/2/06, Alejandro Montenegro [EMAIL PROTECTED] wrote: Hi I'm starting to work with Geronimo and would really like to make the switch form jboss to Geronimo, my problem is when I deploy my ears I got a javax.naming.NameNotFoundException: ejb I would believe there is something wrong with my openejb-jar.xml here it is: ?xml version=1.0? openejb-jar xmlns=http://www.openejb.org/xml/ns/openejb-jar configId=com/bat/cl/arquitectura parentId=org/apache/geronimo/Server enterprise-beans session ejb-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session /enterprise-beans /openejb-jar I builded this based on the one in the Geronimo Wiki at http://wiki.apache.org/geronimo/Deployment#head-e0e0f00a4eae99eb5b4a22fb05287ffb6f10e72d My Jboss.xml file look as: ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 4.0//EN http://www.jboss.org/j2ee/dtd/jboss_4_0.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-nameFunctions/ejb-name jndi-nameejb/Functions/jndi-name method-attributes /method-attributes /session session ejb-nameDataBaseEngine/ejb-name jndi-nameejb/DataBaseEngine/jndi-name method-attributes /method-attributes /session session ejb-nameFunctionExecuter/ejb-name jndi-nameejb/FunctionExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServiceExecuter/ejb-name jndi-nameejb/ServiceExecuter/jndi-name method-attributes /method-attributes /session session ejb-nameServices/ejb-name jndi-nameejb/Services/jndi-name method-attributes /method-attributes /session !-- write a merge file jboss-webservices.ent for webservice-description -- /enterprise-beans !-- To specify your own assembly descriptor info here, add a file to your XDoclet merge directory called jboss-assembly-descriptor.xml that contains the assembly-descriptor/assembly-descriptor markup. -- assembly-descriptor !-- message destinations -- !-- To specify additional message-destination elements, add a file in the merge directory called jboss-message-destinations.ent that contains them. -- /assembly-descriptor resource-managers /resource-managers !-- | for container settings, you can merge in jboss-container.xml | this can contain invoker-proxy-bindings/ and container-configurations/ -- /jboss Could any help with find my error? Regards Alejandro