Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4007714
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:39:55+00:00 2026-05-20T08:39:55+00:00

I’m trying to deploy a django app to Weblogic and it cannot find modjy.

  • 0

I’m trying to deploy a django app to Weblogic and it cannot find modjy. I looked in the jython.jar that is included in the generated war file, and the modjy servlet is indeed there. Below is the error the server gets when deploying the app.

<Feb 18, 2010 11:18:49 AM EST> <Error> <HTTP> <BEA-101216> <Servlet: "modjy" failed to preload on startup in Web application: "myApp.war".
Traceback (innermost last):
File "<string>", line 1, in ?
ImportError: no module named modjy

    at org.python.core.Py.ImportError(Unknown Source)
    at org.python.core.imp.import_first(Unknown Source)
    at org.python.core.imp.import_name(Unknown Source)
    at org.python.core.imp.importName(Unknown Source)
    at org.python.core.ImportFunction.load(Unknown Source)
    Truncated. see log file for complete stacktrace
>
<Feb 18, 2010 11:18:49 AM EST> <Error> <Deployer> <BEA-149231> <Unable to set the     activation state to true for the application 'myApp'.
weblogic.application.ModuleException: [HTTP:101216]Servlet: "modjy" failed to preload     on startup in Web application: "myApp.war".
Traceback (innermost last):
  File "<string>", line 1, in ?
ImportError: no module named modjy

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace

Caused By: Traceback (innermost last):
  File "<string>", line 1, in ?
ImportError: no module named modjy

    at org.python.core.Py.ImportError(Unknown Source)
    at org.python.core.imp.import_first(Unknown Source)
    at org.python.core.imp.import_name(Unknown Source)
    at org.python.core.imp.importName(Unknown Source)
    at org.python.core.ImportFunction.load(Unknown Source)
    Truncated. see log file for complete stacktrace
>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T08:39:55+00:00Added an answer on May 20, 2026 at 8:39 am

    Sorry for getting to this issue so late: I just spotted the URL in my referer logs.

    The problem here is that modjy is failing to import the “modjy.py” module, which lives in the jython Lib/modjy directory.

    I have created a “Modjy Troubleshooting” page, and described this problem on it.

    http://opensource.xhaus.com/projects/modjy/wiki/ModjyTroubleShooting

    If that doesn’t solve the problem, then please send an email to the jython-users list.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.