Still have problems... Got this exception:

[ejbdoclet] Running <weblogic/>
[ejbdoclet] Running XDoclet failed.
[ejbdoclet] javadoc: In doclet class xdoclet.DocletTask$DocletMain,
method star
t has thrown an exception java.lang.reflect.InvocationTargetException
[ejbdoclet] <<xdoclet.XDocletException: The value
'TRANSACTION_READ_COMMITED' sp
ecified for parameter 'null' of @weblogic:transaction-isolation tag in
update me
thod of com.moveitonline.application.model.AccessTypeBean class is not
valid. Va
lid values for this tag are: {{5}}.>>

This is excerpt from code, I can send the whole file if needed. The file
in question is entity bean with only local interface. Still on 1.1.2 ;)

    /**
     * @ejb:interface-method view-type="local"
     * @ejb:transaction type="Mandatory"
     * @weblogic:transaction-isolation TRANSACTION_READ_COMMITED
     */
    public void update(com.moveitonline.framework.model.BaseObject o)
        throws DataException
    {
        setName((String)o.getAttrValue("name"));
        super.update(o);
    }

Also you mentioned that "The Bean class must *not* be abstract." Yes!
Here's my problem -- the class above is an entity CMP, definitely
abstract. So I removed all tags from the CMP beans and left only on
session - got exactly the same exception.

[ejbdoclet] Running <weblogic/>
[ejbdoclet] Running XDoclet failed.
[ejbdoclet] javadoc: In doclet class xdoclet.DocletTask$DocletMain,
method star
t has thrown an exception java.lang.reflect.InvocationTargetException
[ejbdoclet] <<xdoclet.XDocletException: The value
'TRANSACTION_READ_COMMITED' sp
ecified for parameter 'null' of @weblogic:transaction-isolation tag in
create me
thod of
com.moveitonline.framework.services.PersistenceService.PersistenceServic
eBean class is not valid. Valid values for this tag are: {{5}}.>>
[ejbdoclet] 1 error

    /**
     * Save arbitrary object to database as new
     *
     * @ejb:interface-method
     * @ejb:transaction type="Required"
     * @weblogic:transaction-isolation TRANSACTION_READ_COMMITED
     */
    public BaseObject create(BaseObject obj)
            throws DataException
    {...}

--ME


Message: 6
From: =?iso-8859-15?Q?Aslak_Helles=F8y?= <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: RE: [Xdoclet-user] setting transaction isolation level
Date: Thu, 6 Feb 2003 18:11:52 +0100
Reply-To: [EMAIL PROTECTED]

I don't know exactly what you did, but this should work:

On 1.1.2

/**
 * @weblogic:transaction-isolation TRANSACTION_SERIALIZABLE
 */
publc void foo() {}

On 1.2.x

/**
 * @weblogic.transaction-isolation TRANSACTION_SERIALIZABLE
 */
publc void foo() {}

Note that the tag is a method tag in 1.1.2, and a method OR class tag in
1.2.x. The Bean class must *not* be abstract.

Post your source if you can't get it to work.

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael 
> Elizarov
> Sent: 6. februar 2003 17:33
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] setting transaction isolation level
>
>
> Hi
>
> I'm struggling to change transaction isolation level for weblogic. 
> According to examples (http://cvs.sourceforge.net/cgi- 
> bin/viewcvs.cgi/xdoclet/xdoclet/samples/src/java/test/ejb/Customer
> Bean.java?rev=1.15&content-
> type=text/vnd.viewcvs-markup)
> the following string should make the trick:
>
> @weblogic.transaction-isolation TRANSACTION_SERIALIZABLE
>
> I tried it, including variations (colon instead of dot, also weblogic
> transaction-isolation="blah") - no results. I want to get transaction-

> isolation element set to something under weblogic-enterprise-bean 
> element in the file weblogic-ejb-jar.xml.
>
> WLS 6.1
> Still using XDoclet 1.1.2...
>
> All help greately appreciated.
>
> --
> Michael Elizarov
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! 
> http://www.vasoftware.com 
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user



