This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes [JBOSS] DatasourceBinding problem (EclipseLink) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "[JBOSS] DatasourceBinding problem (EclipseLink)" Watch "[JBOSS] DatasourceBinding problem (EclipseLink)" New topic

[JBOSS] DatasourceBinding problem (EclipseLink)

alp carsikarsi
Ranch Hand

Joined: Dec 27, 2005
Posts: 40

I'm writing a sip application which will run in JBOSS Mobicent. I'm using eclipse-link (JPA API) for database issues. When i tried to deploy my application to JBOSS i'm getting following exception.
I tried many combinations but i failed. What am i doing wrong ?

MY persistence.xml :

stsCore-ds.xml :

i also put stsCore-ds.xml into WEB-INF folder:


Deployment "persistence.unit:unitName=#stsCore" is missing the following dependencies:
Dependency "jboss.jca:name=stsCore,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=stsCore,service=DataSourceBinding' **")

Deployment "jboss.jca:name=stsCore,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=stsCore,service=DataSourceBinding' **

at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(
at java.util.concurrent.Executors$
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(
at java.util.concurrent.FutureTask.runAndReset(
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(
at java.util.concurrent.ScheduledThreadPoolExecutor$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16303

I think this is more of a JBoss question than a Portal/Portlet question, so I'm moving it.

I'm not too sure about your JNDI pathname.

Customer surveys are for companies who didn't pay proper attention to begin with.
Don't get me started about those stupid light bulbs.
subject: [JBOSS] DatasourceBinding problem (EclipseLink)