2 Replies Latest reply on Jan 11, 2006 9:15 PM by Philip Warne

    NewBie: NameNotFoundException when I deploy a .war file to J

    kaymen Ji Newbie

      I have a .war file includes some java class(no EJB) and jsp files. It is a simple applcation connect to MYSQL database

      THe struture of my .war file is:

      public
      secure
      WEB-INF

      inside public and secure folders are some jsp files
      in WEB-INF are classes folder and web.xml, and some struts-config and tag lib.

      And I have a mysql-ds.xml in the jboss/../server/default/deploy.

      <?xml version="1.0" encoding="UTF-8"?>
      
      <datasources>
       <local-tx-datasource>
       <local-jndi-name>mysqlDS</local-jndi-name>
       <connection-url>jdbc:mysql://localhost:3306/REPORT_SERVER</connection-url>
       <driver-class>com.mysql.jdbc.Driver</driver-class>
       <user-name>root</user-name>
       <password>password</password>
      
      
       </local-tx-datasource>
      </datasources>
      
      


      After I deployed my .war file to jboss../default/deploy, and I start up the jboss, i got the following error:

      11:22:17,531 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      
      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@5d910e8f { url=file:/C:/Program Files/jboss-
      4.0.3SP1/server/default/deploy/mysql-ds.xml }
       deployer: null
       status: null
       state: INIT_WAITING_DEPLOYER
       watch: file:/C:/Program Files/jboss-4.0.3SP1/server/default/deploy/mysql-ds.xm
      l
       altDD: null
       lastDeployed: 1136996535781
       lastModified: 1136996535781
       mbeans:
      


      I am quite new in JBoss, could anyone give me some hints? how to solve this problem?