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 [JBOSS] DatasourceBinding problem (EclipseLink) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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: 17421

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: [JBOSS] DatasourceBinding problem (EclipseLink)
It's not a secret anymore!