[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

pierospinelli do-not-reply at jboss.com
Sat Aug 11 13:56:54 EDT 2007


OK.

This is the tree created by build.xml explode tag : it gets the exception I reported previously:

C:\JBOSS\JBOSS-4.2.1.GA\SERVER\DEFAULT\DEPLOY\SCHEDULER.EAR
  | |   antlr-2.7.6.jar
  | |   antlr-|.0b7.jar
  | |   drools-compiler-4.0.0.MR2.jar
  | |   drools-core-4.0.0.MR2.jar
  | |   janino-2.5.6.jar
  | |   jboss-el.jar
  | |   jboss-seam.jar
  | |   jbpm-jpdl.jar
  | |   mvel14-1.2beta16.jar
  | |   security.drl
  | |   
  | ----META-INF
  | |       application.xml
  | |       jboss-app.xml
  | |       
  | ----scheduler.jar
  | |   |   import.sql
  | |   |   seam.properties
  | |   |   TestJob1.class
  | |   |   
  | |   ----it
  | |   |   ----ecohmedia
  | |   |   |   ----seam
  | |   |   |   |   |   CRUDDomain.class
  | |   |   |   |   |   CRUDManager$1.class
  | |   |   |   |   |   CRUDManager$2.class
  | |   |   |   |   |   CRUDManager.class
  | |   |   |   |   |   CRUDManagerLocal.class
  | |   |   |   |   |   CRUDRelation.class
  | |   |   |   |   |   
  | |   |   |   |   ----scheduler
  | |   |   |   |       |   ExitClass.class
  | |   |   |   |       |   JobClass.class
  | |   |   |   |       |   JobClassException.class
  | |   |   |   |       |   JobDefCRUD.class
  | |   |   |   |       |   JobDefCRUDLocal.class
  | |   |   |   |       |   JobInstanceCRUD.class
  | |   |   |   |       |   JobInstanceCRUDLocal.class
  | |   |   |   |       |   JobParamCRUD.class
  | |   |   |   |       |   JobParamCRUDLocal.class
  | |   |   |   |       |   JobParDefCRUD.class
  | |   |   |   |       |   JobParDefCRUDLocal.class
  | |   |   |   |       |   JobRunner.class
  | |   |   |   |       |   JobRunnerLocal.class
  | |   |   |   |       |   
  | |   |   |   |       ----entity
  | |   |   |   |               ExitCommand.class
  | |   |   |   |               JobDefinition.class
  | |   |   |   |               JobExit.class
  | |   |   |   |               JobInstance.class
  | |   |   |   |               JobLog.class
  | |   |   |   |               JobParameter.class
  | |   |   |   |               JobParameterDef.class
  | |   |   |   |               JobStatus.class
  | |   |   |   |               
  | |   |   |   ----test
  | |   |   |           DataRowHandler.class
  | |   |   |           IfHandler.class
  | |   |   |           JsfEcoLibrary$JsfFunctions.class
  | |   |   |           JsfEcoLibrary.class
  | |   |   |           
  | |   |   ----genesi
  | |   |       ----sirv
  | |   |           ----org
  | |   |               |   Authenticator.class
  | |   |               |   OrgUnitCRUD.class
  | |   |               |   OrgUnitCRUDLocal$ManagerDomain.class
  | |   |               |   OrgUnitCRUDLocal$OrgUnitDomain.class
  | |   |               |   OrgUnitCRUDLocal.class
  | |   |               |   RuoloUtenteCRUD.class
  | |   |               |   RuoloUtenteCRUDLocal.class
  | |   |               |   UserCRUD.class
  | |   |               |   UserCRUDLocal$OrgUnitDomain.class
  | |   |               |   UserCRUDLocal.class
  | |   |               |   
  | |   |               ----entity
  | |   |                       DirEntry.class
  | |   |                       OrgUnit.class
  | |   |                       RuoloUtente.class
  | |   |                       Utente.class
  | |   |                       
  | |   ----META-INF
  | |           ejb-jar.xml
  | |           persistence.xml
  | |           
  | ----scheduler.war
  |     |   error.xhtml
  |     |   home.xhtml
  |     |   index.html
  |     |   jobInstancesCRUD.xhtml
  |     |   jobsCRUD.xhtml
  |     |   login.page.xml
  |     |   login.xhtml
  |     |   orgUnitCRUD.xhtml
  |     |   ruoloUtenteCRUD.xhtml
  |     |   
  |     ----img
  |     |       back.gif
  |     |       cal-next.png
  |     |       cal-prev.png
  |     |       descsort.gif
  |     |       dtpick.gif
  |     |       filter.gif
  |     |       first.gif
  |     |       forward.gif
  |     |       last.gif
  |     |       sort.gif
  |     |       
  |     ----layout
  |     |       display.xhtml
  |     |       edit.xhtml
  |     |       loginout.xhtml
  |     |       menu.xhtml
  |     |       menu2.xhtml
  |     |       menuJobInstance.xhtml
  |     |       template.xhtml
  |     |       
  |     ----stylesheet
  |     |       theme.css
  |     |       
  |     ----WEB-INF
  |         |   components.xml
  |         |   ecohmedia-func.taglib.xml
  |         |   ecohmedia.taglib.xml
  |         |   faces-config.xml
  |         |   managedColumn.xhtml
  |         |   managedColumns.xhtml
  |         |   managedCombo.xhtml
  |         |   managedForm.xhtml
  |         |   managedInput.xhtml
  |         |   managedInputs.xhtml
  |         |   managedList.xhtml
  |         |   managedLongInput.xhtml
  |         |   managedSelectOne.xhtml
  |         |   managedTable.xhtml
  |         |   pages.xml
  |         |   web.xml
  |         |   
  |         ----classes
  |         |       db_quartz.properties
  |         |       messages_en.properties
  |         |       
  |         ----lib
  |                 ajax4jsf-1.1.1.jar
  |                 commons-beanutils-1.7.0.jar
  |                 commons-digester-1.6.jar
  |                 jboss-seam-debug.jar
  |                 jboss-seam-ioc.jar
  |                 jboss-seam-mail.jar
  |                 jboss-seam-pdf.jar
  |                 jboss-seam-remoting.jar
  |                 jboss-seam-ui.jar
  |                 jsf-facelets.jar
  |                 richfaces-|.0.1.jar 
  |                


In order to obtain all working fine, I had manually to move the lib subdirectory two levels upper, 
from anonymous wrote : scheduler.ear/scheduler.war/WEB-INF/lib
to anonymous wrote : scheduler.ear/lib, as in the following tree:

C:\JBOSS\JBOSS-4.2.1.GA\SERVER\DEFAULT\DEPLOY\SCHEDULER.EAR
  | |   antlr-2.7.6.jar
  | |   antlr-|.0b7.jar
  | |   drools-compiler-4.0.0.MR2.jar
  | |   drools-core-4.0.0.MR2.jar
  | |   janino-2.5.6.jar
  | |   jboss-el.jar
  | |   jboss-seam.jar
  | |   jbpm-jpdl.jar
  | |   mvel14-1.2beta16.jar
  | |   security.drl
  | |   
  | ----META-INF
  | |       application.xml
  | |       jboss-app.xml
  | |       
  | ----scheduler.jar
  | |   |   import.sql
  | |   |   seam.properties
  | |   |   TestJob1.class
  | |   |   
  |     |       
  |     ----lib
  |             ajax4jsf-1.1.1.jar
  |             commons-beanutils-1.7.0.jar
  |             commons-digester-1.6.jar
  |             jboss-seam-debug.jar
  |             jboss-seam-ioc.jar
  |             jboss-seam-mail.jar
  |             jboss-seam-pdf.jar
  |             jboss-seam-remoting.jar
  |             jboss-seam-ui.jar
  |             jsf-facelets.jar
  |             richfaces-|.0.1.jar
  | |   ----it
  | |   |   ----ecohmedia
  | |   |   |   ----seam
  | |   |   |   |   |   CRUDDomain.class
  | |   |   |   |   |   CRUDManager$1.class
  | |   |   |   |   |   CRUDManager$2.class
  | |   |   |   |   |   CRUDManager.class
  | |   |   |   |   |   CRUDManagerLocal.class
  | |   |   |   |   |   CRUDRelation.class
  | |   |   |   |   |   
  | |   |   |   |   ----scheduler
  | |   |   |   |       |   ExitClass.class
  | |   |   |   |       |   JobClass.class
  | |   |   |   |       |   JobClassException.class
  | |   |   |   |       |   JobDefCRUD.class
  | |   |   |   |       |   JobDefCRUDLocal.class
  | |   |   |   |       |   JobInstanceCRUD.class
  | |   |   |   |       |   JobInstanceCRUDLocal.class
  | |   |   |   |       |   JobParamCRUD.class
  | |   |   |   |       |   JobParamCRUDLocal.class
  | |   |   |   |       |   JobParDefCRUD.class
  | |   |   |   |       |   JobParDefCRUDLocal.class
  | |   |   |   |       |   JobRunner.class
  | |   |   |   |       |   JobRunnerLocal.class
  | |   |   |   |       |   
  | |   |   |   |       ----entity
  | |   |   |   |               ExitCommand.class
  | |   |   |   |               JobDefinition.class
  | |   |   |   |               JobExit.class
  | |   |   |   |               JobInstance.class
  | |   |   |   |               JobLog.class
  | |   |   |   |               JobParameter.class
  | |   |   |   |               JobParameterDef.class
  | |   |   |   |               JobStatus.class
  | |   |   |   |               
  | |   |   |   ----test
  | |   |   |           DataRowHandler.class
  | |   |   |           IfHandler.class
  | |   |   |           JsfEcoLibrary$JsfFunctions.class
  | |   |   |           JsfEcoLibrary.class
  | |   |   |           
  | |   |   ----genesi
  | |   |       ----sirv
  | |   |           ----org
  | |   |               |   Authenticator.class
  | |   |               |   OrgUnitCRUD.class
  | |   |               |   OrgUnitCRUDLocal$ManagerDomain.class
  | |   |               |   OrgUnitCRUDLocal$OrgUnitDomain.class
  | |   |               |   OrgUnitCRUDLocal.class
  | |   |               |   RuoloUtenteCRUD.class
  | |   |               |   RuoloUtenteCRUDLocal.class
  | |   |               |   UserCRUD.class
  | |   |               |   UserCRUDLocal$OrgUnitDomain.class
  | |   |               |   UserCRUDLocal.class
  | |   |               |   
  | |   |               ----entity
  | |   |                       DirEntry.class
  | |   |                       OrgUnit.class
  | |   |                       RuoloUtente.class
  | |   |                       Utente.class
  | |   |                       
  | |   ----META-INF
  | |           ejb-jar.xml
  | |           persistence.xml
  | |           
  | ----scheduler.war
  |     |   error.xhtml
  |     |   home.xhtml
  |     |   index.html
  |     |   jobInstancesCRUD.xhtml
  |     |   jobsCRUD.xhtml
  |     |   login.page.xml
  |     |   login.xhtml
  |     |   orgUnitCRUD.xhtml
  |     |   ruoloUtenteCRUD.xhtml
  |     |   
  |     ----img
  |     |       back.gif
  |     |       cal-next.png
  |     |       cal-prev.png
  |     |       descsort.gif
  |     |       dtpick.gif
  |     |       filter.gif
  |     |       first.gif
  |     |       forward.gif
  |     |       last.gif
  |     |       sort.gif
  |     |       
  |     ----layout
  |     |       display.xhtml
  |     |       edit.xhtml
  |     |       loginout.xhtml
  |     |       menu.xhtml
  |     |       menu2.xhtml
  |     |       menuJobInstance.xhtml
  |     |       template.xhtml
  |     |       
  |     ----stylesheet
  |     |       theme.css
  |     |       
  |     ----WEB-INF
  |         |   components.xml
  |         |   ecohmedia-func.taglib.xml
  |         |   ecohmedia.taglib.xml
  |         |   faces-config.xml
  |         |   managedColumn.xhtml
  |         |   managedColumns.xhtml
  |         |   managedCombo.xhtml
  |         |   managedForm.xhtml
  |         |   managedInput.xhtml
  |         |   managedInputs.xhtml
  |         |   managedList.xhtml
  |         |   managedLongInput.xhtml
  |         |   managedSelectOne.xhtml
  |         |   managedTable.xhtml
  |         |   pages.xml
  |         |   web.xml
  |         |   
  |         ----classes
  |         |       db_quartz.properties
  |         |       messages_en.properties                



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

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



More information about the jboss-user mailing list