Re: Marshal error in Transaction service

Michael Rumpf <[email protected]> 31 May 2002 12:57:54 +0200
Newsgroups gmane.comp.corba.openorb.devel
Message-ID <1022842675.1031.3.camel@ppro>
Hi,

please use the latest version of OpenORB/OTS from http://openorb.sf.net

If the problem still occurs then report again to the list:
[email protected]

Michael

On Wed, 2002-05-29 at 08:45, shuangshuang qi wrote:
>=20
> Hi,
>=20
>   I   have a problem with simple transactions.
>=20
>   After successfully starting NameService,OTS server and  WithoutResour=
ce.Server,
> I tried the WithoutResource client with the following result
>=20
> H:\pwe\try_openorb>java WithoutResource.BankClient -ORBProfile=3Dots
>=20
> -------------------------------------------------
> Bank client
> -------------------------------------------------
>=20
> Select an option :
>         0. Quit
>         1. Create a new account.
>         2. Get an account information.
>         3. Make a transfer.
>=20
> Your choice : 1
>=20
> - Create a new account -
> ------------------------
>=20
> Name : me
> Initial balance : 100
>=20
> org.omg.CORBA.MARSHAL:   minor code: 0  completed: No
>         at org.omg.CosTransactions.PropagationContextHelper.extract(Pro=
pagationC
> ontextHelper.java:39)
>         at org.openorb.ots.Impl.Current.getPropagationContext(Current.j=
ava:495)
>         at org.openorb.ots.Impl.Current.commit(Current.java:222)
>         at WithoutResource.BankClient.newAccount(BankClient.java:204)
>         at WithoutResource.BankClient.begin(BankClient.java:135)
>         at WithoutResource.BankClient.main(BankClient.java:361)
> org.omg.CosTransactions.NoTransaction: IDL:omg.org/CosTransactions/NoTr=
ansaction
> :1.0
>         at org.openorb.ots.Impl.Current.commit(Current.java:229)
>         at WithoutResource.BankClient.newAccount(BankClient.java:204)
>         at WithoutResource.BankClient.begin(BankClient.java:135)
>         at WithoutResource.BankClient.main(BankClient.java:361)
>=20
>=20
> why?
>=20
> I have copy openORB.xml and ots.xml into working dir ,and modified  the=
 openORB.xml like this
>=20
> ...
>=20
>  <profile name=3D"ots" extends=3D"default">
>     <description>
>     The ots profile loads the OTS interceptors required for the
>     management of distributed transaction. This profile must be used
>     on server and client sides for transaction applications.
>     </description>
>    =20
>     <import xlink:href=3D"${user.dir}ots.xml#ots" />   =20
>   </profile>
>=20
> ...
>  Is that right ? enough?
>=20
> btw: the release of transactionService is 1.2.1
>=20
> Best regards.
>=20
> from :icehope
>=20
> =20
>=20
> =20
>=20
>=20
>=20
> ---------------------------------
> Do You Yahoo!?
> =E5=88=B0=E9=9B=85=E8=99=8E=E4=B8=AD=E5=9B=BD2002 FIFA=E4=B8=96=E7=95=8C=
=E6=9D=AF=E8=81=9A=E7=84=A6=E6=84=9F=E5=8F=97=E8=B6=B3=E7=90=83=E7=9A=84=E9=
=AD=85=E5=8A=9B=EF=BC=81

-----------------------------------------------------------=20
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of:
	unsubscribe openorb-dev