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 6050019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:38:30+00:00 2026-05-23T07:38:30+00:00

I’m a CM and am responsible for our Continuous build process, and helping the

  • 0

I’m a CM and am responsible for our Continuous build process, and helping the developers define and use the builds correctly. I try to set things up in such a way that the developer merely has to download the module from the Source control system, and type in ant or maven and have everything just work.

In Ant projects, I either use ivy or have a lib directory that contains the required third party jar files. This helps me to clearly define all the dependencies and makes it easy for the developers to get the module to build on their system. Yes, there is some dependency on the right JDK version, and somewhat on the right Ant version, but even these are a bit flexible. Besides Ecipse and Jenkins/Hudson allow you to define the exact JDK and Ant versions you want to use.

The problem is this one project that’s dependent upon Weblogic 10.3 (aka 11g). Before Weblogic 10, you could pretty much get away with using just the weblogic.jar file and maybe one or two other jars. Starting with Weblogic 10, the jars are now “modularized”.

When I do a build, I still simply include weblogic.jar in my classpath. However, weblogic.jar, in its MANIFEST.MF file contains references to the ..\..\..\modules\features directory (which is actually the parent directory that contains Weblogic 10.3!). In here are jars that contain no classpaths, but themselves have a Classpath embedded in their MANIFEST.MF that points to other jars. These in turn can refer to other jars.

I figure I have one of these choices:

  1. Include the entire 10,900 file, 700Mb Weblogic in my source repository for each module.
  2. Somehow download Weblogic using either Maven or Ivy as a single tarball. Untar the file, then do my build.
  3. Tell the developers that they must download Weblogic 10.3 and then modify the build process to point to where they installed Weblogic 10.3.

None of these options really appeal to me right now.


UPDATE

As others pointed out, I could try to find the various jars, and I did exactly that with Weblogic 9.x and earlier versions. For example, a simple shell script:

find $WEBLOGIC_HOME -name "*.jar" | while read jar
do
   echo "JAR NAME = jar"
   jar tvf $jar
done | less

would display the content of all Weblogic JARs on my terminal. If I find in a build that javax.servlet.ServletException class is missing, I could search for javax\servlet\ServletException.class, then go back up searching for the JAR NAME = and find the name of the jar.

However, in Weblogic 10, I found that I depended upon javax.servlet.ServletException, and traced it back to the C:\bea\modules\javax.servlet_1.0.0.0.0.jar which isn’t even in my $WEBLOGIC_HOME directory. This is because C:\bea\wlserver_10.3\server\lib\weblogic.jar contains a classpath to ..\..\..\modules\features\somejar.jar. And somejar.jar doesn’t contain any classes. Instead it contains a reference to another jar in its classpath, which then refers to the javax.servlet_1.0.0.0.0.jar.

So, I now have to add in four more jars, one of which contains no classes, and if I want to emulate the structure of Weblogic, I have to have the following files in my lib directory:

  • weblogic.lib\wlserver_10.3\server\lib\weblogic.jar
  • weblogic.lib\modules\features\somejar.jar
  • weblogic.lib\modules\someOtherJar.jar
  • weblogic.lib\modules\javax.servlet_1.0.0.0.0.jar

Okay, that only took about 2 hours to resolve. One dependency issue down, 43 more to go.

As you can see, this may take days, even weeks to complete, and end up with dozens of jars in my …uh… minimal Weblogic 10 module. In the end, this minimal module may not be all that much smaller.

Does anyone know of maybe some documentation that allows me to quickly determine where these dependencies exist, or a way of building a dependency tree, so that when I need the classpath com.bea.weblogic.foo.bar.barfoo, I can quickly see that I need these 7 or 8 jars?

  • 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-23T07:38:30+00:00Added an answer on May 23, 2026 at 7:38 am

    I gave up. I simply installed Weblogic 10 and checked in my build.xml that $WEBLOGIC_HOME is set.

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

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I have thousands of HTML files to process using Groovy/Java and I need to
That's pretty much it. I'm using Nokogiri to scrape a web page what has

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.