• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle 8i conig with JBoss 3.0.2

 
Pearlo Muthukumaran
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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 classes12.zip,classes11.zip 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
Regards
K.Muthukumaran
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Muthukumaran,

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

Thanks!
[ September 27, 2002: Message edited by: Marilyn de Queiroz ]
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
http://localhost:8080/jmx-console/
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.
 
Pearlo Muthukumaran
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 www.jboss.org 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
Rgds
 
Marilyn de Queiroz
Sheriff
Posts: 9066
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I apologize for the bad link, Muthukumaran. I've fixed it now. It should be:
http://www.coderanch.com/forums/user/profile/.
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
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Krishna,
Sorry for the delay in response
file - oracle-service.xml is located
at
<JBOSS_HOME>\docs\examples\jca
for example
C:\jboss\jboss-3.0.2\docs\examples\jca
Rgds
Kala
 
Sugandhi Vivek
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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
Regards

Sugandhi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic