1 Reply Latest reply on Jan 30, 2003 10:42 AM by Sven Do

    BUG?? different java versions

    Sven Do Newbie

      I implemented a Message Driven Bean a month ago. It worked fine. I created a new jar-file with the original sources(jboss.xml,*.class,ejb-jar.xml) yesterday and it did not work!! I analysed both jar-files and there was just one difference: the old jar-file is 3 bytes bigger because the jar-manifest-file contains the string "Created-By: 1.4.1_01 (Sun Microsystems Inc.)" instead of "Created-By: 1.4.1 (Sun Microsystems Inc.)". Although both versions can be deployed (but with different deploy-output) only the first(old) version works. I started jboss with several java-versions but always the same strange effect. I really can't imagine why the new version (just 3 nonrelevant bytes less than the old version!!!) doesn't work.


      deploy-out new-version (doesn't work):

      2003-01-29 10:02:58,531 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/G:/Programme/jboss-3.0.4/server/default/deploy/JavaMail.jar
      2003-01-29 10:02:58,531 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/G:/Programme/jboss-3.0.4/server/default/deploy/JavaMail.jar


      deploy-output old-version (works):

      2003-01-29 10:04:59,468 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/G:/Programme/jboss-3.0.4/server/default/deploy/JavaMail.jar
      2003-01-29 10:05:00,578 INFO [org.jboss.ejb.EjbModule] Creating
      2003-01-29 10:05:00,593 INFO [org.jboss.ejb.EjbModule] Deploying JavaMail
      2003-01-29 10:05:00,625 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Creating
      2003-01-29 10:05:00,625 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Created
      2003-01-29 10:05:00,640 INFO [org.jboss.ejb.EjbModule] Created
      2003-01-29 10:05:00,640 INFO [org.jboss.ejb.EjbModule] Starting
      2003-01-29 10:05:00,640 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Starting
      2003-01-29 10:05:00,640 INFO [org.jboss.ejb.plugins.jms.DLQHandler] Creating
      2003-01-29 10:05:00,718 INFO [org.jboss.ejb.plugins.jms.DLQHandler] Created
      2003-01-29 10:05:00,781 INFO [org.jboss.ejb.plugins.jms.DLQHandler] Starting
      2003-01-29 10:05:00,781 INFO [org.jboss.ejb.plugins.jms.DLQHandler] Started
      2003-01-29 10:05:00,781 INFO [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Started
      2003-01-29 10:05:00,781 INFO [org.jboss.ejb.EjbModule] Started
      2003-01-29 10:05:00,781 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/G:/Programme/jboss-3.0.4/server/default/deploy/JavaMail.jar