[JBoss-user] [JBoss Getting Started Documentation] - Re: HOWTO use Oracle9i with JBoss 4?

2005-05-30 Thread dxxvi
What I meant by portability is if we use jbosscmp-jdbc.xml, we cannot  bring 
the whole directory contaning java and xml files to other application servers 
because they will not understand what jbosscmp-jdbc.xml is. Am I right?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3879459#3879459

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3879459


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: HOWTO use Oracle9i with JBoss 4?

2005-05-17 Thread dxxvi
Don't use jbosscmp-jdbc.xml. It'll make your ejb unportable.

Make a little change in standardjbosscmp-jdbc.xml and everything will be fine.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3878023#3878023

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878023


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - HOWTO use Oracle9i with JBoss 4?

2005-05-13 Thread dxxvi
I tried to use Oracle9i with JBoss 4 and faced some problems. This is what I've 
done:

- copied docs/examples/jca/oracle-xa-ds.xml to server/default/deploy. Changed 
the values of xa-datasource-property name=URL, xa-datasource-property 
name=User, xa-datasource-property name=Password to the proper ones.

- in the ejb jar file of my application, I had the jbosscmp-jdbc.xml file like 
this:

  | !DOCTYPE jbosscmp-jdbc PUBLIC
  |   -//JBoss//DTD JBOSSCMP-JDBC 4.0//EN
  |   http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd;
  | jbosscmp-jdbc
  | defaults
  | datasourcejava:/XAOracleDS/datasource
  | create-tabletrue/create-table
  | alter-tablefalse/alter-table
  | remove-tablefalse/remove-table
  | /defaults
  | enterprise-beans
  | entity
  | ejb-nameCabinEJB/ejb-name
  | table-nameCabin_table/table-name
  | cmp-field
  | field-nameid/field-name
  | column-namecabin_id/column-name
  | /cmp-field
  | cmp-field
  | field-namename/field-name
  | /cmp-field
  | /entity
  | /enterprise-beans
  | /jbosscmp-jdbc
  | 

I'm sure that it won't work with only these 2 steps. So what should I do next? 
(for example, change anything in standardjaws.xml, standardjbosscmp-jdbc.xml, 
login-config.xml ...)

Or if you know any document showing how to do this, let me know please. I found 
one at http://www.onjava.com/lpt/a/4525, but it doesn't work with me :(

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877690#3877690

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877690


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Re: HOWTO use Oracle9i with JBoss 4?

2005-05-13 Thread dxxvi
Thanks Norman. I can use Oracle9i with JBoss using oracle-ds.xml. It's very 
simple. I wrote it down here so that newbies like me can take a look.

- change oracle-ds.xml and copy the changed version to deploy directory

- set Pad in jboss-service.xml to true

- copy Oracle driver to lib directory

- you should use jbosscmp-jdbc.xml in your ejb jar file so that you can leave 
the standardjbosscmp-jdbc.xml intact.

This is my jbosscmp-jdbc.xml file

  | !DOCTYPE jbosscmp-jdbc PUBLIC
  |   -//JBoss//DTD JBOSSCMP-JDBC 4.0//EN
  |   http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd;
  | jbosscmp-jdbc
  | defaults
  | datasourcejava:/OracleDS/datasource
  | create-tabletrue/create-table
  | alter-tablefalse/alter-table
  | remove-tablefalse/remove-table
  | /defaults
  | enterprise-beans
  | entity
  | 

create-table should be true if you don't have that table already created in 
your database.

Good luck.

Norman, I'll need your advice when I go to oracle-xa-ds.xml. Is that ok?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3877731#3877731

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3877731


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393alloc_id=16281op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user