2009/4/13 Nelson Andrés Alvarez Salcedo <naalvar...@itosmosys.com>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello there.
>
> I'm new to Apache ODE and i've already checked the available
> documentation as well as the FAQ and the messages in this list. But
> I'm kind of stucked trying to deploy ODE as a WAR in Oracle/BEA
> Weblogic 9.2. It throws a nullPointerException, whose stacktrace i
> paste here.
>
> So, i'm kind of clueless about the changes I should perform in order
> to get this going. Any help is greatly appreciated. Thanks in advance
>

It seems that for some reason the following returns null:

config.getServletContext().getRealPath("/WEB-INF")

The config here is the ServletConfig passed by your app server. It's the
first time I see an app server returning null for that stuff, anything
specific about your deployment?

As a workaround you can set the java system property org.apache.ode.rootDir
to the absolute location of the ODE webapp WEB-INF directory.

Matthieu



>
> ####<13-abr-2009 16H29' COT> <Warning> <Deployer> <ito-varios>
> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue:
> 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>
> <1239658160201> <BEA-149078> <Stack trace for message 149004
> weblogic.application.ModuleException: [HTTP:101216]Servlet:
> "AxisServlet" failed to preload on startup in Web application: "ode.war".
> java.lang.NullPointerException
>    at java.io.File.<init>(File.java:194)
>    at org.apache.ode.axis2.ODEServer.init(ODEServer.java:128)
>    at org.apache.ode.axis2.ODEServer.init(ODEServer.java:119)
>    at
> org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:53)
>    at
>
> weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java: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:1723)
>    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.java:80)
>    at
>
> weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
>    at
>
> weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
>    at
>
> weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
>    at
>
> weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
>    at
>
> weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
>    at
>
> weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
>    at
>
> weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
>    at
>
> weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
>    at
>
> weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
>    at
>
> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
>    at
>
> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
>    at
>
> weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
>    at
>
> weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
>    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
>    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
> - --
> Nelson Andrés Álvarez Salcedo
> /"Verba volant, scripta manent"/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQIcBAEBAgAGBQJJ472kAAoJEG9iFgEC5oBL7GMP/3MqW7j2zQuBoK6wciKu69IT
> 3dW7Od2Oyt7z7ilE6WWMOVw8NP7BaHLd678ksK0DA7cEnp6uKo2aUmPzJlJtmPF1
> aX3cAml9mtCdpYEdPwZ5w3Oi2M/1Yp0lkTxQtG+LhlPMfFDDpBWaHHsdge9OUtQC
> Lr+6zkfS/vjpmgowzwETIlIzPMwCr/ZgTIpibJ8U8tIPVgFVNsy3Al5LVzbG+jhb
> jd+mYq0kc6YwdykouYqSZDP71jq3F3F+62Tf3ogixKi15NvkyeDQjiBJbC20OCwx
> 34EKYp36s4qc9wNvkIlun7Yhh2U6EUczEI599922iN7Y4BceLUaXr9XSgj1lgCR4
> TTZqWw3s6MEVO2xfSzyF1l9Yfwtc0A6wxvsQDqx6okRtXD8ZMed+W9uk2okaY4Cl
> tMAFy4eS7geogj8bdy2vhvmRdlwP9Ukl0f2YXFVyFMBjbIIhsblw9yVJFyFTuB2P
> L3IFYr76BY3+q8bFpVeOtpY9BtZIE7IFuQetegRXf1HlB/sU+wjIl/Y9yc+zIA14
> 28K1XD9UAsxG0g5Lr/n7Vww/yhw+6VASxAODUcbwnUlskpdN7t9IHlgCPvHaEVXt
> g1ZIa7YqsfVcyJlPfaMTMjAUUcuzr1DM7uFBMC+0/zbVz8bA9Csil2wJtkWBNc9i
> BKmDbmsuzvUsYaSGal4p
> =L209
> -----END PGP SIGNATURE-----
>
>

Reply via email to