1 Reply Latest reply on Sep 3, 2002 4:34 AM by tdang

    error when deploying .jar

    dferquian

      When i try to deploy a jar file, I get this error: 00:14:29,718 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.0.2/server/default/deploy/Servicio.jar

      00:14:29,906 INFO [EjbModule] Creating

      00:14:29,921 INFO [EjbModule] Deploying Servicios

      00:14:30,265 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB,jndiName=Servicios

      org.jboss.deployment.DeploymentException: MySQL not bound

      The above happens if I don`t have the jaws.xml file in the jar file. If I do have that file in the jar, I get this error:

      00:25:27,437 INFO [EjbModule] Creating

      00:25:27,453 INFO [EjbModule] Deploying Servicios

      00:25:27,843 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB,jndiName=Servicios

      org.jboss.deployment.DeploymentException: Error in jaws.xml for Entity Servicios: expected one order tag


      I don't know if the jaws.xml file has to be in the jar file and if it does why it does not work either.
      I am running JBoss3.0.2 and mySql.
      Any help would be appreciated. Thanks in addvance.

      Daniel