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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:03:34+00:00 2026-05-24T03:03:34+00:00

I am using JSF2 with Websphere 7 . I have created a shared lib

  • 0

I am using JSF2 with Websphere 7 . I have created a shared lib successfully and have pointed application using Webpsphere Admin Console and it works successfully . But what we really want to do is to not have to point to that Shared Lib via WAS Admin Console but have some sort of application level configuration e.g in deployment.xml etc which we can point to the name of that Shared Isolated Lib and use it . I have gone through SO and google but not found any thing doing that . I however know that there are commercial application doing it but do not know how .
This question from How can I specify a shared library reference at the web module level in Websphere 6.1 deployment descriptors? is closely what I am after but I not want to specify version numbers or jar names as the answer states

  • 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-24T03:03:36+00:00Added an answer on May 24, 2026 at 3:03 am

    I found a way by simply following what WAS Admin Console was actually doing.

    Create a deployment.xml in your EAR file if you do not have one already .
    You will find a reference to class loader like below

    <classloader xmi:id="Classloader_1311552732281" mode="PARENT_FIRST">
    

    Modify it and add reference to the shared Liberary created on server like below

     <classloader xmi:id="Classloader_1311552732281" mode="PARENT_FIRST">
            <libraries libraryName="JSF2_SHARED_LIB" sharedClassloader="true"/>
     </classloader>
    

    @dbreaux has also shown a way .Accpeting my own answer as fits my needs better but big thanks to dbreaux too for advice.

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

Sidebar

Related Questions

My JSF2 application is fully internationalized, using a ResourceBundle. Now i have a lot
I am running an application using JSF2.0 and Primefaces 2.2RC2 I have run the
I'm using RichFaces on my JSF2 application, and I need a way to have
I am using JSF2.0 with Richfaces 4.0.0.Final for a web application. I have a
I'm developing a JSF2 application using Glassfish which contains some EJB's; is there a
I added and have been using the faces-config.xml in my Netbeans 6.9/JSF2.0 project due
Im using websphere server and JSF 2.0 In my managed bean i have declared
I am using JSF2.0 Mojarra 2.0.2. I have a method that logs out a
I have using jsf2.0 in eclipse ide.I have a problem to store a image
I have a web project using jsf2 implementing a gaming web site on tomcat7.

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.