I've got an EJB that won't deploy. The following error occurs:

11:15:17,875 WARN  [verifier] EJB spec violation: 
  | Bean   : ItemAnalyzerService
  | Section: 22.2
  | Warning: The Bean Provider must specify the fully-qualified name of the 
Java class that implements the enterprise bean's business methods in the 
<ejb-class> element.
  | Info   : Class not found on 
'com.mycompany.application.nexus.itemanalyzer.service.ejb.ItemAnalyzerServiceEJB':
 Unexpected error during load of: 
com.mycompany.application.nexus.itemanalyzer.service.ejb.ItemAnalyzerServiceEJB,
 msg=org/springframework/ejb/support/AbstractStatelessSessionBean
  | 
  | 11:15:17,875 ERROR [MainDeployer] could not create deployment: 
file:/C:/dev/server/jboss-4.0.1sp1/server/default/deploy/nexus.ear/item-analyzer-service.jar/
  | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.

The EJB was working correctly before. The only change made between the  2 
deployments was the Manifest.mf file. I can switch back to the old Manifest and 
it will deploy just fine (simply copy the manifest to the new deployment and 
restart jboss). 

Something is wrong in the manifest but I'm completely at a loss for what the 
problem is. Both versions contain the exact same data except the broken version 
has an extra jar appended to the end. I even diff'd the files to make sure 
there wasn't any garbage data that could be screwing it up.

Here's the 2 manifest files for comparison. I'm completely stumped here. If 
anyone has an idea, pleasse let me know. (note: both files were built with 
Ant's Manifest task)

Working version:
Manifest-Version: 1.0
  | Ant-Version: Apache Ant 1.5.4 
  | Created-By: 1.4.2_07-b05 (Sun Microsystems Inc.)
  | Class-Path: antlr-2.7.5H3.jar aopalliance.jar asm-attrs.jar asm.jar c3
  |  p0-0.8.5.2.jar cglib-2.1.jar cleanimports.jar commons-beanutils.jar c
  |  ommons-collections-2.1.1.jar commons-collections.jar commons-dbcp-1.2
  |  .1.jar commons-digester.jar commons-fileupload.jar commons-lang.jar c
  |  ommons-logging-1.0.4.jar commons-logging.jar commons-pool-1.2.jar com
  |  mons-validator.jar concurrent-1.3.2.jar connector.jar dom4j-1.6.jar e
  |  hcache-1.1.jar hibernate3.jar jaas.jar jacc-1_0-fr.jar jakarta-oro.ja
  |  r jaxen-1.1-beta-4.jar jboss-cache.jar jboss-common.jar jboss-jmx.jar
  |   jboss-system.jar jdbc2_0-stdext.jar jgroups-2.2.7.jar jstl.jar jta.j
  |  ar junit-3.8.1.jar log4j-1.2.9.jar log4j.jar msbase-2000.jar mssqlser
  |  ver-2000.jar msutil-2000.jar oscache-2.1.jar proxool-0.8.3.jar spring
  |  .jar spring-aop.jar spring-beans.jar spring-context.jar spring-core.j
  |  ar spring-dao.jar spring-hibernate.jar spring-jdbc.jar spring-mock.ja
  |  r spring-orm.jar spring-remoting.jar spring-support.jar spring-web.ja
  |  r spring-webmvc.jar standard.jar struts-legacy.jar struts.jar swarmca
  |  che-1.0rc2.jar versioncheck.jar xerces-2.6.2.jar xml-apis.jar 
  | 
  | 

Broken version:
Manifest-Version: 1.0
  | Ant-Version: Apache Ant 1.5.4 
  | Created-By: 1.4.2_07-b05 (Sun Microsystems Inc.)
  | Class-Path: antlr-2.7.5H3.jar aopalliance.jar asm-attrs.jar asm.jar c3
  |  p0-0.8.5.2.jar cglib-2.1.jar cleanimports.jar commons-beanutils.jar c
  |  ommons-collections-2.1.1.jar commons-collections.jar commons-dbcp-1.2
  |  .1.jar commons-digester.jar commons-fileupload.jar commons-lang.jar c
  |  ommons-logging-1.0.4.jar commons-logging.jar commons-pool-1.2.jar com
  |  mons-validator.jar concurrent-1.3.2.jar connector.jar dom4j-1.6.jar e
  |  hcache-1.1.jar hibernate3.jar jaas.jar jacc-1_0-fr.jar jakarta-oro.ja
  |  r jaxen-1.1-beta-4.jar jboss-cache.jar jboss-common.jar jboss-jmx.jar
  |   jboss-system.jar jdbc2_0-stdext.jar jgroups-2.2.7.jar jstl.jar jta.j
  |  ar junit-3.8.1.jar log4j-1.2.9.jar log4j.jar msbase-2000.jar mssqlser
  |  ver-2000.jar msutil-2000.jar oscache-2.1.jar proxool-0.8.3.jar spring
  |  .jar spring-aop.jar spring-beans.jar spring-context.jar spring-core.j
  |  ar spring-dao.jar spring-hibernate.jar spring-jdbc.jar spring-mock.ja
  |  r spring-orm.jar spring-remoting.jar spring-support.jar spring-web.ja
  |  r spring-webmvc.jar standard.jar struts-legacy.jar struts.jar swarmca
  |  che-1.0rc2.jar versioncheck.jar xerces-2.6.2.jar xml-apis.jar casclie
  |  nt.jar
  | 
  | 

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

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


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to