0 Replies Latest reply on Jul 9, 2008 2:26 AM by Larminier

    Deploy war to weblogic

    Larminier
      Dear all,

      I created a war archive from within the coldfusion mx 7 administrator from a single page coldfusion page.
      The .cfm file only displays the date.

      I deployed the war file to weblogic 9.2, without any problem.

      When I start the application in weblogic, I encounter the following problem.

      <09-juil.-2008 10 h 16 min 13 s CEST> <Error> <Deployer> <BEA-149231>
      <Unable to set the activation state to true for the application '_appsdir_WarTest_war'.
      weblogic.application.ModuleException: [HTTP:101216]Servlet: "MessageBrokerServlet" failed to preload on startup in Web application: "WarTest.war".
      java.lang.NullPointerException
      at java.io.File.<init>(File.java:194)
      at coldfusion.bootstrap.ClassloaderHelper._getClassLoader(ClassloaderHelper.java:235)
      at coldfusion.bootstrap.ClassloaderHelper.getClassLoader(ClassloaderHelper.java:183)
      at coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:91)
      at coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:48)
      at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.jav a:278)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
      at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java: 58)
      at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
      at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:507)
      at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1 723)
      at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext .java:1700)
      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java :1620)
      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2761)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java :117)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java :154)
      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.ja va:80)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
      at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycleBasicDep loyment.java:358)
      at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java :52)
      at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186 )
      at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsConfiguredDeploym ents.java:233)
      at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments. java:169)
      at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.ja va:123)
      at weblogic.management.deploy.internal.DeploymentServerService.resumeDeploymentServerService .java:173)
      at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService .java:89)
      at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891)
      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)


      I was wondering if somebody encountered the same problem.
      Should I use coldfusion 8 or the last version of weblogic?

      I did not found any bug fixes related to this toppic.
      Does somebody have any idea ??

      Thanks

      Tom