geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Aresti Gonzalez" <kaare...@hotmail.com>
Subject Re: Deployment fail at persistent EJB
Date Mon, 11 Apr 2005 23:39:44 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>Hi David!!!</P>
<P>It helps, but i dont understand what you say about&nbsp;&nbsp;persistence-type
has the wrong case (should be Container or Bean).&nbsp;&nbsp;Can i fix this xml problems
with any tutorial or how to, or an example of the ejb-jar.xml and openejb-jar.xml should be??
I understand what they are for, but im a bit loose between the diferences that i should make
in the original xml and the ones geronimo needs. Have you got any example to let me or send
me to my personal email address, please? If not, is there any tutorial? When I finish with
this, i will start programming longer examples for my proyect, i have only 2 weeks to do this,
because i have to give the documentation 12th of May :-). I will send it for you to have a
look, cause will be a user start into geronimo in&nbsp;spanish, and might be very usefull
for spanish comunity!!!&nbsp;</P>
<P>Ok, so... can you&nbsp; or anybody help me again please??? ;-) </P>
<P>And the last question. To try de EJBs, ok... I just want to try then into Geronimo
with a client main(), just deploying&nbsp;a jar. Do i need a application.xml? When i use
the examples on a web application i know it need web.xml and the application.xml. How can
I see with a client main that my EJBs work into Geronimo?</P>
<P>Than you a lot for your help!!!!!</P>
<P>Katia</P>
<P><BR><BR>&nbsp;</P></DIV>
<DIV></DIV>&gt;From: David Jencks &lt;david_jencks@yahoo.com&gt;
<DIV></DIV>&gt;Reply-To: user@geronimo.apache.org
<DIV></DIV>&gt;To: user@geronimo.apache.org
<DIV></DIV>&gt;Subject: Re: Deployment fail at persistent EJB
<DIV></DIV>&gt;Date: Mon, 11 Apr 2005 16:00:13 -0700
<DIV></DIV>&gt;
<DIV></DIV>&gt;A couple of obvious problems are that the reentrant element
should
<DIV></DIV>&gt;be&nbsp;&nbsp;after prim-key-class and all lowercase
(false not False) and the
<DIV></DIV>&gt;&nbsp;&nbsp;persistence-type has the wrong case (should
be Container or Bean).
<DIV></DIV>&gt;
<DIV></DIV>&gt;I've found that looking at the errors reported by xmlbeans
and&nbsp;&nbsp;
<DIV></DIV>&gt;comparing with the schema has always led me to a valid xml
document.
<DIV></DIV>&gt;
<DIV></DIV>&gt;hope this helps
<DIV></DIV>&gt;david jencks
<DIV></DIV>&gt;
<DIV></DIV>&gt;On Apr 11, 2005, at 3:39 PM, Katia Aresti Gonzalez wrote:
<DIV></DIV>&gt;
<DIV></DIV>&gt;&gt;Hello!!!
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;I was trying to deploy the persistent EJB. Im using
the OpenEJB&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;example off ships and titan... Its an easy example,
just 2 entity
<DIV></DIV>&gt;&gt;bean&nbsp;&nbsp;and a session bean. The problem
is that the deployment fails
<DIV></DIV>&gt;&gt;and this&nbsp;&nbsp;the error
<DIV></DIV>&gt;&gt;that appears:
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;i cant guess what is the problem. Im trying to deploy
de jar, build
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;with maven, and buils succesfull,
<DIV></DIV>&gt;&gt;using the ejb-jar.xml and the openejb-jar.xml
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Anybody can help??? thank you!!!!
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;Katia
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;C:\gero&gt;start java -jar bin/server.jar
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;C:\gero&gt;java -jar bin/deployer.jar --user system
--password manager
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;deploy d:/cm
<DIV></DIV>&gt;&gt;p/build/dist/prueba-ejbs.jar
<DIV></DIV>&gt;&gt;Deployment failed
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;Server reports: org.apache.geronimo.common.DeploymentException:
<DIV></DIV>&gt;&gt;Error&nbsp;&nbsp;parsing
<DIV></DIV>&gt;&gt;ejb-jar.xml
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Error
parsing ejb-jar.xml
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invalid
deployment descriptor: [error: Element not allowed:
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;reentrant@ht
<DIV></DIV>&gt;&gt;tp://java.sun.com/xml/ns/j2ee in element&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;entity@http://java.sun.com/xml/ns/j2ee,
<DIV></DIV>&gt;&gt;error: String 'container' is not a valid enumerated
value for&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;persistence-typeT
<DIV></DIV>&gt;&gt;ype in namespace http://java.sun.com/xml/ns/j2ee, error:
Element
<DIV></DIV>&gt;&gt;not&nbsp;&nbsp;allowed: cm
<DIV></DIV>&gt;&gt;p-field@http://java.sun.com/xml/ns/j2ee in element&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;entity@http://java.sun.com/xm
<DIV></DIV>&gt;&gt;l/ns/j2ee, error: Element not allowed:&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;cmp-field@http://java.sun.com/xml/ns/j2ee
<DIV></DIV>&gt;&gt;in element entity@http://java.sun.com/xml/ns/j2ee,
error: Element
<DIV></DIV>&gt;&gt;not&nbsp;&nbsp;allowed:
<DIV></DIV>&gt;&gt;cmp-field@http://java.sun.com/xml/ns/j2ee in element&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;entity@http://java.sun.com/
<DIV></DIV>&gt;&gt;xml/ns/j2ee, error: Element not allowed:&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;cmp-field@http://java.sun.com/xml/ns/j2
<DIV></DIV>&gt;&gt;ee in element entity@http://java.sun.com/xml/ns/j2ee,
error:
<DIV></DIV>&gt;&gt;Element&nbsp;&nbsp;not allowed
<DIV></DIV>&gt;&gt;: cmp-field@http://java.sun.com/xml/ns/j2ee in element&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;entity@http://java.sun.co
<DIV></DIV>&gt;&gt;m/xml/ns/j2ee, error: Element not allowed:&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;primkey-field@http://java.sun.com/xml
<DIV></DIV>&gt;&gt;/ns/j2ee in element entity@http://java.sun.com/xml/ns/j2ee,
error:&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;Element not a
<DIV></DIV>&gt;&gt;llowed: resource-ref@http://java.sun.com/xml/ns/j2ee
in element&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;entity@http://ja
<DIV></DIV>&gt;&gt;va.sun.com/xml/ns/j2ee, error: Expected element(s)
in element&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;entity@http://java
<DIV></DIV>&gt;&gt;.sun.com/xml/ns/j2ee, error: Element not allowed:&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;reentrant@http://java.sun.com/
<DIV></DIV>&gt;&gt;xml/ns/j2ee in element entity@http://java.sun.com/xml/ns/j2ee,
<DIV></DIV>&gt;&gt;error:&nbsp;&nbsp;String 'be
<DIV></DIV>&gt;&gt;an' is not a valid enumerated value for persistence-typeType
in&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;namespace http:/
<DIV></DIV>&gt;&gt;/java.sun.com/xml/ns/j2ee, error: Element not allowed:&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;primkey-field@http://java
<DIV></DIV>&gt;&gt;.sun.com/xml/ns/j2ee in element&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;entity@http://java.sun.com/xml/ns/j2ee, error: E
<DIV></DIV>&gt;&gt;lement not allowed: resource-ref@http://java.sun.com/xml/ns/j2ee
in
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;element enti
<DIV></DIV>&gt;&gt;ty@http://java.sun.com/xml/ns/j2ee, error: Expected
element(s) in&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;element entity
<DIV></DIV>&gt;&gt;@http://java.sun.com/xml/ns/j2ee]
<DIV></DIV>&gt;&gt;Descriptor: &lt;ejb-jar&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;xsi:schemaLocation="http://java.sun.com/xml/ns/j2eehttp://j
<DIV></DIV>&gt;&gt;ava.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;xmlns:xsi="http://www.w3.
<DIV></DIV>&gt;&gt;org/2001/XMLSchema-instance"
<DIV></DIV>&gt;&gt;xmlns="http://java.sun.com/xml/ns/j2ee"&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&lt;enterprise-beans&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;entity&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;CabinEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;home&gt;com.titan.cabin.CabinHomeRemote&lt;/home&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;remote&gt;com.titan.cabin.CabinRemote&lt;/remote&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-class&gt;com.titan.cabin.CabinBean&lt;/ejb-class&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;reentrant&gt;False&lt;/reentrant&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;persistence-type&gt;container&lt;/persistence-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;prim-key-class&gt;java.lang.Integer&lt;/prim-key-class&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;field-name&gt;id&lt;/field-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;field-name&gt;name&lt;/field-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;field-name&gt;deckLevel&lt;/field-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;field-name&gt;shipId&lt;/field-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;field-name&gt;bedCount&lt;/field-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/cmp-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;primkey-field&gt;id&lt;/primkey-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;res-ref-name&gt;jdbc/titanDB&lt;/res-ref-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;res-auth&gt;Container&lt;/res-auth&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/entity&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;entity&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;description&gt;This
bean represents a cruise
<DIV></DIV>&gt;&gt;ship.&lt;/description&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;ShipEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;home&gt;com.titan.ship.ShipHomeRemote&lt;/home&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;remote&gt;com.titan.ship.ShipRemote&lt;/remote&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-class&gt;com.titan.ship.ShipBean&lt;/ejb-class&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;reentrant&gt;False&lt;/reentrant&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;persistence-type&gt;bean&lt;/persistence-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;prim-key-class&gt;java.lang.Integer&lt;/prim-key-class&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;primkey-field&gt;id&lt;/primkey-field&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;description&gt;DataSource
for the Titan
<DIV></DIV>&gt;&gt;database&lt;/description&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;res-ref-name&gt;jdbc/titanDB&lt;/res-ref-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;res-auth&gt;Container&lt;/res-auth&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/resource-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/entity&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;session&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;TravelAgentEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;home&gt;com.titan.travelagent.TravelAgentHomeRemote&lt;/home&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;remote&gt;com.titan.travelagent.TravelAgentRemote&lt;/remote&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-class&gt;com.titan.travelagent.TravelAgentBean&lt;/ejb-class&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;session-type&gt;Stateless&lt;/session-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;transaction-type&gt;Container&lt;/transaction-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-ref-name&gt;ejb/titan/CabinEJB&lt;/ejb-ref-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-ref-type&gt;Entity&lt;/ejb-ref-type&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;home&gt;com.titan.cabin.CabinHomeRemote&lt;/home&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;remote&gt;com.titan.cabin.CabinRemote&lt;/remote&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-link&gt;CabinEJB&lt;/ejb-link&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ejb-ref&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/session&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&lt;/enterprise-beans&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&lt;assembly-descriptor&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;security-role&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;description&gt;This
role represents everyone who is allowed
<DIV></DIV>&gt;&gt;full&nbsp;&nbsp;access
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to
te CabinEJB.&lt;/description&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;role-name&gt;everyone&lt;/role-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/security-role&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-permission&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;role-name&gt;everyone&lt;/role-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;CabinEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-name&gt;*&lt;/method-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;TravelAgentEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-name&gt;*&lt;/method-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method-permission&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-permission&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;role-name&gt;everyone&lt;/role-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;ShipEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-name&gt;*&lt;/method-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method-permission&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;container-transaction&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;CabinEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-name&gt;*&lt;/method-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;ShipEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-name&gt;*&lt;/method-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-name&gt;TravelAgentEJB&lt;/ejb-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;method-name&gt;*&lt;/method-name&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/method&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;trans-attribute&gt;Required&lt;/trans-attribute&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/container-transaction&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&lt;/assembly-descriptor&gt;
<DIV></DIV>&gt;&gt;&lt;/ejb-jar&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;/---------------open EJB jar.xml----------
<DIV></DIV>&gt;&gt;&lt;?xml version="1.0"?&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;&lt;openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1"&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-deployment
ejb-name="CabinEJB"
<DIV></DIV>&gt;&gt;deployment-id="titan/CabinEJB"&nbsp;&nbsp;container-id="Default
CMP
<DIV></DIV>&gt;&gt;Container"&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;resource-link
res-ref-name="jdbc/titanDB" res-id="Default
<DIV></DIV>&gt;&gt;JDBC&nbsp;&nbsp;Database"/&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ejb-deployment&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-deployment
ejb-name="ShipEJB"
<DIV></DIV>&gt;&gt;deployment-id="titan/ShipEJB"&nbsp;&nbsp;container-id="Default
BMP
<DIV></DIV>&gt;&gt;Container"&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;resource-link
res-ref-name="jdbc/titanDB" res-id="Default
<DIV></DIV>&gt;&gt;JDBC&nbsp;&nbsp;Database"/&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ejb-deployment&gt;
<DIV></DIV>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ejb-deployment
ejb-name="TravelAgentEJB"&nbsp;&nbsp;
<DIV></DIV>&gt;&gt;deployment-id="titan/TravelAgentEJB" container-id="Default
<DIV></DIV>&gt;&gt;Stateless&nbsp;&nbsp;Container"/&gt;
<DIV></DIV>&gt;&gt;&lt;/openejb-jar&gt;
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;&gt;_________________________________________________________________
<DIV></DIV>&gt;&gt;Acepta el reto MSN Premium: Correos más divertidos
con fotos y
<DIV></DIV>&gt;&gt;textos&nbsp;&nbsp;increíbles en MSN Premium.
Descárgalo y pruébalo 2 meses
<DIV></DIV>&gt;&gt;gratis.&nbsp;&nbsp;http://join.msn.com?
<DIV></DIV>&gt;&gt;XAPID=1697&amp;DI=1055&amp;HL=Footer_mailsenviados_correosmasdivertidos
<DIV></DIV>&gt;&gt;
<DIV></DIV>&gt;
<DIV></DIV></div><br clear=all><hr>Coches nuevos, coches de
ocasión, coches de Km 0 <a href="http://g.msn.com/8HMBESES/2746??PS=47575" target="_top">Si
piensas en cambiar de coche, MSN Motor.</a> </html>


Mime
View raw message