[jboss-user] [EJB 3.0] - Re: MBeans waiting for other MBeans problem in DataSourceBin

GeethaAdhikeshavalu do-not-reply at jboss.com
Tue Jan 29 02:24:13 EST 2008


Hi,
   I am using ejb3, MySql 4.1, and JBoss 4.2.2 Ga in my application..
when i worked i have a problem ie.,

12:38:10,542 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo at e234742c { url=file:/C:/jboss-4.2.2.GA/server/default/deploy/MySqlDS.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/jboss-4.2.2.GA/server/default/deploy/MySqlDS.xml
  altDD: null
  lastDeployed: 1201590490542
  lastModified: 1201590492000
  mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at e234742c { url=file:/C:/jboss-4.2.2.GA/server/default/deploy/MySqlDS.xml }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/C:/jboss-4.2.2.GA/server/default/deploy/MySqlDS.xml
  altDD: null
  lastDeployed: 1201590490542
  lastModified: 1201590492000
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:jar=EJBStrutsEJB.jar,unitName=EJBStrutsEJBPU
  State: NOTYETINSTALLED
  I Depend On:
    jboss.jca:name=MySqlDS,service=DataSourceBinding
  Depends On Me:
    jboss.j2ee:jar=EJBStrutsEJB.jar,name=BookDAO,service=EJB3
    jboss.j2ee:jar=EJBStrutsEJB.jar,name=CustomerDAO,service=EJB3
    jboss.j2ee:jar=EJBStrutsEJB.jar,name=LibraryCart,service=EJB3
    jboss.j2ee:jar=EJBStrutsEJB.jar,name=BookTest,service=EJB3

ObjectName: jboss.j2ee:jar=EJBStrutsEJB.jar,name=BookDAO,service=EJB3
  State: NOTYETINSTALLED
  I Depend On:
    persistence.units:jar=EJBStrutsEJB.jar,unitName=EJBStrutsEJBPU

ObjectName: jboss.j2ee:jar=EJBStrutsEJB.jar,name=CustomerDAO,service=EJB3
  State: NOTYETINSTALLED
  I Depend On:
    persistence.units:jar=EJBStrutsEJB.jar,unitName=EJBStrutsEJBPU

ObjectName: jboss.j2ee:jar=EJBStrutsEJB.jar,name=LibraryCart,service=EJB3
  State: NOTYETINSTALLED
  I Depend On:
    persistence.units:jar=EJBStrutsEJB.jar,unitName=EJBStrutsEJBPU

ObjectName: jboss.j2ee:jar=EJBStrutsEJB.jar,name=BookTest,service=EJB3
  State: NOTYETINSTALLED
  I Depend On:
    persistence.units:jar=EJBStrutsEJB.jar,unitName=EJBStrutsEJBPU

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=MySqlDS,service=DataSourceBinding
  State: NOTYETINSTALLED
  Depends On Me:
    persistence.units:jar=EJBStrutsEJB.jar,unitName=EJBStrutsEJBPU


12:38:10,651 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
12:38:10,683 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
12:38:10,698 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 26s:640ms


My persistance.xml is.........
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
    http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
    
	<persistence-unit name="EJBStrutsEJBPU" transaction-type="JTA">
		org.hibernate.ejb.HibernatePersistance
  		<jta-data-source>java:/MySqlDS</jta-data-source>
  		
  			 
  			
  			
            
            
  		
	</persistence-unit>
 

and my DataSource is .........
<?xml version="1.0" encoding="UTF-8"?>

<!-- $Id: MySqlDS.xml 41016 2006-02-07 14:23:00Z acoliver $ -->
<!--  Datasource config for MySQL using 3.0.9 available from:
http://www.mysql.com/downloads/api-jdbc-stable.html
-->


  <local-tx-datasource>
    <jndi-name>MySqlDS</jndi-name>
    <connection-url>jdbc:mysql://localhost/sampleejb</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    root
    
    
       <type-mapping>mySQL</type-mapping>
    
  </local-tx-datasource>


i stored it in Jboss-Home/server/default/deploy..

My JNDI is ..........
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=localhost

pls, help me.....

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124268#4124268

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124268



More information about the jboss-user mailing list