0 Replies Latest reply on Mar 6, 2004 3:54 PM by sykesd

    New version of .jar fails to deploy without error message!!!

    sykesd Newbie

      Hello all,

      we are having a problem deploying a new version of a .jar file containing Entity beans. An older version of this .jar deploys correctly. A new version of this .jar is deployed without any error message, but also without actually deploying any of the entities contained in the .jar!!

      We see the same behaviour on several installations of both 3.2.1 and 3.2.3, running on either JDK 1.4.1 or JDK 1.4.2, all on Windows.

      The ejb-jar.xml and jboss.xml files are identical between both versions of the .jar. The code is generated automatically from the database schema using our own code generator. The code generator has not changed, only the database schema.

      The older version produces the following messages in server.log:



      2004-03-06 15:26:12,432 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/WINSOFT/jboss-3.2.3/server/default/deploy/pbs_ejb_entity.jar
      2004-03-06 15:26:15,216 INFO [org.jboss.ejb.EjbModule] Deploying AddressEJB
      2004-03-06 15:26:15,697 INFO [org.jboss.ejb.EjbModule] Deploying ContactEJB
      2004-03-06 15:26:15,707 INFO [org.jboss.ejb.EjbModule] Deploying SupplierEJB
      2004-03-06 15:26:15,727 INFO [org.jboss.ejb.EjbModule] Deploying StoreEJB
      2004-03-06 15:26:15,737 INFO [org.jboss.ejb.EjbModule] Deploying SiteEJB
      2004-03-06 15:26:15,767 INFO [org.jboss.ejb.EjbModule] Deploying CountryEJB
      2004-03-06 15:26:15,777 INFO [org.jboss.ejb.EjbModule] Deploying LanguageEJB
      2004-03-06 15:26:15,797 INFO [org.jboss.ejb.EjbModule] Deploying UomEJB
      2004-03-06 15:26:15,807 INFO [org.jboss.ejb.EjbModule] Deploying UsersKissEJB
      2004-03-06 15:26:15,827 INFO [org.jboss.ejb.EjbModule] Deploying UserPasswordEJB
      2004-03-06 15:26:15,837 INFO [org.jboss.ejb.EjbModule] Deploying UserEJB
      2004-03-06 15:26:15,847 INFO [org.jboss.ejb.EjbModule] Deploying PartEJB
      2004-03-06 15:26:15,857 INFO [org.jboss.ejb.EjbModule] Deploying PartsSiteEJB
      2004-03-06 15:26:15,887 INFO [org.jboss.ejb.EjbModule] Deploying PartsRegionEJB
      2004-03-06 15:26:15,897 INFO [org.jboss.ejb.EjbModule] Deploying PurchaseOrderLineItemEJB
      2004-03-06 15:26:15,917 INFO [org.jboss.ejb.EjbModule] Deploying PurchaseOrderEJB
      2004-03-06 15:26:15,937 INFO [org.jboss.ejb.EjbModule] Deploying BinEJB
      2004-03-06 15:26:15,967 INFO [org.jboss.ejb.EjbModule] Deploying WarehouseEJB
      2004-03-06 15:26:15,977 INFO [org.jboss.ejb.EjbModule] Deploying DefaultsWarehousingEJB
      2004-03-06 15:26:15,997 INFO [org.jboss.ejb.EjbModule] Deploying DefaultStagingBinEJB
      2004-03-06 15:26:16,017 INFO [org.jboss.ejb.EjbModule] Deploying FreezeFileEJB
      2004-03-06 15:26:16,037 INFO [org.jboss.ejb.EjbModule] Deploying FreezeFileLineItemEJB
      2004-03-06 15:26:16,047 INFO [org.jboss.ejb.EjbModule] Deploying PartBinEJB
      2004-03-06 15:26:16,057 INFO [org.jboss.ejb.EjbModule] Deploying ProjectEJB
      2004-03-06 15:26:16,067 INFO [org.jboss.ejb.EjbModule] Deploying SalesOrderEJB
      2004-03-06 15:26:16,087 INFO [org.jboss.ejb.EjbModule] Deploying SalesOrderSectionEJB
      2004-03-06 15:26:16,097 INFO [org.jboss.ejb.EjbModule] Deploying SalesOrderLineItemEJB
      2004-03-06 15:26:16,117 INFO [org.jboss.ejb.EjbModule] Deploying StagingShippingViewEJB
      2004-03-06 15:26:16,137 INFO [org.jboss.ejb.EjbModule] Deploying StagingWorkflowViewEJB
      2004-03-06 15:26:16,157 INFO [org.jboss.ejb.EjbModule] Deploying StagingWorkflowPartLocationsViewEJB
      2004-03-06 15:26:16,167 INFO [org.jboss.ejb.EjbModule] Deploying AddressManagerEJB
      2004-03-06 15:26:16,247 INFO [org.jboss.ejb.EjbModule] Deploying ContactManagerEJB
      2004-03-06 15:26:16,277 INFO [org.jboss.ejb.EjbModule] Deploying SupplierManagerEJB
      2004-03-06 15:26:16,287 INFO [org.jboss.ejb.EjbModule] Deploying StoreManagerEJB
      2004-03-06 15:26:16,308 INFO [org.jboss.ejb.EjbModule] Deploying CountryManagerEJB
      2004-03-06 15:26:16,318 INFO [org.jboss.ejb.EjbModule] Deploying LanguageManagerEJB
      2004-03-06 15:26:16,338 INFO [org.jboss.ejb.EjbModule] Deploying UomManagerEJB
      2004-03-06 15:26:16,348 INFO [org.jboss.ejb.EjbModule] Deploying UsersKissManagerEJB
      2004-03-06 15:26:16,368 INFO [org.jboss.ejb.EjbModule] Deploying UserPasswordManagerEJB
      2004-03-06 15:26:16,388 INFO [org.jboss.ejb.EjbModule] Deploying UserManagerEJB
      2004-03-06 15:26:16,398 INFO [org.jboss.ejb.EjbModule] Deploying PartManagerEJB
      2004-03-06 15:26:16,408 INFO [org.jboss.ejb.EjbModule] Deploying PartsSiteManagerEJB
      2004-03-06 15:26:17,479 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=ejb/Address,plugin=pool,service=EJB


      The newer version of the .jar generates the following output in server.log:

      2004-03-06 15:29:01,856 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/WINSOFT/jboss-3.2.3/server/default/deploy/pbs_ejb_entity.jar
      2004-03-06 15:29:01,976 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/WINSOFT/jboss-3.2.3/server/default/deploy/pbs_ejb_entity.jar


      I can only assume that there is something in the new versions of the entities that JBoss doesn't like, but without any error message indicating exactly what, it is a little difficult to know what.

      Does anyone out there have any ideas?

      Thanks in advance for any assistance,
      David Sykes