Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Error in jboss New missing/unsatisfied dependencies:  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am learning jsf and jboss.
I am stuck up at initial stage itself.
I am trying to create datasource and connect to jboss server.
I am using JBOSS-as-7.1.1
I have made following changes in standalone.xml



I have created a folder and named it oracle and have placed it in Jboss/modules/com
Then i created a subfolder named it main and copied ojdbc6.jar in it
I have also created a module.xml file, its content are as follows:



When I start the server I get the following error:
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.ojdbc6 (missing) dependents: [service jboss.data-source.java:jboss/datasources/NewDS, service jboss.data-source.java:jboss/NewOracle]

17:35:27,167 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990

Please help me...
 
ranger
Posts: 17344
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am going to move this to the JSF forum. This forum is for ORM questions, and your issue isn't about ORM.

Good Luck

Mark
 
Saloon Keeper
Posts: 2590
327
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This about about Oracle datasource - missing/unsatisfied dependencies might help.
 
Bartender
Posts: 20770
124
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, this question was more ORM-related than JSF-related, since JSF has no database functions in it at all - it expects you to use your own preferred methods of talking to databases.

But more than JSF or ORM, this is a JBoss question. So I'm bouncing it over to the JBoss forum.

Just for the record, I think that your "driver" element in your datasource element isn't mapping to your "drivers" element. But I'll leave that for the JBoss folks to determine.
 
Sheriff
Posts: 21747
102
Chrome Eclipse IDE Java Spring Ubuntu VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, remove those dependencies from module.xml. ojdbc6.jar should only have a dependency on JDBC which is part of JSE.

You mentioned your folder structure is com/oracle/main. Your module name is com.oracle.ojdbc. That means your folder structure should be com/oracle/ojdbc/main.
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!