quality@glassfish.java.net

RE: java.lang.IllegalStateException has appered when I used the JTA for Postgr

From: jack_spallaw <xbl08325_at_nifty.ne.jp>
Date: Sun, 7 Sep 2008 02:39:09 +0900 (JST)

Hi wim!

I'm writing the report of this.
The report will be completed at tommorow night.
But I seem you "I would like to try it soon!".

So I will write the "XA set up correct sequence".

Following by :

Before you start the domain, you need to put the "MySQL Connector/J X.X" on th
e directory "~/glassfishv3-prelude/glassfish/lib/".

asadmin start-domain

Access to the http://localhost:4848/

On the Administration-console-window

Click to the "Update tool" at the left side pane.

Click to the "Available Add-Ons" at the right side pane.

Check to the "glassfish-corba-omgapi" and "glassfish-jts", and click to the "I
nstall" at the right side pane.

After above all, you can create the connection-pool and datasource.

Note:
You should select the "Driver type" is "javax.sql.XADataSource".

Try it please.

Thank you.