Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Im getting java.lang.IllegalArgumentException while deploying ear files in weblogic 12.1.1.0
This is happeneing because of listener in web.xml.
If i comment out listener, deployment is possible.But im not able to understand whats the issue with??
Can some one give some hints on this please.!!!


Old Weblogic version: 10.3.3
New weblogic version:12.1.1
Using Struts frame work.


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 make any changes in web.xml or should i include any jars???
Posted
Updated 2-Jan-14 21:15pm
v2
Comments
Shubhashish_Mandal 27-Dec-13 1:25am    
you have to post the stack trace.If you found that its an issue with the listener , then check out if you have pass or assign any wrong type argument.

1 solution

IllegalArgumentException

An argument is not ok / or missing.

Please check the reference and add the argument correctly.
A stack trace or a piece of code would be good to refer any deeper.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900