Need help with fixing "unresolved References Webapp library for ServletContext @...» »

Hello

I use Weblogic 11 g (10.3.6) and am trying to replace the old libraries supplied Jersey web services with the New Jersey 2.13.

I built a shared library (.war) with the next MANIFESTO. MF:

Manifest-Version: 1.0

Created by: Medtronic - Medtronic

Specification-title: JAX - RS: Java API for RESTful Web Services

Specification-Version: 2.13

Implementation-title: Jersey-Bundle

Implementation-Version: 2.13

Implementation-vendor: Oracle

Extension name: jax - rs

The file for the Web application weblogic.xml use the library is:

<? XML version = "1.0" encoding = "UTF-8"? >

< wls:weblogic - web - app

" xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

' xmlns:wls = ' http://www.BEA.com/ns/WebLogic/WebLogic-Web-app "

" xsi: schemaLocation =" http://Java.Sun.com/XML/NS/JavaEE

http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd

http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd

http://www.bea.com/ns/weblogic/weblogic-web-app

http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd' > .

< wls:description > WebLogic template < / wls:description >

< wls:container - descriptor >

< wls: prefer-web-inf-classes > false < / wls: prefer-web-inf-classes >

< wls: prefer-application-packages >

< wls:package - name > org.glassfish.jersey.server. * < / wls:package - name >

< wls:package - name > org.glassfish.jersey.servlet. * < / wls:package - name >

< wls:package - name > javax.servlet. * < / wls:package - name >

< wls:package - name > javax.servlet.http. * < / wls:package - name >

< wls:package - name > javax.ws.rs. * < / wls:package - name >

< wls:package - name > javax.ws.rs.core. * < / wls:package - name >

< wls:package - name > org.glassfish.hk2. * < / wls:package - name >

< wls:package - name > org.jvnet.hk2. * < / wls:package - name >

< wls:package - name > jersey.repackaaged.org.objectweb.asm. * < / wls:package - name >

< wls:package - name > com.sun.research.ws.wadl. * < / wls:package - name >

< wls:package - name > com.sun.ws.rs.ext. * < / wls:package - name >

< wls:package - name > < / wls:package - name >

< / wls: prefer-application-packages >

< / wls:container - descriptor >

< wls:library - ref >

< wls:library - name > jax - rs < / wls:library - name >

< wls:specification - version > 2.13 < / wls:specification - version >

< wls:implementation - version > 2.13 < / wls:implementation - version >

< wls: exact match > false < / wls: exact match >

< / wls:library - ref >

< / wls:weblogic - web - app >


I used the admin console to deploy the WAR file as a shared library, but one thing I noticed, is that the version of specification and implementation appear not in parentheses after the name of library (jax - rs). It is still marked as 'OK' in the console.


Any help would be appreciated!


Thank you.


Them


Hi Luz,

So, I've discovered something very interesting in the generation of the shared library file. What I had was an existing with an existing MANIFEST META-INF directory. MF file. I edited the file to meet my needs and then populated the WEB - INF directory with the necessary content. So I created the saying of the .war file ' jar cvf jax - rs.war META-INF\MANIFEST. MF WEB-INF\ *. Looking at https://docs.oracle.com/javase/tutorial/deployment/jar/packageman.html I changed how I was building the war to the ' jar cfm MANIFEST.txt WEB-INF\ *, where is the MANIFEST.txt file in the META-INF directory. However this time the specification and version numbers appeared and the possibility of deploying a library was already selected.

The good news is so that the library now seems to be recognized and the library is able to be used. Your example pointed out to me that there is a problem with the WAR file, but it was not clear what it was.

Thank you.

Them

Tags: Fusion Middleware

