copy lyou modified orior-ejb-jar.xml file (or create your own) from the
deployment directory to you development ejb META-INF directory. So now your
ejb directory should look like this:

META-INF
 |
 - ejb-jar.xml
 - orion-ejb-jar.xml

remake your ejb jar.

remake your war and ear files

deploy as usual, but now the orion-ejb-jar.xml in the deployment will
reflect your changes. BTW, you only have to put in your tag ... orion should
do the rest.

All of the j2ee deployment descriptors which are in the j2ee spec have
"orion-specific" orion-"j2ee descriptor".xml files which can be put in the
same place as the j2ee specific.

weblogic used to use dd files which also had to be in the ejb.jar file, but
their latest version also uses orion's technique of xml deployment
descriptors. I guess they steal from the best.

...
oh yeah, remember to blow away your deploy directory, because orion will not
overwrite a orion-specific xml file in the deployment directory, because
most of us hacks just modify the automatically created stuff, and only
package it up in the final release.

regards,

the elephantwalker



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kshatriya,
Atul
Sent: Thursday, May 24, 2001 9:15 AM
To: Orion-Interest
Subject: Help wanted - Info about exclusive-write-access


Hello,
This is a deployment question for entity beans. The database that we are
working on can potentially be changed/updated outside the ejb container.
After reading the documentation I found that we need to specify in the
orion-ejb-jar.xml a flag

exclusive-write-access="false"

in the  <entity-deployment ...>  section for that entity bean so that orion
will do trips to the database everytime a bean property is accessed and
reflect the correct state everytime.

But strangely orion-ejb-jar.xml is a deployment file. It is created by orion
from the .ear file that we give it as the application, and not a part of the
.ear. I don't want to change the deployment files of orion to make my
application work correctly!

What do I need to specify in MY ejb-jar.xml in which I detail my entity
beans so that orion will correctly deploy them with the flag set to false
(it is true by default).

Thank you very much in advance.

Atul.

-----Original Message-----
From: Ernie Phelps [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 4:18 AM
To: Orion-Interest
Subject: RE: JSP variable in nested Tags


Scott,

Thanks for the tip, but in this case I went back and ensured that there were
no spaces between. Still have the same issue.

- E

-----Original Message-----
From: SCOTT FARQUHAR [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 6:13 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: JSP variable in nested Tags


I have a feeling that this is not orion-specific (websphere ie tomcat does
this too)

if you have any spaces between " and <% then you will encounter this
problem.



>>> [EMAIL PROTECTED] 05/24/01 04:58am >>>
I have an interesting little problem. I am using the Jakarta <input:textarea
...> tags inside an <iterate> tag. One of the attributes of the
<input:textarea ...> is name, which I am setting using name="<%=
myVar.getMyProp %>". This works fine, until I put text in front of the "<%".
If I do that, it sends the literal string instead of the value of the
variable.

Example 1 (Works):

<ejb:iterate id="orderItem" type="OrderItem" collection="<%= col %>">
        <input:textarea name="<%= orderItem.getOrderItemID()%>"
attributes="<%=
commentTable%>"/>
</ejb:iterate>

Produces:

<textarea name="1001"></textarea>

Example 2 (Fails):

<ejb:iterate id="orderItem" type="OrderItem" collection="<%= col %>">
        <input:textarea name="comment<%= orderItem.getOrderItemID()%>"
attributes="<%= commentTable%>"/>
</ejb:iterate>

Produces:

<textarea name="comment&lt;%
out.print(orderItem.getOrderItemID());%&gt;"></textarea>

I have looked at the JSP 1.1 specification, but couldn't find anything that
said it should be processed one way or the other. I have a feeling that this
is an Orion specific issue, but can't find out which way is correct to
submit a bug report. Does anyone on the list have a resource to point me to
on this issue? Thanks in advance for your help.

OS: Win2k
Ver: Orion 1.5.1
JDK: 1.3

- Ernie Phelps




Reply via email to