persistence@glassfish.java.net

Re: Problem loading Entity from EJB

From: Mitesh Meswani <Mitesh.Meswani_at_Sun.COM>
Date: Tue, 27 Jun 2006 13:56:03 -0700

toplink-essentials-agent.jar should not be needed on appclient.

Thanks,
Mitesh

Kenneth Saks wrote:
> Dyego Souza Dantas Leal wrote:
>
>>
>> THE PROBLEM IS SOLVED !!!! THIS IS NOT BUG , IS BUG IS IN MY BRAIN !!!
>>
>>
>> In the client , the Toplink Essentials libs MUST in ClassPath
>> (toplink-essentials.jar and toplink-essentials-agent.jar).... if
>> not... the error occurs...
>
> Dyego, are you sure you need both? Can someone comment on when each
> of these jars is needed for a client that uses
> the Java Persistence API. Our Application Client Container classpath
> only includes
> toplink-essentials.jar. Thanks.
>
> --ken
>
>>
>>
>> Please... put them in faq !!!!
>>
>>
>> Hey Kenneth Saks !!! thank you in advance !!!
>>
>>
>>
>> Ken Cavanaugh escreveu:
>>
>>> Kenneth Saks wrote:
>>>
>>>> Dyego Souza Dantas Leal wrote:
>>>>
>>>>> Ok , same error occurs...
>>>>>
>>>>>
>>>>> The Client Code:
>>>>>
>>>>>
>>>>> TabelaCustaSessionRemote control =
>>>>> client.getRemoteSessionBean(TabelaCustaSessionRemote.class);
>>>>> System.out.println("getTabela(1)");
>>>>> dummy.example.entity.Tabelacusta tabCustaRecuperado;
>>>>> tabCustaRecuperado = control.getTabela(137);
>>>>> System.out.println("The Object "+tabCustaRecuperado);
>>>>>
>>>>>
>>>>> 27/06/2006 15:15:38
>>>>> com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_value
>>>>> WARNING: "IOP00810257: (MARSHAL) Could not find class"
>>>>
>>>>
>>>> Corba team,
>>>>
>>>> Is there a debug flag that will print out which class is not being
>>>> found?
>>>
>>> Unfortunately there is no direct flag for this, but the ORB
>>> transport debug flag may provide some information. It may in fact
>>> add too much information in other areas.
>>>
>>> This can be enabled by setting the property
>>> com.sun.corba.ee.ORBDebug to "transport".
>>>
>>> We should add the name of the class to the ORB log message when
>>> this error occurs.
>>>
>>> Ken.
>>>
>>
>>
>
>