File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Oracle 8i conig with JBoss 3.0.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Oracle 8i conig with JBoss 3.0.2" Watch "Oracle 8i conig with JBoss 3.0.2" New topic

Oracle 8i conig with JBoss 3.0.2

Pearlo Muthukumaran
Ranch Hand

Joined: Sep 17, 2002
Posts: 79
I have problem configuring the Oracle8i Database
with JBoss 3.0.2, I have copied the
oracle-service.xml to the deploy directory and made appropriate changes to suit my database
and the JNDI name is configured as OracleDS.
I have also copied the, to the lib directory
as specified in documentation.
I tried context lookup with JNDI names
"java:/OracleDS" and got error
"Java Not bound" then
I tried "OracleDS" and got the same error in my client program.
I should also mention that I have the habit of first checking the JNDI and context obtaining in any new app server configuration before venturing into Bean Deployment.This is mainly to avoid major cryptic error messages after deployment which would take more time to debug.Therefore I am using a simple java Client and not EJB Client to check the DataSource configuration
Please let me know where exactly I am going wrong
Thanks in advance
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059

Welcome to JavaRanch! Please adjust your display name to meet the JavaRanch Naming Policy.
You can change it here.

[ September 27, 2002: Message edited by: Marilyn de Queiroz ]

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hi. I don't know exactly the solution to your problem. But What has helped me a lot whenever I have this annoying "name not bound" is to use the jmx-console in JBoss.
Have you tried it? have you tried to use the JNDIView in Jboss section? you can then check the Global JNDI Namespace and see if the jndi name you define is there and it is in the correct place.
not an answer again, but it's worth to check it.
hope it helps.

I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Pearlo Muthukumaran
Ranch Hand

Joined: Sep 17, 2002
Posts: 79
I tried the link for changing my name it says
The requested URL /cgi-bin/ultimatebb.cgi was not found on this server.
Well regarding my problem, I actually tried to access the datasource from a simple application, but from the discussion forums at I understand that the Data Source in JBoss 3.0.2 can be accesed in the same jvm ie when i deployed a session EJB referring above datasource as "java:/OracleDS" then thigs worked perfectly. But I do not understand why the datasource configured in an app server (JBoss in this case) is not usable by a simple java program
Could anybody explain why it is so?
Anyway, only http://localhost:8080/jmx-console and the JNDIVIEW assured me that I have to refer to the datasource as "jaava:/OracleDS"
Thanks anyway
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
I apologize for the bad link, Muthukumaran. I've fixed it now. It should be:
It is also available as the "my profile" link under the "new post" and "edit post" buttons.
[ September 27, 2002: Message edited by: Marilyn de Queiroz ]
Krishna, Alle

Joined: Nov 16, 2001
Posts: 14
I hope much of the talk is here about Oracle configuration with JBoss.
Can someone of you please point out where I can find the oracle-service.xml file? Please excuse me for my ignorance. I do not know if I need to create this somehow.
Thanks in advance.
Pearlo Muthukumaran
Ranch Hand

Joined: Sep 17, 2002
Posts: 79
Hi Krishna,
Sorry for the delay in response
file - oracle-service.xml is located
for example
Sugandhi Vivek

Joined: Nov 10, 2004
Posts: 1

Can anyone tell me what are the XML files required for configuration of Oracle database in JBOSS Application Server.
Also pls send those xml files to me.

Thank you Very much

I agree. Here's the link:
subject: Oracle 8i conig with JBoss 3.0.2
It's not a secret anymore!