posted 10 years ago
Im trying to upgrade the weblogic version from 10.3.3 to 12.1.1 for my application.
Im getting below mentioned error while deploying ear file in weblogic 12 which works fine with version10.
" java.lang.IllegalArgumentException:[HTTP:101164] User defined class com.ab.util.session object is not a listener as it doesnt implement the correct interface."
Deployment is getting failed because of this error. If i comment out listener, deployment is success.
SessionObject class:
public class SessionObject implements HttpSessionBindingListener{
public void valueBound( HttpSessionBindingEvent event)
{ }
public voind valueUnbound (HttpSessionBindingEvent event)
{ }
}
web.xml:
<listener>
<listener-class>com.ab.util.SessionObject</listener-class>
<listener>
I want to know that why im getting " java.lang.IllegalArgumentException:[HTTP:101164] User defined class com.ab.util.session object is not a listener as it doesnt implement the correct interface" error while deploying the ear file under version 12.1.1 when it is working fine with version 10.3.3
Should i include any jars???