users@glassfish.java.net

Re: transaction type JTA but no jtaDataSource

From: Sahoo <sahoo_at_sun.com>
Date: Mon, 10 Mar 2008 23:50:46 +0530

Johnny Tolliver wrote:
> On Mon, 10 Mar 2008, Sahoo wrote:
>
>
>> I know your problem is fixed now, but I would like to know the origin of
>> this message. Can you please let me know the stack trace for the above
>> error? It should be in your log file if you still have it.
>>
>
> Sorry, I no longer have the log file, but, before I posted my question,
> Google was able to find the message in *somebody's* source. See this link:
>
> http://fisheye5.cenqua.com/browse/~author=kylechen/glassfish/entity-
> persistence/src/java/oracle/toplink/essentials/exceptions/i18n/
> EntityManagerSetupExceptionResource.java?r=1.14
>
> Looks like the file is in an oracle.toplink... package. The linked-to file
> is a list of error messages. The one I got is numbered 28010. Well, that's
> *almost* the message I got. Obviously my persistence unit name was inserted
> in place of the {0} placeholder, but more curiously, my message absolutely
> did not have an apostrophe in the word "doesn't" whereas the linked-to
> source file has an apostrophe. Odd.
>
>
Yes, that's the source of the message. I think "doesn't have" becomes
"doesnt have" during message parsing if not properly escaped.

Thanks,
Sahoo