9 Replies Latest reply on May 16, 2016 2:16 PM by Mike dupont

    BMC Remedy MidTiers packaging et déploiement

    Thierry Soulie
      Share:|

      Bonjour a tous,

       

      Je viens vers vous pour initier une discussion autour de la problématique de déploiement du composant MidTiers d'une solution ITSM.

      J'ai dernièrement rencontré un client qui m'a rapporté de réelles contraintes liées à la mise en production de ITSM , et plus particulièrement le déploiement du composant Remedy Mid-Tiers sur une plateforme WebLogic, pour laquelle les bonnes pratiques établies par Oracle doivent être  utilisées.

       

      A l'heure actuelle, le composant MidTier est en effet packagé de manière identique pour Tomcat et Weblogic.

      Le suivi des bonnes pratiques Oracle nécessite de re-packager Mid-Tiers avant déploiement.

       

      Quelles est votre expérience sur le sujet ?

      Est ce que l'un d'entre vous peux nous présenter rapidement les bonnes pratiques Oracle sur le sujet ?

      Quel en est l'impact sur le déploiement du composant Mid-Tiers ? (unpackaging / re-packaging , autres )

       

      Une meilleure compréhension des enjeux dans ce domaine permettra d'avoir une position plus solide afin de proposer une demande d'évolution sur un packaging spécifique à WebLogic pour le composant Mid-Tier.

       

      En espérant des retours de votre part. N'hesitez pas à apporter votre contribution sur le sujet.

       

      Thierry

        • 1. Re: BMC Remedy MidTiers packaging et déploiement
          Laurent Matheo

          Par curiosité, il a fallu le repackager comment? En .war? Ear?

          • 2. Re: BMC Remedy MidTiers packaging et déploiement
            Thierry Soulie

            Laurent, c'est bien le sujet.

            Je suis intéressé de savoir quelles sont les modifications à apporter au package standard, leurs niveaux de difficulté , le temps que cela prend (et donc retarde la mise en prod). Est ce qu'il s'agit simplement de déplacer des fichiers dans des répertoires spécifiques ou cela est il plus compliqué.

            • 3. Re: BMC Remedy MidTiers packaging et déploiement
              Laurent Matheo

              De mémoire Tomcat et Websphere acceptent le .war "ootb" de BMC. Pour Weblogic il faut apparemment utiliser l'installer.

              1 of 1 people found this helpful
              • 4. Re: BMC Remedy MidTiers packaging et déploiement
                Thierry Soulie

                Pour compléter le message précédent de Laurent...

                 

                Le lien vers la documentation de l'installation d'un Mid Tier avec un fichier .war:

                 

                https://docs.bmc.com/docs/display/ars81/Configuring+your+web+server+and+installing+BMC+Remedy+Mid+Tier+with+a+.war+file

                 

                et plus particulièrement pour BEA WebLogic web server :

                 

                https://docs.bmc.com/docs/display/ars81/Configuring+your+BEA+WebLogic+web+server

                1 of 1 people found this helpful
                • 5. Re: BMC Remedy MidTiers packaging et déploiement
                  Sebastien LAMBIN

                  Bonjour,

                   

                  Le déploiement du fichier midtier_linux.war ootb ne fonctionne pas sur Weblogic 10.3.4. Il faut en effet extraire le .war avant de faire pointer le serveur sur le répertoire ainsi créé.

                   

                  Lorsque l'on déploie le fichier .war ootb on obtient l'erreur suivante:

                  Apr 11, 2013 2:16:32 PM CEST HTTP Warning BEA-101162 User defined listener com.remedy.arsys.share.ServiceLocator failed: org.springframework.beans.factory.BeanCreationException:

                  Error creating bean with name 'formCache' defined in class path resource [META-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.remedy.arsys.share.Cachetable]: Constructor threw exception; nested exception is java.lang.NullPointerException.

                  org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formCache' defined in class path resource [META-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.remedy.arsys.share.Cachetable]: Constructor threw exception; nested exception is java.lang.NullPointerException

                  at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

                  at java.security.AccessController.doPrivileged(Native Method)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

                  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

                  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

                  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)

                  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)

                  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

                  at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

                  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

                  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

                  at com.remedy.arsys.share.ServiceLocator.contextInitialized(Unknown Source)

                  at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)

                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

                  at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)

                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1873)

                  at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3161)

                  at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)

                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)

                  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

                  at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

                  at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

                  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

                  at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

                  at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)

                  at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)

                  at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

                  at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

                  at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)

                  at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)

                  at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)

                  at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)

                  at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)

                  at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)

                  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

                  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

                  at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)

                   

                  Caused By: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.remedy.arsys.share.Cachetable]: Constructor threw exception; nested exception is java.lang.NullPointerException

                  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)

                  at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)

                  at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

                  at java.security.AccessController.doPrivileged(Native Method)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

                  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

                  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

                  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)

                  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)

                  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

                  at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

                  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

                  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

                  at com.remedy.arsys.share.ServiceLocator.contextInitialized(Unknown Source)

                  at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)

                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

                  at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)

                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1873)

                  at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3161)

                  at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)

                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)

                  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

                  at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

                  at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

                  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

                  at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

                  at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)

                  at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)

                  at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

                  at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

                  at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)

                  at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)

                  at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)

                  at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)

                  at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)

                  at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)

                  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

                  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

                  at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) Caused By: java.lang.NullPointerException

                  at com.remedy.arsys.config.Configuration.getOverflowToDiskTemp(Unknown Source)

                  at com.remedy.arsys.share.Cache.createMemoryCache(Unknown Source)

                  at com.remedy.arsys.share.Cache.createMemoryCache(Unknown Source)

                  at com.remedy.arsys.share.Cache.createCache(Unknown Source)

                  at com.remedy.arsys.share.Cachetable.<init>(Unknown Source)

                  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

                  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

                  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

                  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

                  at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)

                  at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)

                  at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

                  at java.security.AccessController.doPrivileged(Native Method)

                  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

                  at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)

                  at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)

                  at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)

                  at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)

                  at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)

                  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)

                  at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)

                  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)

                  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)

                  at com.remedy.arsys.share.ServiceLocator.contextInitialized(Unknown Source)

                  at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)

                  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

                  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

                  at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)

                  at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1873)

                  at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3161)

                  at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)

                  at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)

                  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

                  at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)

                  at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

                  at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

                  at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)

                  at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)

                  at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                  at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)

                  at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)

                  at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

                  at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

                  at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)

                  at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)

                  at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)

                  at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)

                  at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)

                  at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)

                  at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)

                  at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)

                  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)

                  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)

                  at weblogic.work.ExecuteThread.run(ExecuteThread.java:176) 

                   

                  Ci dessous un extrait de la réponse du support sur ce point:

                  "BMC Software recommends that you DO NOT use the .war file to deploy the mid tier on WebLogic. Instead, use the mid tier installer "

                   

                   

                  Answer...

                  It's because when deploying from a .war file Weblogic takes the entire /classes directory in any web application and creates a zip file of the contents and moves it to the /lib directory.  MT locates the config.properties file by creating a class loader and loading the contents of /classes and looks for config.properties.  Since config.properties is not there any login MT will not function.  The only way I know around this is to deploy in Weblogic using a "exploded" directory structure which means unpack the .war file contents manually and point Weblogic deployer to the top level directory.

                   

                   

                  Please let me know if you need further assistance with this issue or it can be closed.

                   

                  Comme nous sommes dans la partie française, je vous soumet une "presque" traduction

                  "BMC Software recommande de NE PAS utiliser le fichier .war pour déployer le mid tier sur Weblogic. Au lieu de cela, Utilisez le programme d'installation du mid tier."

                   

                   

                  Réponse...

                  Cela est dû au fait que lors du déploiement d'un fichier .war, Weblogic prend tout le répertoire /classes peu importe l'application web et crée un ficheir .zip du contenu et le déplace vers le répertoire /lib.

                  Le mid tier localise le fichier config.properties en créant un chargeur de classe et charger le contenu de /classes et cherche config.properties.

                  Le fichier config.properties n'étant pas là, aucune connexion n'est possible.

                   

                  La seule façon que je connaisse de contourner cela est de déployer dans Weblogic à l'aide d'un "explorateur" de la structure du répertoire. C'est à dire on déballe le contenu du fichier .war manuellement et on fait pointer le Weblogic dans le répertoire d'extraction.

                  En espérant que cela puisse faire avancer le sujet...

                  • 6. Re: BMC Remedy MidTiers packaging et déploiement
                    Thierry Soulie

                    Merci Sébastien Sebastien LAMBIN

                    Est ce qu'on pourra connaitre la suite ? Avez vous décider de déployer le package en utilisant le programme d'installation ? ou avez vous décidé de dépackager et de redéployer dans WebLogic? Combien de temps cela prend t-il ? Quels sont les fichiers à modifier ? Quel est la structure à utiliser ?

                    • 7. Re: BMC Remedy MidTiers packaging et déploiement

                      Dear Sirs,

                      I have debugged this issue and found a potential problem with  the bmc code.

                      The method getFileName in the arsys/WEB-INF/lib/Config.jar
                      that is used to load the config.properties does not use the standard class loader of java. It is hard coded to look in the WEB-INF/classes/config.properties file. The systrace will show that the class path is being searched for this file but this is misleaded, if you decompile that method you will see that there is no class path consulted. The solution to this issue is to copy the config file into the war file, which is unfortunate. I am going to raise a defect on this because it is not standard java behavior.

                      2 of 2 people found this helpful
                      • 8. Re: BMC Remedy MidTiers packaging et déploiement

                        I have opened Case ID: 00137886

                        • 9. Re: BMC Remedy MidTiers packaging et déploiement

                          Bonjour,

                           

                          They closed my support request with a 'wont fix'

                          So I posted an 'IDEA' here https://communities.bmc.com/ideas/13345, please upvote.

                           

                          merci,

                           

                          mike