This discussion is archived
1 Reply Latest reply: Oct 24, 2012 2:58 PM by user696 RSS

Where to put jersey and jackson libraries for deployment?

user8742475 Newbie
Currently Being Moderated
In my application I use Jersey and Jackson JSON. I went to Jersey website ( and downloaded the all the jar files for Jersey and Jackson and added them into JDeveloper 11g during development and everything was fine.

Now I want to deploy the EAR file to Weblogic. I put all these jar files in the lib directory (\user_projects\domains\domain1\lib) and put them in the classpaths of one of my managed servers. But when i started up the AdminServer, it won't start up. I removed these jar files from the lib then it started up fine.

There are also deployable libraries of Jersey and Jackson ( that came with Weblogic.

Do I just deploy these libraries and my EAR will reference the jersey and jackson classes? What jersey and jackson jar files should I use?


I'm using WLS 10.3.5
  • 1. Re: Where to put jersey and jackson libraries for deployment?
    user696 Explorer
    Currently Being Moderated
    WLS bundles under %WL_HOME%/common/deployable-libraries. which needs to deployed as shared libraries and these should be refrenced from weblogic.xml

    If you wish to use a more recent version of the Jersey JAX-RS RI shared libraries than the version that is provided with WebLogic Server, you need to perform the following steps:
    you can try bundling the jar files inside web-inf/lib folder.(but above approach is recommended)

    From wls 12.1 onwards you need not have to deploy them as shared libraries. they are added to the class path.

    Sunil P


  • Correct Answers - 10 points
  • Helpful Answers - 5 points