• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Error in jboss New missing/unsatisfied dependencies:

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 4644
582
VSCode Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This about about Oracle datasource - missing/unsatisfied dependencies might help.
 
Saloon Keeper
Posts: 28321
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 22815
132
Eclipse IDE Spring Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic