[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-30 Thread [EMAIL PROTECTED]
You are correct that other application servers would not understand the file, 
but this wouldn't really cause any sort of problem.  You'd need to add the 
appropriate deployment descriptors for the other application server, but the 
presence of the JBoss ones shouldn't impact the other server in any way.

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

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


---
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] - Re: HOWTO use Oracle9i with JBoss 4?

2005-05-17 Thread [EMAIL PROTECTED]
That is incorrect.  There is no impact on portability.  The changes are 
identical in their impact on portability, but  keeping them in 
jbosscmp-jdbc.xml lets you keep the configuration local to one application. It 
also means that you won't have re-apply the global changes when you update to a 
newer version of JBoss.



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

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


---
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] - Re: HOWTO use Oracle9i with JBoss 4?

2005-05-13 Thread [EMAIL PROTECTED]
XA for oracle may require a couple of other steps.  Do you really need XA?  Try 
the normal oracle driver first.  You'll find it much easier to get going.

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

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


---
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