Similar Questions

  • whenever I load photoshop there a permanent color instead of white and I need help with fixing asap, thanks!

    whenever I load photoshop there a permanent color instead of white and I need help with fixing asap, thanks!

    It's a broken screen classic, easily corrected profile

    See this thread: https://forums.adobe.com/message/7926040#7926040

  • How can I get ahold of a LIVE person? I need HELP with my email account (Email removed for privacy), you can contact me at Email removed for privacy or * withdrawn * please someone HELP! Mike Golab

    How can I get ahold of a LIVE person? I need HELP with my email account (* address email is removed from the privacy *) you can contact me to the * address email is removed from the privacy * or * remove * please someone HELP! Mike Golab

    E-mail address is removed from the privacy *.

    No, and that has nothing to do with this old thread. This is a scam that last for years. Microsoft never does unsolicited phone calls.
     
     
     
     
     

    Scams by e-mail or web: how to protect yourself
    http://www.Microsoft.com/security/online-privacy/phishing-scams.aspx
     
     
     
     

    Aggressive, persistent Windows tech support fraudsters continue to track consumers
    http://www.Computerworld.com/s/article/9248122/Aggressive_persistent_Windows_tech_support_scammers_continue_to_stalk_consumers
     
     
  • Need help with the settings of the firewall for Firefox

    My wireless connection is fine, but all of a sudden my mozilla firefox browser cannot connect to Web sites. I can connect using another browser. Looks like I need to change the firewall settings, but I don't know how. How can I distribute my browser to work again? Don't know what happened to start blocking it, but it just happened some time this morning.

    Hi Tara,

    You can check the link and follow the steps and check if this may help;

    Configure the firewall so that Firefox can access the Internet

    http://support.Mozilla.org/en-us/KB/configure-firewalls-so-Firefox-can-access-Internet

    Is has problems, I suggest you to contact the Mozilla Firefox support,.

    http://support.Mozilla.org/en-us/products/Firefox

    If you need help with Windows, please do not hesitate to post. We will be happy to help you.

  • Problem signature App - need help with fixing my "package-author-Id".

    Hi all

    I have a problem of updating an application already in the world of Blackberry.

    I recently created a new version of an Android/Blackberry app existing.

    I can't download it on the Blackberrystore but because of the error:

    "File BAR ("xxxx") was rejected. The BAR ("yyyy") package ID does not match ID of the app ("zzzz") Package. »

    After reviewing the MANIFEST file inside the bar, I discovered that the package author Id differs from that in my old bars.

    According to my research, it is because I'm using a new bbidtoken.csk file (which I downloaded from https://developer.blackberry.com/codesigning/ using my old login ID Blackberry. I downloaded a new bbidtoken.csk, because the old one expired recently).

    After research, I found this article: "'http://devblog.blackberry.com/2013/08/code-signing-keys-be-gone-welcome-blackberry-id/ ' who suggested linking the new bbidtoken to my barsigner.csk"

    Unfortunately I do not have the barsigner.csk (there is an existing application that I took over), so now I've hit a wall.

    It would be more appreciated if someone knowledgeable could help my solve my problem.

    Additional info:

    Files I have:

    -old bbidtoken.csk

    -new bbidtoken.csk

    -author.p12

    -a barsigner.db empty (?)

    -bbt_id.RSA/.pub (not sure if necessary)

    Method used to sign App: Eclipse plugin, Blackberry

    When you download a new token ID BlackBerry (bbidtoken.csk) you must ensure that you use the same account on BlackBerry ID that was used to create the previous token.  As long as the account is the same, the package-author-Id will be the same and you will be able to sign the updates and fix the error you get.

  • Need help with fixing photo

    Hello world

    I'm a bit new to photoshop and I'm learning. There is only one thing I can't find anywhere:

    I am trying to remove the reflection of the Sun in the sea, but with the Sun on top of the image still visible.

    P.S I would like to keep the plane in the image, but if it is not possible, or hard never mind not so.

    IMGP0855 Cropped.jpg

    You can use various tools such as the clone stamp and patch tool, but it won't give you a perfect result because the area is too white, or you need to rebuild the pixels in this area to copy paste and masking the precisely.

  • Need help with the changes of the library

    I use Windows Vista Home Premium.  My husband recently bought & installed Office 2010 student, (we had Office 2007 and he removed) and I don't know if it was that, or some buried upgrade, but either way - photos of how open looks very different now.  Honestly, I know no more if what I used before was another version of Microsoft Photo Gallery (that I have provided with Vista and therefore changes in office should not affect) or some other MS Viewer, but it's different and I don't like the changes.   Don't really like the limits of this 'new' Photo Gallery - ESP the inability to resize the size of the photo file to make duplicates & share on networks social & other places where I don't want to use the larger file that I use in the camera.  I searched & searched and found info about Live Photo Gallery and paint, but neither really to talk about this - the ability to simply change the file size...  I know I could do a system restore and then reinstall a custom Office 2010 version, but wanted to first see if it's even WHY he has changed, and also if there is a better way to address some minor problems, but maddeningly.
    Thank you!
    Katherine

    Office 2010 has nothing to do with changes to the photo gallery.

    You can uninstall the windows live photos,.

    Personally I don't see why we went in office 2007 to 2010 students unless it was Student 2007?

    http://windowslivehelp.com/solution.aspx?SolutionID=64db5c80-85E4-49fe-BF07-cb08ffc5dd53

    Gallery of original photos comes with vista is here,

    http://www.Microsoft.com/download/en/details.aspx?ID=16904

    Or just a slightly improved version is here, don't worry it works fine on win 7 or vista.

    http://explore.live.com/Windows-Live-Essentials-XP

    But you also have to change the way you receive recommended windows updates, otherwise the other photo gallery will be back.

    Go to your control panel and click on windows list update, top left of the next page, click on change settings.

    Uncheck the entry, give me recommended to update the same as important updates.

    Also, click on the arrow down just above this list and select the check for updates, but ask me until they download and install and click Save.

    After uninstalling windows live essential 2011 and the start your computer, go back to windows update and check for updates, windows live essentials 2011 will come up as an available update, right-click the update, and select hide.

    Download whatever you want.

  • Ruined my phone, need help with fixing!

    So it was one of those days, my phone fell on the floor and the back has completely broken but he was working, but then I spilled some Pepsi on this so I decided to rinse it out until it is clean, because you know, it is impervious to water and other things but now not only is the broken back the screen started to Flash and then no longer start and he is constantly flash fire red in the corner of the phone when he's in charge.

    I know I did wrong probably wrong but is there a possible solution?

    Hi Ziad_

    Welcome to the community! Since you are new, please make sure that you have removed from our Forum.

    I advise to contact Sony Xperia customer service as soon as possible because your phone will need to be sent to a service center.

  • Need help with fixing drop bar down in windows Explorer

    Everytime I open Explorer windows from the desktop or the start menu, it opens. But the address bar at the top keeps popping up in. It won't let me open anything.

    Hello

    I imagine the inconvenience that you have experienced, but don't worry, we are here to help solve the problem and guide you in the right direction.

    To help you to propose measures to solve the problem, I would appreciate if you could answer the following questions:

    1. Since when are you facing the issue?

    2. you have any security program installed on the computer?

    3 are you aware of any changes made to the computer before the show?

    You can run a full scan using the Microsoft Safety Scanner and check for infections.

    Note: there is a risk of data loss if all the files are infected and which can be removed in the cleaning process.

    You can also run a scan of the file system Checker and check if it helps. If the problem persists, you can start the computer in safe mode and perform a clean boot. Clean boot helps eliminate any conflict of third party software.

    Note: when you are finished troubleshooting, follow step 3, mentioned in the article to start the computer to a normal startup.

    Hope this helps and let us know if you any help in the future about Windows. We will be happy to help you.

  • Need help with the Word format Req'd for RoboHelp

    I was asked to help a company with technical writing for an online application. All their online help is in RoboHelp. I need to create about 450 pages of extra help to complete the help system. The company is owner of RoboHelp, I did not. I understand that Word documents can be imported in RoboHelp. Where can I find the format that word documents should be so that they can be imported successfully into RoboHelp?

    Any help would be greatly appreciated.

    Welcome to the forum.

    Importing in RoboHelp Word documents can give rise to a number of problems, as you will see if you take a look at the section about this on my site. The first thing that would answer this question is to know if the company is using HR to Word or HTML HR.

    If they use HR for Word, all you need to do, is make sure that the styles you use in your documents are the standard ones they use to existing aid. Only they can tell you what they want and it is for them to sit down with you to suit the required format. Note that each topic must begin with the heading 1 style. You should also know if they want a document with 450 topics (not recommended) or 450 documents, something between the two.

    If they use HTML HR, then I suggest you create a few sample topics and make import these topics. They need to become familiar with the process and I suggest that they too see the topics on my site.

    In particular, if there are many tables, you should test they import properly.

    The company themselves will have to work closely with you on that in the early stages with several test runs. They must save their project before you import it to save a lot of grief, if things don't quite work.

    I'm sure others can add others.

  • Need help with the error of the EFS for SBS 2008

    I get the following for encryption: "year error occurred applying attributes to the file", then "strategy of recovery configured for this system contains an invalid recovery certificate" for encryption on SBS 2008.  Server doesn't let me encrypt on our network.  Our certificate on the server says it is valid and run cipher/r does not solve our problem.

    Post in the Windows Server Forums:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • I need help with my text Document rich Wordpad for it prevents line-spacing

    I have a Windows Vista laptop. I use the Rich Text Document Wordpad, and he started DINA4 my horizontal lines. I don't know how to stop the line spacing when I hit the enter key. I just typed simple features. What is going on? What should I do?

    To the only space in Wordpad, follow these steps:

    (1) select (select) all of your text. You can do this quickly by pressing CTRL + A

    2) press CTRL + 1

    This will be simple space all the text that you have already written.

    Mike

  • Need help with installation/change of phone number for the Microsoft account

    I think I entered a wrong phone number upon registration of my Microsoft account, is there a way to edit/change it?

    Reconnect the MS Account to maintain or modify
    I assume you are referring to a MS Account, which is used in the purchase/installation of Software MS for example Office 2013

  • Need help with the installation of SQL 2005 for my VC 2.5

    Someone can tell me where I can find the instructions for the installation of SQL 2005 and create the DB and connect via ODBC?

    IM assuming that I will first install SQL and then install VC 2.5, correct?

    Hi, take a look at page 21...

    http://www.VMware.com/PDF/vi3_35/esx_3/R35/vi3_35_25_quickstart.PDF

    Dave

  • Need help with the arrival of serial number for a report

    Hi all

    I have a situation like, give the serial number for the first row of each group (Ministry), I had to use for a report.

    The report may look as below,

    S.L. NO EMPNO DEPTNO

    1-10-7782
    10-7934
    10-7839
    2 20 7902
    20 7788
    20 7566
    20 7369
    20-7876
    3-30-7521
    30 7654
    30 7844
    30 7900
    30 7499
    30 7698

    OR

    S.L. NO EMPNO DEPTNO

    1-10-7782
    1-10-7934
    1-10-7839
    2 20 7902
    2 20 7788
    2 20 7566
    2 20 7369
    2-20-7876
    3-30-7521
    3 30 7654
    3-30-7844
    3 30 7900
    3-30-7499
    3-30-7698


    I have just the DEPTNO column to perform this operation.

    Please guide me in this.

    Kind regards
    Aru.

    Published by: Arumugam on 12 Aug 2011 04:15

    Use ROW_NUMBER + DENSE_RANK Analytics:

    select  case row_number() over(partition by deptno order by empno)
              when 1 then dense_rank() over(order by deptno)
            end serial#,
            deptno,
            empno
      from  emp
      order by deptno,
               empno
    /
    
       SERIAL#     DEPTNO      EMPNO
    ---------- ---------- ----------
             1         10       7782
                       10       7839
                       10       7934
             2         20       7369
                       20       7566
                       20       7788
                       20       7876
                       20       7902
             3         30       7499
                       30       7521
                       30       7654
    
       SERIAL#     DEPTNO      EMPNO
    ---------- ---------- ----------
                       30       7698
                       30       7844
                       30       7900
    
    14 rows selected.
    
    SQL> 
    

    Or:

    select  dense_rank() over(order by deptno) serial#,
            deptno,
            empno
      from  emp
      order by deptno,
               empno
    /
    
       SERIAL#     DEPTNO      EMPNO
    ---------- ---------- ----------
             1         10       7782
             1         10       7839
             1         10       7934
             2         20       7369
             2         20       7566
             2         20       7788
             2         20       7876
             2         20       7902
             3         30       7499
             3         30       7521
             3         30       7654
    
       SERIAL#     DEPTNO      EMPNO
    ---------- ---------- ----------
             3         30       7698
             3         30       7844
             3         30       7900
    
    14 rows selected.
    
    SQL> 
    

    SY.

Maybe you are looking for