Quoting Jack Wang <[EMAIL PROTECTED]>:

put the client-config.wsdd in WEB-INF/classes and server-config.wsdd in WEB-INF/

use o.a.k.coord.at.TxHandler in client-config.wsdd and o.a.k.geronimo.TxHandler 
in server-config.wsdd



> --- Dasarath Weeratunge <[EMAIL PROTECTED]>дµÀ:
> > Quoting Jack Wang <[EMAIL PROTECTED]>:
> > 
> > this is a very common problem, most often the cause is your handlers are
> not 
> > properly deployed. Check whether the coordination context is in the
> message. If 
> > it is then your client side is OK. then if it still fails the problem is
> the 
> > server side handler not properly deployed.
> > 
> 
> There are "<CreateCoordinationContext..." and
> "<CoordinationContext><Identifier>uuid:ca12..." in
> the tcpmon's output.
> 
> > --dasarath
> > 
> > > --- Dasarath Weeratunge <[EMAIL PROTECTED]>дµÀ:
> > > > Quoting Jack Wang <[EMAIL PROTECTED]>:
> > > > 
> > > > if things are working the way they should, when you call getTransaction
> on
> > > the 
> > > > TM object that you get from the Bridge from within the service impl of
> your
> > > ws 
> > > > it should return a non NULL tx object unless you invoked your ws
> without a
> > > 
> > > > coordination ctx. Please look at test-suite1. It shows how to do this.
> > > > 
> > > > --dasarath
> > > 
> > >     I have got tm from the Bridge within the service impl of my ws, and
> also
> > > called the ws by
> > > kandula (between wstm.begin() and wstm.rollback()). But the tx in the
> impl is
> > > still null.The
> > > situation is illustrated in the previous mail as following. I wonder if
> I
> > > have missed sth.
> 
> 
> Sorry, the tx in the impl I get is still null. Here I have two questions.
> 
> 1) Should I deploy the client side and service side in two web apps? I did
> the test in one app,
> i.e. the client side and the service side are both in one app named "axis" in
> localhost machine. I
> only deploy server-config.wsdd in the "axis" app with:
> --------------------------------
> java -classpath %classpath% org.apache.axis.client.AdminClient
> -lhttp://centerhost:8080/axis/services/AdminService server-config.wsdd
> --------------------------------
> 
> 2) How should I use client-config.wsdd? 
> 
> There is a handler "org.apache.kandula.coordinator.at.TxHandler" in
> %AXIS_DEPLOY%/WEB-INF/server-config.wsdd, but no
> "org.apache.kandula.geronimo.TxHandler". In
> Test-suite1 example, the transaction handler used in my
> %AXIS_DEPLOY%/WEB-INF/classes/client-config.wsdd is
> org.apache.kandula.geronimo.TxHandler, where
> does it go or what does it do ?
> 
> 
> p.s.
> 
> I did not use the junit to do the test. I just use the IDE and use the
> command line to deploy web
> service. And in my test environment, the client is just a jsp(webwork), and
> both my ws and
> kandula(server) ws are in this machine.
> 
> In tomcat, I configure jotm "UserTransaction", not configure geronimo
> "UserTransaction", for I
> don't know how to configure geronimo "UserTransaction", though maybe I don't
> need to configure it.
> 
> Thanks
> 
> 
> 
>  
> 
> 
> 
> 
> Wang Jun
> 
> 
>       
> 
>       
>               
> ___________________________________________________________ 
> ÑÅ»¢1GÃâ·ÑÓÊÏä°Ù·Ö°Ù·ÀÀ¬»øÐÅ 
> http://cn.mail.yahoo.com/
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to