REST, SSE or WebSockets on WebLogic 10.3.6 by Edwin Biemond

WebLogic 10.3.6 comes with Jersey1.9 and has no support for Server Side Events or WebSockets. But for one of our projects we are making a HTML5 / AngularJS application, which need to invoke some RESTful services and we also want to use of SSE or WebSockets.

Off course we can use WebLogic 12.1.2 but we already have an OSB / SOA Suite WebLogic 10.3.6 environment.
So when you want to pimp your WebLogic 11g server you can make a new shared library which has the latest version of Jersey (1.18),  Jackson, Linking and the  Atmosphere Jersey module ( for  SSE & Websockets).  Atmosphere also comes with a WebLogic addon ( cause Servlet 3.0 is not supported on WebLogic 10.3.6 ).
The Atmosphere framework also supports IE 6 or higher and when SSE or WebSockets is not supported by your browser,  it automatically falls back to Long Polling.
Here you can download the shared library and it comes with a working demo Rest Service and SSE chat application.

Just deploy this war as a Library and target this to a managed server.
In a Web Application add the weblogic.xml deployment descriptor to the web-inf folder and add a reference to this shared library. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki


event with that library, I cannot see way to use, for example,

in my webLogic 10.3 application.
I am missing something?

Posted by guest on May 30, 2016 at 09:07 AM BST #

Hi Sir,

I tried the same
INFO: Adding the following classes declared in META-INF/services/jersey-server-components to the resource configuration:
class org.atmosphere.jersey.AtmosphereResourceConfigurator
Jun 08, 2016 5:19:51 PM com.sun.jersey.server.impl.application.RootResourceUriRules <init>
SEVERE: The ResourceConfig instance does not contain any root resource classes.
Jun 08, 2016 5:19:51 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet AtmosphereServlet
com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(

Posted by guest on June 09, 2016 at 02:04 AM BST #

Post a Comment:
  • HTML Syntax: NOT allowed

« July 2016