--__--__--

Message: 7
Date: Thu, 06 Feb 2003 10:17:22 -0800
To: <[EMAIL PROTECTED]>
From: Yahoo! Groups <[EMAIL PROTECTED]>
Subject: [Xdoclet-user] Re: Abuse - Unauthorized Subscription - roseys
(KMM66327607V53905L0KM)
Reply-To: [EMAIL PROTECTED]

Hello, 

Thank you for contacting Yahoo! Customer Care

You have been removed from the group. However, please note that it may =

take a few days after the unsubscribe request is processed to =
completely stop receiving the emails from the group.

We apologize for any inconvenience this may cause.

Thank you again for contacting Yahoo! Customer Care.

Regards,

Yahoo! Customer Care
http://www.yahoo.com/

35094789



Original Message Follows: 
-------------------------


Yahoo! ID:  

Subject: Unauthorized Subscription

What Group are you reporting?
  roseys

Type your feedback here:
 [EMAIL PROTECTED] received an email some days ago 
with a link that should be followed in order to confirm the 
subscription to the roseys forum. Some idiot that is 
subscribed to the [EMAIL PROTECTED] obviously 
confirmed the subscription by following the URL in the 
confirmation email. This might also have been done by the 
spammer himself.

The spam comes from a Yahoo group called roseys.

So please remove [EMAIL PROTECTED] and/or xdoclet-
[EMAIL PROTECTED] from the roseys forum. I can't 
do that.

I also suggest you close the roseys forum entirely, since 
they are abusing Yahoo and other people.

Finally, I urge you to do something to avoid this happening 
in the future.

Regards,
Aslak Helles=F8y


While Viewing: =
http://help.yahoo.com/help/us/groups/abuse/abuse-01.html

Yahoo ID: unknown : no amt link
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; DVD Owner; =

.NET CLR 1.0.3705)
REMOTE_ADDR: 62.179.142.127
REMOTE_HOST: unknown
Date Originated: Wednesday February  5, 2003 - 12:05:03
-------




--__--__--

Message: 8
Date: Thu, 6 Feb 2003 16:17:36 -0300
From: Danilo Luiz Rheinheimer <[EMAIL PROTECTED]>
To: Aslak Hellesoy <[EMAIL PROTECTED]>
Subject: Re[4]: [Xdoclet-user] WebLogic DD
Reply-To: [EMAIL PROTECTED]

Hello Aslak,

Thursday, February 6, 2003, 1:01:23 PM, you wrote:
AH> @weblogic.target-column-map should only be used for unidirectional 
AH> 1-->N relationships. For 1<-->N and 1<--N, use @weblogic.column-map 
AH> and place the tag on the N side (RequestBean). Just like you did.
AH> Try to remove @weblogic.target-column-map entirely and see if it
works
AH> better for you.

  I did it, but it still do not work. When I run weblogic.ejbc I got
this error :

do-bea:
     [java] [EJBCompiler] : Recompiling because no previous hashes found
     [java] [EJBCompiler] : Compliance Checker said bean was compliant

     [java] ERROR: Error from ejbc: Error while reading
'META-INF/weblogic-cmp-r dbms-jar.xml'. The error was:
     [java]
     [java] In relationship 'a555', role 'theRequest', invalid column
'idCustome r', a column-map element contains an invalid key-column. The
key-column is not d efined in the related bean or it's not recognized
because of case mismatch.

<weblogic-rdbms-relation>
  <relation-name>a555</relation-name> 
  <weblogic-relationship-role>
    <relationship-role-name>theRequest</relationship-role-name>
    <relationship-role-map>
      <column-map>
        <foreign-key-column>THE_CUSTOMER_FK</foreign-key-column>
        <key-column>idCustomer</key-column>
      </column-map>
    </relationship-role-map>
  </weblogic-relationship-role>
</weblogic-rdbms-relation>

  Looks ok to me.
  What can be wrong now ?

-- 
Best regards,
 Danilo                            mailto:[EMAIL PROTECTED]





--__--__--

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


End of xdoclet-user Digest



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to