File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes checkIncompleteDeployments() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "checkIncompleteDeployments()" Watch "checkIncompleteDeployments()" New topic
Author

checkIncompleteDeployments()

venkat jasti
Greenhorn

Joined: Feb 12, 2004
Posts: 1
hello,
i am new to jboss ,when configure my db2 database datasourse evry thing work fine but connection is not establishing.the error it is showing is below any kind of help will be grately appriciated
thanks in advance
ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@7d3997d6 { url=file:/home/student/jboss/server/default/deploy/db2-db.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/home/student/jboss/server/default/deploy/db2-db.xml
lastDeployed: 1076646624117
lastModified: 1076646624000
mbeans:
, org.jboss.deployment.DeploymentInfo@7d3997d6 { url=file:/home/student/jboss/server/default/deploy/db2-db.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/home/student/jboss/server/default/deploy/db2-db.xml
lastDeployed: 1076646809872
lastModified: 1076646809000
mbeans:
]Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@12cf25f0 { url=file:/home/student/jboss/server/default/deploy/dbcomp.jar }
deployer: org.jboss.ejb.EJBDeployer@b2c6a6
status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
state: FAILED
watch: file:/home/student/jboss/server/default/deploy/dbcomp.jar
lastDeployed: 1076646613817
lastModified: 1076646613000
mbeans:
, org.jboss.deployment.DeploymentInfo@7d3997d6 { url=file:/home/student/jboss/server/default/deploy/db2-db.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/home/student/jboss/server/default/deploy/db2-db.xml
lastDeployed: 1076646624117
lastModified: 1076646624000
mbeans:
, org.jboss.deployment.DeploymentInfo@7d3997d6 { url=file:/home/student/jboss/server/default/deploy/db2-db.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/home/student/jboss/server/default/deploy/db2-db.xml
lastDeployed: 1076646809872
lastModified: 1076646809000
mbeans:
]MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
state: CONFIGURED
I Depend On: jboss.mq:service=Invoker
jboss.web:service=WebServer

Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=testTopic
state: CONFIGURED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
state: CONFIGURED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager

Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
state: CONFIGURED
I Depend On: jboss.mq:service=DestinationManager
jboss.mq:service=SecurityManager
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Your JBoss probably doesn't have any concept of what a "*-db.xml" file is and it is waiting for a deployer component that knows how to deploy it. Normally a datasource is deployed as a *-service.xml or *-ds.xml depending on what type of file it is. (you probably meant db2-ds.xml) If you name it appropriately, the server will know how to deploy it.
ana79
Greenhorn

Joined: Dec 06, 2006
Posts: 1
Hi,
it took me a long time to understand why JBoss want bind oracle datasource.Thanks to this post I figured it out and renamed my data source file correctly. I still wonder is there is another way to tell deploy where data source files are.


Ana
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"ana79",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Originally posted by ana79:
Hi,
it took me a long time to understand why JBoss want bind oracle datasource.Thanks to this post I figured it out and renamed my data source file correctly. I still wonder is there is another way to tell deploy where data source files are.


Why would you want to do it any other way. the xxx-ds.xml files are real simple to create and you have 23 examples in the doc directory for different databases.

You can also configure the DeploymentScanner, which is defined in the jboss-service.xml file in the server's conf directory to also scan other directories, URLs, WebDavs, Network Drive.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: checkIncompleteDeployments()
 
Similar Threads
DefaultJMSProvider not bound
Urgent help needed : MS-SQL 2K DataSource Configuration
Deployment in JBoss
Configure Jboss in Ant???
Pet Store