Hi Dasarath, I answer you:

 --- Dasarath Weeratunge <[EMAIL PROTECTED]>
escribió:

> Quoting Ruben DF <[EMAIL PROTECTED]>:
>  
> > I fixed the axis error. I just moved all
> > /target/lib/*.jar files and kandula_*.jar to
> > catalina/shared/lib(and not to axis/WEB-INF/lib).I
> > only put interopibm.jar and test-suite1.jar  files
> to
> > axis/WEB-INF/lib and the error disappeared.
> However,
> 
> this is how you should keep these files-- does the
> user guide say something 
> else? I will look at it again.
> 

user-guide.txt says:

step 5:
        Copy kandula-0.2-SNAPSHOT.jar in
%KANDULA_HOME%/target/ directory and jars in
%KANDULA_HOME%/target/lib/ to
                %CATALINA_HOME%/webapps/axis/WEB-INF/lib/

        You do not need to download jotm* jars or copy j2ee
jars under the new code. The transaction manager and
j2ee spec       jars are provided by Geronimo and are
downloaded by maven when building Kandula.

        The new Kandula_1 code only supports the Geronimo TM
for tx management.

        To get a reference to the TM use Bridge.getTM();

Here is where I think is wrong, because those files
should keep at catalina/shared/lib. (In README.1st
says that should keep in that directory, but says
"copy" and 
i think is "move",because copying I had the same
error)

> > My kandula.properties file is by default (
> >
>
kandula.context=http://localhost:8081/axis/services/)
> > (I use tcpmon to redirect) and I use
> > "org.apache.kandula.geronimo.TxHandler" on
> 
> for the InteropIBM sample you need to use
>  org.apache.kandula.coordinator.at.TxHandler
> 
> (in both client-config.wsdd and server-config.wsdd)
> I think I noted this in the 
> README.1st
> see whether this solves your problem.
> 
> thanks,
> --dasarath
> 

README.1st says:

+ for samples/test-suite1 use
"org.apache.kandula.geronimo.TxHandler" in
server-config.wsdd

+ for samples/interopibm use
"org.apache.kandula.coordinator.at.TxHandler"

It only says about server-config.wsdd file (not
client-config.wsdd). However, if both files,
server-config.wsdd and client-config.wsdd, must have
the same handler, when you downloaded kandula from
svn, why server-config.wsdd has
org.apache.kandula.geronimo.TxHandler and
client-config.wsdd has
org.apache.kandula.coordinator.at.TxHandler?? Those
files should have the same handler by default,
shouldn't they?then, why Test-suite1 works ok having
different handlers in server and client?

Well, due to client-config.wsdd has always had the
coordinator.at handler for me (I haven't update this
file), the error follow appearing (I have
server-config.wsdd with coordinator.at handler as the
client-config.wsdd)

What happens? Why have I got that error?

other question: is it necesary to update server.xml
with this code? (test-suite1 works ok without update
that file) (See step3)

<Context path="/axis" docBase="axis" debug="0"
reloadable="true" crossContext="true">
                <Resource name="jdbc/myDB" auth="Container"
type="javax.sql.DataSource"
                        factory="org.objectweb.jndi.DataSourceFactory"
                        username="name"
                        password="pwsd" 
                        driverClassName="com.mysql.jdbc.Driver"
                
url="jdbc:mysql://localhost/axis?useUnicode=true&amp;characterEncoding=UTF-8"
/>
                <Resource name="UserTransaction" auth="Container"
type="javax.transaction.UserTransaction"
                
factory="org.objectweb.jotm.UserTransactionFactory"
                        jotm.timeout="60" />
        </Context>

If i need update that file, where I should put the
code in server.xml , to the end?

Thanks in advance
Regards


                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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

Reply via email to