Message5272

Author Mekk
Recipients Mekk, amak, fwierzbicki
Date 2009-10-27.17:18:28
SpamBayes Score 0.000581864
Marked as misclassified No
Message-id <1256663909.84.0.336568571543.issue1489@psf.upfronthosting.co.za>
In-reply-to
Content
I am observing very similar problem while trying to run minimalist 
pylons application on BEA weblogic (10.3, tested under Linux). Below 
there is my backtrace (thrown while I try to deploy my .war file). I put 
it here, as I suspect the problem may be related.

Notes: 
- the same .war deploys and works properly on tomcat6 (on the same 
Ubuntu machine),
- I had to use weblogic.xml with <prefer-web-inf-classes>true to 
convince weblogic to use jython2.5.1, not the bundled old version

Traceback (most recent call last):
  File "/opt/jython2.5.1/Lib/modjy/modjy.py", line 43, in __init__
    HttpServlet.__init__(self)
RuntimeError: maximum recursion depth exceeded

        at 
org.python.core.PyException.fillInStackTrace(PyException.java:70)
        at java.lang.Throwable.<init>(Throwable.java:181)
        at java.lang.Exception.<init>(Exception.java:29)
        at java.lang.RuntimeException.<init>(RuntimeException.java:32)
        at org.python.core.PyException.<init>(PyException.java:46)
        at org.python.core.PyException.<init>(PyException.java:43)
        at org.python.core.PyException.<init>(PyException.java:61)
        at org.python.core.Py.RuntimeError(Py.java:124)
        at org.python.core.Py.JavaError(Py.java:450)
        at org.python.core.PyTableCode.call(PyTableCode.java:168)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:297)
        at org.python.core.PyBaseCode.call(PyBaseCode.java:191)
        at org.python.core.PyFunction.__call__(PyFunction.java:385)
        at org.python.core.PyMethod.__call__(PyMethod.java:215)
        at 
org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
        at org.python.core.PyMethod.__call__(PyMethod.java:206)
        at 
org.python.core.PyObjectDerived.dispatch__init__(PyObjectDerived.java:10
97)
        at org.python.core.PyType.invoke_new_(PyType.java:444)
        at org.python.core.PyType.type___call__(PyType.java:1397)
        at org.python.core.PyType.__call__(PyType.java:1388)
        at org.python.core.PyObject.__call__(PyObject.java:381)
        at com.xhaus.modjy.ModjyJServlet.init(ModjyJServlet.java:103)
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
        at 
weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubS
ecurityHelper.java:283)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu
bject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown 
Source)
        at 
weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityH
elper.java:64)
        at 
weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLife
cycleHelper.java:58)
        at 
weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper
.java:48)
        at 
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.java:521)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServ
letContext.java:1893)
        at 
weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(Web
AppServletContext.java:1870)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppSe
rvletContext.java:1790)
        at 
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContex
t.java:2999)
        at 
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1
371)
        at 
weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
        at 
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
river.java:204)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:37)
        at 
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDr
iver.java:60)
        at 
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModule
Driver.java:200)
        at 
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleLis
tenerInvoker.java:117)
        at 
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateD
river.java:204)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:37)
        at 
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDr
iver.java:60)
        at 
weblogic.application.internal.flow.StartModulesFlow.activate(StartModule
sFlow.java:27)
        at 
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:
635)
        at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriv
er.java:37)
        at 
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.jav
a:212)
        at 
weblogic.application.internal.SingleModuleDeployment.activate(SingleModu
leDeployment.java:16)
        at 
weblogic.application.internal.DeploymentStateChecker.activate(Deployment
StateChecker.java:162)
        at 
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppCo
ntainerInvoker.java:79)
        at 
weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDepl
oyment.java:184)
        at 
weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServer
Lifecycle(BasicDeployment.java:361)
        at 
weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(Deplo
ymentAdapter.java:51)
        at 
weblogic.management.deploy.internal.DeploymentAdapter.activate(Deploymen
tAdapter.java:196)
        at 
weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTra
nsition.java:30)
        at 
weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps
(ConfiguredDeployments.java:233)
        at 
weblogic.management.deploy.internal.ConfiguredDeployments.activate(Confi
guredDeployments.java:169)
        at 
weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Configu
redDeployments.java:123)
        at 
weblogic.management.deploy.internal.DeploymentServerService.resume(Deplo
ymentServerService.java:173)
        at 
weblogic.management.deploy.internal.DeploymentServerService.start(Deploy
mentServerService.java:89)
        at 
weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)


I tried increasing the java stack, up to -Xss48m, wi
History
Date User Action Args
2009-10-27 17:18:29Mekksetmessageid: <1256663909.84.0.336568571543.issue1489@psf.upfronthosting.co.za>
2009-10-27 17:18:29Mekksetrecipients: + Mekk, fwierzbicki, amak
2009-10-27 17:18:29Mekklinkissue1489 messages
2009-10-27 17:18:28Mekkcreate