0 Replies Latest reply: May 22, 2013 4:04 PM by 161002 RSS

    Strange error while deploying on Weblogic

    161002
      Hello,

      We have a simple JEE project (JSF, JEE), and we are using the Weblogic deployer (used by jenkins) to deploy a simple ear on WebLogic. The project is running perfectly under Glassfish on a local desktop. But when we try to deploy it on our dev server, we get this strange exception:

      "Exception message for key INJECTION_POINT_HAS_UNSATISFIED_DEPENDENCIES not found due to Failed to locate resource bundle [org.jboss.weld.messages.validator] for locale [en] for enum type [org.jboss.weld.logging.messages.ValidatorMessage]"

      The Weblogic deployment was working perfectly (under jenkins) before we add the sub-project dependencies by putting the resources/WEB-INF/beans.xml in each sub-project. So it seems that :

      1) The dependency injection is not working under Weblogic, but under glassfish (and Jboss) it do works.
      2) The resource bundle [org.jboss.weld.messages.validator] is not available! (??!) for the key INJECTION_POINT_HAS_UNSATISFIED_DEPENDENCIES.

      This is our structure:

      - ear
      - - war
      - - - business
      - - - persistence
      - - - web-services
      - - - commons
      - - - etc.

      So there's nothing original here. I have googled the exception, but there's nothing abnormal here. Jenkins is using a pre-compiled wlfullclient.jar to deployed everything.

      Thanks for any advices

      Etienne

      Stack trace:

      weblogic.Deployer invoked with options: -debug -stage -remote -verbose -upload -name obe -source /root/.jenkins/jobs/obe/modules/com.xxx.obe$obe-ear/builds/2013-05-22_16-43-19/archive/com.xxx.obe/obe-ear/0.1-SNAPSHOT/obe-ear-0.1-SNAPSHOT.ear -targets OBEServer -adminurl t3://xxxxxxxxxxxxx:7333 -user weblogic -deploy
      [WebLogicDeploymentManagerImpl.():119] : Constructing DeploymentManager for J2EE version V1_4 deployments
      [WebLogicDeploymentManagerImpl.getNewConnection():162] : Connecting to admin server at xxxxxxxxxxxxx:7333, as user weblogic
      [ServerConnectionImpl.getEnvironment():286] : setting environment
      [ServerConnectionImpl.getEnvironment():289] : getting context using t3://xxxxxxxxxxx:7333
      [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://xxxxxxxxxxxxx:7333/jndi/weblogic.management.mbeanservers.domainruntime
      [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://xxxxxxxxxxxxx:7333/jndi/weblogic.management.mbeanservers.runtime
      [DomainManager.resetDomain():36] : Getting new domain
      [DomainManager.resetDomain():39] : Using pending domain: false
      [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@5d61fb38
      [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@5d61fb38
      [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1b9ced28
      [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@1b9ced28
      [ServerConnectionImpl.initialize():169] : Connected to WLS domain: OBEDomain
      [ServerConnectionImpl.setRemote():480] : Running in remote mode
      [ServerConnectionImpl.init():159] : Initializing ServerConnection : weblogic.deploy.api.spi.deploy.internal.ServerConnectionImpl@4df04078
      [BasicOperation.dumpTmids():740] : Incoming tmids:
      [BasicOperation.dumpTmids():742] : {Target=OBEServer, WebLogicTargetType=server, Name=obe}, targeted=true
      [BasicOperation.deriveAppName():143] : appname established as: obe
      <22-May-2013 4:43:58 o'clock PM EDT>
      [BasicOperation.dumpTmids():740] : Incoming tmids:
      [BasicOperation.dumpTmids():742] : {Target=OBEServer, WebLogicTargetType=server, Name=obe}, targeted=true
      [BasicOperation.loadGeneralOptions():655] : Delete Files:false
      Timeout :3600000
      Targets:
      OBEServer
      ModuleTargets={}
      SubModuleTargets={}
      }
      Files:
      null
      Deployment Plan: null
      App root: /tmp/root/./config/deployments/obe
      App config: /tmp/root/./config/deployments/obe/plan
      Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=stage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=obe,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}

      [ServerConnectionImpl.upload():849] : Uploaded app to /bea_OBE/obedev/OBEDomain/./servers/OBEServer/upload/obe
      [BasicOperation.execute():472] : Initiating deploy operation for app, obe, on targets:
      [BasicOperation.execute():474] : OBEServer
      Task 53 initiated: [Deployer:149026]deploy application obe on OBEServer.
      dumping Exception stack
      Task 53 failed: [Deployer:149026]deploy application obe on OBEServer.
      Target state: deploy failed on Server OBEServer
      org.jboss.weld.exceptions.DeploymentException: Exception message for key INJECTION_POINT_HAS_UNSATISFIED_DEPENDENCIES not found due to Failed to locate resource bundle [org.jboss.weld.messages.validator] for locale [en] for enum type [org.jboss.weld.logging.messages.ValidatorMessage]
           at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:258)
           at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:105)
           at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:125)
           at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:324)
           at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:309)
           at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:361)
           at com.oracle.injection.provider.weld.WeldInjectionContainer.start(WeldInjectionContainer.java:105)
           at com.oracle.injection.integration.CDIAppDeploymentExtension.prepare(Unknown Source)
           at weblogic.application.internal.flow.AppDeploymentExtensionFlow.prepare(AppDeploymentExtensionFlow.java:23)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
           at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:61)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
           at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


      Target Assignments:
      + obe OBEServer
      [ServerConnectionImpl.close():332] : Closing DM connection
      [ServerConnectionImpl.close():352] : Unregistered all listeners
      [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
      [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection