Skip to content

Enabling Native Support for WebLogic 11x and lower

jfarcand edited this page Sep 14, 2012 · 1 revision

As of Atmosphere 0.9, the WebLogic native support has been disabled by default. To enable it, add the atmosphere-weblogic-1.0.0.jar to your pom.xml,

            <dependency>
                <groupId>org.atmosphere</groupId>
                <artifactId>atmosphere-weblogic</artifactId>
                <version>${atmosphere-version}</version>
            </dependency>

and defines the following in web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:j2ee="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee    http://java.sun.com/xml/ns/j2ee/web-app_2.5.xsd">

    <description>AtmosphereServlet</description>
    <display-name>AtmosphereServlet</display-name>
    <servlet>
        <description>AtmosphereServlet</description>
        <servlet-name>AtmosphereServlet</servlet-name>
        <servlet-class>org.atmosphere.weblogic.AtmosphereWebLogicServlet</servlet-class>
        <!-- List of init-param --> 
    </servlet>
    <servlet-mapping>
        <servlet-name>AtmosphereServlet</servlet-name>
        <!-- Any mapping -->
        <url-pattern>/*</url-pattern>
    </servlet-mapping>
</web-app>

Step by Step Tutorials

Concepts & Architecture

15 Minutes Tutorial

Advanced Topics

API

Known WebServer Issues

References

External Documentations

githalytics.com alpha

Clone this wiki locally