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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:48:28+00:00 2026-05-18T21:48:28+00:00

I recently solved a somewhat common problem in OC4J regarding the use of Xerces

  • 0

I recently “solved” a somewhat common problem in OC4J regarding the use of Xerces rather than OC4J’s built-in parser. The problem was solved by adding this line to global-web-application.xml:

<web-app-class-loader search-local-classes-first="true"/>

Unfortunately, this was too much of a big-hammer approach that could cause problems on the app server, so I tried to resolve it via creating the following orion-web.xml file in the WEB-INF directory of the app:

<?xml version="1.0"?>
<orion-web-app
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd">
<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true"/>
<web-app/>
</orion-web-app>

Unfortunately, it turns out that using global-web-application.xml worked, using orion-web.xml didn’t

OC4J version is 10.1.3.5.

Can anyone advise?

  • 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-18T21:48:28+00:00Added an answer on May 18, 2026 at 9:48 pm

    Another way is specify at Deploy Time. Take a look:

    Specifying search-local-classes-first at Deployment Time

    The following example illustrates how to set the search-local-classes-first attribute in the orion-web.xml file generated for the Web module at deployment time, with Application Server Control.

    1. Select Applications>Deploy to launch the Application Server Control deployment wizard.
    2. Supply the path to the application in the first page of the wizard.
    3. Specify the application name and supply any context URI mappings in the second page.
    4. Click Configure Class Loading in the third page of the wizard (Deploy: Deployment Settings).
    5. Under Configure Web Module Class Loaders, check the Search Local Classes First checkbox next to the name of the Web module containing the local JAR file to use.
    6. Optionally click the Save Deployment Plan button, and save the plan for reuse.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I solved a problem recently. But I have this one piece of code where
Solved this ages ago, but this question recently got some attention so I'm adding
I recently had this problem about scrolling and focus changing. I solved it by
With the help of this community, I just recently solved some issues with PHPExcel
A problem that I stumbled upon recently, and, even though I solved it, I
I've recently asked a question regarding IE8 issue. After some time the problem was
I recently solved the problem of the direct streaming with Spring WS , thanks
I posted recently regarding onbeforeunload implementation. Its working now but that only solved half
Possible Duplicate: Learning efficient algorithms I recently came across an problem that was solved
I recently solved a jquery problem I had by switching all the '$'s in

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.