10 Replies Latest reply on Sep 11, 2009 3:14 AM by Azhar Altaf

    JBoss 5.0.0.GA failing to deploy

    Azhar Altaf Newbie

      Hi,

      I am trying to deploy an EAR file which was working perfectly fine on JBoss 4.0.0.5. I am using Eclipse Galileo to deploy the EAR file and I am getting the following exception.


      15:40:44,174 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfszip:/C:/jboss-5.0.0.GA/server/all/deploy/icba10.ear state=ClassLoader mode=Manual requiredState=PostClassLoader
      org.jboss.deployers.spi.DeploymentException: Cannot process metadata
       at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
       at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:181)
       at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:93)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:547)
       at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.IllegalArgumentException: ApplicationException is only valid on an Exception
       at org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.create(ApplicationExceptionProcessor.java:60)
       at org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.process(ApplicationExceptionProcessor.java:71)
       at org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.process(ApplicationExceptionProcessor.java:46)
       at org.jboss.metadata.annotation.creator.AbstractCreator.process(AbstractCreator.java:154)
       at org.jboss.metadata.annotation.creator.AbstractCreator.processMetaData(AbstractCreator.java:87)
       at org.jboss.metadata.annotation.creator.ejb.jboss.JBoss50Creator.create(JBoss50Creator.java:109)
       at org.jboss.deployment.OptAnnotationMetaDataDeployer.processJBossMetaData(OptAnnotationMetaDataDeployer.java:134)
       at org.jboss.deployment.OptAnnotationMetaDataDeployer.processMetaData(OptAnnotationMetaDataDeployer.java:84)
       at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:177)
       ... 21 more


      I have not copied any Jar files into any location besides the ones that come with the JBoss.5.0.0.GA zip file.

      Hope anyone could help me out as this is holding me back.

      Thanks

        • 1. Re: JBoss 5.0.0.GA failing to deploy
          jaikiran pai Master

           

          I have not copied any Jar files into any location besides the ones that come with the JBoss.5.0.0.GA zip file.


          You mean you have not even copied your EAR to the deploy folder? This error happens on a clean AS installation?

          By the way, i would recommend that you upgrade to the latest stable 5.1.0 AS version.

          • 2. Re: JBoss 5.0.0.GA failing to deploy
            Azhar Altaf Newbie

            Hi,

            I certainly did copy over the EAR file into the deploy folder. What I meant was I did not copy any third parties jars into my JBoss.5.0.0.GA lib/deploy folder. The error only appears if i deploy one of my application jar. If i remove the problematic jar, i do not get the exception but other jars depends on the removed jar so I get a ClassNotFoundException.

            • 3. Re: JBoss 5.0.0.GA failing to deploy
              jaikiran pai Master

               

              "azharaltaf" wrote:
              The error only appears if i deploy one of my application jar.


              Does that jar have a Class-Path entry or a Main-Class attribute in the META-INF/MANIFEST.MF file? If yes, try removing those entries.


              • 4. Re: JBoss 5.0.0.GA failing to deploy
                Azhar Altaf Newbie

                No, there is no entry in the MANIFEST.MF file

                • 5. Re: JBoss 5.0.0.GA failing to deploy
                  jaikiran pai Master

                  Post the output of

                  jar -tf thatjar.jar


                  thatjar.jar is the name of the jar causing this issue.


                  While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.


                  • 6. Re: JBoss 5.0.0.GA failing to deploy
                    Azhar Altaf Newbie

                     

                    C:\Documents and Settings\azhar\Desktop>jar -tf icba10-kern-security-ejb.jar
                    Hi Jaikiran,
                    
                    This is the output of the jar file that is causing the problem.
                    
                    META-INF/
                    META-INF/MANIFEST.MF
                    META-INF/ejb-jar.xml
                    META-INF/persistence.xml
                    my/
                    my/com/
                    my/com/infopro/
                    my/com/infopro/icba10/
                    my/com/infopro/icba10/kernel/
                    my/com/infopro/icba10/kernel/accesscontrol/
                    my/com/infopro/icba10/kernel/accesscontrol/vlh/
                    my/com/infopro/icba10/kernel/accesscontrol/vlh/lov/
                    my/com/infopro/icba10/kernel/accesscontrol/vlh/lov/FunctionActionLov.class
                    my/com/infopro/icba10/kernel/accesscontrol/vlh/lov/FunctionLov.class
                    my/com/infopro/icba10/kernel/accesscontrol/vlh/lov/GroupLov.class
                    my/com/infopro/icba10/kernel/accesscontrol/vlh/lov/ModuleLov.class
                    my/com/infopro/icba10/kernel/security/
                    my/com/infopro/icba10/kernel/security/accesscontrol/
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/FunctionDao.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/FunctionDaoImpl.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/FunctionJdbcDao.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/FunctionJdbcDaoImpl$1.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/FunctionJdbcDaoImpl.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/GroupDao.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/GroupDaoImpl.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/MenuDao.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/MenuDaoImpl.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/dao/ReportSecurityDao.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/ActionDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/FunctionDelegate.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/FunctionDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/GroupDelegate.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/GroupDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/GroupLevelDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/GroupLevelLimitDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/MenuDelegate.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/MenuDetailDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/MenuDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/MenuNodeDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/ModuleDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/PermissionDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/TransactionLimitDelegate.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/TransactionLimitDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/delegate/UserGroupLimitDto.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Action.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/ActionType.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Function.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Function.java.contrib
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/FunctionAction.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/FunctionActionPK.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/FunctionType.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Group.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/GroupLevel.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/GroupLevelLimit.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/GroupLevelLimitPK.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/GroupLevelPK.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/License.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/License.xml
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Menu$NamedQueryString.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Menu.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/MenuDetail$NamedQueryString.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/MenuDetail.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/MenuDetailPK.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/MenuNode.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/MenuPK.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Module.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/ModuleType.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/ModuleType.java.contrib
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/Permission.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/PermissionCategoryType.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/domain/SystemConfig.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/interceptor/
                    my/com/infopro/icba10/kernel/security/accesscontrol/interceptor/AccessControlInterceptor.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/interceptor/AccessControlInterceptor.java.contrib
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/FunctionService.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/FunctionServiceBean.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/FunctionServiceRemote.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/GroupService.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/GroupServiceBean.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/GroupServiceRemote.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/MenuService.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/MenuServiceBean.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/MenuServiceRemote.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/TransactionLimitService.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/TransactionLimitServiceBean.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/service/TransactionLimitServiceRemote.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/util/
                    my/com/infopro/icba10/kernel/security/accesscontrol/util/AccessRightsType.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/util/AccessRightsUtil.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/util/SecurityCheckResult.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/util/SecurityCheckResultType.class
                    my/com/infopro/icba10/kernel/security/accesscontrol/util/SecurityPermission.class
                    my/com/infopro/icba10/kernel/security/auth/
                    my/com/infopro/icba10/kernel/security/auth/dao/
                    my/com/infopro/icba10/kernel/security/auth/dao/SecurityDao.class
                    my/com/infopro/icba10/kernel/security/auth/dao/SecurityDaoImpl$UserRowMapper.class
                    my/com/infopro/icba10/kernel/security/auth/dao/SecurityDaoImpl.class
                    my/com/infopro/icba10/kernel/security/auth/delegate/
                    my/com/infopro/icba10/kernel/security/auth/delegate/LoginCredentialDto.class
                    my/com/infopro/icba10/kernel/security/auth/delegate/LoginDelegate.class
                    my/com/infopro/icba10/kernel/security/auth/delegate/SecurityDelegate.class
                    my/com/infopro/icba10/kernel/security/auth/delegate/SecurityDto.class
                    my/com/infopro/icba10/kernel/security/auth/domain/
                    my/com/infopro/icba10/kernel/security/auth/domain/AuthenticationResult.class
                    my/com/infopro/icba10/kernel/security/auth/domain/AuthenticationResultType.class
                    my/com/infopro/icba10/kernel/security/auth/domain/AuthenticationState.class
                    my/com/infopro/icba10/kernel/security/auth/domain/AuthorizationResult.class
                    my/com/infopro/icba10/kernel/security/auth/domain/AuthorizationState.class
                    my/com/infopro/icba10/kernel/security/auth/domain/SignOnType.class
                    my/com/infopro/icba10/kernel/security/auth/exceptionhandling/
                    my/com/infopro/icba10/kernel/security/auth/exceptionhandling/LoginAttemptException.class
                    my/com/infopro/icba10/kernel/security/auth/exceptionhandling/SignOnPolicyException.class
                    my/com/infopro/icba10/kernel/security/auth/exceptionhandling/UserExpiredException.class
                    my/com/infopro/icba10/kernel/security/auth/exceptionhandling/UserInactiveException.class
                    my/com/infopro/icba10/kernel/security/auth/exceptionhandling/UserSuspendedException.class
                    my/com/infopro/icba10/kernel/security/auth/jaas/
                    my/com/infopro/icba10/kernel/security/auth/jaas/DatabaseLoginModule.class
                    my/com/infopro/icba10/kernel/security/auth/jaas/LoginFailedException.class
                    my/com/infopro/icba10/kernel/security/auth/jaas/RdmsPrincipal.class
                    my/com/infopro/icba10/kernel/security/auth/jaas/UsernamePasswordCallbackHandler.class
                    my/com/infopro/icba10/kernel/security/auth/rules/
                    my/com/infopro/icba10/kernel/security/auth/rules/RuleInitializeException.class
                    my/com/infopro/icba10/kernel/security/auth/rules/ruleLogin.drl
                    my/com/infopro/icba10/kernel/security/auth/service/
                    my/com/infopro/icba10/kernel/security/auth/service/AuthenticateUserService.class
                    my/com/infopro/icba10/kernel/security/auth/service/AuthenticateUserServiceBean.class
                    my/com/infopro/icba10/kernel/security/auth/service/AuthenticateUserServiceBean.java.contrib
                    my/com/infopro/icba10/kernel/security/auth/service/AuthenticateUserServiceBean.java.contrib.1
                    my/com/infopro/icba10/kernel/security/auth/service/AuthorizationService.class
                    my/com/infopro/icba10/kernel/security/auth/service/AuthorizationServiceBean.class
                    my/com/infopro/icba10/kernel/security/auth/service/AuthorizationServiceRemote.class
                    my/com/infopro/icba10/kernel/security/auth/service/LoginResponse.class
                    my/com/infopro/icba10/kernel/security/auth/service/LoginResponseFactory.class
                    my/com/infopro/icba10/kernel/security/auth/service/LoginRule.class
                    my/com/infopro/icba10/kernel/security/auth/service/LoginService.class
                    my/com/infopro/icba10/kernel/security/auth/service/LoginServiceBean.class
                    my/com/infopro/icba10/kernel/security/auth/service/LoginServiceRemote.class
                    my/com/infopro/icba10/kernel/security/auth/service/MultSignOnDiffMachAuthResponse.class
                    my/com/infopro/icba10/kernel/security/auth/service/MultSignOnSameMachAuthResponse.class
                    my/com/infopro/icba10/kernel/security/auth/service/PasswordManager.class
                    my/com/infopro/icba10/kernel/security/auth/service/RuleService.class
                    my/com/infopro/icba10/kernel/security/auth/service/RuleServiceBean.class
                    my/com/infopro/icba10/kernel/security/auth/service/RuleServiceRemote.class
                    my/com/infopro/icba10/kernel/security/auth/service/SecurityServiceBean.class
                    my/com/infopro/icba10/kernel/security/auth/service/SecurityServiceBean.java.contrib
                    my/com/infopro/icba10/kernel/security/auth/service/SecurityServiceRemote.class
                    my/com/infopro/icba10/kernel/security/auth/service/SingleSignOnAuthResponse.class
                    my/com/infopro/icba10/kernel/security/auth/service/UserStatusType.class
                    my/com/infopro/icba10/kernel/security/condition/
                    my/com/infopro/icba10/kernel/security/condition/component/
                    my/com/infopro/icba10/kernel/security/condition/component/LimitCheckConditionStrategy$DebugWorkingMemoryEventL
                    istener2.class
                    my/com/infopro/icba10/kernel/security/condition/component/LimitCheckConditionStrategy$RuleFlowEventListener2.c
                    lass
                    my/com/infopro/icba10/kernel/security/condition/component/LimitCheckConditionStrategy.class
                    my/com/infopro/icba10/kernel/security/condition/component/SpecialConditionContext.class
                    my/com/infopro/icba10/kernel/security/condition/component/SpecialConditionStrategy.class
                    my/com/infopro/icba10/kernel/security/condition/component/specialCondition.drl
                    my/com/infopro/icba10/kernel/security/condition/component/specialCondition.rf
                    my/com/infopro/icba10/kernel/security/condition/component/specialCondition.rfm
                    my/com/infopro/icba10/kernel/security/condition/dao/
                    my/com/infopro/icba10/kernel/security/condition/dao/SecurityConditionDao.class
                    my/com/infopro/icba10/kernel/security/condition/dao/SecurityConditionDaoImpl.class
                    my/com/infopro/icba10/kernel/security/condition/delegate/
                    my/com/infopro/icba10/kernel/security/condition/delegate/SecurityConditionDelegate.class
                    my/com/infopro/icba10/kernel/security/condition/delegate/SecurityConditionDto.class
                    my/com/infopro/icba10/kernel/security/condition/delegate/SecurityConditionSearchCriteria.class
                    my/com/infopro/icba10/kernel/security/condition/domain/
                    my/com/infopro/icba10/kernel/security/condition/domain/FunctionCondition.class
                    my/com/infopro/icba10/kernel/security/condition/domain/FunctionConditionPK.class
                    my/com/infopro/icba10/kernel/security/condition/domain/SecurityCondition.class
                    my/com/infopro/icba10/kernel/security/condition/domain/SecurityConditionDetail.class
                    my/com/infopro/icba10/kernel/security/condition/domain/SecurityConditionDetailPK.class
                    my/com/infopro/icba10/kernel/security/condition/domain/SecurityConditionPK.class
                    my/com/infopro/icba10/kernel/security/condition/enumeration/
                    my/com/infopro/icba10/kernel/security/condition/enumeration/SpecialConditionType.class
                    my/com/infopro/icba10/kernel/security/condition/service/
                    my/com/infopro/icba10/kernel/security/condition/service/SecurityConditionService.class
                    my/com/infopro/icba10/kernel/security/condition/service/SecurityConditionServiceBean.class
                    my/com/infopro/icba10/kernel/security/condition/service/SecurityConditionServiceRemote.class
                    my/com/infopro/icba10/kernel/security/condition/vlh/
                    my/com/infopro/icba10/kernel/security/condition/vlh/criteria/
                    my/com/infopro/icba10/kernel/security/condition/vlh/criteria/SecurityConditionCriteriaSelectionFactory.class
                    my/com/infopro/icba10/kernel/security/config/
                    my/com/infopro/icba10/kernel/security/config/ErrorMessageSecurity.properties
                    my/com/infopro/icba10/kernel/security/config/KernSecurityConst.class
                    my/com/infopro/icba10/kernel/security/config/KernelSecurityComponentConstants.class
                    my/com/infopro/icba10/kernel/security/config/SecurityErr.class
                    my/com/infopro/icba10/kernel/security/config/appContext-dao-kern-security.xml
                    my/com/infopro/icba10/kernel/security/config/errorMessage-kern-security.properties
                    my/com/infopro/icba10/kernel/security/screen/
                    my/com/infopro/icba10/kernel/security/screen/delegate/
                    my/com/infopro/icba10/kernel/security/screen/delegate/ScreenDelegate.class
                    my/com/infopro/icba10/kernel/security/screen/delegate/ScreenDto.class
                    my/com/infopro/icba10/kernel/security/screen/service/
                    my/com/infopro/icba10/kernel/security/screen/service/ScreenService.class
                    my/com/infopro/icba10/kernel/security/screen/service/ScreenServiceBean.class
                    my/com/infopro/icba10/kernel/security/screen/service/ScreenServiceRemote.class
                    my/com/infopro/icba10/kernel/security/session/
                    my/com/infopro/icba10/kernel/security/session/dao/
                    my/com/infopro/icba10/kernel/security/session/dao/UserSessionDao.class
                    my/com/infopro/icba10/kernel/security/session/dao/UserSessionDaoImpl.class
                    my/com/infopro/icba10/kernel/security/session/dao/UserSessionDaoImpl.java.contrib
                    my/com/infopro/icba10/kernel/security/session/delegate/
                    my/com/infopro/icba10/kernel/security/session/delegate/UserSessionDelegate.class
                    my/com/infopro/icba10/kernel/security/session/delegate/UserSessionDto.class
                    my/com/infopro/icba10/kernel/security/session/delegate/UserSessionProfileDto.class
                    my/com/infopro/icba10/kernel/security/session/domain/
                    my/com/infopro/icba10/kernel/security/session/domain/UserSession$ForceLogoutStatus.class
                    my/com/infopro/icba10/kernel/security/session/domain/UserSession$UserSessionStatus.class
                    my/com/infopro/icba10/kernel/security/session/domain/UserSession.class
                    my/com/infopro/icba10/kernel/security/session/exceptionhandling/
                    my/com/infopro/icba10/kernel/security/session/exceptionhandling/SessionException.class
                    my/com/infopro/icba10/kernel/security/session/service/
                    my/com/infopro/icba10/kernel/security/session/service/SessionService.class
                    my/com/infopro/icba10/kernel/security/session/service/SessionServiceBean.class
                    my/com/infopro/icba10/kernel/security/session/service/SessionServiceRemote.class
                    my/com/infopro/icba10/kernel/security/session/service/UserSessionService.class
                    my/com/infopro/icba10/kernel/security/session/service/UserSessionServiceBean.class
                    my/com/infopro/icba10/kernel/security/session/service/UserSessionServiceRemote.class
                    my/com/infopro/icba10/kernel/security/session/util/
                    my/com/infopro/icba10/kernel/security/session/util/ApplicationSession.class
                    my/com/infopro/icba10/kernel/security/session/util/DefaultApplicationSession.class
                    my/com/infopro/icba10/kernel/security/session/util/EncryptService.class
                    my/com/infopro/icba10/kernel/security/session/util/RandomGUID.class
                    my/com/infopro/icba10/kernel/security/session/util/SessionGenerator.class
                    my/com/infopro/icba10/kernel/security/session/util/StaticApplicationSessionHolder.class
                    my/com/infopro/icba10/kernel/security/session/util/UserSessionManager.class
                    my/com/infopro/icba10/kernel/security/transaction/
                    my/com/infopro/icba10/kernel/security/transaction/dao/
                    my/com/infopro/icba10/kernel/security/transaction/dao/TransactionDao.class
                    my/com/infopro/icba10/kernel/security/transaction/dao/TransactionDaoImpl.class
                    my/com/infopro/icba10/kernel/security/transaction/delegate/
                    my/com/infopro/icba10/kernel/security/transaction/delegate/TransactionDelegate.class
                    my/com/infopro/icba10/kernel/security/transaction/delegate/TransactionDto.class
                    my/com/infopro/icba10/kernel/security/transaction/domain/
                    my/com/infopro/icba10/kernel/security/transaction/domain/SecurityUser.class
                    my/com/infopro/icba10/kernel/security/transaction/domain/TransactionLimit.class
                    my/com/infopro/icba10/kernel/security/transaction/domain/TransactionLimit.java.contrib
                    my/com/infopro/icba10/kernel/security/transaction/domain/TransactionLimitPK.class
                    my/com/infopro/icba10/kernel/security/transaction/domain/TransactionLimitPK.java.contrib
                    my/com/infopro/icba10/kernel/security/transaction/domain/UserGroupLimit.class
                    my/com/infopro/icba10/kernel/security/transaction/domain/UserGroupLimitPK.class
                    my/com/infopro/icba10/kernel/security/transaction/domain/UserLimit.class
                    my/com/infopro/icba10/kernel/security/transaction/domain/UserLimit.java.contrib
                    my/com/infopro/icba10/kernel/security/transaction/domain/UserLimitPK.class
                    my/com/infopro/icba10/kernel/security/transaction/enumeration/
                    my/com/infopro/icba10/kernel/security/transaction/enumeration/TransactionModeType.class
                    my/com/infopro/icba10/kernel/security/transaction/enumeration/TransactionType.class
                    my/com/infopro/icba10/kernel/security/transaction/service/
                    my/com/infopro/icba10/kernel/security/transaction/service/TransactionService.class
                    my/com/infopro/icba10/kernel/security/transaction/service/TransactionServiceBean.class
                    my/com/infopro/icba10/kernel/security/transaction/service/TransactionServiceRemote.class
                    


                    • 7. Re: JBoss 5.0.0.GA failing to deploy
                      jaikiran pai Master

                       

                      Caused by: java.lang.IllegalArgumentException: ApplicationException is only valid on an Exception
                       at org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor.create(Application
                      ExceptionProcessor.java:60)
                      


                      Hmm, i have to start concentrating more while looking at the exception stacktrace. I don't know why i was chasing the MANIFEST.MF files for this issue!

                      Looks like the jar contains some class which uses the @ApplicationException annotation. And going by this stacktrace, the @ApplicationException is being used for some class which is not assignable to java.lang.Exception. Can you post the relevant part of the class(es) having this annotation?


                      • 8. Re: JBoss 5.0.0.GA failing to deploy
                        Azhar Altaf Newbie

                        Hi,

                        There are two exception classes in the jar and are as follows.

                        @ApplicationException
                        public class SessionException extends LoginFailedException {
                        


                        @ApplicationException(rollback = true)
                        public final class AuthenticateUserServiceBean implements AuthenticateUserService {
                        


                        • 9. Re: JBoss 5.0.0.GA failing to deploy
                          jaikiran pai Master

                           

                          @ApplicationException(rollback = true)
                          public final class AuthenticateUserServiceBean implements AuthenticateUserService


                          The above one is incorrect. You can mark a class as ApplicationException only if it derives from an Exception. I guess what you wanted was:

                          @ApplicationException (rollback=true)
                          public class SessionException extends LoginFailedException


                          Remove the use of @ApplicationException on the AuthenticateUserServiceBean.

                          • 10. Re: JBoss 5.0.0.GA failing to deploy
                            Azhar Altaf Newbie

                            Thanks a lot. I managed to get rid of the errors caused by that jar.