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

  • SEARCH
  • Home
  • 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 6982715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:19:31+00:00 2026-05-27T18:19:31+00:00

Technologies: Jave EE, Weblogic 10.3, JMS Scenario: An EJB module, say Module_1, with 3

  • 0

Technologies:

Jave EE, Weblogic 10.3, JMS

Scenario:

An EJB module, say Module_1, with 3 distinct Message Driven Bean (MDB) classes monitoring 3 different Java Mssage Queues (JMS). Messages are constantly being added to these beans.

Problem:

Once every day, at a certain time, I need to restart the entire Weblogic Server without losing any message. Also, there is another module deployed on this server, say Module_2. And I need to make sure that Module_2 starts before Module_1.

If any message is being processed by any of the MDB at the predefined shutdown time, then I guess I will have to wait for it to finish. Not sure of it though.

Can someone suggest any standard approach/configuration to acheive that?

Also, what if the Weblogic Server is directly restarted without any sort of care? How will that affect the messages still in queue and those which were in the middle of processing?

Thanks.

  • 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-27T18:19:31+00:00Added an answer on May 27, 2026 at 6:19 pm

    The order in which modules are started is a config parameter: check out <deployment-order>10200</deployment-order> in config.xml. Lower numbered module gets deployed before higher-numbered module.

    As to the shutdown, you will want to do a “Graceful Shutdown” (http://docs.oracle.com/cd/E13222_01/wls/docs81/adminguide/overview_lifecycle.html#1045901). This should make the queue stop accepting new messages, make sure all messages are persisted, then wait for any in-flight messages to become processed. Only then will it stop.

    If you restart after a hard failure, the in-flight message will be re-processed because it was not completed properly. Usually, this is the expected behaviour.

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

Sidebar

Related Questions

By message-oriented middleware I am referring to technologies such as Advanced Message Queuing Protocol
Technologies involved : ASP.NET Web-forms Javascript (jQuery for instance) Case To make it clearer
What technologies should I use when designing for a large social website (with a
What are the technologies and programming decisions that make Google able to serve a
What various methods and technologies have you used to successfully address scalability and performance
Can web technologies be used for a desktop application written in a traditional language
24x7 from SoftTree Technologies can use both JAL and VBScript for scripting. Does anyone
I am evaluating several technologies for an open source app for the google app
Do you use any of these technologies? Which ones are current and hence sensible
There are several similar Oracle technologies - Oracle Streams, Oracle Change Data Capture and

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.